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:
Andreas Müller
2021-01-10 20:27:03 +01:00
parent 77db658001
commit 1864e0b464

View File

@@ -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