Skip to content

Commit 724d5f1

Browse files
committed
Grouped exclude_<langs|keys>
1 parent 5171afc commit 724d5f1

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
22
"locales_dir": "_locales",
33
"target_langs": "",
4-
"exclude_langs": "",
54
"keys": "",
5+
"exclude_langs": "",
66
"exclude_keys": "",
77
"no_wizard": false
88
}

translate-messages/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,8 +68,8 @@ Example defaults:
6868
{
6969
"locales_dir": "_locales",
7070
"target_langs": "",
71-
"exclude_langs": "",
7271
"keys": "",
72+
"exclude_langs": "",
7373
"exclude_keys": "",
7474
"no_wizard": false
7575
}

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,9 @@ def cli(caller_file):
3030
type=str, help='Name of the folder containing locale files (default: "_locales")')
3131
argp.add_argument('-t', '--target-langs', '--target-lang', '--include-langs', '--include-lang',
3232
type=str, help='Languages to include (e.g. "en,es,fr") (default: all supported locales)')
33-
argp.add_argument('--exclude-langs', '--exclude-lang', type=str, help='Languages to exclude (e.g. "en,es")')
3433
argp.add_argument('-k', '--keys', '--key', '--include-keys', '--include-key',
3534
type=str, help='Keys to translate (e.g. "appDesc,err_notFound")')
35+
argp.add_argument('--exclude-langs', '--exclude-lang', type=str, help='Languages to exclude (e.g. "en,es")')
3636
argp.add_argument('--exclude-keys', '--ignore-keys', type=str, help='Keys to ignore (e.g. "appName,author")')
3737
argp.add_argument('-i', '--init', action='store_true', help=f'Create {cli.name}.config.json file to store defaults')
3838
argp.add_argument('-W', '--no-wizard', '--skip-wizard',

0 commit comments

Comments
 (0)