Fix spelling errors and add naming consistency to translation keys

Co-Authored-By: Gustas <37534529+punkpun@users.noreply.github.com>
This commit is contained in:
test1232156
2024-08-17 09:57:06 +03:00
committed by Matthias Mailänder
parent c124684197
commit 536ffb3f31
55 changed files with 134 additions and 138 deletions

View File

@@ -389,7 +389,7 @@ Container@EDITOR_WORLD_ROOT:
Y: 49
Width: PARENT_RIGHT - 5
Height: 25
Text: label-actors-bg-owners
Text: label-actor-bg-owner
Align: Right
Font: TinyBold
TextField@SEARCH_TEXTFIELD:

View File

@@ -144,7 +144,7 @@ Container@OBSERVER_WIDGETS:
Y: 5
Width: 30
Height: 25
TooltipText: button-observer-widgets-options-tooltip
TooltipText: button-observer-widget-options-tooltip
TooltipContainer: TOOLTIP_CONTAINER
DisableWorldSounds: true
Children:

View File

@@ -185,11 +185,11 @@ Container@LOBBY_MUSIC_BIN:
Width: PARENT_RIGHT - 24
Height: 25
Align: Center
Text: label-no-music-desca
Text: label-no-music-desc-a
Label@DESCB:
Y: 115
Width: PARENT_RIGHT - 24
Height: 25
Align: Center
Text: label-no-music-descb
Text: label-no-music-desc-b

View File

@@ -145,7 +145,7 @@ Container@MAINMENU_INTRODUCTION_PROMPT:
Width: PARENT_RIGHT
Height: 16
Font: Small
Text: label-mouse-control-desc-classic-buildigs
Text: label-mouse-control-desc-classic-buildings
LabelWithHighlight@DESC_SUPPORT:
Y: 51
Width: PARENT_RIGHT
@@ -203,7 +203,7 @@ Container@MAINMENU_INTRODUCTION_PROMPT:
Width: PARENT_RIGHT
Height: 16
Font: Small
Text: label-mouse-control-desc-modern-buildigs
Text: label-mouse-control-desc-modern-buildings
LabelWithHighlight@DESC_SUPPORT:
Y: 51
Width: PARENT_RIGHT

View File

@@ -176,13 +176,13 @@ Container@MUSIC_PANEL:
Width: PARENT_RIGHT - 24
Height: 25
Align: Center
Text: label-no-music-desca
Text: label-no-music-desc-a
Label@DESCB:
Y: 40
Width: PARENT_RIGHT - 24
Height: 25
Align: Center
Text: label-no-music-descb
Text: label-no-music-desc-b
Button@BACK_BUTTON:
Key: escape
X: 0

View File

@@ -76,7 +76,7 @@ Container@INPUT_PANEL:
Width: PARENT_RIGHT
Height: 16
Font: Small
Text: label-mouse-control-desc-classic-buildigs
Text: label-mouse-control-desc-classic-buildings
LabelWithHighlight@DESC_SUPPORT:
Y: 51
Width: PARENT_RIGHT
@@ -135,7 +135,7 @@ Container@INPUT_PANEL:
Width: PARENT_RIGHT
Height: 16
Font: Small
Text: label-mouse-control-desc-modern-buildigs
Text: label-mouse-control-desc-modern-buildings
LabelWithHighlight@DESC_SUPPORT:
Y: 51
Width: PARENT_RIGHT

View File

