Fix translation templates / use as per #6131 (#9515)

This commit is contained in:
SomeTroglodyte 2023-06-04 07:21:13 +02:00 committed by GitHub
parent e914f79657
commit 1c830672ef
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 4 deletions

View File

@ -293,10 +293,11 @@ Strategic resources =
Owned by you: [amountOwned] =
Non-existent city =
# Nation picker
# Unit differences
[resourceName] not required =
Lost ability =
Lost ability (vs [originalUnit]): [ability] =
Upgrade all [count] [unit] ([cost] gold) =
National ability =
[firstValue] vs [secondValue] =
Gained =
@ -518,7 +519,7 @@ Current map: World Wrap =
Overlay image =
Click to choose a file =
Choose an image =
Overlay transparency: =
Overlay opacity: =
Invalid overlay image =
World wrap is incompatible with an overlay and was deactivated. =
An overlay image is incompatible with world wrap and was deactivated. =

View File

@ -135,7 +135,7 @@ class MapEditorOptionsTab(
private fun showOverlayFileName() = overlayFileButton.run {
if (editorScreen.overlayFile == null) {
setText("Click to choose a file")
setText("Click to choose a file".tr())
style.fontColor.a = 0.5f
} else {
setText(editorScreen.overlayFile!!.path())