mirror of
https://github.com/octopusYan/alist-gui.git
synced 2024-11-24 04: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;
|
||||
@I18n(key = "setup.close-to-tray.label")
|
||||
public CheckBox closeToTrayCheckBox;
|
||||
public ComboBox<Locale> languageComboBox;
|
||||
@I18n(key = "setup.theme")
|
||||
public Label themeLabel;
|
||||
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 Pane proxySetupPane;
|
||||
@I18n(key = "setup.proxy.test")
|
||||
|
@ -14,15 +14,15 @@
|
||||
<CheckBox fx:id="silentStartupCheckBox" text="%setup.silent-startup.label"/>
|
||||
<CheckBox fx:id="closeToTrayCheckBox" text="%setup.close-to-tray.label"/>
|
||||
<HBox alignment="CENTER_LEFT" spacing="10">
|
||||
<Label text="%setup.theme"/>
|
||||
<Label fx:id="themeLabel" text="%setup.theme"/>
|
||||
<ComboBox fx:id="themeComboBox"/>
|
||||
</HBox>
|
||||
<HBox alignment="CENTER_LEFT" spacing="10">
|
||||
<Label text="%setup.language"/>
|
||||
<Label fx:id="languageLabel" text="%setup.language"/>
|
||||
<ComboBox fx:id="languageComboBox"/>
|
||||
</HBox>
|
||||
<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"/>
|
||||
<Button fx:id="proxyCheck" onAction="#proxyTest" text="%setup.proxy.test"/>
|
||||
</HBox>
|
||||
|
Loading…
Reference in New Issue
Block a user