Skip to content

Commit

Permalink
fix: prepare strings needs to also include 'en'
Browse files Browse the repository at this point in the history
  • Loading branch information
Bilb committed Sep 12, 2024
1 parent 35a02a4 commit 332d08d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion crowdin/generate_android_strings.py
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ def convert_all_files(input_directory):
# Convert the XLIFF data to the desired format
print(f"\033[2K{Fore.WHITE}⏳ Converting translations to target format...{Style.RESET_ALL}", end='\r')
source_locale = source_language['locale']
for language in target_languages:
for language in [source_language] + target_languages:
lang_locale = language['locale']
print(f"\033[2K{Fore.WHITE}⏳ Converting translations for {lang_locale} to target format...{Style.RESET_ALL}", end='\r')
input_file = os.path.join(input_directory, f"{lang_locale}.xliff")
Expand Down
2 changes: 1 addition & 1 deletion crowdin/generate_desktop_strings.py
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ def convert_all_files(input_directory):

# Convert the XLIFF data to the desired format
print(f"\033[2K{Fore.WHITE}⏳ Converting translations to target format...{Style.RESET_ALL}", end='\r')
for language in target_languages:
for language in [source_language] + target_languages:
lang_locale = language['locale']
lang_two_letter_code = language['twoLettersCode']
print(f"\033[2K{Fore.WHITE}⏳ Converting translations for {lang_locale} to target format...{Style.RESET_ALL}", end='\r')
Expand Down

0 comments on commit 332d08d

Please sign in to comment.