File tree Expand file tree Collapse file tree
autoclear-chatgpt-history/utils
chatgpt-auto-refresh/utils Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11'''
22Name: translate-en-messages.py
3- Version: 2026.2.10.8
3+ Version: 2026.2.10.9
44Author: Adam Lui
55Description: Translate en/messages.json to other locales
66Homepage: 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
8383keys_to_ignore = []
8484while 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 )
Original file line number Diff line number Diff line change 11'''
22Name: translate-en-messages.py
3- Version: 2026.2.10.8
3+ Version: 2026.2.10.9
44Author: Adam Lui
55Description: Translate en/messages.json to other locales
66Homepage: 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
8383keys_to_ignore = []
8484while 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 )
Original file line number Diff line number Diff line change 11'''
22Name: translate-en-messages.py
3- Version: 2026.2.10.8
3+ Version: 2026.2.10.9
44Author: Adam Lui
55Description: Translate en/messages.json to other locales
66Homepage: 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
8383keys_to_ignore = []
8484while 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 )
Original file line number Diff line number Diff line change 11'''
22Name: translate-en-messages.py
3- Version: 2026.2.10.8
3+ Version: 2026.2.10.9
44Author: Adam Lui
55Description: Translate en/messages.json to other locales
66Homepage: 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
8383keys_to_ignore = []
8484while 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 )
Original file line number Diff line number Diff line change 11'''
22Name: translate-en-messages.py
3- Version: 2026.2.10.8
3+ Version: 2026.2.10.9
44Author: Adam Lui
55Description: Translate en/messages.json to other locales
66Homepage: 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
8383keys_to_ignore = []
8484while 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 )
Original file line number Diff line number Diff line change 11'''
22Name: translate-en-messages.py
3- Version: 2026.2.10.8
3+ Version: 2026.2.10.9
44Author: Adam Lui
55Description: Translate en/messages.json to other locales
66Homepage: 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
8383keys_to_ignore = []
8484while 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 )
Original file line number Diff line number Diff line change 11'''
22Name: translate-en-messages.py
3- Version: 2026.2.10.8
3+ Version: 2026.2.10.9
44Author: Adam Lui
55Description: Translate en/messages.json to other locales
66Homepage: 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
8383keys_to_ignore = []
8484while 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 )
You can’t perform that action at this time.
0 commit comments