qt5-translation: Create a warning if no translation files are found
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
This commit is contained in:
@@ -39,7 +39,7 @@ python qt_do_split_locales() {
|
||||
locales.append(locale)
|
||||
|
||||
if not locales:
|
||||
bb.debug(1, "No locale files in this package")
|
||||
bb.warn("No locale files for recipe %s. Remove qt5-translation from inherit?" % d.getVar('PN'))
|
||||
return
|
||||
|
||||
summary = d.getVar('SUMMARY') or pn
|
||||
|
||||
Reference in New Issue
Block a user