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

@@ -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);
}