更改措辞:添加认证服务器->管理认证服务器

This commit is contained in:
yushijinhun 2018-06-02 19:59:00 +08:00
parent 60a140efb3
commit 3408a8ffcf
No known key found for this signature in database
GPG Key ID: 5BC167F73EA558E4
4 changed files with 12 additions and 10 deletions

View File

@ -64,8 +64,8 @@ public class AddAccountPane extends StackPane {
@FXML private JFXComboBox<String> cboType; @FXML private JFXComboBox<String> cboType;
@FXML private JFXComboBox<TwoLineListItem> cboServers; @FXML private JFXComboBox<TwoLineListItem> cboServers;
@FXML private JFXProgressBar progressBar; @FXML private JFXProgressBar progressBar;
@FXML private Label lblAddInjectorServer; @FXML private Label lblInjectorServer;
@FXML private Hyperlink linkAddInjectorServer; @FXML private Hyperlink linkManageInjectorServers;
@FXML private JFXDialogLayout layout; @FXML private JFXDialogLayout layout;
@FXML private JFXButton btnAccept; @FXML private JFXButton btnAccept;
private final Consumer<Region> finalization; private final Consumer<Region> finalization;
@ -82,8 +82,8 @@ public class AddAccountPane extends StackPane {
txtPassword.setVisible(newValue.intValue() != 0); txtPassword.setVisible(newValue.intValue() != 0);
lblPassword.setVisible(newValue.intValue() != 0); lblPassword.setVisible(newValue.intValue() != 0);
cboServers.setVisible(newValue.intValue() == 2); cboServers.setVisible(newValue.intValue() == 2);
linkAddInjectorServer.setVisible(newValue.intValue() == 2); linkManageInjectorServers.setVisible(newValue.intValue() == 2);
lblAddInjectorServer.setVisible(newValue.intValue() == 2); lblInjectorServer.setVisible(newValue.intValue() == 2);
validateAcceptButton(); validateAcceptButton();
}); });
cboType.getSelectionModel().select(0); cboType.getSelectionModel().select(0);
@ -160,7 +160,7 @@ public class AddAccountPane extends StackPane {
} }
@FXML @FXML
private void onAddInjecterServer() { private void onManageInjecterServers() {
finalization.accept(this); finalization.accept(this);
Controllers.navigate(Controllers.getServersPage()); Controllers.navigate(Controllers.getServersPage());
} }

View File

@ -25,13 +25,13 @@
<JFXComboBox fx:id="cboType" GridPane.columnIndex="1" GridPane.rowIndex="0" GridPane.columnSpan="2"/> <JFXComboBox fx:id="cboType" GridPane.columnIndex="1" GridPane.rowIndex="0" GridPane.columnSpan="2"/>
<Label fx:id="lblAddInjectorServer" text="%account.injector.server" GridPane.halignment="RIGHT" <Label fx:id="lblInjectorServer" text="%account.injector.server" GridPane.halignment="RIGHT"
GridPane.columnIndex="0" GridPane.rowIndex="1"/> GridPane.columnIndex="0" GridPane.rowIndex="1"/>
<JFXComboBox fx:id="cboServers" maxHeight="25" GridPane.columnIndex="1" GridPane.rowIndex="1"/> <JFXComboBox fx:id="cboServers" maxHeight="25" GridPane.columnIndex="1" GridPane.rowIndex="1"/>
<Hyperlink fx:id="linkAddInjectorServer" text="%account.injector.add" <Hyperlink fx:id="linkManageInjectorServers" text="%account.injector.manage"
onMouseClicked="#onAddInjecterServer" GridPane.columnIndex="2" GridPane.rowIndex="1"/> onMouseClicked="#onManageInjecterServers" GridPane.columnIndex="2" GridPane.rowIndex="1"/>
<Label text="%account.username" GridPane.rowIndex="2" GridPane.columnIndex="0"/> <Label text="%account.username" GridPane.rowIndex="2" GridPane.columnIndex="0"/>

View File

@ -39,7 +39,8 @@ account.failed.invalid_credentials=Incorrect password. Or forbidden to log in te
account.failed.invalid_password=Invalid password account.failed.invalid_password=Invalid password
account.failed.invalid_token=Please log out and re-input your password to log in. account.failed.invalid_token=Please log out and re-input your password to log in.
account.failed.no_charactor=No character in this account. account.failed.no_charactor=No character in this account.
account.injector.add=Add new authentication server account.injector.add=Add authentication server
account.injector.manage=Manage authentication servers
account.injector.http=Warning: This server is using HTTP, which will cause your password be transmitted in clear text. account.injector.http=Warning: This server is using HTTP, which will cause your password be transmitted in clear text.
account.injector.server=Auth Server account.injector.server=Auth Server
account.injector.server_ip=Server URL account.injector.server_ip=Server URL

View File

@ -39,7 +39,8 @@ account.failed.invalid_credentials=您的用户名或密码错误,或者登录
account.failed.invalid_password=无效的密码 account.failed.invalid_password=无效的密码
account.failed.invalid_token=请尝试登出并重新输入密码登录 account.failed.invalid_token=请尝试登出并重新输入密码登录
account.failed.no_charactor=该帐号没有角色 account.failed.no_charactor=该帐号没有角色
account.injector.add=添加登录认证服务器 account.injector.add=添加认证服务器
account.injector.manage=管理认证服务器
account.injector.http=警告此服务器使用不安全的http协议您的密码在登录时会被明文传输。 account.injector.http=警告此服务器使用不安全的http协议您的密码在登录时会被明文传输。
account.injector.server=认证服务器 account.injector.server=认证服务器
account.injector.server_ip=服务器地址 account.injector.server_ip=服务器地址