Files
OpenRA/mods/cnc/languages/hotkeys/en.ftl
RoosterDragon 6f6fb5b393 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.
2024-10-17 15:10:59 +03:00

9 lines
401 B
Plaintext

## hotkeys.yaml
hotkey-description-NextProductionTab = Next tab
hotkey-description-PreviousProductionTab = Previous tab
hotkey-description-ProductionTypeBuilding = Building Tab
hotkey-description-ProductionTypeDefense = Defense Tab
hotkey-description-ProductionTypeInfantry = Infantry Tab
hotkey-description-ProductionTypeVehicle = Vehicle Tab
hotkey-description-ProductionTypeAircraft = Aircraft Tab