mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-16 18:58:00 +00:00
Translate PlayerControllerHuman.java. Discard, order of cards, delve, exile.
This commit is contained in:
@@ -1152,6 +1152,23 @@ lblDiscardNCards=Discard %d card(s)
|
|||||||
lblSelectNCardsToDiscardUnlessDiscarduType=Select %d card(s) to discard, unless you discard a %s.
|
lblSelectNCardsToDiscardUnlessDiscarduType=Select %d card(s) to discard, unless you discard a %s.
|
||||||
lblCleanupPhase=Cleanup Phase
|
lblCleanupPhase=Cleanup Phase
|
||||||
lblSelectCardsToDiscardHandDownMaximum=Select %d card(s) to discard to bring your hand down to the maximum of %max cards.
|
lblSelectCardsToDiscardHandDownMaximum=Select %d card(s) to discard to bring your hand down to the maximum of %max cards.
|
||||||
|
lblChooseMinCardToDiscard=Choose %d card(s) to discard
|
||||||
|
lblDiscarded=Discarded
|
||||||
|
lblChooseDamageOrderFor=Choose Damage Order for %s
|
||||||
|
lblDamagedFirst=Damaged First
|
||||||
|
lblChooseBlockerAfterWhichToPlaceAttackert=Choose blocker after which to place %s in damage order; cancel to place it first
|
||||||
|
lblPutCardOnTopOrBottomLibrary=Put %s on the top or bottom of your library?
|
||||||
|
lblChooseOrderCardsPutIntoLibrary=Choose order of cards to put into the library
|
||||||
|
lblClosestToTop=Closest to top
|
||||||
|
lblChooseOrderCardsPutOntoBattlefield=Choose order of cards to put onto the battlefield
|
||||||
|
lblPutFirst=Put first
|
||||||
|
lblChooseOrderCardsPutIntoGraveyard=Choose order of cards to put into the graveyard
|
||||||
|
lblClosestToBottom=Closest to bottom
|
||||||
|
lblChooseOrderCardsPutIntoPlanarDeck=Choose order of cards to put into the planar deck
|
||||||
|
lblChooseOrderCardsPutIntoSchemeDeck=Choose order of cards to put into the scheme deck
|
||||||
|
lblChooseOrderCopiesCast=Choose order of copies to cast
|
||||||
|
lblDelveHowManyCards=Delve how many cards?
|
||||||
|
lblExileWhichCard=Exile which card?
|
||||||
#AbstractGuiGame.java
|
#AbstractGuiGame.java
|
||||||
lblConcedeCurrentGame=Das Spiel wird als verloren gewertet.\n\nTrotzdem aufgeben?
|
lblConcedeCurrentGame=Das Spiel wird als verloren gewertet.\n\nTrotzdem aufgeben?
|
||||||
lblConcedeTitle=Spiel verloren geben?
|
lblConcedeTitle=Spiel verloren geben?
|
||||||
|
|||||||
@@ -1152,6 +1152,23 @@ lblDiscardNCards=Discard %d card(s)
|
|||||||
lblSelectNCardsToDiscardUnlessDiscarduType=Select %d card(s) to discard, unless you discard a %s.
|
lblSelectNCardsToDiscardUnlessDiscarduType=Select %d card(s) to discard, unless you discard a %s.
|
||||||
lblCleanupPhase=Cleanup Phase
|
lblCleanupPhase=Cleanup Phase
|
||||||
lblSelectCardsToDiscardHandDownMaximum=Select %d card(s) to discard to bring your hand down to the maximum of %max cards.
|
lblSelectCardsToDiscardHandDownMaximum=Select %d card(s) to discard to bring your hand down to the maximum of %max cards.
|
||||||
|
lblChooseMinCardToDiscard=Choose %d card(s) to discard
|
||||||
|
lblDiscarded=Discarded
|
||||||
|
lblChooseDamageOrderFor=Choose Damage Order for %s
|
||||||
|
lblDamagedFirst=Damaged First
|
||||||
|
lblChooseBlockerAfterWhichToPlaceAttackert=Choose blocker after which to place %s in damage order; cancel to place it first
|
||||||
|
lblPutCardOnTopOrBottomLibrary=Put %s on the top or bottom of your library?
|
||||||
|
lblChooseOrderCardsPutIntoLibrary=Choose order of cards to put into the library
|
||||||
|
lblClosestToTop=Closest to top
|
||||||
|
lblChooseOrderCardsPutOntoBattlefield=Choose order of cards to put onto the battlefield
|
||||||
|
lblPutFirst=Put first
|
||||||
|
lblChooseOrderCardsPutIntoGraveyard=Choose order of cards to put into the graveyard
|
||||||
|
lblClosestToBottom=Closest to bottom
|
||||||
|
lblChooseOrderCardsPutIntoPlanarDeck=Choose order of cards to put into the planar deck
|
||||||
|
lblChooseOrderCardsPutIntoSchemeDeck=Choose order of cards to put into the scheme deck
|
||||||
|
lblChooseOrderCopiesCast=Choose order of copies to cast
|
||||||
|
lblDelveHowManyCards=Delve how many cards?
|
||||||
|
lblExileWhichCard=Exile which card?
|
||||||
#AbstractGuiGame.java
|
#AbstractGuiGame.java
|
||||||
lblConcedeCurrentGame=This will concede the current game and you will lose.\n\nConcede anyway?
|
lblConcedeCurrentGame=This will concede the current game and you will lose.\n\nConcede anyway?
|
||||||
lblConcedeTitle=Concede Game?
|
lblConcedeTitle=Concede Game?
|
||||||
|
|||||||
@@ -1152,6 +1152,23 @@ lblDiscardNCards=Descarta %d carta(s)
|
|||||||
lblSelectNCardsToDiscardUnlessDiscarduType=Selecciona %d carta(s) para descartar, a menos que descartes un %s.
|
lblSelectNCardsToDiscardUnlessDiscarduType=Selecciona %d carta(s) para descartar, a menos que descartes un %s.
|
||||||
lblCleanupPhase=Fase de Limpieza
|
lblCleanupPhase=Fase de Limpieza
|
||||||
lblSelectCardsToDiscardHandDownMaximum=Selecciona %d carta(s) a descartar para reducir tu mano al máximo de %max cartas.
|
lblSelectCardsToDiscardHandDownMaximum=Selecciona %d carta(s) a descartar para reducir tu mano al máximo de %max cartas.
|
||||||
|
lblChooseMinCardToDiscard=Elige %d carta(s) para descartar
|
||||||
|
lblDiscarded=Descartado
|
||||||
|
lblChooseDamageOrderFor=Selecciona el Orden de Daños para %s
|
||||||
|
lblDamagedFirst=Dañado Primero
|
||||||
|
lblChooseBlockerAfterWhichToPlaceAttackert=Elige un bloqueador después del cual colocar %s en el orden de daño; cancela para colocarlo primero.
|
||||||
|
lblPutCardOnTopOrBottomLibrary=¿Poner %s en la parte superior o inferior de tu biblioteca?
|
||||||
|
lblChooseOrderCardsPutIntoLibrary=Elige el orden de las cartas para poner en la biblioteca
|
||||||
|
lblClosestToTop=Más cerca de la parte superior
|
||||||
|
lblChooseOrderCardsPutOntoBattlefield=Elige el orden de las cartas que quieres poner en el campo de batalla
|
||||||
|
lblPutFirst=Poner en primer lugar
|
||||||
|
lblChooseOrderCardsPutIntoGraveyard=Elige el orden de las cartas para poner en el cementerio
|
||||||
|
lblClosestToBottom=Más cerca de la parte inferior
|
||||||
|
lblChooseOrderCardsPutIntoPlanarDeck=Elige el orden de las cartas que quieres poner en el mazo planar
|
||||||
|
lblChooseOrderCardsPutIntoSchemeDeck=Elige el orden de las cartas que quieres poner en el mazo scheme
|
||||||
|
lblChooseOrderCopiesCast=Elige el orden de las copias que se van a invocar
|
||||||
|
lblDelveHowManyCards=¿Excavar cuántas cartas?
|
||||||
|
lblExileWhichCard=¿Exiliar qué carta?
|
||||||
#AbstractGuiGame.java
|
#AbstractGuiGame.java
|
||||||
lblConcedeCurrentGame=Esto concederá la partida actual y perderás.\n\n¿Conceder de todos modos?
|
lblConcedeCurrentGame=Esto concederá la partida actual y perderás.\n\n¿Conceder de todos modos?
|
||||||
lblConcedeTitle=¿Conceder Partida?
|
lblConcedeTitle=¿Conceder Partida?
|
||||||
|
|||||||
@@ -1152,6 +1152,23 @@ lblDiscardNCards=Discard %d card(s)
|
|||||||
lblSelectNCardsToDiscardUnlessDiscarduType=Select %d card(s) to discard, unless you discard a %s.
|
lblSelectNCardsToDiscardUnlessDiscarduType=Select %d card(s) to discard, unless you discard a %s.
|
||||||
lblCleanupPhase=Cleanup Phase
|
lblCleanupPhase=Cleanup Phase
|
||||||
lblSelectCardsToDiscardHandDownMaximum=Select %d card(s) to discard to bring your hand down to the maximum of %max cards.
|
lblSelectCardsToDiscardHandDownMaximum=Select %d card(s) to discard to bring your hand down to the maximum of %max cards.
|
||||||
|
lblChooseMinCardToDiscard=Choose %d card(s) to discard
|
||||||
|
lblDiscarded=Discarded
|
||||||
|
lblChooseDamageOrderFor=Choose Damage Order for %s
|
||||||
|
lblDamagedFirst=Damaged First
|
||||||
|
lblChooseBlockerAfterWhichToPlaceAttackert=Choose blocker after which to place %s in damage order; cancel to place it first
|
||||||
|
lblPutCardOnTopOrBottomLibrary=Put %s on the top or bottom of your library?
|
||||||
|
lblChooseOrderCardsPutIntoLibrary=Choose order of cards to put into the library
|
||||||
|
lblClosestToTop=Closest to top
|
||||||
|
lblChooseOrderCardsPutOntoBattlefield=Choose order of cards to put onto the battlefield
|
||||||
|
lblPutFirst=Put first
|
||||||
|
lblChooseOrderCardsPutIntoGraveyard=Choose order of cards to put into the graveyard
|
||||||
|
lblClosestToBottom=Closest to bottom
|
||||||
|
lblChooseOrderCardsPutIntoPlanarDeck=Choose order of cards to put into the planar deck
|
||||||
|
lblChooseOrderCardsPutIntoSchemeDeck=Choose order of cards to put into the scheme deck
|
||||||
|
lblChooseOrderCopiesCast=Choose order of copies to cast
|
||||||
|
lblDelveHowManyCards=Delve how many cards?
|
||||||
|
lblExileWhichCard=Exile which card?
|
||||||
#AbstractGuiGame.java
|
#AbstractGuiGame.java
|
||||||
lblConcedeCurrentGame=这局游戏认输。\n\n确认吗?
|
lblConcedeCurrentGame=这局游戏认输。\n\n确认吗?
|
||||||
lblConcedeTitle=这局游戏认输?
|
lblConcedeTitle=这局游戏认输?
|
||||||
|
|||||||
@@ -678,7 +678,7 @@ public class PlayerControllerHuman extends PlayerController implements IGameCont
|
|||||||
public CardCollection orderBlockers(final Card attacker, final CardCollection blockers) {
|
public CardCollection orderBlockers(final Card attacker, final CardCollection blockers) {
|
||||||
final CardView vAttacker = CardView.get(attacker);
|
final CardView vAttacker = CardView.get(attacker);
|
||||||
getGui().setPanelSelection(vAttacker);
|
getGui().setPanelSelection(vAttacker);
|
||||||
return game.getCardList(getGui().order("Choose Damage Order for " + vAttacker, "Damaged First",
|
return game.getCardList(getGui().order(localizer.getMessage("lblChooseDamageOrderFor").replace("%s", vAttacker.toString()), localizer.getMessage("lblDamagedFirst"),
|
||||||
CardView.getCollection(blockers), vAttacker));
|
CardView.getCollection(blockers), vAttacker));
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -703,7 +703,7 @@ public class PlayerControllerHuman extends PlayerController implements IGameCont
|
|||||||
final CardView vAttacker = CardView.get(attacker);
|
final CardView vAttacker = CardView.get(attacker);
|
||||||
getGui().setPanelSelection(vAttacker);
|
getGui().setPanelSelection(vAttacker);
|
||||||
return game.getCardList(getGui().insertInList(
|
return game.getCardList(getGui().insertInList(
|
||||||
"Choose blocker after which to place " + vAttacker + " in damage order; cancel to place it first",
|
localizer.getMessage("lblChooseBlockerAfterWhichToPlaceAttackert").replace("%s", vAttacker.toString()),
|
||||||
CardView.get(blocker), CardView.getCollection(oldBlockers)));
|
CardView.get(blocker), CardView.getCollection(oldBlockers)));
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -711,7 +711,7 @@ public class PlayerControllerHuman extends PlayerController implements IGameCont
|
|||||||
public CardCollection orderAttackers(final Card blocker, final CardCollection attackers) {
|
public CardCollection orderAttackers(final Card blocker, final CardCollection attackers) {
|
||||||
final CardView vBlocker = CardView.get(blocker);
|
final CardView vBlocker = CardView.get(blocker);
|
||||||
getGui().setPanelSelection(vBlocker);
|
getGui().setPanelSelection(vBlocker);
|
||||||
return game.getCardList(getGui().order("Choose Damage Order for " + vBlocker, "Damaged First",
|
return game.getCardList(getGui().order(localizer.getMessage("lblChooseDamageOrderFor").replace("%s", vBlocker.toString()), localizer.getMessage("lblDamagedFirst"),
|
||||||
CardView.getCollection(attackers), vBlocker));
|
CardView.getCollection(attackers), vBlocker));
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -841,7 +841,7 @@ public class PlayerControllerHuman extends PlayerController implements IGameCont
|
|||||||
getGui().setCard(c.getView());
|
getGui().setCard(c.getView());
|
||||||
|
|
||||||
boolean result = false;
|
boolean result = false;
|
||||||
result = InputConfirm.confirm(this, view, TextUtil.concatNoSpace("Put ", view.toString(), " on the top or bottom of your library?"),
|
result = InputConfirm.confirm(this, view, localizer.getMessage("lblPutCardOnTopOrBottomLibrary").replace("%s", view.toString()),
|
||||||
true, ImmutableList.of("Top", "Bottom"));
|
true, ImmutableList.of("Top", "Bottom"));
|
||||||
|
|
||||||
endTempShowCards();
|
endTempShowCards();
|
||||||
@@ -876,27 +876,27 @@ public class PlayerControllerHuman extends PlayerController implements IGameCont
|
|||||||
tempShowCards(cards);
|
tempShowCards(cards);
|
||||||
switch (destinationZone) {
|
switch (destinationZone) {
|
||||||
case Library:
|
case Library:
|
||||||
choices = getGui().order("Choose order of cards to put into the library", "Closest to top",
|
choices = getGui().order(localizer.getMessage("lblChooseOrderCardsPutIntoLibrary"), localizer.getMessage("lblClosestToTop"),
|
||||||
CardView.getCollection(cards), null);
|
CardView.getCollection(cards), null);
|
||||||
break;
|
break;
|
||||||
case Battlefield:
|
case Battlefield:
|
||||||
choices = getGui().order("Choose order of cards to put onto the battlefield", "Put first",
|
choices = getGui().order(localizer.getMessage("lblChooseOrderCardsPutOntoBattlefield"), localizer.getMessage("lblPutFirst"),
|
||||||
CardView.getCollection(cards), null);
|
CardView.getCollection(cards), null);
|
||||||
break;
|
break;
|
||||||
case Graveyard:
|
case Graveyard:
|
||||||
choices = getGui().order("Choose order of cards to put into the graveyard", "Closest to bottom",
|
choices = getGui().order(localizer.getMessage("lblChooseOrderCardsPutIntoGraveyard"), localizer.getMessage("lblClosestToBottom"),
|
||||||
CardView.getCollection(cards), null);
|
CardView.getCollection(cards), null);
|
||||||
break;
|
break;
|
||||||
case PlanarDeck:
|
case PlanarDeck:
|
||||||
choices = getGui().order("Choose order of cards to put into the planar deck", "Closest to top",
|
choices = getGui().order(localizer.getMessage("lblChooseOrderCardsPutIntoPlanarDeck"), localizer.getMessage("lblClosestToTop"),
|
||||||
CardView.getCollection(cards), null);
|
CardView.getCollection(cards), null);
|
||||||
break;
|
break;
|
||||||
case SchemeDeck:
|
case SchemeDeck:
|
||||||
choices = getGui().order("Choose order of cards to put into the scheme deck", "Closest to top",
|
choices = getGui().order(localizer.getMessage("lblChooseOrderCardsPutIntoSchemeDeck"), localizer.getMessage("lblClosestToTop"),
|
||||||
CardView.getCollection(cards), null);
|
CardView.getCollection(cards), null);
|
||||||
break;
|
break;
|
||||||
case Stack:
|
case Stack:
|
||||||
choices = getGui().order("Choose order of copies to cast", "Put first", CardView.getCollection(cards),
|
choices = getGui().order(localizer.getMessage("lblChooseOrderCopiesCast"), localizer.getMessage("lblPutFirst"), CardView.getCollection(cards),
|
||||||
null);
|
null);
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
@@ -914,8 +914,8 @@ public class PlayerControllerHuman extends PlayerController implements IGameCont
|
|||||||
if (p != player) {
|
if (p != player) {
|
||||||
tempShowCards(valid);
|
tempShowCards(valid);
|
||||||
final CardCollection choices = game
|
final CardCollection choices = game
|
||||||
.getCardList(getGui().many("Choose " + min + " card" + (min != 1 ? "s" : "") + " to discard",
|
.getCardList(getGui().many(String.format(localizer.getMessage("lblChooseMinCardToDiscard"), min),
|
||||||
"Discarded", min, min, CardView.getCollection(valid), null));
|
localizer.getMessage("lblDiscarded"), min, min, CardView.getCollection(valid), null));
|
||||||
endTempShowCards();
|
endTempShowCards();
|
||||||
return choices;
|
return choices;
|
||||||
}
|
}
|
||||||
@@ -938,9 +938,9 @@ public class PlayerControllerHuman extends PlayerController implements IGameCont
|
|||||||
for (int i = 0; i <= cardsInGrave; i++) {
|
for (int i = 0; i <= cardsInGrave; i++) {
|
||||||
cntChoice.add(Integer.valueOf(i));
|
cntChoice.add(Integer.valueOf(i));
|
||||||
}
|
}
|
||||||
final int chosenAmount = getGui().one("Delve how many cards?", cntChoice.build()).intValue();
|
final int chosenAmount = getGui().one(localizer.getMessage("lblDelveHowManyCards"), cntChoice.build()).intValue();
|
||||||
for (int i = 0; i < chosenAmount; i++) {
|
for (int i = 0; i < chosenAmount; i++) {
|
||||||
final CardView nowChosen = getGui().oneOrNone("Exile which card?", CardView.getCollection(grave));
|
final CardView nowChosen = getGui().oneOrNone(localizer.getMessage("lblExileWhichCard"), CardView.getCollection(grave));
|
||||||
|
|
||||||
if (nowChosen == null) {
|
if (nowChosen == null) {
|
||||||
// User canceled,abort delving.
|
// User canceled,abort delving.
|
||||||
|
|||||||
Reference in New Issue
Block a user