ui: remove lupdate warnings: "Qualifying with unknown namespace" (#27616)

old-commit-hash: d8a55de166
beeps
Dean Lee 2 years ago committed by GitHub
parent 35e5b4d927
commit 13aad29d76
  1. 2
      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:

Loading…
Cancel
Save