@@ -61,7 +61,7 @@ button-editor-world-root-options-tooltip = Menu
label-tiles-bg-search = Search:
label-bg-filter = Filter:
label-actors-bg-search = Search:
label-actors-bg-owners = Owner:
label-actor-bg-owner = Owner:
label-area-selection = Area Selection
label-area-info = Area Info
label-selected-area-diagonal = Diagonal:
@@ -158,9 +158,9 @@ label-game-info-panel-title = Game Information
label-mission-objectives = Mission:
## ingame-infoscripterror.yaml
label-script-error-panel-desca = The map script has encountered a fatal error
label-script-error-panel-descb = The details of the error have been saved to lua.log in the logs directory.
label-script-error-panel-descc = Please send this file to the map author so that they can fix this issue.
label-script-error-panel-desc-a = The map script has encountered a fatal error
label-script-error-panel-desc-b = The details of the error have been saved to lua.log in the logs directory.
label-script-error-panel-desc-c = Please send this file to the map author so that they can fix this issue.
## ingame-infostats.yaml
label-objective-mission = Mission:
@@ -171,7 +171,7 @@ label-stats-score = Score
label-stats-actions = Actions
## ingame.yaml
button-observer-widgets-options-tooltip = Menu
button-observer-widget-options-tooltip = Menu
button-replay-player-pause-tooltip = Pause
button-replay-player-play-tooltip = Play
@@ -379,8 +379,8 @@ checkbox-music-controls-shuffle = Shuffle
checkbox-music-controls-loop = Loop
label-container-title = Track
label-no-music-title = Music Not Installed
label-no-music-desca = The game music can be installed
label-no-music-descb = from the "Manage Content" menu.
label-no-music-desc-a = The game music can be installed
label-no-music-desc-b = from the "Manage Content" menu.
## lobby-options.yaml
label-lobby-options-bin-title = Map Options
@@ -445,7 +445,7 @@ label-input-section-header = Input
label-mouse-control-container = Control Scheme:
label-mouse-control-desc-classic-selection = - Select units using the <Left> mouse button
label-mouse-control-desc-classic-commands = - Command units using the <Left> mouse button
label-mouse-control-desc-classic-buildigs = - Place structures using the <Left> mouse button
label-mouse-control-desc-classic-buildings = - Place structures using the <Left> mouse button
label-mouse-control-desc-classic-support = - Target support powers using the <Left> mouse button
label-mouse-control-desc-classic-zoom = - Zoom the battlefield using the <Scroll Wheel>
label-mouse-control-desc-classic-zoom-modifier = - Zoom the battlefield using <MODIFIER + Scroll Wheel>
@@ -454,7 +454,7 @@ label-mouse-control-desc-classic-scroll-middle = - Pan the battlefield using the
label-mouse-control-desc-classic-edgescroll = or by moving the cursor to the edge of the screen
label-mouse-control-desc-modern-selection = - Select units using the <Left> mouse button
label-mouse-control-desc-modern-commands = - Command units using the <Right> mouse button
label-mouse-control-desc-modern-buildigs = - Place structures using the <Left> mouse button
label-mouse-control-desc-modern-buildings = - Place structures using the <Left> mouse button
label-mouse-control-desc-modern-support = - Target support powers using the <Left> mouse button
label-mouse-control-desc-modern-zoom = - Zoom the battlefield using the <Scroll Wheel>
label-mouse-control-desc-modern-zoom-modifier = - Zoom the battlefield using <MODIFIER + Scroll Wheel>

View File

@@ -116,7 +116,7 @@ eliminate-gdi-forces = Eliminate all GDI forces in the area.
## nod07c
capture-gdi-helipad = Capture the GDI helipad.
dont-capture-or-destroy = Don't capture or destroy any other
do-not-capture-or-destroy = Don't capture or destroy any other
GDI main building.
orca-wreak-havoc = Use the GDI orca to wreak havoc at the village.
distract-guards = Distract the guards by attacking the
@@ -147,8 +147,8 @@ take-civilians-money-crates = Find all the civilians' money.
quickly-destroy-ion-cannon = Disable GDI Ion Cannon before
it fires two times.
nod-soldier = Nod Soldier
civilians-runs = Hey, those civilians... where are they going?
destroy-ion-cannon-advise = The GDI are preparing their ion cannon. Don't let them get used to it.
civilians-running = Hey, those civilians... where are they going?
destroy-ion-cannon-advice = The GDI are preparing their ion cannon. Don't let them get used to it.
village-destruction-warning = Be careful, commander. The GDI won't stand still while we burn the entire village.
## twist-of-fate

