Skip to content

Commit

Permalink
Manually review chrome translation keys and do some deduplication
Browse files Browse the repository at this point in the history
  • Loading branch information
PunkPun authored and Mailaender committed Feb 7, 2024
1 parent 1a4f366 commit 2fe13fe
Show file tree
Hide file tree
Showing 60 changed files with 420 additions and 690 deletions.
2 changes: 1 addition & 1 deletion mods/cnc/chrome/assetbrowser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ Container@ASSETBROWSER_PANEL:
Y: PARENT_BOTTOM - 1
Width: 140
Height: 35
Text: button-assetbrowser-panel-close
Text: button-back
TooltipContainer@TOOLTIP_CONTAINER:

ScrollPanel@ASSET_TYPES_PANEL:
Expand Down
4 changes: 2 additions & 2 deletions mods/cnc/chrome/connection.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -90,14 +90,14 @@ Container@CONNECTIONFAILED_PANEL:
Y: 84
Width: 140
Height: 35
Text: button-connectionfailed-panel-quit
Text: button-quit
Button@RETRY_BUTTON:
Key: return
X: 230
Y: 84
Width: 140
Height: 35
Text: button-connectionfailed-panel-retry
Text: button-retry

Container@CONNECTION_SWITCHMOD_PANEL:
Logic: ConnectionSwitchModLogic
Expand Down
6 changes: 3 additions & 3 deletions mods/cnc/chrome/credits.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Container@CREDITS_PANEL:
Font: BigBold
Contrast: true
Align: Center
Text: label-credits-panel-title
Text: label-credits-title
Background@bg:
Width: PARENT_RIGHT
Height: PARENT_BOTTOM
Expand All @@ -32,7 +32,7 @@ Container@CREDITS_PANEL:
X: 150
Width: 140
Height: 35
Text: button-tab-container-engine
Text: label-openra
ScrollPanel@CREDITS_DISPLAY:
X: 15
Y: 15
Expand All @@ -49,6 +49,6 @@ Container@CREDITS_PANEL:
Y: PARENT_BOTTOM - 1
Width: 140
Height: 35
Text: button-credits-panel-back
Text: button-back
Key: escape

12 changes: 6 additions & 6 deletions mods/cnc/chrome/dialogs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -179,22 +179,22 @@ Background@THREEBUTTON_PROMPT:
Y: 40
Width: 140
Height: 35
Text: button-threebutton-prompt-confirm
Text: button-prompt-confirm
Visible: false
Button@OTHER_BUTTON:
Key: r
X: 210
Y: 40
Width: 140
Height: 35
Text: button-threebutton-prompt-other
Text: button-prompt-other
Visible: false
Button@CANCEL_BUTTON:
Key: escape
Y: 40
Width: 140
Height: 35
Text: button-threebutton-prompt-cancel
Text: button-cancel
Visible: false

Background@TWOBUTTON_PROMPT:
Expand Down Expand Up @@ -222,15 +222,15 @@ Background@TWOBUTTON_PROMPT:
Y: 30
Width: 140
Height: 35
Text: button-twobutton-prompt-cancel
Text: button-cancel
Visible: false
Button@CONFIRM_BUTTON:
Key: return
X: 230
Y: 30
Width: 140
Height: 35
Text: button-twobutton-prompt-confirm
Text: button-prompt-confirm
Visible: false

Container@TEXT_INPUT_PROMPT:
Expand Down Expand Up @@ -276,7 +276,7 @@ Container@TEXT_INPUT_PROMPT:
Y: PARENT_BOTTOM - 1
Width: 160
Height: 35
Text: button-text-input-prompt-cancel
Text: button-cancel
Font: Bold
Key: escape

