Skip to content

Commit

Permalink
fix: rtl locales was invalid typescript
Browse files Browse the repository at this point in the history
  • Loading branch information
Bilb committed Sep 2, 2024
1 parent 0f707c0 commit 2424d7d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crowdin/generate_desktop_strings.py
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ def convert_non_translatable_strings_to_type_script(input_file, output_path, rtl
# Output the file in the desired format
Path(output_path).parent.mkdir(parents=True, exist_ok=True)

joined_rtl_locales = {", ".join(f"'{locale}'" for locale in rtl_locales)}
joined_rtl_locales = ", ".join(f"'{locale}'" for locale in rtl_locales)

with open(output_path, 'w', encoding='utf-8') as file:
file.write('export enum LOCALE_DEFAULTS {\n')
Expand Down

0 comments on commit 2424d7d

Please sign in to comment.