shahar1 commented on code in PR #55154:
URL: https://github.com/apache/airflow/pull/55154#discussion_r2314937163


##########
dev/i18n/check_translations_completeness.py:
##########
@@ -124,12 +124,7 @@ def expand_plural_keys(keys: set[str], lang: str) -> 
set[str]:
 def get_locale_files() -> list[LocaleFiles]:
     return [
         LocaleFiles(
-            locale=locale_dir.name,
-            files=[
-                f.name
-                for f in locale_dir.iterdir()
-                if f.suffix == ".json" and f.name != "_freeze_exemptions.json"
-            ],

Review Comment:
   What I thought of is that by the end of the freeze, we'll use a script that 
will "slide" everything from each `locale/_freeze_exemptions.json` into the 
appropriate file as the keys are the names of the files (without the JSON 
suffix) + update all the JS calls appropriately by removing the 
"'_freeze_exemptions'," prefix from each useTranslation call - some regex hacks 
will do 🙃



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to