Refactor translation files

- Add prefixes to all message keys to provide context
- Use messages with attributes for some UI elements (dropdowns, dialogs, checkboxes, menus)
- Rename some class fields for consistency with translation keys
This commit is contained in:
Ivaylo Draganov
2022-11-10 13:46:51 +02:00
committed by Paul Chote
parent 46caa2d889
commit a0f17b15ec
89 changed files with 1095 additions and 1053 deletions

View File

@@ -42,15 +42,15 @@ Player:
FogCheckboxDisplayOrder: 3
LobbyPrerequisiteCheckbox@GLOBALFACTUNDEPLOY:
ID: factundeploy
Label: redeployable-mcvs.label
Description: redeployable-mcvs.description
Label: checkbox-redeployable-mcvs.label
Description: checkbox-redeployable-mcvs.description
Enabled: True
DisplayOrder: 7
Prerequisites: global-factundeploy
LobbyPrerequisiteCheckbox@GLOBALC17STEALTH:
ID: C17-Stealth
Label: stealth-deliveries.label
Description: stealth-deliveries.description
Label: checkbox-stealth-deliveries.label
Description: checkbox-stealth-deliveries.description
Enabled: False
DisplayOrder: 8
Prerequisites: global-C17-stealth
@@ -58,19 +58,19 @@ Player:
FrozenActorLayer:
PlaceBeacon:
ProvidesTechPrerequisite@low:
Name: low
Name: options-tech-level.low
Prerequisites: techlevel.low
Id: low
ProvidesTechPrerequisite@medium:
Name: medium
Name: options-tech-level.medium
Prerequisites: techlevel.low, techlevel.medium
Id: medium
ProvidesTechPrerequisite@nosuper:
Name: no-powers
Name: options-tech-level.no-powers
Prerequisites: techlevel.low, techlevel.medium, techlevel.high
Id: nopowers
ProvidesTechPrerequisite@all:
Name: unrestricted
Name: options-tech-level.unrestricted
Prerequisites: techlevel.low, techlevel.medium, techlevel.high, techlevel.superweapons
Id: unrestricted
GrantConditionOnPrerequisiteManager:

View File

@@ -208,42 +208,42 @@ World:
CreateMapPlayers:
StartingUnits@mcvonly:
Class: none
ClassName: mcv-only
ClassName: options-starting-units.mcv-only
Factions: gdi, nod
BaseActor: mcv
StartingUnits@defaultgdia:
Class: light
ClassName: light-support
ClassName: options-starting-units.light-support
Factions: gdi
BaseActor: mcv
SupportActors: e1,e1,e1,e1,e1,e3,e3,jeep
StartingUnits@defaultnoda:
Class: light
ClassName: light-support
ClassName: options-starting-units.light-support
Factions: nod
BaseActor: mcv
SupportActors: e1,e1,e1,e1,e1,e1,e3,e3,bggy
StartingUnits@heavynoda:
Class: heavy
ClassName: heavy-support
ClassName: options-starting-units.heavy-support
Factions: nod
BaseActor: mcv
SupportActors: e1,e1,e1,e1,e3,e3,ltnk,ltnk,ftnk
StartingUnits@heavynodb:
Class: heavy
ClassName: heavy-support
ClassName: options-starting-units.heavy-support
Factions: nod
BaseActor: mcv
SupportActors: e1,e1,e1,e1,e1,e3,e3,e3,ftnk,ftnk
StartingUnits@heavygdia:
Class: heavy
ClassName: heavy-support
ClassName: options-starting-units.heavy-support
Factions: gdi
BaseActor: mcv
SupportActors: e1,e1,e1,e1,e3,e3,jeep,mtnk,mtnk
StartingUnits@heavygdib:
Class: heavy
ClassName: heavy-support
ClassName: options-starting-units.heavy-support
Factions: gdi
BaseActor: mcv
SupportActors: e1,e1,e1,e1,e1,e2,e2,e2,e3,e3,apc,mtnk