View File

@@ -55,7 +55,7 @@ faction-nod =
notification-unit-lost = Unit lost.
notification-unit-promoted = Unit promoted.
notification-building-captured = Building captured.
notification-civilian-building-captured = Civilian Building captured.
notification-civ-building-captured = Civilian Building captured.
notification-structure-lost = Structure lost.
## aircraft.yaml
@@ -176,12 +176,12 @@ meta-civbuildinghusk-generic-name = Civilian Building (Destroyed)
meta-civfield-generic-name = Field
meta-civhaystackorigloo =
.winter--name = Igloo
.summer--name = Haystacks
.winter-name = Igloo
.summer-name = Haystacks
meta-civhaystackorigloohusk =
.winter--name = Igloo (Destroyed)
.summer--name = Haystacks (Destroyed)
.winter-name = Igloo (Destroyed)
.summer-name = Haystacks (Destroyed)
meta-tree-name = Tree
meta-treehusk-name = Tree (Burnt)

View File

@@ -139,7 +139,7 @@ InitAi = function()
if not GDIAdvComCenter.IsDead then
IonCannonOnline = true
Media.DisplayMessage(UserInterface.Translate("destroy-ion-cannon-advise"))
Media.DisplayMessage(UserInterface.Translate("destroy-ion-cannon-advice"))
DestroyIonCannon = AddSecondaryObjective(Nod, "quickly-destroy-ion-cannon")
end
end)

View File

@@ -90,7 +90,7 @@ RunForHelp = function()
CivsRunning = true
local cam = Actor.Create("camera", true, { Owner = Nod, Location = CPos.New(53,44) })
Trigger.AfterDelay(125, cam.Destroy)
Media.DisplayMessage(UserInterface.Translate("civilians-runs"), UserInterface.Translate("nod-soldier"))
Media.DisplayMessage(UserInterface.Translate("civilians-running"), UserInterface.Translate("nod-soldier"))
end
end

View File

@@ -142,7 +142,7 @@ WorldLoaded = function()
end)
CaptureHelipad = AddPrimaryObjective(Nod, "capture-gdi-helipad")
NoCaptureObjective = AddPrimaryObjective(Nod, "dont-capture-or-destroy")
NoCaptureObjective = AddPrimaryObjective(Nod, "do-not-capture-or-destroy")
UseOrcaObjective = AddPrimaryObjective(Nod, "orca-wreak-havoc")
DistractGuardsObjective = AddSecondaryObjective(Nod, "distract-guards")
GDIObjective = AddPrimaryObjective(GDI, "")

View File

@@ -800,7 +800,7 @@
Types: building
CaptureNotification:
Notification: CivilianBuildingCaptured
TextNotification: notification-civilian-building-captured
TextNotification: notification-civ-building-captured
RepairableBuilding:
RepairPercent: 40
RepairStep: 1400
@@ -843,12 +843,12 @@
Condition: winter
TileSets: SNOW, WINTER
Tooltip@WINTER:
Name: meta-civhaystackorigloo.winter--name
Name: meta-civhaystackorigloo.winter-name
RequiresCondition: winter
GenericVisibility: None
ShowOwnerRow: false
Tooltip@SUMMER:
Name: meta-civhaystackorigloo.summer--name
Name: meta-civhaystackorigloo.summer-name
RequiresCondition: !winter
GenericVisibility: None
ShowOwnerRow: false
@@ -879,12 +879,12 @@
Condition: winter
TileSets: SNOW, WINTER
Tooltip@WINTER:
Name: meta-civhaystackorigloohusk.winter--name
Name: meta-civhaystackorigloohusk.winter-name
RequiresCondition: winter
GenericVisibility: None
ShowOwnerRow: false
Tooltip@SUMMER:
Name: meta-civhaystackorigloohusk.summer--name
Name: meta-civhaystackorigloohusk.summer-name
RequiresCondition: !winter
GenericVisibility: None
ShowOwnerRow: false