fix missing translate

This commit is contained in:
CCTV-1
2019-12-25 18:42:35 +08:00
parent ae6ea42aa9
commit 108c39ef7c
5 changed files with 5 additions and 1 deletions

View File

@@ -1245,6 +1245,7 @@ lblRestartingActionSequence=Restarting action sequence.
lblErrorPleaseCheckID=Error: Check IDs and ensure they're separated by spaces and/or commas.
lblErrorEntityWithId=Error: Entity with ID
lblNotFound=not found
lblChooseAnnounceFor=Choose %s for %name
#AbstractGuiGame.java
lblConcedeCurrentGame=Das Spiel wird als verloren gewertet.\n\nTrotzdem aufgeben?
lblConcedeTitle=Spiel verloren geben?

View File

@@ -1245,6 +1245,7 @@ lblRestartingActionSequence=Restarting action sequence.
lblErrorPleaseCheckID=Error: Check IDs and ensure they're separated by spaces and/or commas.
lblErrorEntityWithId=Error: Entity with ID
lblNotFound=not found
lblChooseAnnounceFor=Choose %s for %name
#AbstractGuiGame.java
lblConcedeCurrentGame=This will concede the current game and you will lose.\n\nConcede anyway?
lblConcedeTitle=Concede Game?

View File

@@ -1245,6 +1245,7 @@ lblRestartingActionSequence=Restarting action sequence.
lblErrorPleaseCheckID=Error: Check IDs and ensure they're separated by spaces and/or commas.
lblErrorEntityWithId=Error: Entity with ID
lblNotFound=not found
lblChooseAnnounceFor=Choose %s for %name
#AbstractGuiGame.java
lblConcedeCurrentGame=Esto concederá la partida actual y perderás.\n\n¿Conceder de todos modos?
lblConcedeTitle=¿Conceder Partida?

View File

@@ -1245,6 +1245,7 @@ lblRestartingActionSequence=重新启动行动序列
lblErrorPleaseCheckID=错误请检查ID并确保他们之间用空格和/或逗号分隔。
lblErrorEntityWithId=错误实体的ID
lblNotFound=没有找到
lblChooseAnnounceFor=为%name选择%s
#AbstractGuiGame.java
lblConcedeCurrentGame=这局游戏认输。\n\n确认吗
lblConcedeTitle=这局游戏认输?

View File

@@ -313,7 +313,7 @@ public class PlayerControllerHuman extends PlayerController implements IGameCont
public Integer announceRequirements(final SpellAbility ability, final String announce,
final boolean canChooseZero) {
final int min = canChooseZero ? 0 : 1;
return getGui().getInteger(localizer.getMessage("Choose %s for ").replace("%s", announce) + ability.getHostCard().getName(), min,
return getGui().getInteger(localizer.getMessage("lblChooseAnnounceFor").replace("%s", announce).replace("%name", ability.getHostCard().getName()) , min,
Integer.MAX_VALUE, min + 9);
}