Просмотр исходного кода

ci (translations): provide more info on non-existing translation_key

- provide info on the entity type in the message, to make it easier to spot whether it
  is a wrong entity type for the key.
Jason Rumney 1 неделя назад
Родитель
Сommit
9b0ba5856d
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      util/untranslated_entities.py

+ 1 - 1
util/untranslated_entities.py

@@ -27,7 +27,7 @@ def main() -> int:
             if key and (
                 entity.entity not in english or key not in english[entity.entity]
             ):
-                print(f"{where}: translation_key {key} does not exist")
+                print(f"{where}: translation_key {entity.entity}.{key} does not exist")
                 detected += 1
                 continue