Commit Graph

12 Commits (f3e30580b7bf55d924cc2e3241c86acf5e8a55ce)

Author SHA1 Message Date
Isaiah Odhner 054f47390b Add warnings to generated files not to edit them directly 2020-12-17 14:34:01 -05:00
Isaiah Odhner 3b6d4c74e6 Remove ellipses that aren't in the base language string for now
Fix ellipses showing in About Paint window title, like "Info..." for German because the menu item is named "Info...".
To include them without showing them in window titles, I need to add support for string IDs (or a hack specific to menus).
2020-12-13 11:49:00 -05:00
Isaiah Odhner 670bc7f6e0 Improve string collision reporting 2020-12-13 11:40:47 -05:00
Isaiah Odhner c2304248fe Handle non-ASCII hotkey hints
- Note: this does not add support for non-ASCII hotkey functionality; hotkeys are still hard-coded, as far as what keys you can press to trigger actions.
- Fixes the hotkey hint patching when hotkeys don't match across localizations, e.g. "&Файл" -> "Файл (&)" for File menu.
- Prevents ampersands from showing up in the UI where they're not supposed to, like in About Paint's window title.
2020-12-13 10:44:39 -05:00
Isaiah Odhner 74932b548a Automate concatenating rc files
- localization/ko/localizations.js changes should just be reorderings.
- No longer including "combined.rc" files in source control, since the combination is just done in memory.
2020-12-12 20:42:36 -05:00
Isaiah Odhner a19214f8ca Load localizations synchronously but dynamically 2020-12-12 20:42:35 -05:00
Isaiah Odhner 6bb28998fe Fix fill tool description localization 2020-12-11 12:20:40 -05:00
Isaiah Odhner 44ce98bbb2 Split to apply localization of tool names and descriptions 2020-12-11 12:20:39 -05:00
Isaiah Odhner 227626dba5 Detect more collisions (and change outcome)
This also changes the localization of "Colors" from "색" to "색상", perhaps among other things. It's hard to view the diff, and I don't know enough about Korean to decide which is better. Probably it should be different in different places, since there are multiple translations, and that will be a separate feature to introduce.
2020-12-07 18:56:43 -05:00
Isaiah Odhner 0d1a2cd813 Reduce tech debt
Localizations shouldn't map from a hotkeyless string to a string with a hotkey hint.
2020-12-07 18:56:43 -05:00
Isaiah Odhner 5871e0ff5f Fix double ellipses 2020-12-07 18:56:43 -05:00
Isaiah Odhner 8643e95b5a Localize with data from Resource Tuner 2020-12-07 18:56:43 -05:00