Expand Down
24 changes: 12 additions & 12 deletions mods/cnc/chrome/editor.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ Container@NEW_MAP_BG:
Y: PARENT_BOTTOM - 1
Width: 140
Height: 35
Text: button-new-map-bg-cancel
Text: button-cancel
Font: Bold
Key: escape
Button@CREATE_BUTTON:
Expand Down Expand Up @@ -172,7 +172,7 @@ Container@SAVE_MAP_PANEL:
Y: PARENT_BOTTOM - 1
Width: 140
Height: 35
Text: button-save-map-panel-back
Text: button-cancel
Font: Bold
Key: escape
Button@SAVE_BUTTON:
Expand Down Expand Up @@ -298,7 +298,7 @@ Container@EDITOR_WORLD_ROOT:
Y: 25
Width: PARENT_RIGHT - 5
Height: 25
Text: label-tiles-bg-categories
Text: label-bg-filter
Align: Right
Font: TinyBold
TextField@SEARCH_TEXTFIELD:
Expand Down Expand Up @@ -381,7 +381,7 @@ Container@EDITOR_WORLD_ROOT:
Y: 25
Width: PARENT_RIGHT - 5
Height: 25
Text: label-actors-bg-categories
Text: label-bg-filter
Align: Right
Font: TinyBold
Label@OWNERS_LABEL:
Expand Down Expand Up @@ -578,7 +578,7 @@ Container@EDITOR_WORLD_ROOT:
Y: 222
Width: 75
Height: 25
Text: button-selection-cancel
Text: button-cancel
Font: Bold
Container@ACTOR_EDIT_PANEL:
X: 0
Expand Down Expand Up @@ -676,7 +676,7 @@ Container@EDITOR_WORLD_ROOT:
X: 131
Width: 75
Height: 25
Text: button-container-cancel
Text: button-cancel
Font: Bold
Button@OK_BUTTON:
X: 211
Expand All @@ -697,7 +697,7 @@ Container@EDITOR_WORLD_ROOT:
Height: 25
Key: EditorSelectTab
TooltipTemplate: BUTTON_TOOLTIP
TooltipText: button-map-editor-tab-container-select.tooltip
TooltipText: button-map-editor-tab-container-select-tooltip
TooltipContainer: TOOLTIP_CONTAINER
Children:
Image@ICON:
Expand All @@ -711,7 +711,7 @@ Container@EDITOR_WORLD_ROOT:
Height: 25
Key: EditorTilesTab
TooltipTemplate: BUTTON_TOOLTIP
TooltipText: button-map-editor-tab-container-tiles.tooltip
TooltipText: button-map-editor-tab-container-tiles-tooltip
TooltipContainer: TOOLTIP_CONTAINER
Children:
Image@ICON:
Expand All @@ -725,7 +725,7 @@ Container@EDITOR_WORLD_ROOT:
Height: 25
Key: EditorOverlaysTab
TooltipTemplate: BUTTON_TOOLTIP
TooltipText: button-map-editor-tab-container-overlays.tooltip
TooltipText: button-map-editor-tab-container-overlays-tooltip
TooltipContainer: TOOLTIP_CONTAINER
Children:
Image@ICON:
Expand All @@ -739,7 +739,7 @@ Container@EDITOR_WORLD_ROOT:
Height: 25
Key: EditorActorsTab
TooltipTemplate: BUTTON_TOOLTIP
TooltipText: button-map-editor-tab-container-actors.tooltip
TooltipText: button-map-editor-tab-container-actors-tooltip
TooltipContainer: TOOLTIP_CONTAINER
Children:
Image@ICON:
Expand All @@ -753,7 +753,7 @@ Container@EDITOR_WORLD_ROOT:
Height: 25
Key: EditorToolsTab
TooltipTemplate: BUTTON_TOOLTIP
TooltipText: button-map-editor-tab-container-tools.tooltip
TooltipText: button-map-editor-tab-container-tools-tooltip
TooltipContainer: TOOLTIP_CONTAINER
Children:
Image@ICON:
Expand All @@ -767,7 +767,7 @@ Container@EDITOR_WORLD_ROOT:
Height: 25
Key: EditorHistoryTab
TooltipTemplate: BUTTON_TOOLTIP
TooltipText: button-map-editor-tab-container-history.tooltip
TooltipText: button-map-editor-tab-container-history-tooltip
TooltipContainer: TOOLTIP_CONTAINER
Children:
Image@ICON:
Expand Down
2 changes: 1 addition & 1 deletion mods/cnc/chrome/gamesave-browser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ Container@GAMESAVE_BROWSER_PANEL:
Y: PARENT_BOTTOM - 1
Width: 140
Height: 35
Text: button-bg-cancel
Text: button-back
Button@DELETE_ALL_BUTTON:
X: PARENT_RIGHT - 370 - WIDTH
Y: PARENT_BOTTOM - 1
Expand Down
2 changes: 1 addition & 1 deletion mods/cnc/chrome/ingame-infostats.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ Container@SKIRMISH_STATS:
Y: 1
Width: 210
Height: 25
Text: label-stats-name
Text: label-stats-player
Font: Bold
Label@FACTION:
X: 230
Expand Down
10 changes: 5 additions & 5 deletions mods/cnc/chrome/lobby-kickdialogs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,14 +36,14 @@ Background@KICK_CLIENT_DIALOG:
Y: 155
Width: 120
Height: 25
Text: button-kick-client-dialog-ok
Text: button-kick-client-dialog
Font: Bold
Button@CANCEL_BUTTON:
X: (PARENT_RIGHT - WIDTH) / 2 - 75
Y: 155
Width: 120
Height: 25
Text: button-kick-client-dialog-cancel
Text: button-cancel
Font: Bold

