Expose lobby options to localisation.

This commit is contained in:
Matthias Mailänder
2022-10-25 21:40:49 +02:00
committed by Gustas
parent aefa49a831
commit 8297fcff30
30 changed files with 287 additions and 96 deletions

View File

@@ -0,0 +1,22 @@
## Player
low = Low
medium = Medium
no-powers = No Powers
unrestricted = Unrestricted
redeployable-mcvs =
.label = Redeployable MCVs
.description = Allow undeploying Construction Yard
stealth-deliveries =
.label = Stealth Deliveries
.description = Nod's delivery plane is cloaked
## World
mcv-only = MCV Only
light-support = Light Support
heavy-support = Heavy Support
map-creeps =
.label = Creep Actors
.description = Hostile forces spawn on the battlefield

View File

@@ -144,6 +144,7 @@ ChromeLayout:
Translations:
common|languages/en.ftl
cnc|languages/rules/en.ftl
Voices:
cnc|audio/voices.yaml

View File

@@ -42,15 +42,15 @@ Player:
FogCheckboxDisplayOrder: 3
LobbyPrerequisiteCheckbox@GLOBALFACTUNDEPLOY:
ID: factundeploy
Label: Redeployable MCVs
Description: Allow undeploying Construction Yard
Label: redeployable-mcvs.label
Description: redeployable-mcvs.description
Enabled: True
DisplayOrder: 7
Prerequisites: global-factundeploy
LobbyPrerequisiteCheckbox@GLOBALC17STEALTH:
ID: C17-Stealth
Label: Stealth Deliveries
Description: Nod's delivery plane is cloaked
Label: stealth-deliveries.label
Description: stealth-deliveries.description
Enabled: False
DisplayOrder: 8
Prerequisites: global-C17-stealth
@@ -58,19 +58,19 @@ Player:
FrozenActorLayer:
PlaceBeacon:
ProvidesTechPrerequisite@low:
Name: Low
Name: low
Prerequisites: techlevel.low
Id: low
ProvidesTechPrerequisite@medium:
Name: Medium
Name: medium
Prerequisites: techlevel.low, techlevel.medium
Id: medium
ProvidesTechPrerequisite@nosuper:
Name: No Powers
Name: no-powers
Prerequisites: techlevel.low, techlevel.medium, techlevel.high
Id: nopowers
ProvidesTechPrerequisite@all:
Name: Unrestricted
Name: 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: mcv-only
Factions: gdi, nod
BaseActor: mcv
StartingUnits@defaultgdia:
Class: light
ClassName: Light Support
ClassName: light-support
Factions: gdi
BaseActor: mcv
SupportActors: e1,e1,e1,e1,e1,e3,e3,jeep
StartingUnits@defaultnoda:
Class: light
ClassName: Light Support
ClassName: light-support
Factions: nod
BaseActor: mcv
SupportActors: e1,e1,e1,e1,e1,e1,e3,e3,bggy
StartingUnits@heavynoda:
Class: heavy
ClassName: Heavy Support
ClassName: heavy-support
Factions: nod
BaseActor: mcv
SupportActors: e1,e1,e1,e1,e3,e3,ltnk,ltnk,ftnk
StartingUnits@heavynodb:
Class: heavy
ClassName: Heavy Support
ClassName: 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: heavy-support
Factions: gdi
BaseActor: mcv
SupportActors: e1,e1,e1,e1,e3,e3,jeep,mtnk,mtnk
StartingUnits@heavygdib:
Class: heavy
ClassName: Heavy Support
ClassName: heavy-support
Factions: gdi
BaseActor: mcv
SupportActors: e1,e1,e1,e1,e1,e2,e2,e2,e3,e3,apc,mtnk

View File

@@ -663,3 +663,68 @@ path-debug-description = toggles a visualization of path searching.
## TerrainGeometryOverlay
terrain-geometry-overlay = toggles the terrain geometry overlay.
## Shroud
fog-of-war =
.label = Fog of War
.description = Line of sight is required to view enemy forces
explored-map =
.label = Explored Map
.description = Initial map shroud is revealed
## DeveloperMode
debug-menu =
.label = Debug Menu
.description = Enables cheats and developer commands
## CrateSpawner
crates =
.label = Crates
.description = Collect crates with units to receive random bonuses or penalties
## MapBuildRadius
ally-build-radius =
.label = Build off Allies
.description = Allow allies to place structures inside your build area
build-radius =
.label = Limit Build Area
.description = Limits structure placement to areas around Construction Yards
## MapOptions
short-game =
.label = Short Game
.description = Players are defeated when their bases are destroyed
tech-level =
.label = Tech Level
.description = The units and abilities that players can use
game-speed =
.label = Game Speed
.description = The rate at which time passes
## MapStartingLocations
separate-team-spawns =
.label = Separate Team Spawns
.description = Players without assigned spawn points will start as far as possible from enemy players
## SpawnStartingUnits
starting-units =
.label = Starting Units
.description = The units that players start the game with
## TimeLimitManager
time-limit =
.label = Time Limit
.description = Player or team with the highest score after this time wins
no-time-limit = No limit
time-limit-options =
{ $minutes ->
[one] { $minutes } minute
*[other] { $minutes } minutes
}
time-limit-expired = Time limit has expired.

