Translate labels with parameters.

This commit is contained in:
Matthias Mailänder
2023-05-08 15:56:04 +02:00
committed by Gustas
parent 474463111f
commit 6e6bf1ca81
20 changed files with 30 additions and 33 deletions

View File

@@ -18,7 +18,6 @@ Background@CONNECTIONFAILED_PANEL:
Y: 46
Width: PARENT_RIGHT
Height: 25
Text: Could not connect to AAA.BBB.CCC.DDD:EEEE
Align: Center
Label@CONNECTION_ERROR:
X: 0
@@ -85,7 +84,6 @@ Background@CONNECTING_PANEL:
Y: 61
Width: PARENT_RIGHT
Height: 25
Text: Connecting to AAA.BBB.CCC.DDD:EEEE...
Align: Center
Button@ABORT_BUTTON:
X: PARENT_RIGHT - 180

View File

@@ -171,7 +171,6 @@ ScrollPanel@NEWS_PANEL:
Width: PARENT_RIGHT
Height: 15
Align: Center
Text: by {0} at {1}
Font: TinyBold
Label@CONTENT:
Y: 45

View File

@@ -125,12 +125,10 @@ Container@HOTKEYS_PANEL:
Width: PARENT_RIGHT
Height: PARENT_BOTTOM
Font: Tiny
Text: The default is "{0}"
Label@DUPLICATE_NOTICE:
Width: PARENT_RIGHT
Height: PARENT_BOTTOM
Font: Tiny
Text: This is already used for "{0}" in the {1} context
Label@READONLY_NOTICE:
Width: PARENT_RIGHT
Height: PARENT_BOTTOM

View File

@@ -254,7 +254,6 @@ Background@PRODUCTION_TOOLTIP:
Y: 26
Height: 15
Font: TinyBold
Text: Requires {0}
Label@DESC:
X: 7
Y: 27

View File

@@ -351,6 +351,10 @@ options-target-lines =
.manual = Manual
.disabled = Disabled
## HotkeysSettingsLogic
label-original-notice = The default is "{ $key }"
label-duplicate-notice = This is already used for "{ $key }" in the { $context } context
## InputSettingsLogic
options-mouse-scroll-type =
.disabled = Disabled
@@ -434,6 +438,7 @@ dialog-overwrite-save =
label-loading-news = Loading news
label-news-retrieval-failed = Failed to retrieve news: { $message }
label-news-parsing-failed = Failed to parse news: { $message }
label-author-datetime = by { $author } at { $datetime }
## MapChooserLogic
label-all-maps = All Maps
@@ -488,6 +493,9 @@ label-audio-unmuted = Audio unmuted.
label-loading-player-profile = Loading player profile...
label-loading-player-profile-failed = Failed to load player profile.
## ProductionTooltipLogic
label-requires = Requires { $prequisites }
## ReplayBrowserLogic
label-duration = Duration: { $time }