mirror of
https://github.com/octopusYan/alist-gui.git
synced 2024-11-22 03:56:42 +08:00
fix: 补充设置界面语言切换
This commit is contained in:
parent
115e672f26
commit
30f05240f9
@ -37,8 +37,14 @@ public class SetupController extends BaseController<SetupViewModel> implements I
|
|||||||
public CheckBox silentStartupCheckBox;
|
public CheckBox silentStartupCheckBox;
|
||||||
@I18n(key = "setup.close-to-tray.label")
|
@I18n(key = "setup.close-to-tray.label")
|
||||||
public CheckBox closeToTrayCheckBox;
|
public CheckBox closeToTrayCheckBox;
|
||||||
public ComboBox<Locale> languageComboBox;
|
@I18n(key = "setup.theme")
|
||||||
|
public Label themeLabel;
|
||||||
public ComboBox<Theme> themeComboBox;
|
public ComboBox<Theme> themeComboBox;
|
||||||
|
@I18n(key = "setup.language")
|
||||||
|
public Label languageLabel;
|
||||||
|
public ComboBox<Locale> languageComboBox;
|
||||||
|
@I18n(key = "setup.proxy")
|
||||||
|
public Label proxySetupLabel;
|
||||||
public ComboBox<ProxySetup> proxySetupComboBox;
|
public ComboBox<ProxySetup> proxySetupComboBox;
|
||||||
public Pane proxySetupPane;
|
public Pane proxySetupPane;
|
||||||
@I18n(key = "setup.proxy.test")
|
@I18n(key = "setup.proxy.test")
|
||||||
|
@ -14,15 +14,15 @@
|
|||||||
<CheckBox fx:id="silentStartupCheckBox" text="%setup.silent-startup.label"/>
|
<CheckBox fx:id="silentStartupCheckBox" text="%setup.silent-startup.label"/>
|
||||||
<CheckBox fx:id="closeToTrayCheckBox" text="%setup.close-to-tray.label"/>
|
<CheckBox fx:id="closeToTrayCheckBox" text="%setup.close-to-tray.label"/>
|
||||||
<HBox alignment="CENTER_LEFT" spacing="10">
|
<HBox alignment="CENTER_LEFT" spacing="10">
|
||||||
<Label text="%setup.theme"/>
|
<Label fx:id="themeLabel" text="%setup.theme"/>
|
||||||
<ComboBox fx:id="themeComboBox"/>
|
<ComboBox fx:id="themeComboBox"/>
|
||||||
</HBox>
|
</HBox>
|
||||||
<HBox alignment="CENTER_LEFT" spacing="10">
|
<HBox alignment="CENTER_LEFT" spacing="10">
|
||||||
<Label text="%setup.language"/>
|
<Label fx:id="languageLabel" text="%setup.language"/>
|
||||||
<ComboBox fx:id="languageComboBox"/>
|
<ComboBox fx:id="languageComboBox"/>
|
||||||
</HBox>
|
</HBox>
|
||||||
<HBox alignment="CENTER_LEFT" spacing="20">
|
<HBox alignment="CENTER_LEFT" spacing="20">
|
||||||
<Label styleClass="proxy-label" text="%setup.proxy"/>
|
<Label fx:id="proxySetupLabel" styleClass="proxy-label" text="%setup.proxy"/>
|
||||||
<ComboBox fx:id="proxySetupComboBox"/>
|
<ComboBox fx:id="proxySetupComboBox"/>
|
||||||
<Button fx:id="proxyCheck" onAction="#proxyTest" text="%setup.proxy.test"/>
|
<Button fx:id="proxyCheck" onAction="#proxyTest" text="%setup.proxy.test"/>
|
||||||
</HBox>
|
</HBox>
|
||||||
|
Loading…
Reference in New Issue
Block a user