View File

@@ -0,0 +1,18 @@
## Player
low = Low
medium = Medium
no-powers = No Powers
unrestricted = Unrestricted
automatic-concrete =
.label = Automatic Concrete
.description = Concrete foundations are automatically created beneath buildings
## World
map-worms =
.label = Worms
.description = Worms roam the map and devour unprepared forces
mcv-only = MCV Only
light-support = Light Support
heavy-support = Heavy Support

View File

@@ -124,6 +124,7 @@ ChromeLayout:
Translations:
common|languages/en.ftl
d2k|languages/rules/en.ftl
Weapons:
d2k|weapons/debris.yaml

View File

@@ -126,8 +126,8 @@ Player:
FogCheckboxDisplayOrder: 3
LobbyPrerequisiteCheckbox@AUTOCONCRETE:
ID: autoconcrete
Label: Automatic Concrete
Description: Concrete foundations are automatically created beneath buildings
Label: automatic-concrete.label
Description: automatic-concrete.description
Enabled: False
DisplayOrder: 7
Prerequisites: global-auto-concrete
@@ -158,19 +158,19 @@ Player:
Prerequisite: player.smuggler
Factions: smuggler
ProvidesTechPrerequisite@low:
Name: Low
Name: low
Prerequisites: techlevel.low
Id: low
ProvidesTechPrerequisite@medium:
Name: Medium
Name: medium
Prerequisites: techlevel.low, techlevel.medium
Id: medium
ProvidesTechPrerequisite@nosuper:
Name: No Powers
Name: no-powers
Prerequisites: techlevel.low, techlevel.medium, techlevel.high
Id: nopowers
ProvidesTechPrerequisite@all:
Name: Unrestricted
Name: unrestricted
Prerequisites: techlevel.low, techlevel.medium, techlevel.high, techlevel.superweapons
Id: unrestricted
EnemyWatcher:

View File

@@ -157,8 +157,8 @@ World:
Type: SandCrater
Sequence: sandcraters
MapCreeps:
CheckboxLabel: Worms
CheckboxDescription: Worms roam the map and devour unprepared forces
CheckboxLabel: map-worms.label
CheckboxDescription: map-worms.description
CheckboxDisplayOrder: 5
SpawnMapActors:
MapBuildRadius:
@@ -173,12 +173,12 @@ World:
SeparateTeamSpawnsCheckboxDisplayOrder: 6
StartingUnits@mcv:
Class: none
ClassName: MCV Only
ClassName: mcv-only
BaseActor: mcv
Factions: atreides, ordos, harkonnen
StartingUnits@lightatreides:
Class: light
ClassName: Light Support
ClassName: light-support
Factions: atreides
BaseActor: mcv
SupportActors: light_inf, light_inf, light_inf, trooper, grenadier, trike, quad
@@ -186,7 +186,7 @@ World:
OuterSupportRadius: 5
StartingUnits@lightharkonnen:
Class: light
ClassName: Light Support
ClassName: light-support
Factions: harkonnen
BaseActor: mcv
SupportActors: light_inf, light_inf, light_inf, trooper, trooper, trike, quad
@@ -194,7 +194,7 @@ World:
OuterSupportRadius: 5
StartingUnits@lightordos:
Class: light
ClassName: Light Support
ClassName: light-support
Factions: ordos
BaseActor: mcv
SupportActors: light_inf, light_inf, light_inf, trooper, engineer, raider, quad
@@ -202,7 +202,7 @@ World:
OuterSupportRadius: 5
StartingUnits@heavyatreides:
Class: heavy
ClassName: Heavy Support
ClassName: heavy-support
Factions: atreides
BaseActor: mcv
SupportActors: light_inf, light_inf, light_inf, trooper, grenadier, trike, combat_tank_a, missile_tank
@@ -210,7 +210,7 @@ World:
OuterSupportRadius: 5
StartingUnits@heavyharkonnen:
Class: heavy
ClassName: Heavy Support
ClassName: heavy-support
Factions: harkonnen
BaseActor: mcv
SupportActors: light_inf, light_inf, light_inf, trooper, engineer, quad, combat_tank_h, siege_tank
@@ -218,7 +218,7 @@ World:
OuterSupportRadius: 5
StartingUnits@heavyordos:
Class: heavy
ClassName: Heavy Support
ClassName: heavy-support
Factions: ordos
BaseActor: mcv
SupportActors: light_inf, light_inf, light_inf, trooper, engineer, raider, combat_tank_o, missile_tank

