mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-18 19:58:00 +00:00
archive to archived
This commit is contained in:
@@ -216,7 +216,7 @@ public class CardManager extends ItemManager<PaperCard> {
|
||||
}
|
||||
menu.add(world);
|
||||
|
||||
if (FModel.getPreferences().getPrefBoolean(ForgePreferences.FPref.LOAD_ARCHIVE_FORMATS)) {
|
||||
if (FModel.getPreferences().getPrefBoolean(ForgePreferences.FPref.LOAD_ARCHIVED_FORMATS)) {
|
||||
JMenu blocks = GuiUtils.createMenu(localizer.getMessage("lblBlock"));
|
||||
final Iterable<GameFormat> blockFormats = FModel.getFormats().getBlockList();
|
||||
for (final GameFormat f : blockFormats) {
|
||||
|
||||
@@ -279,7 +279,7 @@ public final class DeckManager extends ItemManager<DeckProxy> implements IHasGam
|
||||
}
|
||||
menu.add(world);
|
||||
|
||||
if (FModel.getPreferences().getPrefBoolean(ForgePreferences.FPref.LOAD_ARCHIVE_FORMATS)) {
|
||||
if (FModel.getPreferences().getPrefBoolean(ForgePreferences.FPref.LOAD_ARCHIVED_FORMATS)) {
|
||||
JMenu blocks = GuiUtils.createMenu(localizer.getMessage("lblBlock"));
|
||||
final Iterable<GameFormat> blockFormats = FModel.getFormats().getBlockList();
|
||||
for (final GameFormat f : blockFormats) {
|
||||
|
||||
@@ -42,7 +42,7 @@ public class DialogChooseFormats {
|
||||
|
||||
List<FCheckBox> sanctioned = new ArrayList<>();
|
||||
List<FCheckBox> casual = new ArrayList<>();
|
||||
List<FCheckBox> archive = new ArrayList<>();
|
||||
List<FCheckBox> archived = new ArrayList<>();
|
||||
|
||||
for (GameFormat format : FModel.getFormats().getOrderedList()){
|
||||
FCheckBox box = new FCheckBox(format.getName());
|
||||
@@ -51,8 +51,8 @@ public class DialogChooseFormats {
|
||||
case SANCTIONED:
|
||||
sanctioned.add(box);
|
||||
break;
|
||||
case ARCHIVE:
|
||||
archive.add(box);
|
||||
case ARCHIVED:
|
||||
archived.add(box);
|
||||
break;
|
||||
case CUSTOM:
|
||||
case CASUAL:
|
||||
@@ -74,7 +74,7 @@ public class DialogChooseFormats {
|
||||
String constraints = "aligny top";
|
||||
panel.add(makeCheckBoxList(sanctioned, localizer.getMessage("lblSanctioned"), true), constraints);
|
||||
panel.add(makeCheckBoxList(casual, localizer.getMessage("lblOther"), false), constraints);
|
||||
panel.add(makeCheckBoxList(archive, localizer.getMessage("lblArchive"), false), constraints);
|
||||
panel.add(makeCheckBoxList(archived, localizer.getMessage("lblArchived"), false), constraints);
|
||||
|
||||
final JPanel overlay = FOverlay.SINGLETON_INSTANCE.getPanel();
|
||||
overlay.setLayout(new MigLayout("insets 0, gap 0, wrap, ax center, ay center"));
|
||||
|
||||
@@ -167,7 +167,7 @@ public enum CSubmenuPreferences implements ICDoc {
|
||||
|
||||
lstControls.add(Pair.of(view.getCbFilterLandsByColorId(), FPref.UI_FILTER_LANDS_BY_COLOR_IDENTITY));
|
||||
lstControls.add(Pair.of(view.getCbLoadCardsLazily(), FPref.LOAD_CARD_SCRIPTS_LAZILY));
|
||||
lstControls.add(Pair.of(view.getCbLoadArchiveFormats(), FPref.LOAD_ARCHIVE_FORMATS));
|
||||
lstControls.add(Pair.of(view.getCbLoadArchivedFormats(), FPref.LOAD_ARCHIVED_FORMATS));
|
||||
lstControls.add(Pair.of(view.getCbSmartCardArtSelectionOpt(), FPref.UI_SMART_CARD_ART));
|
||||
lstControls.add(Pair.of(view.getCbShowDraftRanking(), FPref.UI_OVERLAY_DRAFT_RANKING));
|
||||
|
||||
|
||||
@@ -72,7 +72,7 @@ public enum VSubmenuPreferences implements IVSubmenu<CSubmenuPreferences> {
|
||||
private final JCheckBox cbManaLostPrompt = new OptionsCheckBox(localizer.getMessage("cbManaLostPrompt"));
|
||||
private final JCheckBox cbDevMode = new OptionsCheckBox(localizer.getMessage("cbDevMode"));
|
||||
private final JCheckBox cbLoadCardsLazily = new OptionsCheckBox(localizer.getMessage("cbLoadCardsLazily"));
|
||||
private final JCheckBox cbLoadArchiveFormats = new OptionsCheckBox(localizer.getMessage("cbLoadArchiveFormats"));
|
||||
private final JCheckBox cbLoadArchivedFormats = new OptionsCheckBox(localizer.getMessage("cbLoadArchivedFormats"));
|
||||
private final JCheckBox cbWorkshopSyntax = new OptionsCheckBox(localizer.getMessage("cbWorkshopSyntax"));
|
||||
private final JCheckBox cbEnforceDeckLegality = new OptionsCheckBox(localizer.getMessage("cbEnforceDeckLegality"));
|
||||
private final JCheckBox cbSideboardForAI = new OptionsCheckBox(localizer.getMessage("cbSideboardForAI"));
|
||||
@@ -322,8 +322,8 @@ public enum VSubmenuPreferences implements IVSubmenu<CSubmenuPreferences> {
|
||||
pnlPrefs.add(cbLoadCardsLazily, titleConstraints);
|
||||
pnlPrefs.add(new NoteLabel(localizer.getMessage("nlLoadCardsLazily")), descriptionConstraints);
|
||||
|
||||
pnlPrefs.add(cbLoadArchiveFormats, titleConstraints);
|
||||
pnlPrefs.add(new NoteLabel(localizer.getMessage("nlLoadArchiveFormats")), descriptionConstraints);
|
||||
pnlPrefs.add(cbLoadArchivedFormats, titleConstraints);
|
||||
pnlPrefs.add(new NoteLabel(localizer.getMessage("nlLoadArchivedFormats")), descriptionConstraints);
|
||||
|
||||
pnlPrefs.add(cbEnableUnknownCards, titleConstraints);
|
||||
pnlPrefs.add(new NoteLabel(localizer.getMessage("nlEnableUnknownCards")), descriptionConstraints);
|
||||
@@ -741,8 +741,8 @@ public enum VSubmenuPreferences implements IVSubmenu<CSubmenuPreferences> {
|
||||
}
|
||||
|
||||
/** @return {@link javax.swing.JCheckBox} */
|
||||
public JCheckBox getCbLoadArchiveFormats() {
|
||||
return cbLoadArchiveFormats;
|
||||
public JCheckBox getCbLoadArchivedFormats() {
|
||||
return cbLoadArchivedFormats;
|
||||
}
|
||||
|
||||
public JCheckBox getCbWorkshopSyntax() {
|
||||
|
||||
Reference in New Issue
Block a user