Skip to content

Commit

Permalink
Translate the numeric option names too.
Browse files Browse the repository at this point in the history
It gives lint errors otherwise.
  • Loading branch information
MustaphaTR committed Oct 12, 2023
1 parent 23439e0 commit 9204ca3
Show file tree
Hide file tree
Showing 3 changed files with 59 additions and 39 deletions.
30 changes: 25 additions & 5 deletions mods/raclassic/languages/rules/en.ftl
Original file line number Diff line number Diff line change
@@ -1,10 +1,15 @@
## Player
options-tech-level =
.infantry-only = Infantry Only
.low = Low
.medium = Medium
.no-superweapons = No Superweapons
.unrestricted = Unrestricted
.one = 1
.two = 2
.three = 3
.four = 4
.five = 5
.six = 6
.seven = 7
.eight = 8
.nine = 9
.ten = 10
checkbox-redeployable-mcvs =
.label = Redeployable MCVs
Expand Down Expand Up @@ -59,5 +64,20 @@ checkbox-enable-volkov =
.description = Replaces Tanya with Volkov for Soviets, Visual Only
## World
options-starting-units =
.zero = 0
.one = 1
.two = 2
.three = 3
.four = 4
.five = 5
.six = 6
.seven = 7
.eight = 8
.nine = 9
.ten = 10
.eleven = 11
.twelve = 12
options-difficulty =
.normal = Normal
20 changes: 10 additions & 10 deletions mods/raclassic/rules/player.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -214,43 +214,43 @@ Player:
PlayerStatistics:
PlaceBeacon:
ProvidesTechPrerequisite@infonly:
Name: 1
Name: options-tech-level.one
Prerequisites: techlevel.1
Id: 1
ProvidesTechPrerequisite@low:
Name: 2
Name: options-tech-level.two
Prerequisites: techlevel.1, techlevel.2
Id: 2
ProvidesTechPrerequisite@medium:
Name: 3
Name: options-tech-level.three
Prerequisites: techlevel.1, techlevel.2, techlevel.3
Id: 3
ProvidesTechPrerequisite@4:
Name: 4
Name: options-tech-level.four
Prerequisites: techlevel.1, techlevel.2, techlevel.3, techlevel.4
Id: 4
ProvidesTechPrerequisite@5:
Name: 5
Name: options-tech-level.five
Prerequisites: techlevel.1, techlevel.2, techlevel.3, techlevel.4, techlevel.5
Id: 5
ProvidesTechPrerequisite@6:
Name: 6
Name: options-tech-level.six
Prerequisites: techlevel.1, techlevel.2, techlevel.3, techlevel.4, techlevel.5, techlevel.6
Id: 6
ProvidesTechPrerequisite@7:
Name: 7
Name: options-tech-level.seven
Prerequisites: techlevel.1, techlevel.2, techlevel.3, techlevel.4, techlevel.5, techlevel.6, techlevel.7
Id: 7
ProvidesTechPrerequisite@8:
Name: 8
Name: options-tech-level.eight
Prerequisites: techlevel.1, techlevel.2, techlevel.3, techlevel.4, techlevel.5, techlevel.6, techlevel.7, techlevel.8
Id: 8
ProvidesTechPrerequisite@9:
Name: 9
Name: options-tech-level.nine
Prerequisites: techlevel.1, techlevel.2, techlevel.3, techlevel.4, techlevel.5, techlevel.6, techlevel.7, techlevel.8, techlevel.9
Id: 9
ProvidesTechPrerequisite@10:
Name: 10
Name: options-tech-level.ten
Prerequisites: techlevel.1, techlevel.2, techlevel.3, techlevel.4, techlevel.5, techlevel.6, techlevel.7, techlevel.8, techlevel.9, techlevel.10
Id: 10
GrantConditionOnPrerequisiteManager:
Expand Down
48 changes: 24 additions & 24 deletions mods/raclassic/rules/world.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -221,188 +221,188 @@ World:
CreateMapPlayers:
StartingUnits@0:
Class: none
ClassName: 0
ClassName: options-starting-units.zero
Factions: allies, england, germany, france, spain, greece, turkey, soviet, russia, ukraine
BaseActor: mcv
StartingUnits@1:
Class: 1
ClassName: 1
ClassName: options-starting-units.one
Factions: allies, england, germany, france, spain, greece, turkey, soviet, russia, ukraine
BaseActor: mcv
SupportActors: e1
InnerSupportRadius: 2
OuterSupportRadius: 3
StartingUnits@2_allies:
Class: 2
ClassName: 2
ClassName: options-starting-units.two
Factions: allies, england, germany, france, spain, greece, turkey
BaseActor: mcv
SupportActors: e1, 1tnk, 2tnk
InnerSupportRadius: 3
OuterSupportRadius: 4
StartingUnits@2_soviet:
Class: 2
ClassName: 2
ClassName: options-starting-units.two
Factions: soviet, russia, ukraine
BaseActor: mcv
SupportActors: e1, 3tnk
InnerSupportRadius: 3
OuterSupportRadius: 4
StartingUnits@3_allies:
Class: 3
ClassName: 3
ClassName: options-starting-units.three
Factions: allies, england, germany, france, spain, greece, turkey
BaseActor: mcv
SupportActors: e1, 1tnk, 2tnk, apc
InnerSupportRadius: 3
OuterSupportRadius: 4
StartingUnits@3_soviet:
Class: 3
ClassName: 3
ClassName: options-starting-units.three
Factions: soviet, russia, ukraine
BaseActor: mcv
SupportActors: e1, 3tnk, v2rl
InnerSupportRadius: 3
OuterSupportRadius: 4
StartingUnits@4_allies:
Class: 4
ClassName: 4
ClassName: options-starting-units.four
Factions: allies, england, germany, france, spain, greece, turkey
BaseActor: mcv
SupportActors: e1, 1tnk, 2tnk, apc, e3
InnerSupportRadius: 3
OuterSupportRadius: 5
StartingUnits@4_soviet:
Class: 4
ClassName: 4
ClassName: options-starting-units.four
Factions: soviet, russia, ukraine
BaseActor: mcv
SupportActors: e1, 3tnk, v2rl, e2
InnerSupportRadius: 3
OuterSupportRadius: 5
StartingUnits@5_allies:
Class: 5
ClassName: 5
ClassName: options-starting-units.five
Factions: allies, england, germany, france, spain, greece, turkey
BaseActor: mcv
SupportActors: e1, 1tnk, 2tnk, apc, e3, jeep, arty
InnerSupportRadius: 3
OuterSupportRadius: 5
StartingUnits@5_soviet:
Class: 5
ClassName: 5
ClassName: options-starting-units.five
Factions: soviet, russia, ukraine
BaseActor: mcv
SupportActors: e1, 3tnk, v2rl, e2, 3tnk
InnerSupportRadius: 3
OuterSupportRadius: 5
StartingUnits@6_allies:
Class: 6
ClassName: 6
ClassName: options-starting-units.six
Factions: allies, england, germany, france, spain, greece, turkey
BaseActor: mcv
SupportActors: e1, 1tnk, 2tnk, apc, e3, jeep, arty, 2tnk, 2tnk
InnerSupportRadius: 3
OuterSupportRadius: 5
StartingUnits@6_soviet:
Class: 6
ClassName: 6
ClassName: options-starting-units.six
Factions: soviet, russia, ukraine
BaseActor: mcv
SupportActors: e1, 3tnk, v2rl, e2, 3tnk, 4tnk
InnerSupportRadius: 3
OuterSupportRadius: 5
StartingUnits@7_allies:
Class: 7
ClassName: 7
ClassName: options-starting-units.seven
Factions: allies, england, germany, france, spain, greece, turkey
BaseActor: mcv
SupportActors: e1, 1tnk, 2tnk, apc, e3, jeep, arty, 2tnk, 2tnk, e3
InnerSupportRadius: 3
OuterSupportRadius: 5
StartingUnits@7_soviet:
Class: 7
ClassName: 7
ClassName: options-starting-units.seven
Factions: soviet, russia, ukraine
BaseActor: mcv
SupportActors: e1, 3tnk, v2rl, e2, 3tnk, 4tnk, e4
InnerSupportRadius: 3
OuterSupportRadius: 5
StartingUnits@8_allies:
Class: 8
ClassName: 8
ClassName: options-starting-units.eight
Factions: allies, england, germany, france, spain, greece, turkey
BaseActor: mcv
SupportActors: e1, 1tnk, 2tnk, apc, e3, jeep, arty, 2tnk, 2tnk, e3, 1tnk, 2tnk
InnerSupportRadius: 3
OuterSupportRadius: 5
StartingUnits@8_soviet:
Class: 8
ClassName: 8
ClassName: options-starting-units.eight
Factions: soviet, russia, ukraine
BaseActor: mcv
SupportActors: e1, 3tnk, v2rl, e2, 3tnk, 4tnk, e4, 3tnk
InnerSupportRadius: 3
OuterSupportRadius: 5
StartingUnits@9_allies:
Class: 9
ClassName: 9
ClassName: options-starting-units.nine
Factions: allies, england, germany, france, spain, greece, turkey
BaseActor: mcv
SupportActors: e1, 1tnk, 2tnk, apc, e3, jeep, arty, 2tnk, 2tnk, e3, 1tnk, 2tnk, apc
InnerSupportRadius: 3
OuterSupportRadius: 5
StartingUnits@9_soviet:
Class: 9
ClassName: 9
ClassName: options-starting-units.nine
Factions: soviet, russia, ukraine
BaseActor: mcv
SupportActors: e1, 3tnk, v2rl, e2, 3tnk, 4tnk, e4, 3tnk, v2rl
InnerSupportRadius: 3
OuterSupportRadius: 5
StartingUnits@10_allies:
Class: 10
ClassName: 10
ClassName: options-starting-units.ten
Factions: allies, england, germany, france, spain, greece, turkey
BaseActor: mcv
SupportActors: e1, 1tnk, 2tnk, apc, e3, jeep, arty, 2tnk, 2tnk, e3, 1tnk, 2tnk, apc, e1
InnerSupportRadius: 3
OuterSupportRadius: 5
StartingUnits@10_soviet:
Class: 10
ClassName: 10
ClassName: options-starting-units.ten
Factions: soviet, russia, ukraine
BaseActor: mcv
SupportActors: e1, 3tnk, v2rl, e2, 3tnk, 4tnk, e4, 3tnk, v2rl, e1
InnerSupportRadius: 3
OuterSupportRadius: 5
StartingUnits@11_allies:
Class: 11
ClassName: 11
ClassName: options-starting-units.eleven
Factions: allies, england, germany, france, spain, greece, turkey
BaseActor: mcv
SupportActors: e1, 1tnk, 2tnk, apc, e3, jeep, arty, 2tnk, 2tnk, e3, 1tnk, 2tnk, apc, e1, jeep, arty
InnerSupportRadius: 3
OuterSupportRadius: 5
StartingUnits@11_soviet:
Class: 11
ClassName: 11
ClassName: options-starting-units.eleven
Factions: soviet, russia, ukraine
BaseActor: mcv
SupportActors: e1, 3tnk, v2rl, e2, 3tnk, 4tnk, e4, 3tnk, v2rl, e1, 3tnk
InnerSupportRadius: 3
OuterSupportRadius: 5
StartingUnits@12_allies:
Class: 12
ClassName: 12
ClassName: options-starting-units.twelve
Factions: allies, england, germany, france, spain, greece, turkey
BaseActor: mcv
SupportActors: e1, 1tnk, 2tnk, apc, e3, jeep, arty, 2tnk, 2tnk, e3, 1tnk, 2tnk, apc, e1, jeep, arty, 2tnk, 2tnk
InnerSupportRadius: 3
OuterSupportRadius: 5
StartingUnits@12_soviet:
Class: 12
ClassName: 12
ClassName: options-starting-units.twelve
Factions: soviet, russia, ukraine
BaseActor: mcv
SupportActors: e1, 3tnk, v2rl, e2, 3tnk, 4tnk, e4, 3tnk, v2rl, e1, 3tnk, 4tnk
Expand Down

0 comments on commit 9204ca3

Please sign in to comment.