Skip to content

Commit b1fd8a4

Browse files
committed
Renamed default_target_locales to supported_locales
1 parent 23d6cdd commit b1fd8a4

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

translate-messages/src/translate_messages/lib/init.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ def cli(caller_file):
3131

3232
# Init cli.config vals
3333
cli.config.include_langs = data.csv.parse(getattr(cli.config, 'include_langs', None))
34-
cli.config.target_locales = cli.config.include_langs or cli.default_target_locales
34+
cli.config.target_locales = cli.config.include_langs or cli.supported_locales
3535
cli.config.exclude_langs = data.csv.parse(getattr(cli.config, 'exclude_langs', None))
3636
cli.config.ignore_keys = data.csv.parse(getattr(cli.config, 'ignore_keys', None))
3737
cli.config.locales_dir = getattr(cli.config, 'locales_dir', '_locales')

translate-messages/src/translate_messages/package-data.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"sponsor": "https://github.com/sponsors/adamlui",
88
"support": "https://github.com/adamlui/python-utils/issues"
99
},
10-
"default_target_locales": [
10+
"supported_locales": [
1111
"af", "am", "ar", "az", "be", "bem", "bg", "bn", "bo", "bs", "ca", "ceb", "cs", "cy", "da", "de", "dv", "dz", "el",
1212
"en", "en-GB", "eo", "es", "et", "eu", "fa", "fi", "fo", "fr", "gd", "gl", "gu", "haw", "he", "hi", "hr", "ht",
1313
"hu", "hy", "id", "is", "it", "ja", "ka", "kab", "kk", "km", "kn", "ko", "ku", "ky", "la", "lb", "lo", "lt", "lv",

0 commit comments

Comments
 (0)