mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-17 11:18:01 +00:00
translate new option
This commit is contained in:
@@ -108,7 +108,7 @@ public enum VSubmenuPreferences implements IVSubmenu<CSubmenuPreferences> {
|
||||
private final JCheckBox cbRemindOnPriority = new OptionsCheckBox(localizer.getMessage("cbRemindOnPriority"));
|
||||
private final JCheckBox cbUseSentry = new OptionsCheckBox(localizer.getMessage("cbUseSentry"));
|
||||
private final JCheckBox cbEnableUnknownCards = new OptionsCheckBox(localizer.getMessage("lblEnableUnknownCards"));
|
||||
private final JCheckBox cbUseExperimentalNetworkStream = new OptionsCheckBox("Experimental Network Compatibility");
|
||||
private final JCheckBox cbUseExperimentalNetworkStream = new OptionsCheckBox(localizer.getMessage("lblExperimentalNetworkCompatibility"));
|
||||
|
||||
private final Map<FPref, KeyboardShortcutField> shortcutFields = new HashMap<>();
|
||||
|
||||
@@ -293,7 +293,7 @@ public enum VSubmenuPreferences implements IVSubmenu<CSubmenuPreferences> {
|
||||
pnlPrefs.add(new NoteLabel(localizer.getMessage("nlEnableUnknownCards")), descriptionConstraints);
|
||||
|
||||
pnlPrefs.add(cbUseExperimentalNetworkStream, titleConstraints);
|
||||
pnlPrefs.add(new NoteLabel("Forge switches to compatible network stream. (If unsure, turn OFF this option)"), descriptionConstraints);
|
||||
pnlPrefs.add(new NoteLabel(localizer.getMessage("nlExperimentalNetworkCompatibility")), descriptionConstraints);
|
||||
|
||||
// Graphic Options
|
||||
pnlPrefs.add(new SectionLabel(localizer.getMessage("GraphicOptions")), sectionConstraints + ", gaptop 2%");
|
||||
|
||||
@@ -20,7 +20,7 @@ public class OnlineMenu extends FPopupMenu {
|
||||
public enum OnlineScreen {
|
||||
Lobby("lblLobby", FSkinImage.FAVICON, OnlineLobbyScreen.class),
|
||||
Chat("lblChat", FSkinImage.QUEST_NOTES, OnlineChatScreen.class);
|
||||
Disconnect("Disconnect", FSkinImage.EXILE, null);
|
||||
Disconnect("lblDisconnect", FSkinImage.EXILE, null);
|
||||
|
||||
private final FMenuItem item;
|
||||
private final Class<? extends FScreen> screenClass;
|
||||
@@ -33,8 +33,8 @@ public class OnlineMenu extends FPopupMenu {
|
||||
public void handleEvent(FEvent e) {
|
||||
if(screenClass == null) {
|
||||
FOptionPane.showConfirmDialog(
|
||||
"Leave lobby? Doing so will shut down all connections and stop hosting.",
|
||||
"Disconnect", new Callback<Boolean>() {
|
||||
Localizer.getInstance().getMessage("lblLeaveLobbyDescription"),
|
||||
Localizer.getInstance().getMessage("lblDisconnect"), new Callback<Boolean>() {
|
||||
@Override
|
||||
public void run(Boolean result) {
|
||||
if (result) {
|
||||
|
||||
@@ -255,8 +255,8 @@ public class SettingsPage extends TabPage<SettingsScreen> {
|
||||
},
|
||||
3);
|
||||
lstSettings.addItem(new BooleanSetting(FPref.UI_NETPLAY_COMPAT,
|
||||
"Experimental Network Compatibility",
|
||||
"Forge switches to compatible network stream. (If unsure, turn OFF this option)") {
|
||||
localizer.getMessage("lblExperimentalNetworkCompatibility"),
|
||||
localizer.getMessage("nlExperimentalNetworkCompatibility")) {
|
||||
@Override
|
||||
public void select() {
|
||||
super.select();
|
||||
|
||||
Reference in New Issue
Block a user