From 3ef155caa940f44f91ddbaf01e44bc49795f5667 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20M=C3=BCller?= Date: Sun, 10 Jan 2021 20:27:03 +0100 Subject: [PATCH] qt5-translation: Create a warning if no translation files are found MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Andreas Müller --- classes/qt5-translation.bbclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/classes/qt5-translation.bbclass b/classes/qt5-translation.bbclass index ed1be22c..edd95423 100644 --- a/classes/qt5-translation.bbclass +++ b/classes/qt5-translation.bbclass @@ -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