Expose hotkeys to localisation.
Allows the Settings > Hotkeys screen to be localised, including hotkey decriptions, groups and contexts. The hotkey names are exposed to localisation via KeycodeExts. Hotkey modifiers are similarly exposed via ModifersExts. The Settings > Input screen has a Zoom Modifier dropdown, which shows the localised modifier name. The --check-yaml utility command is taught to recognise all hotkey translation, so it can validate their usage.
This commit is contained in:
@@ -123,9 +123,11 @@ ChromeLayout:
|
||||
Translations:
|
||||
common|languages/en.ftl
|
||||
common|languages/chrome/en.ftl
|
||||
common|languages/hotkeys/en.ftl
|
||||
common|languages/rules/en.ftl
|
||||
d2k|languages/en.ftl
|
||||
d2k|languages/chrome/en.ftl
|
||||
d2k|languages/hotkeys/en.ftl
|
||||
d2k|languages/rules/en.ftl
|
||||
|
||||
AllowUnusedTranslationsInExternalPackages: false
|
||||
|
||||
Reference in New Issue
Block a user