Skip to content

Commit cc0d6d2

Browse files
committed
Added print ignored keys ↞ [auto-sync from https://github.com/adamlui/python-utils/tree/main/translate-messages]
1 parent 0cda41c commit cc0d6d2

7 files changed

Lines changed: 14 additions & 7 deletions

File tree

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
'''
22
Name: translate-en-messages.py
3-
Version: 2026.2.10.8
3+
Version: 2026.2.10.9
44
Author: Adam Lui
55
Description: Translate en/messages.json to other locales
66
Homepage: https://github.com/adamlui/python-utils
@@ -82,6 +82,7 @@ def overwrite_print(msg) : stdout.write('\r' + msg.ljust(terminal_width)[:termin
8282
# Prompt user for keys to ignore
8383
keys_to_ignore = []
8484
while True:
85+
if len(keys_to_ignore) : print('Ignored key(s):', keys_to_ignore)
8586
key = input('Enter key to ignore (or ENTER if done): ')
8687
if not key : break
8788
keys_to_ignore.append(key)

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
'''
22
Name: translate-en-messages.py
3-
Version: 2026.2.10.8
3+
Version: 2026.2.10.9
44
Author: Adam Lui
55
Description: Translate en/messages.json to other locales
66
Homepage: https://github.com/adamlui/python-utils
@@ -82,6 +82,7 @@ def overwrite_print(msg) : stdout.write('\r' + msg.ljust(terminal_width)[:termin
8282
# Prompt user for keys to ignore
8383
keys_to_ignore = []
8484
while True:
85+
if len(keys_to_ignore) : print('Ignored key(s):', keys_to_ignore)
8586
key = input('Enter key to ignore (or ENTER if done): ')
8687
if not key : break
8788
keys_to_ignore.append(key)

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
'''
22
Name: translate-en-messages.py
3-
Version: 2026.2.10.8
3+
Version: 2026.2.10.9
44
Author: Adam Lui
55
Description: Translate en/messages.json to other locales
66
Homepage: https://github.com/adamlui/python-utils
@@ -82,6 +82,7 @@ def overwrite_print(msg) : stdout.write('\r' + msg.ljust(terminal_width)[:termin
8282
# Prompt user for keys to ignore
8383
keys_to_ignore = []
8484
while True:
85+
if len(keys_to_ignore) : print('Ignored key(s):', keys_to_ignore)
8586
key = input('Enter key to ignore (or ENTER if done): ')
8687
if not key : break
8788
keys_to_ignore.append(key)

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
'''
22
Name: translate-en-messages.py
3-
Version: 2026.2.10.8
3+
Version: 2026.2.10.9
44
Author: Adam Lui
55
Description: Translate en/messages.json to other locales
66
Homepage: https://github.com/adamlui/python-utils
@@ -82,6 +82,7 @@ def overwrite_print(msg) : stdout.write('\r' + msg.ljust(terminal_width)[:termin
8282
# Prompt user for keys to ignore
8383
keys_to_ignore = []
8484
while True:
85+
if len(keys_to_ignore) : print('Ignored key(s):', keys_to_ignore)
8586
key = input('Enter key to ignore (or ENTER if done): ')
8687
if not key : break
8788
keys_to_ignore.append(key)

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
'''
22
Name: translate-en-messages.py
3-
Version: 2026.2.10.8
3+
Version: 2026.2.10.9
44
Author: Adam Lui
55
Description: Translate en/messages.json to other locales
66
Homepage: https://github.com/adamlui/python-utils
@@ -82,6 +82,7 @@ def overwrite_print(msg) : stdout.write('\r' + msg.ljust(terminal_width)[:termin
8282
# Prompt user for keys to ignore
8383
keys_to_ignore = []
8484
while True:
85+
if len(keys_to_ignore) : print('Ignored key(s):', keys_to_ignore)
8586
key = input('Enter key to ignore (or ENTER if done): ')
8687
if not key : break
8788
keys_to_ignore.append(key)

chatgpt/duckduckgpt/utils/translate-en-messages.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
'''
22
Name: translate-en-messages.py
3-
Version: 2026.2.10.8
3+
Version: 2026.2.10.9
44
Author: Adam Lui
55
Description: Translate en/messages.json to other locales
66
Homepage: https://github.com/adamlui/python-utils
@@ -82,6 +82,7 @@ def overwrite_print(msg) : stdout.write('\r' + msg.ljust(terminal_width)[:termin
8282
# Prompt user for keys to ignore
8383
keys_to_ignore = []
8484
while True:
85+
if len(keys_to_ignore) : print('Ignored key(s):', keys_to_ignore)
8586
key = input('Enter key to ignore (or ENTER if done): ')
8687
if not key : break
8788
keys_to_ignore.append(key)

chatgpt/googlegpt/utils/translate-en-messages.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
'''
22
Name: translate-en-messages.py
3-
Version: 2026.2.10.8
3+
Version: 2026.2.10.9
44
Author: Adam Lui
55
Description: Translate en/messages.json to other locales
66
Homepage: https://github.com/adamlui/python-utils
@@ -82,6 +82,7 @@ def overwrite_print(msg) : stdout.write('\r' + msg.ljust(terminal_width)[:termin
8282
# Prompt user for keys to ignore
8383
keys_to_ignore = []
8484
while True:
85+
if len(keys_to_ignore) : print('Ignored key(s):', keys_to_ignore)
8586
key = input('Enter key to ignore (or ENTER if done): ')
8687
if not key : break
8788
keys_to_ignore.append(key)

0 commit comments

Comments
 (0)