mirror of
https://github.com/casdoor/casdoor.git
synced 2025-05-24 08:20:31 +08:00
Fix translation.
This commit is contained in:
parent
5814ae6baf
commit
29d512d316
@ -109,7 +109,7 @@ class TokenEditPage extends React.Component {
|
||||
</Row>
|
||||
<Row style={{marginTop: '20px'}} >
|
||||
<Col style={{marginTop: '5px'}} span={(Setting.isMobile()) ? 22 : 2}>
|
||||
{i18next.t("general:Authorization code")}:
|
||||
{i18next.t("token:Authorization code")}:
|
||||
</Col>
|
||||
<Col span={22} >
|
||||
<Input value={this.state.token.code} onChange={e => {
|
||||
@ -119,7 +119,7 @@ class TokenEditPage extends React.Component {
|
||||
</Row>
|
||||
<Row style={{marginTop: '20px'}} >
|
||||
<Col style={{marginTop: '5px'}} span={(Setting.isMobile()) ? 22 : 2}>
|
||||
{i18next.t("general:Access token")}:
|
||||
{i18next.t("token:Access token")}:
|
||||
</Col>
|
||||
<Col span={22} >
|
||||
<Input value={this.state.token.accessToken} onChange={e => {
|
||||
@ -129,7 +129,7 @@ class TokenEditPage extends React.Component {
|
||||
</Row>
|
||||
<Row style={{marginTop: '20px'}} >
|
||||
<Col style={{marginTop: '5px'}} span={(Setting.isMobile()) ? 22 : 2}>
|
||||
{i18next.t("general:Expires in")}:
|
||||
{i18next.t("token:Expires in")}:
|
||||
</Col>
|
||||
<Col span={22} >
|
||||
<Input value={this.state.token.expiresIn} onChange={e => {
|
||||
@ -139,7 +139,7 @@ class TokenEditPage extends React.Component {
|
||||
</Row>
|
||||
<Row style={{marginTop: '20px'}} >
|
||||
<Col style={{marginTop: '5px'}} span={(Setting.isMobile()) ? 22 : 2}>
|
||||
{i18next.t("general:Scope")}:
|
||||
{i18next.t("token:Scope")}:
|
||||
</Col>
|
||||
<Col span={22} >
|
||||
<Input value={this.state.token.scope} onChange={e => {
|
||||
@ -149,7 +149,7 @@ class TokenEditPage extends React.Component {
|
||||
</Row>
|
||||
<Row style={{marginTop: '20px'}} >
|
||||
<Col style={{marginTop: '5px'}} span={(Setting.isMobile()) ? 22 : 2}>
|
||||
{i18next.t("general:Token type")}:
|
||||
{i18next.t("token:Token type")}:
|
||||
</Col>
|
||||
<Col span={22} >
|
||||
<Input value={this.state.token.tokenType} onChange={e => {
|
||||
|
@ -164,7 +164,7 @@ class TokenListPage extends React.Component {
|
||||
}
|
||||
},
|
||||
{
|
||||
title: i18next.t("general:Authorization code"),
|
||||
title: i18next.t("token:Authorization code"),
|
||||
dataIndex: 'code',
|
||||
key: 'code',
|
||||
// width: '150px',
|
||||
@ -174,7 +174,7 @@ class TokenListPage extends React.Component {
|
||||
}
|
||||
},
|
||||
{
|
||||
title: i18next.t("general:Access token"),
|
||||
title: i18next.t("token:Access token"),
|
||||
dataIndex: 'accessToken',
|
||||
key: 'accessToken',
|
||||
// width: '150px',
|
||||
@ -185,14 +185,14 @@ class TokenListPage extends React.Component {
|
||||
}
|
||||
},
|
||||
{
|
||||
title: i18next.t("general:Expires in"),
|
||||
title: i18next.t("token:Expires in"),
|
||||
dataIndex: 'expiresIn',
|
||||
key: 'expiresIn',
|
||||
width: '120px',
|
||||
sorter: (a, b) => a.expiresIn - b.expiresIn,
|
||||
},
|
||||
{
|
||||
title: i18next.t("general:Scope"),
|
||||
title: i18next.t("token:Scope"),
|
||||
dataIndex: 'scope',
|
||||
key: 'scope',
|
||||
width: '100px',
|
||||
|
@ -55,7 +55,6 @@
|
||||
"Verify": "Verify"
|
||||
},
|
||||
"general": {
|
||||
"Access token": "Access token",
|
||||
"Action": "Action",
|
||||
"Add": "Add",
|
||||
"Affiliation URL": "Affiliation URL",
|
||||
@ -63,7 +62,6 @@
|
||||
"Application": "Application",
|
||||
"Applications": "Applications",
|
||||
"Applications that require authentication": "Applications that require authentication",
|
||||
"Authorization code": "Authorization code",
|
||||
"Avatar": "Avatar",
|
||||
"Avatar - Tooltip": "Avatar to show to others",
|
||||
"Back Home": "Back Home",
|
||||
@ -81,7 +79,6 @@
|
||||
"Edit": "Edit",
|
||||
"Email": "Email",
|
||||
"Email - Tooltip": "email",
|
||||
"Expires in": "Expires in",
|
||||
"Favicon - Tooltip": "Application icon",
|
||||
"Forget URL": "Forget URL",
|
||||
"Forget URL - Tooltip": "Unique string-style identifier",
|
||||
@ -122,7 +119,6 @@
|
||||
"Resources": "Resources",
|
||||
"Save": "Save",
|
||||
"Save & Exit": "Save & Exit",
|
||||
"Scope": "Scope",
|
||||
"Signin URL": "Signin URL",
|
||||
"Signin URL - Tooltip": "sign in url",
|
||||
"Signup URL": "Signup URL",
|
||||
@ -131,7 +127,6 @@
|
||||
"Swagger": "Swagger",
|
||||
"Syncers": "Syncers",
|
||||
"Timestamp": "Timestamp",
|
||||
"Token type": "Token type",
|
||||
"Tokens": "Tokens",
|
||||
"URL": "URL",
|
||||
"Up": "Up",
|
||||
@ -338,7 +333,11 @@
|
||||
"Table - Tooltip": "Table - Tooltip"
|
||||
},
|
||||
"token": {
|
||||
"Access token": "Access token",
|
||||
"Authorization code": "Authorization code",
|
||||
"Edit Token": "Edit Token",
|
||||
"Expires in": "Expires in",
|
||||
"Scope": "Scope",
|
||||
"Token type": "Token type"
|
||||
},
|
||||
"user": {
|
||||
|
@ -55,7 +55,6 @@
|
||||
"Verify": "Verify"
|
||||
},
|
||||
"general": {
|
||||
"Access token": "Access token",
|
||||
"Action": "Action",
|
||||
"Add": "Add",
|
||||
"Affiliation URL": "Affiliation URL",
|
||||
@ -63,7 +62,6 @@
|
||||
"Application": "Application",
|
||||
"Applications": "Applications",
|
||||
"Applications that require authentication": "Applications that require authentication",
|
||||
"Authorization code": "Authorization code",
|
||||
"Avatar": "Avatar",
|
||||
"Avatar - Tooltip": "Avatar - Tooltip",
|
||||
"Back Home": "Back Home",
|
||||
@ -81,7 +79,6 @@
|
||||
"Edit": "Edit",
|
||||
"Email": "Email",
|
||||
"Email - Tooltip": "Email - Tooltip",
|
||||
"Expires in": "Expires in",
|
||||
"Favicon - Tooltip": "Favicon - Tooltip",
|
||||
"Forget URL": "Forget URL",
|
||||
"Forget URL - Tooltip": "Forget URL - Tooltip",
|
||||
@ -122,7 +119,6 @@
|
||||
"Resources": "Resources",
|
||||
"Save": "Save",
|
||||
"Save & Exit": "Save & Exit",
|
||||
"Scope": "Scope",
|
||||
"Signin URL": "Signin URL",
|
||||
"Signin URL - Tooltip": "Signin URL - Tooltip",
|
||||
"Signup URL": "Signup URL",
|
||||
@ -131,7 +127,6 @@
|
||||
"Swagger": "Swagger",
|
||||
"Syncers": "Syncers",
|
||||
"Timestamp": "Timestamp",
|
||||
"Token type": "Token type",
|
||||
"Tokens": "Tokens",
|
||||
"URL": "URL",
|
||||
"Up": "Up",
|
||||
@ -338,7 +333,11 @@
|
||||
"Table - Tooltip": "Table - Tooltip"
|
||||
},
|
||||
"token": {
|
||||
"Access token": "Access token",
|
||||
"Authorization code": "Authorization code",
|
||||
"Edit Token": "Edit Token",
|
||||
"Expires in": "Expires in",
|
||||
"Scope": "Scope",
|
||||
"Token type": "Token type"
|
||||
},
|
||||
"user": {
|
||||
|
@ -55,7 +55,6 @@
|
||||
"Verify": "Verify"
|
||||
},
|
||||
"general": {
|
||||
"Access token": "Access token",
|
||||
"Action": "Action",
|
||||
"Add": "Add",
|
||||
"Affiliation URL": "Affiliation URL",
|
||||
@ -63,7 +62,6 @@
|
||||
"Application": "Application",
|
||||
"Applications": "Applications",
|
||||
"Applications that require authentication": "Applications that require authentication",
|
||||
"Authorization code": "Authorization code",
|
||||
"Avatar": "Avatar",
|
||||
"Avatar - Tooltip": "Avatar to show to others",
|
||||
"Back Home": "Back Home",
|
||||
@ -81,7 +79,6 @@
|
||||
"Edit": "Edit",
|
||||
"Email": "Email",
|
||||
"Email - Tooltip": "email",
|
||||
"Expires in": "Expires in",
|
||||
"Favicon - Tooltip": "Application icon",
|
||||
"Forget URL": "Forget URL",
|
||||
"Forget URL - Tooltip": "Unique string-style identifier",
|
||||
@ -122,7 +119,6 @@
|
||||
"Resources": "Resources",
|
||||
"Save": "Save",
|
||||
"Save & Exit": "Save & Exit",
|
||||
"Scope": "Scope",
|
||||
"Signin URL": "Signin URL",
|
||||
"Signin URL - Tooltip": "sign in url",
|
||||
"Signup URL": "Signup URL",
|
||||
@ -131,7 +127,6 @@
|
||||
"Swagger": "Swagger",
|
||||
"Syncers": "Syncers",
|
||||
"Timestamp": "Timestamp",
|
||||
"Token type": "Token type",
|
||||
"Tokens": "Tokens",
|
||||
"URL": "URL",
|
||||
"Up": "Up",
|
||||
@ -338,7 +333,11 @@
|
||||
"Table - Tooltip": "Table - Tooltip"
|
||||
},
|
||||
"token": {
|
||||
"Access token": "Access token",
|
||||
"Authorization code": "Authorization code",
|
||||
"Edit Token": "Edit Token",
|
||||
"Expires in": "Expires in",
|
||||
"Scope": "Scope",
|
||||
"Token type": "Token type"
|
||||
},
|
||||
"user": {
|
||||
|
@ -55,7 +55,6 @@
|
||||
"Verify": "Verify"
|
||||
},
|
||||
"general": {
|
||||
"Access token": "Access token",
|
||||
"Action": "Action",
|
||||
"Add": "Add",
|
||||
"Affiliation URL": "Affiliation URL",
|
||||
@ -63,7 +62,6 @@
|
||||
"Application": "Application",
|
||||
"Applications": "Applications",
|
||||
"Applications that require authentication": "Applications that require authentication",
|
||||
"Authorization code": "Authorization code",
|
||||
"Avatar": "Avatar",
|
||||
"Avatar - Tooltip": "Avatar to show to others",
|
||||
"Back Home": "Back Home",
|
||||
@ -81,7 +79,6 @@
|
||||
"Edit": "Edit",
|
||||
"Email": "Email",
|
||||
"Email - Tooltip": "email",
|
||||
"Expires in": "Expires in",
|
||||
"Favicon - Tooltip": "Application icon",
|
||||
"Forget URL": "Forget URL",
|
||||
"Forget URL - Tooltip": "Unique string-style identifier",
|
||||
@ -122,7 +119,6 @@
|
||||
"Resources": "Resources",
|
||||
"Save": "Save",
|
||||
"Save & Exit": "Save & Exit",
|
||||
"Scope": "Scope",
|
||||
"Signin URL": "Signin URL",
|
||||
"Signin URL - Tooltip": "sign in url",
|
||||
"Signup URL": "Signup URL",
|
||||
@ -131,7 +127,6 @@
|
||||
"Swagger": "Swagger",
|
||||
"Syncers": "Syncers",
|
||||
"Timestamp": "Timestamp",
|
||||
"Token type": "Token type",
|
||||
"Tokens": "Tokens",
|
||||
"URL": "URL",
|
||||
"Up": "Up",
|
||||
@ -338,7 +333,11 @@
|
||||
"Table - Tooltip": "Table - Tooltip"
|
||||
},
|
||||
"token": {
|
||||
"Access token": "Access token",
|
||||
"Authorization code": "Authorization code",
|
||||
"Edit Token": "Edit Token",
|
||||
"Expires in": "Expires in",
|
||||
"Scope": "Scope",
|
||||
"Token type": "Token type"
|
||||
},
|
||||
"user": {
|
||||
|
@ -55,7 +55,6 @@
|
||||
"Verify": "Verify"
|
||||
},
|
||||
"general": {
|
||||
"Access token": "Access token",
|
||||
"Action": "Action",
|
||||
"Add": "Add",
|
||||
"Affiliation URL": "Affiliation URL",
|
||||
@ -63,7 +62,6 @@
|
||||
"Application": "Application",
|
||||
"Applications": "Applications",
|
||||
"Applications that require authentication": "Applications that require authentication",
|
||||
"Authorization code": "Authorization code",
|
||||
"Avatar": "Avatar",
|
||||
"Avatar - Tooltip": "Avatar to show to others",
|
||||
"Back Home": "Back Home",
|
||||
@ -81,7 +79,6 @@
|
||||
"Edit": "Edit",
|
||||
"Email": "Email",
|
||||
"Email - Tooltip": "email",
|
||||
"Expires in": "Expires in",
|
||||
"Favicon - Tooltip": "Application icon",
|
||||
"Forget URL": "Forget URL",
|
||||
"Forget URL - Tooltip": "Unique string-style identifier",
|
||||
@ -122,7 +119,6 @@
|
||||
"Resources": "Resources",
|
||||
"Save": "Save",
|
||||
"Save & Exit": "Save & Exit",
|
||||
"Scope": "Scope",
|
||||
"Signin URL": "Signin URL",
|
||||
"Signin URL - Tooltip": "sign in url",
|
||||
"Signup URL": "Signup URL",
|
||||
@ -131,7 +127,6 @@
|
||||
"Swagger": "Swagger",
|
||||
"Syncers": "Syncers",
|
||||
"Timestamp": "Timestamp",
|
||||
"Token type": "Token type",
|
||||
"Tokens": "Tokens",
|
||||
"URL": "URL",
|
||||
"Up": "Up",
|
||||
@ -338,7 +333,11 @@
|
||||
"Table - Tooltip": "Table - Tooltip"
|
||||
},
|
||||
"token": {
|
||||
"Access token": "Access token",
|
||||
"Authorization code": "Authorization code",
|
||||
"Edit Token": "Edit Token",
|
||||
"Expires in": "Expires in",
|
||||
"Scope": "Scope",
|
||||
"Token type": "Token type"
|
||||
},
|
||||
"user": {
|
||||
|
@ -55,7 +55,6 @@
|
||||
"Verify": "Verify"
|
||||
},
|
||||
"general": {
|
||||
"Access token": "Access token",
|
||||
"Action": "Action",
|
||||
"Add": "Add",
|
||||
"Affiliation URL": "Affiliation URL",
|
||||
@ -63,7 +62,6 @@
|
||||
"Application": "Application",
|
||||
"Applications": "Applications",
|
||||
"Applications that require authentication": "Applications that require authentication",
|
||||
"Authorization code": "Authorization code",
|
||||
"Avatar": "Avatar",
|
||||
"Avatar - Tooltip": "Avatar to show to others",
|
||||
"Back Home": "Back Home",
|
||||
@ -81,7 +79,6 @@
|
||||
"Edit": "Edit",
|
||||
"Email": "Email",
|
||||
"Email - Tooltip": "email",
|
||||
"Expires in": "Expires in",
|
||||
"Favicon - Tooltip": "Application icon",
|
||||
"Forget URL": "Forget URL",
|
||||
"Forget URL - Tooltip": "Unique string-style identifier",
|
||||
@ -122,7 +119,6 @@
|
||||
"Resources": "Resources",
|
||||
"Save": "Save",
|
||||
"Save & Exit": "Save & Exit",
|
||||
"Scope": "Scope",
|
||||
"Signin URL": "Signin URL",
|
||||
"Signin URL - Tooltip": "sign in url",
|
||||
"Signup URL": "Signup URL",
|
||||
@ -131,7 +127,6 @@
|
||||
"Swagger": "Swagger",
|
||||
"Syncers": "Syncers",
|
||||
"Timestamp": "Timestamp",
|
||||
"Token type": "Token type",
|
||||
"Tokens": "Tokens",
|
||||
"URL": "URL",
|
||||
"Up": "Up",
|
||||
@ -338,7 +333,11 @@
|
||||
"Table - Tooltip": "Table - Tooltip"
|
||||
},
|
||||
"token": {
|
||||
"Access token": "Access token",
|
||||
"Authorization code": "Authorization code",
|
||||
"Edit Token": "Edit Token",
|
||||
"Expires in": "Expires in",
|
||||
"Scope": "Scope",
|
||||
"Token type": "Token type"
|
||||
},
|
||||
"user": {
|
||||
|
@ -55,7 +55,6 @@
|
||||
"Verify": "验证"
|
||||
},
|
||||
"general": {
|
||||
"Access token": "访问令牌",
|
||||
"Action": "操作",
|
||||
"Add": "添加",
|
||||
"Affiliation URL": "工作单位URL",
|
||||
@ -63,7 +62,6 @@
|
||||
"Application": "应用",
|
||||
"Applications": "应用",
|
||||
"Applications that require authentication": "需要鉴权的应用",
|
||||
"Authorization code": "授权码",
|
||||
"Avatar": "头像",
|
||||
"Avatar - Tooltip": "向其他人展示的头像",
|
||||
"Back Home": "返回到首页",
|
||||
@ -81,7 +79,6 @@
|
||||
"Edit": "修改",
|
||||
"Email": "电子邮箱",
|
||||
"Email - Tooltip": "电子邮件:",
|
||||
"Expires in": "有效期",
|
||||
"Favicon - Tooltip": "网站的图标",
|
||||
"Forget URL": "忘记密码URL",
|
||||
"Forget URL - Tooltip": "忘记密码URL",
|
||||
@ -122,7 +119,6 @@
|
||||
"Resources": "资源",
|
||||
"Save": "保存",
|
||||
"Save & Exit": "保存 & 退出",
|
||||
"Scope": "范围",
|
||||
"Signin URL": "登录URL",
|
||||
"Signin URL - Tooltip": "用户的登录地址",
|
||||
"Signup URL": "注册URL",
|
||||
@ -131,7 +127,6 @@
|
||||
"Swagger": "API文档",
|
||||
"Syncers": "同步器",
|
||||
"Timestamp": "时间戳",
|
||||
"Token type": "令牌类型",
|
||||
"Tokens": "令牌",
|
||||
"URL": "链接",
|
||||
"Up": "上移",
|
||||
@ -338,7 +333,11 @@
|
||||
"Table - Tooltip": "数据库表名"
|
||||
},
|
||||
"token": {
|
||||
"Access token": "Access token",
|
||||
"Authorization code": "授权码",
|
||||
"Edit Token": "修改令牌",
|
||||
"Expires in": "有效期",
|
||||
"Scope": "范围",
|
||||
"Token type": "令牌类型"
|
||||
},
|
||||
"user": {
|
||||
|
Loading…
x
Reference in New Issue
Block a user