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
2 changed files with 5 additions and 4 deletions

View File

@ -293,10 +293,11 @@ Strategic resources =
Owned by you: [amountOwned] = Owned by you: [amountOwned] =
Non-existent city = Non-existent city =
# Nation picker # Unit differences
[resourceName] not required = [resourceName] not required =
Lost ability = Lost ability (vs [originalUnit]): [ability] =
Upgrade all [count] [unit] ([cost] gold) =
National ability = National ability =
[firstValue] vs [secondValue] = [firstValue] vs [secondValue] =
Gained = Gained =
@ -518,7 +519,7 @@ Current map: World Wrap =
Overlay image = Overlay image =
Click to choose a file = Click to choose a file =
Choose an image = Choose an image =
Overlay transparency: = Overlay opacity: =
Invalid overlay image = Invalid overlay image =
World wrap is incompatible with an overlay and was deactivated. = World wrap is incompatible with an overlay and was deactivated. =
An overlay image is incompatible with world wrap 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 { private fun showOverlayFileName() = overlayFileButton.run {
if (editorScreen.overlayFile == null) { if (editorScreen.overlayFile == null) {
setText("Click to choose a file") setText("Click to choose a file".tr())
style.fontColor.a = 0.5f style.fontColor.a = 0.5f
} else { } else {
setText(editorScreen.overlayFile!!.path()) setText(editorScreen.overlayFile!!.path())