From 13aad29d76765c190cb972e788f1bccd3668ec1f Mon Sep 17 00:00:00 2001 From: Dean Lee Date: Sat, 18 Mar 2023 07:14:43 +0800 Subject: [PATCH] ui: remove lupdate warnings: "Qualifying with unknown namespace" (#27616) old-commit-hash: d8a55de1669704e7a847c346f715d0659d54e9ca --- selfdrive/ui/update_translations.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/selfdrive/ui/update_translations.py b/selfdrive/ui/update_translations.py index e15d4c3433..5964eb49dc 100755 --- a/selfdrive/ui/update_translations.py +++ b/selfdrive/ui/update_translations.py @@ -19,7 +19,7 @@ def update_translations(vanish=False, plural_only=None, translations_dir=TRANSLA for file in translation_files.values(): tr_file = os.path.join(translations_dir, f"{file}.ts") - args = f"lupdate -locations none -recursive {UI_DIR} -ts {tr_file}" + args = f"lupdate -locations none -recursive {UI_DIR} -ts {tr_file} -I {BASEDIR}" if vanish: args += " -no-obsolete" if file in plural_only: