Skip to content

Commit 46f0441

Browse files
committed
fix: desktop script when building not for QA
1 parent 26dd51d commit 46f0441

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crowdin/generate_desktop_strings.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ def convert_all_files(input_directory: str, is_qa_build: bool):
151151
exported_locales = []
152152
glossary_dict = load_glossary_dict(non_translatable_strings_file)
153153

154-
for language in [source_language] + [] if is_qa_build else target_languages:
154+
for language in [source_language] + ([] if is_qa_build else target_languages):
155155
lang_locale = language['locale']
156156
lang_two_letter_code = language['twoLettersCode']
157157
print(f"\033[2K{Fore.WHITE}⏳ Converting translations for {lang_locale} to target format...{Style.RESET_ALL}", end='\r')

0 commit comments

Comments
 (0)