Background@KICK_SPECTATORS_DIALOG:
Expand Down Expand Up @@ -77,7 +77,7 @@ Background@KICK_SPECTATORS_DIALOG:
Y: 155
Width: 120
Height: 25
Text: button-kick-spectators-dialog-cancel
Text: button-cancel
Font: Bold

Background@FORCE_START_DIALOG:
Expand Down Expand Up @@ -130,13 +130,13 @@ Background@FORCE_START_DIALOG:
Y: 155
Width: 120
Height: 25
Text: button-force-start-dialog-ok
Text: button-force-start-dialog-start
Font: Bold
Button@CANCEL_BUTTON:
X: (PARENT_RIGHT - WIDTH) / 2 - 75
Y: 155
Width: 120
Height: 25
Text: button-force-start-dialog-cancel
Text: button-cancel
Font: Bold

10 changes: 5 additions & 5 deletions mods/cnc/chrome/lobby-music.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Container@LOBBY_MUSIC_BIN:
Label@MUSIC:
Width: 308
Height: 25
Text: label-container-music
Text: label-music-title
Align: Center
Font: Bold
Label@TITLE:
Expand All @@ -24,7 +24,7 @@ Container@LOBBY_MUSIC_BIN:
X: PARENT_RIGHT - 80
Height: 25
Width: 50
Text: label-container-length
Text: label-music-controls-length
Font: Bold
Align: Right
Background@CONTROLS:
Expand Down Expand Up @@ -125,20 +125,20 @@ Container@LOBBY_MUSIC_BIN:
Width: 85
Height: 20
Font: Regular
Text: checkbox-controls-shuffle
Text: checkbox-music-controls-shuffle
Checkbox@REPEAT:
X: PARENT_RIGHT - 15 - WIDTH
Y: 150
Width: 70
Height: 20
Font: Regular
Text: checkbox-controls-repeat
Text: checkbox-music-controls-loop
Label@VOLUME_LABEL:
Y: 182
Width: 65
Height: 25
Align: Right
Text: label-controls-volume
Text: label-music-controls-volume
ExponentialSlider@MUSIC_SLIDER:
X: 70
Y: 186
Expand Down

0 comments on commit 2fe13fe

Please sign in to comment.