Isaiah Odhner
adcaed47cd
Handle base language (English) better
...
- Don't log an error about a missing language file at startup.
- Don't append to untranslated.txt for strings that don't need
translation because they're already in the target language.
I could use an early return for this too, but it's not important.
2023-04-19 02:59:48 -04:00
Isaiah Odhner
0ee058216e
Position submenu
2023-04-19 00:09:40 -04:00
Isaiah Odhner
4cbafea3cb
Show accelerators/shortcuts in menus
2023-04-18 23:34:05 -04:00
Isaiah Odhner
ac8c3819cf
Some things aren't translated yet
2023-04-18 18:55:45 -04:00
Isaiah Odhner
c5f7c9f387
Rename "Rectangular Select" to "Select" to match MS Paint and for localization
2023-04-18 18:55:45 -04:00
Isaiah Odhner
40d8662801
Track untranslated strings
2023-04-18 18:55:45 -04:00
Isaiah Odhner
973f67240d
WIP: i18n
...
Giving up on the python translation of the RC file parsing and pre-processing for now, in favor of simply parsing the JS files already generated, which is a much simpler task.
2023-04-18 03:31:47 -04:00
Isaiah Odhner
df1ddcc318
Don't escape Unicode characters so much...
2023-04-18 02:32:47 -04:00
Isaiah Odhner
b480d5a0b2
Add leniency like JS has...
2023-04-18 02:23:35 -04:00
Isaiah Odhner
160beeb6ce
Disable code for updating index.html
2023-04-18 02:23:03 -04:00
Isaiah Odhner
2e4d6e9c16
Fix several errors in JS->Python translation
2023-04-18 02:17:53 -04:00
Isaiah Odhner
c05bf1200d
Fix SyntaxError: f-string expression part cannot include a backslash
...
and one about the quotes
2023-04-18 01:52:54 -04:00
Isaiah Odhner
7192a0a0b5
Add some, but not many, of the comments omitted during translation to Python
2023-04-18 01:19:20 -04:00
Isaiah Odhner
6a943389be
Convert localization JavaScript code to Python using ChatGPT
2023-04-18 00:37:48 -04:00
Isaiah Odhner
ab690e8f5c
Add localization folder from JS Paint
...
This folder was last updated at this commit:
4a9163fb6d
2023-04-18 00:30:05 -04:00