Skip to content

Commit

Permalink
fix: Localization update workflow (#351)
Browse files Browse the repository at this point in the history
  • Loading branch information
Foxushka authored Oct 18, 2023
1 parent da98eb3 commit 2f61b7c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion chameleonultragui/lib/l10n/update.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,5 +44,5 @@ def request(method, url, data=None):
continue
export = urlopen(Request(translation['data']['url'], method='GET')).read()
translations = json.loads(export.decode())
locale = translations['@@locale']
locale = translations['@@locale'] = translations['@@locale'].replace('-', '_')
json.dump(translations, open(f'app_{locale}.arb', 'w+'), indent=2)

0 comments on commit 2f61b7c

Please sign in to comment.