View File

@@ -0,0 +1,23 @@
## Player
infantry-only = Infantry Only
low = Low
medium = Medium
no-superweapons = No Superweapons
unrestricted = Unrestricted
kill-bounties =
.label = Kill Bounties
.description = Players receive cash bonuses when killing enemy units
redeployable-mcvs =
.label = Redeployable MCVs
.description = Allow undeploying Construction Yard
reusable-engineers =
.label = Reusable Engineers
.description = Engineers remain on the battlefield after capturing a structure
## World
mcv-only = MCV Only
light-support = Light Support
heavy-support = Heavy Support

View File

@@ -140,6 +140,7 @@ ChromeLayout:
Translations:
common|languages/en.ftl
ra|languages/rules/en.ftl
Weapons:
ra|weapons/explosions.yaml

View File

@@ -125,22 +125,22 @@ Player:
FogCheckboxDisplayOrder: 3
LobbyPrerequisiteCheckbox@GLOBALBOUNTY:
ID: bounty
Label: Kill Bounties
Description: Players receive cash bonuses when killing enemy units
Label: kill-bounties.label
Description: kill-bounties.description
Enabled: False
DisplayOrder: 8
Prerequisites: global-bounty
LobbyPrerequisiteCheckbox@GLOBALFACTUNDEPLOY:
ID: factundeploy
Label: Redeployable MCVs
Description: Allow undeploying Construction Yard
Label: redeployable-mcvs.label
Description: redeployable-mcvs.description
Enabled: True
DisplayOrder: 7
Prerequisites: global-factundeploy
LobbyPrerequisiteCheckbox@REUSABLEENGINEERS:
ID: reusable-engineers
Label: Reusable Engineers
Description: Engineers remain on the battlefield after capturing a structure
Label: reusable-engineers.label
Description: reusable-engineers.description
Enabled: False
DisplayOrder: 9
Prerequisites: global-reusable-engineers
@@ -151,23 +151,23 @@ Player:
PlayerStatistics:
PlaceBeacon:
ProvidesTechPrerequisite@infonly:
Name: Infantry Only
Name: infantry-only
Prerequisites: techlevel.infonly
Id: infantryonly
ProvidesTechPrerequisite@low:
Name: Low
Name: low
Prerequisites: techlevel.infonly, techlevel.low
Id: low
ProvidesTechPrerequisite@medium:
Name: Medium
Name: medium
Prerequisites: techlevel.infonly, techlevel.low, techlevel.medium
Id: medium
ProvidesTechPrerequisite@high:
Name: No Superweapons
Name: no-superweapons
Prerequisites: techlevel.infonly, techlevel.low, techlevel.medium, techlevel.high
Id: nosuperweapons
ProvidesTechPrerequisite@unrestricted:
Name: Unrestricted
Name: unrestricted
Prerequisites: techlevel.infonly, techlevel.low, techlevel.medium, techlevel.high, techlevel.unrestricted
Id: unrestricted
GrantConditionOnPrerequisiteManager:

View File

