Browse Source

Fix wrong json field for the remote code

CPK 5 months ago
parent
commit
4e3d527797
1 changed files with 1 additions and 1 deletions
  1. 1 1
      .github/workflows/localization/download-languages.py

+ 1 - 1
.github/workflows/localization/download-languages.py

@@ -66,7 +66,7 @@ def update_locale_file(language):
       - Append new keys from POEditor at the bottom.
     """
     # Use "remote-code" if available, otherwise default to "code"
-    lang_code = language.get("remote-code", language["code"])
+    lang_code = language.get("remoteCode", language["code"])
     if language["code"].lower() == "en":
         return  # Skip English (do not update)