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

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

View File

@@ -1720,7 +1720,6 @@ Container@PLAYER_WIDGETS:
Width: 50
Height: 22
Font: Bold
Text: {0}
TooltipContainer: TOOLTIP_CONTAINER
TooltipTemplate: SIMPLE_TOOLTIP_FACTIONSUFFIX
Children:
@@ -1737,7 +1736,6 @@ Container@PLAYER_WIDGETS:
Height: 22
Align: Right
Font: Bold
Text: {0}
TooltipContainer: TOOLTIP_CONTAINER
TooltipTemplate: SIMPLE_TOOLTIP_FACTIONSUFFIX
Children:

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

@@ -200,7 +200,6 @@ Background@PRODUCTION_TOOLTIP:
Y: 20
Height: 15
Font: TinyBold
Text: Requires {0}
Label@DESC:
X: 5
Y: 20
@@ -262,7 +261,6 @@ Background@PRODUCTION_TOOLTIP_FACTIONSUFFIX:
Y: 20
Height: 15
Font: TinyBold
Text: Requires {0}
Label@DESC:
X: 5
Y: 20