Parcourir la source

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 il y a 12 heures
Parent
commit
9b0ba5856d
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  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