diff --git a/web/src/ApplicationEditPage.js b/web/src/ApplicationEditPage.js index 936d36ab..eb74a1b4 100644 --- a/web/src/ApplicationEditPage.js +++ b/web/src/ApplicationEditPage.js @@ -107,7 +107,7 @@ class ApplicationEditPage extends React.Component { - {i18next.t("general:Display Name")}: + {i18next.t("general:Display name")}: { @@ -186,7 +186,7 @@ class ApplicationEditPage extends React.Component { - {i18next.t("provider:Client Secret")}: + {i18next.t("provider:Client secret")}: { @@ -208,7 +208,7 @@ class ApplicationEditPage extends React.Component { - {i18next.t("general:Expire In Hours")}: + {i18next.t("general:Expire in hours")}: { @@ -218,7 +218,7 @@ class ApplicationEditPage extends React.Component { - {i18next.t("application:Enable Password")}: + {i18next.t("application:Enable password")}: { @@ -228,7 +228,7 @@ class ApplicationEditPage extends React.Component { - {i18next.t("application:Enable Sign Up")}: + {i18next.t("application:Enable signup")}: { @@ -254,7 +254,7 @@ class ApplicationEditPage extends React.Component { - {i18next.t("application:Login Page Preview")}: + {i18next.t("application:Login page preview")}: diff --git a/web/src/ApplicationListPage.js b/web/src/ApplicationListPage.js index 68083545..2e086d79 100644 --- a/web/src/ApplicationListPage.js +++ b/web/src/ApplicationListPage.js @@ -104,7 +104,7 @@ class ApplicationListPage extends React.Component { } }, { - title: i18next.t("general:Created Time"), + title: i18next.t("general:Created time"), dataIndex: 'createdTime', key: 'createdTime', width: '160px', @@ -114,7 +114,7 @@ class ApplicationListPage extends React.Component { } }, { - title: i18next.t("general:Display Name"), + title: i18next.t("general:Display name"), dataIndex: 'displayName', key: 'displayName', // width: '100px', diff --git a/web/src/OrganizationEditPage.js b/web/src/OrganizationEditPage.js index 44146cda..ce9dda44 100644 --- a/web/src/OrganizationEditPage.js +++ b/web/src/OrganizationEditPage.js @@ -78,7 +78,7 @@ class OrganizationEditPage extends React.Component { - {i18next.t("general:Display Name")}: + {i18next.t("general:Display name")}: { diff --git a/web/src/OrganizationListPage.js b/web/src/OrganizationListPage.js index 0e832040..d0ac7711 100644 --- a/web/src/OrganizationListPage.js +++ b/web/src/OrganizationListPage.js @@ -98,7 +98,7 @@ class OrganizationListPage extends React.Component { } }, { - title: i18next.t("general:Created Time"), + title: i18next.t("general:Created time"), dataIndex: 'createdTime', key: 'createdTime', width: '160px', @@ -108,7 +108,7 @@ class OrganizationListPage extends React.Component { } }, { - title: i18next.t("general:Display Name"), + title: i18next.t("general:Display name"), dataIndex: 'displayName', key: 'displayName', // width: '100px', diff --git a/web/src/ProviderEditPage.js b/web/src/ProviderEditPage.js index a5354002..c071f312 100644 --- a/web/src/ProviderEditPage.js +++ b/web/src/ProviderEditPage.js @@ -80,7 +80,7 @@ class ProviderEditPage extends React.Component { - {i18next.t("general:Display Name")}: + {i18next.t("general:Display name")}: { @@ -117,7 +117,7 @@ class ProviderEditPage extends React.Component { - {i18next.t("provider:Client Secret")}: + {i18next.t("provider:Client secret")}: { diff --git a/web/src/ProviderListPage.js b/web/src/ProviderListPage.js index a8245372..59c6dbe2 100644 --- a/web/src/ProviderListPage.js +++ b/web/src/ProviderListPage.js @@ -102,7 +102,7 @@ class ProviderListPage extends React.Component { } }, { - title: i18next.t("general:Created Time"), + title: i18next.t("general:Created time"), dataIndex: 'createdTime', key: 'createdTime', width: '160px', @@ -112,7 +112,7 @@ class ProviderListPage extends React.Component { } }, { - title: i18next.t("general:Display Name"), + title: i18next.t("general:Display name"), dataIndex: 'displayName', key: 'displayName', // width: '100px', @@ -138,7 +138,7 @@ class ProviderListPage extends React.Component { sorter: (a, b) => a.clientId.localeCompare(b.clientId), }, // { - // title: 'Client Secret', + // title: 'Client secret', // dataIndex: 'clientSecret', // key: 'clientSecret', // width: '150px', diff --git a/web/src/TokenEditPage.js b/web/src/TokenEditPage.js index 5ed5c8a9..4c42dc27 100644 --- a/web/src/TokenEditPage.js +++ b/web/src/TokenEditPage.js @@ -88,7 +88,7 @@ class TokenEditPage extends React.Component { - {i18next.t("general:Authorization Code")}: + {i18next.t("general:Authorization code")}: { @@ -98,7 +98,7 @@ class TokenEditPage extends React.Component { - {i18next.t("general:Access Token")}: + {i18next.t("general:Access token")}: { @@ -108,7 +108,7 @@ class TokenEditPage extends React.Component { - {i18next.t("general:Expires In")}: + {i18next.t("general:Expires in")}: { @@ -128,7 +128,7 @@ class TokenEditPage extends React.Component { - {i18next.t("general:Token Type")}: + {i18next.t("general:Token type")}: { diff --git a/web/src/TokenListPage.js b/web/src/TokenListPage.js index a0b7f1e1..25d760a0 100644 --- a/web/src/TokenListPage.js +++ b/web/src/TokenListPage.js @@ -101,7 +101,7 @@ class TokenListPage extends React.Component { } }, { - title: i18next.t("general:Created Time"), + title: i18next.t("general:Created time"), dataIndex: 'createdTime', key: 'createdTime', width: '160px', @@ -125,7 +125,7 @@ class TokenListPage extends React.Component { } }, { - title: i18next.t("token:Authorization Code"), + title: i18next.t("token:Authorization code"), dataIndex: 'code', key: 'code', // width: '150px', @@ -135,7 +135,7 @@ class TokenListPage extends React.Component { } }, { - title: i18next.t("token:Access Token"), + title: i18next.t("token:Access token"), dataIndex: 'accessToken', key: 'accessToken', // width: '150px', @@ -146,7 +146,7 @@ class TokenListPage extends React.Component { } }, { - title: i18next.t("token:Expires In"), + title: i18next.t("token:Expires in"), dataIndex: 'expiresIn', key: 'expiresIn', width: '120px', @@ -160,7 +160,7 @@ class TokenListPage extends React.Component { sorter: (a, b) => a.scope.localeCompare(b.scope), }, { - title: i18next.t("token:Token Type"), + title: i18next.t("token:Token type"), dataIndex: 'tokenType', key: 'tokenType', width: '130px', diff --git a/web/src/UserEditPage.js b/web/src/UserEditPage.js index 465459f7..90fa2b2b 100644 --- a/web/src/UserEditPage.js +++ b/web/src/UserEditPage.js @@ -210,7 +210,7 @@ class UserEditPage extends React.Component { - {i18next.t("general:Display Name")}: + {i18next.t("general:Display name")}: { @@ -250,7 +250,7 @@ class UserEditPage extends React.Component { - {i18next.t("general:User Type")}: + {i18next.t("general:User type")}: {this.updateUserField('passwordType', value);})}> @@ -331,7 +331,7 @@ class UserEditPage extends React.Component { - {i18next.t("user:Third-party Logins")}: + {i18next.t("user:Third-party logins")}:
@@ -346,7 +346,7 @@ class UserEditPage extends React.Component { - {i18next.t("user:Is Admin")}: + {i18next.t("user:Is admin")}: { @@ -356,7 +356,7 @@ class UserEditPage extends React.Component { - {i18next.t("user:Is Global Admin")}: + {i18next.t("user:Is global admin")}: { diff --git a/web/src/UserListPage.js b/web/src/UserListPage.js index dd788a6b..15ffbb76 100644 --- a/web/src/UserListPage.js +++ b/web/src/UserListPage.js @@ -121,7 +121,7 @@ class UserListPage extends React.Component { } }, { - title: i18next.t("general:Created Time"), + title: i18next.t("general:Created time"), dataIndex: 'createdTime', key: 'createdTime', width: '160px', @@ -131,7 +131,7 @@ class UserListPage extends React.Component { } }, // { - // title: 'Password Type', + // title: 'Password type', // dataIndex: 'passwordType', // key: 'passwordType', // width: '150px', @@ -145,7 +145,7 @@ class UserListPage extends React.Component { // sorter: (a, b) => a.password.localeCompare(b.password), // }, { - title: i18next.t("general:Display Name"), + title: i18next.t("general:Display name"), dataIndex: 'displayName', key: 'displayName', // width: '100px', @@ -200,7 +200,7 @@ class UserListPage extends React.Component { sorter: (a, b) => a.tag.localeCompare(b.tag), }, { - title: i18next.t("user:Is Admin"), + title: i18next.t("user:Is admin"), dataIndex: 'isAdmin', key: 'isAdmin', width: '120px', @@ -212,7 +212,7 @@ class UserListPage extends React.Component { } }, { - title: i18next.t("user:Is Global Admin"), + title: i18next.t("user:Is global admin"), dataIndex: 'isGlobalAdmin', key: 'isGlobalAdmin', width: '120px', diff --git a/web/src/locales/en.json b/web/src/locales/en.json index d93b61f4..e82c14ff 100644 --- a/web/src/locales/en.json +++ b/web/src/locales/en.json @@ -12,14 +12,14 @@ "Edit": "Edit", "Delete": "Delete", "Organization": "Organization", - "Created Time": "Created Time", + "Created time": "Created time", "Name": "Name", - "Display Name": "Display Name", + "Display name": "Display name", "Avatar": "Avatar", "URL": "URL", "Preview": "Preview", - "User Type": "User Type", - "Password Type": "Password Type", + "User type": "User type", + "Password type": "Password type", "Password": "Password", "Email": "Email", "Phone": "Phone", @@ -59,7 +59,7 @@ { "Type": "Type", "Client ID": "Client ID", - "Client Secret": "Client Secret", + "Client secret": "Client secret", "Provider URL": "Provider URL", "Edit Provider": "Edit Provider" }, @@ -72,16 +72,16 @@ "Set new profile picture": "Set new profile picture", "Affiliation": "Affiliation", "Tag": "Tag", - "Third-party Logins": "Third-party Logins", + "Third-party logins": "Third-party logins", "Link": "Link", "Unlink": "Unlink", - "Is Admin": "Is Admin", - "Is Global Admin": "Is Global Admin" + "Is admin": "Is admin", + "Is global admin": "Is global admin" }, "application": { "Edit Application": "Edit Application", - "Enable Password": "Enable Password", - "Login Page Preview": "Login Page Preview" + "Enable password": "Enable password", + "Login page preview": "Login page preview" } } diff --git a/web/src/locales/zh.json b/web/src/locales/zh.json index 31cfb714..d3c576c1 100644 --- a/web/src/locales/zh.json +++ b/web/src/locales/zh.json @@ -12,14 +12,14 @@ "Edit": "修改", "Delete": "删除", "Organization": "组织", - "Created Time": "创建时间", + "Created time": "创建时间", "Name": "用户名", - "Display Name": "姓名", + "Display name": "姓名", "Avatar": "头像", "URL": "链接", "Preview": "预览", - "User Type": "用户类型", - "Password Type": "密码类型", + "User type": "用户类型", + "Password type": "密码类型", "Password": "密码", "Email": "电子邮箱", "Phone": "手机号", @@ -58,10 +58,10 @@ "provider": { "Name": "用户名", - "Display Name": "姓名", + "Display name": "姓名", "Type": "类型", "Client ID": "Client ID", - "Client Secret": "Client Secret", + "Client secret": "Client secret", "Provider URL": "第三方URL", "Edit Provider": "修改第三方" }, @@ -74,16 +74,16 @@ "Set new profile picture": "设置新头像", "Affiliation": "单位", "Tag": "标签", - "Third-party Logins": "第三方登录", + "Third-party logins": "第三方登录", "Link": "绑定", "Unlink": "解绑", - "Is Admin": "是管理员", - "Is Global Admin": "是全局管理员" + "Is admin": "是管理员", + "Is global admin": "是全局管理员" }, "application": { "Edit Application": "修改应用", - "Enable Password": "开启密码", - "Login Page Preview": "登录页面预览" + "Enable password": "开启密码", + "Login page preview": "登录页面预览" } }