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

@ -160,21 +160,21 @@ class LdapSyncPage extends React.Component {
onFilter: (value, record) => record.groupId.indexOf(value) === 0,
},
{
title: i18next.t("ldap:Email"),
title: i18next.t("general:Email"),
dataIndex: "email",
key: "email",
width: "240px",
sorter: (a, b) => a.email.localeCompare(b.email),
},
{
title: i18next.t("ldap:Phone"),
title: i18next.t("general:Phone"),
dataIndex: "phone",
key: "phone",
width: "160px",
sorter: (a, b) => a.phone.localeCompare(b.phone),
},
{
title: i18next.t("ldap:Address"),
title: i18next.t("user:Address"),
dataIndex: "address",
key: "address",
sorter: (a, b) => a.address.localeCompare(b.address),
@ -205,7 +205,7 @@ class LdapSyncPage extends React.Component {
onConfirm={() => this.syncUsers()}
>
<Button type="primary" style={{marginLeft: "10px"}}>
{i18next.t("ldap:Sync")}
{i18next.t("general:Sync")}
</Button>
</Popconfirm>
<Button style={{marginLeft: "20px"}}