@@ -228,12 +228,12 @@ World:
CreateMapPlayers:
StartingUnits@mcvonly:
Class: none
ClassName: MCV Only
ClassName: mcv-only
Factions: allies, england, france, germany, soviet, russia, ukraine
BaseActor: mcv
StartingUnits@lightallies:
Class: light
ClassName: Light Support
ClassName: light-support
Factions: allies, england, france, germany
BaseActor: mcv
SupportActors: e1,e1,e1,e3,e3,jeep,1tnk
@@ -241,7 +241,7 @@ World:
OuterSupportRadius: 5
StartingUnits@lightsoviet:
Class: light
ClassName: Light Support
ClassName: light-support
Factions: soviet, russia, ukraine
BaseActor: mcv
SupportActors: e1,e1,e1,e3,e3,apc,ftrk
@@ -249,7 +249,7 @@ World:
OuterSupportRadius: 5
StartingUnits@heavyallies:
Class: heavy
ClassName: Heavy Support
ClassName: heavy-support
Factions: allies, england, france, germany
BaseActor: mcv
SupportActors: e1,e1,e1,e3,e3,jeep,1tnk,2tnk,2tnk,2tnk
@@ -257,7 +257,7 @@ World:
OuterSupportRadius: 5
StartingUnits@heavysoviet:
Class: heavy
ClassName: Heavy Support
ClassName: heavy-support
Factions: soviet, russia, ukraine
BaseActor: mcv
SupportActors: e1,e1,e1,e3,e3,apc,ftrk,3tnk,3tnk

View File

@@ -0,0 +1,18 @@
## Player
low = Low
medium = Medium
no-powers = No Powers
unrestricted = Unrestricted
redeployable-mcvs =
.label = Redeployable MCVs
.description = Allow undeploying Construction Yard
## World
mcv-only = MCV Only
light = Light
heavy = Heavy
map-creeps =
.label = Creep Actors
.description = Hostile forces spawn on the battlefield

View File

@@ -185,6 +185,7 @@ ChromeLayout:
Translations:
common|languages/en.ftl
ts|languages/rules/en.ftl
Voices:
ts|audio/voices.yaml

View File

@@ -107,8 +107,8 @@ Player:
FogCheckboxDisplayOrder: 3
LobbyPrerequisiteCheckbox@GLOBALFACTUNDEPLOY:
ID: factundeploy
Label: Redeployable MCVs
Description: Allow undeploying Construction Yard
Label: redeployable-mcvs.label
Description: redeployable-mcvs.description
Enabled: True
DisplayOrder: 7
Prerequisites: global-factundeploy
@@ -127,19 +127,19 @@ Player:
ArrowSequence:
CircleSequence:
ProvidesTechPrerequisite@low:
Name: Low
Name: low
Prerequisites: techlevel.low
Id: low
ProvidesTechPrerequisite@medium:
Name: Medium
Name: medium
Prerequisites: techlevel.low, techlevel.medium
Id: medium
ProvidesTechPrerequisite@nosuper:
Name: No Powers
Name: no-powers
Prerequisites: techlevel.low, techlevel.medium, techlevel.high
Id: nopowers
ProvidesTechPrerequisite@all:
Name: Unrestricted
Name: unrestricted
Prerequisites: techlevel.low, techlevel.medium, techlevel.high, techlevel.superweapons
Id: unrestricted
ResourceStorageWarning:

View File

@@ -307,12 +307,12 @@ World:
CreateMapPlayers:
StartingUnits@MCV:
Class: none
ClassName: MCV Only
ClassName: mcv-only
Factions: gdi, nod
BaseActor: mcv
StartingUnits@light.gdi:
Class: light
ClassName: Light
ClassName: light
Factions: gdi
BaseActor: mcv
SupportActors: e1,e1,e1,smech
@@ -320,7 +320,7 @@ World:
OuterSupportRadius: 5
StartingUnits@light.nod:
Class: light
ClassName: Light
ClassName: light
Factions: nod
BaseActor: mcv
SupportActors: e1,e1,e1,bggy
@@ -328,7 +328,7 @@ World:
OuterSupportRadius: 5
StartingUnits@med.gdi:
Class: medium
ClassName: Medium
ClassName: medium
Factions: gdi
BaseActor: mcv
SupportActors: e1,e1,e2,e2,jumpjet,smech
@@ -336,7 +336,7 @@ World:
OuterSupportRadius: 5
StartingUnits@med.nod:
Class: medium
ClassName: Medium
ClassName: medium
Factions: nod
BaseActor: mcv
SupportActors: e1,e1,e3,e3,cyborg,bggy
@@ -344,7 +344,7 @@ World:
OuterSupportRadius: 5
StartingUnits@heavy.gdi:
Class: heavy
ClassName: Heavy
ClassName: heavy
Factions: gdi
BaseActor: mcv
SupportActors: e1,e1,e2,e2,jumpjet,smech,smech,mmch
@@ -352,7 +352,7 @@ World:
OuterSupportRadius: 5
StartingUnits@heavy.nod:
Class: heavy
ClassName: Heavy
ClassName: heavy
Factions: nod
BaseActor: mcv
SupportActors: e1,e1,e3,e3,cyborg,bggy,bike,ttnk