Skip to content

Commit

Permalink
Add translation lines for TooltipDescription
Browse files Browse the repository at this point in the history
  • Loading branch information
dnqbob authored and PunkPun committed Dec 15, 2023
1 parent ba951b6 commit ea3a629
Show file tree
Hide file tree
Showing 6 changed files with 84 additions and 40 deletions.
26 changes: 22 additions & 4 deletions mods/cnc/languages/rules/en.ftl
Original file line number Diff line number Diff line change
Expand Up @@ -401,14 +401,31 @@ actor-vehicleproduction-name = Vehicle Production
actor-anypower-name = Any Power Generation
actor-anyhq-name = A Communications Center
## tech.yaml
actor-v19-name = Oil Derrick
actor-v19-husk-name = Oil Derrick (Destroyed)
actor-hosp-name = Hospital
actor-hosp-husk-name = Hospital (Destroyed)
actor-bio-name = Biological Lab
actor-bio-husk-name = Biological Lab (Destroyed)
actor-miss-name = Tech Center
actor-hosp =
.name = Hospital
.captured-desc = Provides infantry with self-healing.
.capturable-desc = Capture to enable self-healing for infantry.
actor-miss =
.name = Tech Center
.captured-desc = Provides range of vision.
.capturable-desc = Capture to give visual range.
actor-bio =
.name = Biological Lab
.captured-desc = Provides infantry with Tiberium immunity.
.capturable-desc = Capture to enable Tiberium immunity for infantry.
actor-v19 =
.name = Oil Derrick
.captured-desc = Provides additional funds.
.capturable-desc = Capture to receive additional funds.
## trees.yaml
actor-splitblue-name = Blossom Tree (blue)
Expand Down Expand Up @@ -512,3 +529,4 @@ actor-truck =
Builds fast
Unarmed
.name = Supply Truck
24 changes: 12 additions & 12 deletions mods/cnc/rules/tech.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,12 @@ V19:
Health:
HP: 80000
Tooltip:
Name: actor-v19-name
Name: actor-v19.name
TooltipDescription@ally:
Description: Provides additional funds.
Description: actor-v19.captured-desc
ValidRelationships: Ally
TooltipDescription@other:
Description: Capture to receive additional funds.
Description: actor-v19.capturable-desc
ValidRelationships: Neutral, Enemy
SpawnActorOnDeath:
Actor: V19.Husk
Expand Down Expand Up @@ -49,12 +49,12 @@ HOSP:
Health:
HP: 250000
Tooltip:
Name: actor-hosp-name
Name: actor-hosp.name
TooltipDescription@ally:
Description: Provides infantry with self-healing.
Description: actor-hosp.captured-desc
ValidRelationships: Ally
TooltipDescription@other:
Description: Capture to enable self-healing for infantry.
Description: actor-hosp.capturable-desc
ValidRelationships: Neutral, Enemy
SpawnActorOnDeath:
Actor: HOSP.Husk
Expand Down Expand Up @@ -85,12 +85,12 @@ BIO:
Health:
HP: 250000
Tooltip:
Name: actor-bio-name
Name: actor-bio.name
TooltipDescription@ally:
Description: Provides infantry with Tiberium immunity.
Description: actor-bio.captured-desc
ValidRelationships: Ally
TooltipDescription@other:
Description: Capture to enable Tiberium immunity for infantry.
Description: actor-bio.capturable-desc
ValidRelationships: Neutral, Enemy
SpawnActorOnDeath:
Actor: BIO.Husk
Expand Down Expand Up @@ -118,7 +118,7 @@ MISS:
Footprint: xxx xxx
Dimensions: 3,2
Tooltip:
Name: actor-miss-name
Name: actor-miss.name
Buildable:
Queue: Building
BuildPaletteOrder: 1000
Expand All @@ -130,10 +130,10 @@ MISS:
RevealsShroud:
Range: 13c0
TooltipDescription@ally:
Description: Provides range of vision.
Description: actor-miss.captured-desc
ValidRelationships: Ally
TooltipDescription@other:
Description: Capture to give visual range.
Description: actor-miss.capturable-desc
ValidRelationships: Neutral, Enemy
WithBuildingBib:
HasMinibib: true
Expand Down
31 changes: 26 additions & 5 deletions mods/ra/languages/rules/en.ftl
Original file line number Diff line number Diff line change
Expand Up @@ -80,16 +80,11 @@ actor-mh60 =
actor-c10-name = Scientist
actor-tecn-name = Technician
actor-tecn2-name = Technician
actor-fcom-name = Forward Command
actor-hosp-name = Hospital
actor-v01-name = Church
actor-v19-name = Oil Pump
actor-v19-husk-name = Husk (Oil Pump)
actor-barl-name = Explosive Barrel
actor-brl3-name = Explosive Barrel
actor-miss-name = Communications Center
actor-bio-name = Biological Lab
actor-oilb-name = Oil Derrick
actor-v25-name = Church
actor-lhus-name = Lighthouse
actor-windmill-name = Windmill
Expand Down Expand Up @@ -735,3 +730,29 @@ actor-stnk =
Strong vs Light armor
Weak vs Infantry, Tanks, Aircraft
.name = Phase Transport
## Civilian Tech
actor-hosp =
.name = Hospital
.captured-desc = Provides infantry with self-healing.
.capturable-desc = Capture to enable self-healing for infantry.
actor-fcom =
.name = Forward Command
.captured-desc = Provides buildable area.
.capturable-desc =Capture to give buildable area.
actor-miss =
.name = Communications Center
.captured-desc = Provides range of vision.
.capturable-desc = Capture to give visual range.
actor-bio =
.name = Biological Lab
.captured-desc = Provides prerequisite for Bio-Lab units.
.capturable-desc = Capture to produce Bio-Lab units.
actor-oilb =
.name = Oil Derrick
.captured-desc = Provides additional funds.
.capturable-desc = Capture to receive additional funds.
30 changes: 15 additions & 15 deletions mods/ra/rules/civilian.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -140,12 +140,12 @@ FCOM:
Armor:
Type: Wood
Tooltip:
Name: actor-fcom-name
Name: actor-fcom.name
TooltipDescription@ally:
Description: Provides buildable area.
Description: actor-fcom.captured-desc
ValidRelationships: Ally
TooltipDescription@other:
Description: Capture to give buildable area.
Description: actor-fcom.capturable-desc
ValidRelationships: Neutral, Enemy
RevealsShroud:
MinRange: 4c0
Expand Down Expand Up @@ -193,12 +193,12 @@ HOSP:
CapturableProgressBlink:
InstantlyRepairable:
Tooltip:
Name: actor-hosp-name
Name: actor-hosp.name
TooltipDescription@ally:
Description: Provides infantry with self-healing.
Description: actor-hosp.captured-desc
ValidRelationships: Ally
TooltipDescription@other:
Description: Capture to enable self-healing for infantry.
Description: actor-hosp.capturable-desc
ValidRelationships: Neutral, Enemy
RevealsShroud:
Range: 4c0
Expand Down Expand Up @@ -459,12 +459,12 @@ MISS:
Armor:
Type: Wood
Tooltip:
Name: actor-miss-name
Name: actor-miss.name
TooltipDescription@ally:
Description: Provides range of vision.
Description: actor-miss.captured-desc
ValidRelationships: Ally
TooltipDescription@other:
Description: Capture to give visual range.
Description: actor-miss.capturable-desc
ValidRelationships: Neutral, Enemy
WithBuildingBib:
CaptureManager:
Expand Down Expand Up @@ -500,12 +500,12 @@ BIO:
CapturableProgressBar:
InstantlyRepairable:
Tooltip:
Name: actor-bio-name
Name: actor-bio.name
TooltipDescription@ally:
Description: Provides prerequisite for Bio-Lab units.
Description: actor-bio.captured-desc
ValidRelationships: Ally
TooltipDescription@other:
Description: Capture to produce Bio-Lab units.
Description: actor-bio.capturable-desc
ValidRelationships: Neutral, Enemy
WithDeathAnimation:
DeathSequence: dead
Expand Down Expand Up @@ -544,12 +544,12 @@ OILB:
Amount: 100
RequiresCondition: enabled
Tooltip:
Name: actor-oilb-name
Name: actor-oilb.name
TooltipDescription@ally:
Description: Provides additional funds.
Description: actor-oilb.captured-desc
ValidRelationships: Ally
TooltipDescription@other:
Description: Capture to receive additional funds.
Description: actor-oilb.capturable-desc
ValidRelationships: Neutral, Enemy
Explodes:
Weapon: BarrelExplode
Expand Down
7 changes: 6 additions & 1 deletion mods/ts/languages/rules/en.ftl
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,6 @@ actor-ca0021-name = Solar Panel
actor-caaray-name = Civilian Array
actor-caarmr-name = Civilian Armory
actor-cacrsh01-name = Crash Site
actor-cahosp-name = Civilian Hospital
actor-capyr01-name = Pyramid
actor-capyr02-name = Pyramid
actor-capyr03-name = Pyramid
Expand Down Expand Up @@ -703,3 +702,9 @@ actor-lpst =
actor-bigblue-name = Large Blue Tiberium Crystal
actor-veinhole-name = Veinhole
meta-tibflora-name = Tiberian Flora
## Civilian Tech
actor-cahosp =
.name = Civilian Hospital
.captured-desc = Provides infantry with self-healing.
.capturable-desc = Capture to enable self-healing for infantry.
6 changes: 3 additions & 3 deletions mods/ts/rules/civilian-structures.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -807,12 +807,12 @@ CAHOSP:
Inherits: ^BasicBuilding
Inherits@shape: ^3x4Shape
Tooltip:
Name: actor-cahosp-name
Name: actor-cahosp.name
TooltipDescription@ally:
Description: Provides infantry with self-healing.
Description: actor-cahosp.captured-desc
ValidRelationships: Ally
TooltipDescription@other:
Description: Capture to enable self-healing for infantry.
Description: actor-cahosp.capturable-desc
ValidRelationships: Neutral, Enemy
Building:
Footprint: XxX xxx xxx xxx
Expand Down

0 comments on commit ea3a629

Please sign in to comment.