Skip to content

Commit 733db4a

Browse files
committed
Corrected locales_dir ref ↞ [auto-sync from https://github.com/adamlui/python-utils/tree/main/translate-messages]
1 parent 0ec5ada commit 733db4a

File tree

24 files changed

+48
-48
lines changed

24 files changed

+48
-48
lines changed

amazongpt/greasemonkey/utils/translate-en-messages.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
'''
22
Name: translate-en-messages.py
3-
Version: 2026.2.10.20
3+
Version: 2026.2.10.21
44
Author: Adam Lui
55
Description: Translate en/messages.json to other locales
66
Homepage: https://github.com/adamlui/python-utils
@@ -47,7 +47,7 @@
4747
parser.add_argument('--locales-dir', type=str, help='Name of folder containing locales')
4848
parser.add_argument('--init', action='store_true', help='Create .config.json file to store defaults')
4949
args = parser.parse_args()
50-
locales_dir = args.locales_dir or config_data.get('include_langs', '') or '_locales'
50+
locales_dir = args.locales_dir or config_data.get('locales_dir', '') or '_locales'
5151

5252
if args.init: # create config file
5353
if os.path.exists(config_path):

autoclear-chatgpt-history/greasemonkey/utils/translate-en-messages.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
'''
22
Name: translate-en-messages.py
3-
Version: 2026.2.10.20
3+
Version: 2026.2.10.21
44
Author: Adam Lui
55
Description: Translate en/messages.json to other locales
66
Homepage: https://github.com/adamlui/python-utils
@@ -47,7 +47,7 @@
4747
parser.add_argument('--locales-dir', type=str, help='Name of folder containing locales')
4848
parser.add_argument('--init', action='store_true', help='Create .config.json file to store defaults')
4949
args = parser.parse_args()
50-
locales_dir = args.locales_dir or config_data.get('include_langs', '') or '_locales'
50+
locales_dir = args.locales_dir or config_data.get('locales_dir', '') or '_locales'
5151

5252
if args.init: # create config file
5353
if os.path.exists(config_path):

brave-omnibox/chromium/utils/translate-en-messages.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
'''
22
Name: translate-en-messages.py
3-
Version: 2026.2.10.20
3+
Version: 2026.2.10.21
44
Author: Adam Lui
55
Description: Translate en/messages.json to other locales
66
Homepage: https://github.com/adamlui/python-utils
@@ -47,7 +47,7 @@
4747
parser.add_argument('--locales-dir', type=str, help='Name of folder containing locales')
4848
parser.add_argument('--init', action='store_true', help='Create .config.json file to store defaults')
4949
args = parser.parse_args()
50-
locales_dir = args.locales_dir or config_data.get('include_langs', '') or '_locales'
50+
locales_dir = args.locales_dir or config_data.get('locales_dir', '') or '_locales'
5151

5252
if args.init: # create config file
5353
if os.path.exists(config_path):

brave-omnibox/firefox/utils/translate-en-messages.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
'''
22
Name: translate-en-messages.py
3-
Version: 2026.2.10.20
3+
Version: 2026.2.10.21
44
Author: Adam Lui
55
Description: Translate en/messages.json to other locales
66
Homepage: https://github.com/adamlui/python-utils
@@ -47,7 +47,7 @@
4747
parser.add_argument('--locales-dir', type=str, help='Name of folder containing locales')
4848
parser.add_argument('--init', action='store_true', help='Create .config.json file to store defaults')
4949
args = parser.parse_args()
50-
locales_dir = args.locales_dir or config_data.get('include_langs', '') or '_locales'
50+
locales_dir = args.locales_dir or config_data.get('locales_dir', '') or '_locales'
5151

5252
if args.init: # create config file
5353
if os.path.exists(config_path):

bravegpt/greasemonkey/utils/translate-en-messages.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
'''
22
Name: translate-en-messages.py
3-
Version: 2026.2.10.20
3+
Version: 2026.2.10.21
44
Author: Adam Lui
55
Description: Translate en/messages.json to other locales
66
Homepage: https://github.com/adamlui/python-utils
@@ -47,7 +47,7 @@
4747
parser.add_argument('--locales-dir', type=str, help='Name of folder containing locales')
4848
parser.add_argument('--init', action='store_true', help='Create .config.json file to store defaults')
4949
args = parser.parse_args()
50-
locales_dir = args.locales_dir or config_data.get('include_langs', '') or '_locales'
50+
locales_dir = args.locales_dir or config_data.get('locales_dir', '') or '_locales'
5151

5252
if args.init: # create config file
5353
if os.path.exists(config_path):

chatgpt-auto-continue/chromium/utils/translate-en-messages.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
'''
22
Name: translate-en-messages.py
3-
Version: 2026.2.10.20
3+
Version: 2026.2.10.21
44
Author: Adam Lui
55
Description: Translate en/messages.json to other locales
66
Homepage: https://github.com/adamlui/python-utils
@@ -47,7 +47,7 @@
4747
parser.add_argument('--locales-dir', type=str, help='Name of folder containing locales')
4848
parser.add_argument('--init', action='store_true', help='Create .config.json file to store defaults')
4949
args = parser.parse_args()
50-
locales_dir = args.locales_dir or config_data.get('include_langs', '') or '_locales'
50+
locales_dir = args.locales_dir or config_data.get('locales_dir', '') or '_locales'
5151

5252
if args.init: # create config file
5353
if os.path.exists(config_path):

chatgpt-auto-continue/firefox/utils/translate-en-messages.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
'''
22
Name: translate-en-messages.py
3-
Version: 2026.2.10.20
3+
Version: 2026.2.10.21
44
Author: Adam Lui
55
Description: Translate en/messages.json to other locales
66
Homepage: https://github.com/adamlui/python-utils
@@ -47,7 +47,7 @@
4747
parser.add_argument('--locales-dir', type=str, help='Name of folder containing locales')
4848
parser.add_argument('--init', action='store_true', help='Create .config.json file to store defaults')
4949
args = parser.parse_args()
50-
locales_dir = args.locales_dir or config_data.get('include_langs', '') or '_locales'
50+
locales_dir = args.locales_dir or config_data.get('locales_dir', '') or '_locales'
5151

5252
if args.init: # create config file
5353
if os.path.exists(config_path):

chatgpt-auto-refresh/greasemonkey/utils/translate-en-messages.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
'''
22
Name: translate-en-messages.py
3-
Version: 2026.2.10.20
3+
Version: 2026.2.10.21
44
Author: Adam Lui
55
Description: Translate en/messages.json to other locales
66
Homepage: https://github.com/adamlui/python-utils
@@ -47,7 +47,7 @@
4747
parser.add_argument('--locales-dir', type=str, help='Name of folder containing locales')
4848
parser.add_argument('--init', action='store_true', help='Create .config.json file to store defaults')
4949
args = parser.parse_args()
50-
locales_dir = args.locales_dir or config_data.get('include_langs', '') or '_locales'
50+
locales_dir = args.locales_dir or config_data.get('locales_dir', '') or '_locales'
5151

5252
if args.init: # create config file
5353
if os.path.exists(config_path):

chatgpt-auto-talk/greasemonkey/utils/translate-en-messages.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
'''
22
Name: translate-en-messages.py
3-
Version: 2026.2.10.20
3+
Version: 2026.2.10.21
44
Author: Adam Lui
55
Description: Translate en/messages.json to other locales
66
Homepage: https://github.com/adamlui/python-utils
@@ -47,7 +47,7 @@
4747
parser.add_argument('--locales-dir', type=str, help='Name of folder containing locales')
4848
parser.add_argument('--init', action='store_true', help='Create .config.json file to store defaults')
4949
args = parser.parse_args()
50-
locales_dir = args.locales_dir or config_data.get('include_langs', '') or '_locales'
50+
locales_dir = args.locales_dir or config_data.get('locales_dir', '') or '_locales'
5151

5252
if args.init: # create config file
5353
if os.path.exists(config_path):

chatgpt-infinity/chromium/utils/translate-en-messages.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
'''
22
Name: translate-en-messages.py
3-
Version: 2026.2.10.20
3+
Version: 2026.2.10.21
44
Author: Adam Lui
55
Description: Translate en/messages.json to other locales
66
Homepage: https://github.com/adamlui/python-utils
@@ -47,7 +47,7 @@
4747
parser.add_argument('--locales-dir', type=str, help='Name of folder containing locales')
4848
parser.add_argument('--init', action='store_true', help='Create .config.json file to store defaults')
4949
args = parser.parse_args()
50-
locales_dir = args.locales_dir or config_data.get('include_langs', '') or '_locales'
50+
locales_dir = args.locales_dir or config_data.get('locales_dir', '') or '_locales'
5151

5252
if args.init: # create config file
5353
if os.path.exists(config_path):

0 commit comments

Comments
 (0)