Remove i18n duplicates

This commit is contained in:
Gucheng Wang
2023-03-19 01:01:39 +08:00
parent 1de76e4da9
commit 5989c4ff34
39 changed files with 76 additions and 427 deletions

View File

@ -748,7 +748,7 @@ class LoginPage extends React.Component {
<Input.Password
prefix={<LockOutlined className="site-form-item-icon" />}
type="password"
placeholder={i18next.t("login:Password")}
placeholder={i18next.t("general:Password")}
disabled={!application.enablePassword}
/>
</Form.Item>
@ -778,7 +778,7 @@ class LoginPage extends React.Component {
renderMethodChoiceBox() {
const application = this.getApplicationObj();
const items = [
{label: i18next.t("login:Password"), key: "password"},
{label: i18next.t("general:Password"), key: "password"},
];
application.enableCodeSignin ? items.push({
label: i18next.t("login:Verification code"),