Skip to content

Commit

Permalink
Merge pull request #16 from oxen-io/fix-rtl-locales-is-invalid-typesc…
Browse files Browse the repository at this point in the history
…ript

fix: rtl locales was invalid typescript
  • Loading branch information
mpretty-cyro authored Sep 2, 2024
2 parents 0f707c0 + 2424d7d commit 855bf2e
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 855bf2e

Please sign in to comment.