translate quest starting pool type

This commit is contained in:
CCTV-1
2020-02-20 10:15:08 +08:00
parent 55db217c74
commit f0a6760312
2 changed files with 13 additions and 11 deletions

View File

@@ -74,7 +74,7 @@ public enum VSubmenuQuestData implements IVSubmenu<CSubmenuQuestData> {
private final FLabel lblPreconDeck = new FLabel.Builder().text(localizer.getMessage("lblStarterEventdeck") +":").build();
private final FComboBoxWrapper<String> cbxPreconDeck = new FComboBoxWrapper<>();
private final FLabel lblFormat = new FLabel.Builder().text(localizer.getMessage("lblSanctionedformat") + "").build();
private final FLabel lblFormat = new FLabel.Builder().text(localizer.getMessage("lblSanctionedformat") + ":").build();
private final FComboBoxWrapper<GameFormat> cbxFormat = new FComboBoxWrapper<>();
private final FLabel lblCustomDeck = new FLabel.Builder().text(localizer.getMessage("lblCustomdeck")).build();
@@ -97,7 +97,7 @@ public enum VSubmenuQuestData implements IVSubmenu<CSubmenuQuestData> {
private final FLabel lblPrizedCards = new FLabel.Builder().text(localizer.getMessage("lblPrizedCards")).build();
private final FComboBoxWrapper<Object> cbxPrizedCards = new FComboBoxWrapper<>();
private final FLabel lblPrizeFormat = new FLabel.Builder().text(localizer.getMessage("lblSanctionedformat")).build();
private final FLabel lblPrizeFormat = new FLabel.Builder().text(localizer.getMessage("lblSanctionedformat") + ":").build();
private final FComboBoxWrapper<GameFormat> cbxPrizeFormat = new FComboBoxWrapper<>();
private final FLabel lblPrizeUnrestricted = new FLabel.Builder().text(localizer.getMessage("lblAllCardsAvailableWin")).build();

View File

@@ -1,19 +1,21 @@
package forge.quest;
import forge.util.Localizer;
public enum StartingPoolType {
Complete("Unrestricted"),
Sanctioned("Sanctioned format"),
Casual("Casual/Historic format"),
CustomFormat("Custom format"),
Precon("Event or starter deck"),
SealedDeck("My sealed deck"),
DraftDeck("My draft deck"),
Cube("Predefined cube");
Complete("lblUnrestricted"),
Sanctioned("lblSanctionedFormat"),
Casual("lblCasualOrHistoricFormat"),
CustomFormat("lblCustomFormat"),
Precon("lblEventOrStartDeck"),
SealedDeck("lblMySealedDeck"),
DraftDeck("lblMyDraftDeck"),
Cube("lblPredefinedCube");
private final String caption;
StartingPoolType(String caption0) {
caption = caption0;
caption = Localizer.getInstance().getMessage(caption0);
}
/* (non-Javadoc)