mirror of
https://github.com/casdoor/casdoor.git
synced 2025-05-23 02:35:49 +08:00
Fix translation.
This commit is contained in:
parent
318cf52b33
commit
16cc64f08d
@ -39,7 +39,7 @@ func (c *ApiController) GetSyncers() {
|
||||
} else {
|
||||
limit := util.ParseInt(limit)
|
||||
paginator := pagination.SetPaginator(c.Ctx, limit, int64(object.GetSyncerCount(owner)))
|
||||
syncers := object.GetMaskedSyncers(object.GetPaginationSyncers(owner, paginator.Offset(), limit))
|
||||
syncers := object.GetPaginationSyncers(owner, paginator.Offset(), limit)
|
||||
c.ResponseOk(syncers, paginator.Nums())
|
||||
}
|
||||
}
|
||||
@ -53,7 +53,7 @@ func (c *ApiController) GetSyncers() {
|
||||
func (c *ApiController) GetSyncer() {
|
||||
id := c.Input().Get("id")
|
||||
|
||||
c.Data["json"] = object.GetMaskedSyncer(object.GetSyncer(id))
|
||||
c.Data["json"] = object.GetSyncer(id)
|
||||
c.ServeJSON()
|
||||
}
|
||||
|
||||
|
@ -194,7 +194,7 @@ class SyncerListPage extends React.Component {
|
||||
sorter: (a, b) => a.syncInterval.localeCompare(b.syncInterval),
|
||||
},
|
||||
{
|
||||
title: i18next.t("record:Is Enabled"),
|
||||
title: i18next.t("syncer:Is enabled"),
|
||||
dataIndex: 'isEnabled',
|
||||
key: 'isEnabled',
|
||||
width: '120px',
|
||||
|
@ -123,6 +123,7 @@
|
||||
"Signup URL - Tooltip": "sign up url",
|
||||
"Sorry, the page you visited does not exist.": "Sorry, the page you visited does not exist.",
|
||||
"Swagger": "Swagger",
|
||||
"Syncers": "Syncers",
|
||||
"Timestamp": "Timestamp",
|
||||
"Token expire": "Token expire",
|
||||
"Token expire - Tooltip": "Token authorization time",
|
||||
@ -131,6 +132,7 @@
|
||||
"URL": "URL",
|
||||
"Up": "Up",
|
||||
"User": "User",
|
||||
"User - Tooltip": "User - Tooltip",
|
||||
"User containers": "User containers",
|
||||
"User type": "User type",
|
||||
"User type - Tooltip": "Permission role owned by the user",
|
||||
@ -252,6 +254,8 @@
|
||||
"SecretAccessKey - Tooltip": "SecretAccessKey - Tooltip",
|
||||
"Sign Name": "Sign Name",
|
||||
"Sign Name - Tooltip": "Unique string-style identifier",
|
||||
"Sign request": "Sign request",
|
||||
"Sign request - Tooltip": "Sign request - Tooltip",
|
||||
"Signin HTML": "Signin HTML",
|
||||
"Signin HTML - Edit": "Signin HTML - Edit",
|
||||
"Signin HTML - Tooltip": "Signin HTML - Tooltip",
|
||||
@ -314,6 +318,21 @@
|
||||
"Your confirmed password is inconsistent with the password!": "Your confirmed password is inconsistent with the password!",
|
||||
"sign in now": "sign in now"
|
||||
},
|
||||
"syncer": {
|
||||
"Affiliation table": "Affiliation table",
|
||||
"Affiliation table - Tooltip": "Affiliation table - Tooltip",
|
||||
"Avatar base URL": "Avatar base URL",
|
||||
"Avatar base URL - Tooltip": "Avatar base URL - Tooltip",
|
||||
"Database": "Database",
|
||||
"Database - Tooltip": "Database - Tooltip",
|
||||
"Edit Syncer": "Edit Syncer",
|
||||
"Is enabled": "Is enabled",
|
||||
"Is enabled - Tooltip": "Is enabled - Tooltip",
|
||||
"Sync interval": "Sync interval",
|
||||
"Sync interval - Tooltip": "Sync interval - Tooltip",
|
||||
"Table": "Table",
|
||||
"Table - Tooltip": "Table - Tooltip"
|
||||
},
|
||||
"token": {
|
||||
"Edit Token": "Edit Token",
|
||||
"Token type": "Token type"
|
||||
|
@ -123,6 +123,7 @@
|
||||
"Signup URL - Tooltip": "Signup URL - Tooltip",
|
||||
"Sorry, the page you visited does not exist.": "Sorry, the page you visited does not exist.",
|
||||
"Swagger": "Swagger",
|
||||
"Syncers": "Syncers",
|
||||
"Timestamp": "Timestamp",
|
||||
"Token expire": "Token expire",
|
||||
"Token expire - Tooltip": "Token expire - Tooltip",
|
||||
@ -131,6 +132,7 @@
|
||||
"URL": "URL",
|
||||
"Up": "Up",
|
||||
"User": "User",
|
||||
"User - Tooltip": "User - Tooltip",
|
||||
"User containers": "User containers",
|
||||
"User type": "User type",
|
||||
"User type - Tooltip": "User type - Tooltip",
|
||||
@ -252,6 +254,8 @@
|
||||
"SecretAccessKey - Tooltip": "SecretAccessKey - Tooltip",
|
||||
"Sign Name": "Sign Name",
|
||||
"Sign Name - Tooltip": "Sign Name - Tooltip",
|
||||
"Sign request": "Sign request",
|
||||
"Sign request - Tooltip": "Sign request - Tooltip",
|
||||
"Signin HTML": "Signin HTML",
|
||||
"Signin HTML - Edit": "Signin HTML - Edit",
|
||||
"Signin HTML - Tooltip": "Signin HTML - Tooltip",
|
||||
@ -314,6 +318,21 @@
|
||||
"Your confirmed password is inconsistent with the password!": "Your confirmed password is inconsistent with the password!",
|
||||
"sign in now": "sign in now"
|
||||
},
|
||||
"syncer": {
|
||||
"Affiliation table": "Affiliation table",
|
||||
"Affiliation table - Tooltip": "Affiliation table - Tooltip",
|
||||
"Avatar base URL": "Avatar base URL",
|
||||
"Avatar base URL - Tooltip": "Avatar base URL - Tooltip",
|
||||
"Database": "Database",
|
||||
"Database - Tooltip": "Database - Tooltip",
|
||||
"Edit Syncer": "Edit Syncer",
|
||||
"Is enabled": "Is enabled",
|
||||
"Is enabled - Tooltip": "Is enabled - Tooltip",
|
||||
"Sync interval": "Sync interval",
|
||||
"Sync interval - Tooltip": "Sync interval - Tooltip",
|
||||
"Table": "Table",
|
||||
"Table - Tooltip": "Table - Tooltip"
|
||||
},
|
||||
"token": {
|
||||
"Edit Token": "Edit Token",
|
||||
"Token type": "Token type"
|
||||
|
@ -123,6 +123,7 @@
|
||||
"Signup URL - Tooltip": "sign up url",
|
||||
"Sorry, the page you visited does not exist.": "Sorry, the page you visited does not exist.",
|
||||
"Swagger": "Swagger",
|
||||
"Syncers": "Syncers",
|
||||
"Timestamp": "Timestamp",
|
||||
"Token expire": "Token expire",
|
||||
"Token expire - Tooltip": "Token authorization time",
|
||||
@ -131,6 +132,7 @@
|
||||
"URL": "URL",
|
||||
"Up": "Up",
|
||||
"User": "User",
|
||||
"User - Tooltip": "User - Tooltip",
|
||||
"User containers": "User containers",
|
||||
"User type": "User type",
|
||||
"User type - Tooltip": "Permission role owned by the user",
|
||||
@ -252,6 +254,8 @@
|
||||
"SecretAccessKey - Tooltip": "SecretAccessKey - Tooltip",
|
||||
"Sign Name": "Sign Name",
|
||||
"Sign Name - Tooltip": "Unique string-style identifier",
|
||||
"Sign request": "Sign request",
|
||||
"Sign request - Tooltip": "Sign request - Tooltip",
|
||||
"Signin HTML": "Signin HTML",
|
||||
"Signin HTML - Edit": "Signin HTML - Edit",
|
||||
"Signin HTML - Tooltip": "Signin HTML - Tooltip",
|
||||
@ -314,6 +318,21 @@
|
||||
"Your confirmed password is inconsistent with the password!": "Your confirmed password is inconsistent with the password!",
|
||||
"sign in now": "sign in now"
|
||||
},
|
||||
"syncer": {
|
||||
"Affiliation table": "Affiliation table",
|
||||
"Affiliation table - Tooltip": "Affiliation table - Tooltip",
|
||||
"Avatar base URL": "Avatar base URL",
|
||||
"Avatar base URL - Tooltip": "Avatar base URL - Tooltip",
|
||||
"Database": "Database",
|
||||
"Database - Tooltip": "Database - Tooltip",
|
||||
"Edit Syncer": "Edit Syncer",
|
||||
"Is enabled": "Is enabled",
|
||||
"Is enabled - Tooltip": "Is enabled - Tooltip",
|
||||
"Sync interval": "Sync interval",
|
||||
"Sync interval - Tooltip": "Sync interval - Tooltip",
|
||||
"Table": "Table",
|
||||
"Table - Tooltip": "Table - Tooltip"
|
||||
},
|
||||
"token": {
|
||||
"Edit Token": "Edit Token",
|
||||
"Token type": "Token type"
|
||||
|
@ -123,6 +123,7 @@
|
||||
"Signup URL - Tooltip": "sign up url",
|
||||
"Sorry, the page you visited does not exist.": "Sorry, the page you visited does not exist.",
|
||||
"Swagger": "Swagger",
|
||||
"Syncers": "Syncers",
|
||||
"Timestamp": "Timestamp",
|
||||
"Token expire": "Token expire",
|
||||
"Token expire - Tooltip": "Token authorization time",
|
||||
@ -131,6 +132,7 @@
|
||||
"URL": "URL",
|
||||
"Up": "Up",
|
||||
"User": "User",
|
||||
"User - Tooltip": "User - Tooltip",
|
||||
"User containers": "User containers",
|
||||
"User type": "User type",
|
||||
"User type - Tooltip": "Permission role owned by the user",
|
||||
@ -252,6 +254,8 @@
|
||||
"SecretAccessKey - Tooltip": "SecretAccessKey - Tooltip",
|
||||
"Sign Name": "Sign Name",
|
||||
"Sign Name - Tooltip": "Unique string-style identifier",
|
||||
"Sign request": "Sign request",
|
||||
"Sign request - Tooltip": "Sign request - Tooltip",
|
||||
"Signin HTML": "Signin HTML",
|
||||
"Signin HTML - Edit": "Signin HTML - Edit",
|
||||
"Signin HTML - Tooltip": "Signin HTML - Tooltip",
|
||||
@ -314,6 +318,21 @@
|
||||
"Your confirmed password is inconsistent with the password!": "Your confirmed password is inconsistent with the password!",
|
||||
"sign in now": "sign in now"
|
||||
},
|
||||
"syncer": {
|
||||
"Affiliation table": "Affiliation table",
|
||||
"Affiliation table - Tooltip": "Affiliation table - Tooltip",
|
||||
"Avatar base URL": "Avatar base URL",
|
||||
"Avatar base URL - Tooltip": "Avatar base URL - Tooltip",
|
||||
"Database": "Database",
|
||||
"Database - Tooltip": "Database - Tooltip",
|
||||
"Edit Syncer": "Edit Syncer",
|
||||
"Is enabled": "Is enabled",
|
||||
"Is enabled - Tooltip": "Is enabled - Tooltip",
|
||||
"Sync interval": "Sync interval",
|
||||
"Sync interval - Tooltip": "Sync interval - Tooltip",
|
||||
"Table": "Table",
|
||||
"Table - Tooltip": "Table - Tooltip"
|
||||
},
|
||||
"token": {
|
||||
"Edit Token": "Edit Token",
|
||||
"Token type": "Token type"
|
||||
|
@ -123,6 +123,7 @@
|
||||
"Signup URL - Tooltip": "sign up url",
|
||||
"Sorry, the page you visited does not exist.": "Sorry, the page you visited does not exist.",
|
||||
"Swagger": "Swagger",
|
||||
"Syncers": "Syncers",
|
||||
"Timestamp": "Timestamp",
|
||||
"Token expire": "Token expire",
|
||||
"Token expire - Tooltip": "Token authorization time",
|
||||
@ -131,6 +132,7 @@
|
||||
"URL": "URL",
|
||||
"Up": "Up",
|
||||
"User": "User",
|
||||
"User - Tooltip": "User - Tooltip",
|
||||
"User containers": "User containers",
|
||||
"User type": "User type",
|
||||
"User type - Tooltip": "Permission role owned by the user",
|
||||
@ -252,6 +254,8 @@
|
||||
"SecretAccessKey - Tooltip": "SecretAccessKey - Tooltip",
|
||||
"Sign Name": "Sign Name",
|
||||
"Sign Name - Tooltip": "Unique string-style identifier",
|
||||
"Sign request": "Sign request",
|
||||
"Sign request - Tooltip": "Sign request - Tooltip",
|
||||
"Signin HTML": "Signin HTML",
|
||||
"Signin HTML - Edit": "Signin HTML - Edit",
|
||||
"Signin HTML - Tooltip": "Signin HTML - Tooltip",
|
||||
@ -314,6 +318,21 @@
|
||||
"Your confirmed password is inconsistent with the password!": "Your confirmed password is inconsistent with the password!",
|
||||
"sign in now": "sign in now"
|
||||
},
|
||||
"syncer": {
|
||||
"Affiliation table": "Affiliation table",
|
||||
"Affiliation table - Tooltip": "Affiliation table - Tooltip",
|
||||
"Avatar base URL": "Avatar base URL",
|
||||
"Avatar base URL - Tooltip": "Avatar base URL - Tooltip",
|
||||
"Database": "Database",
|
||||
"Database - Tooltip": "Database - Tooltip",
|
||||
"Edit Syncer": "Edit Syncer",
|
||||
"Is enabled": "Is enabled",
|
||||
"Is enabled - Tooltip": "Is enabled - Tooltip",
|
||||
"Sync interval": "Sync interval",
|
||||
"Sync interval - Tooltip": "Sync interval - Tooltip",
|
||||
"Table": "Table",
|
||||
"Table - Tooltip": "Table - Tooltip"
|
||||
},
|
||||
"token": {
|
||||
"Edit Token": "Edit Token",
|
||||
"Token type": "Token type"
|
||||
|
@ -123,6 +123,7 @@
|
||||
"Signup URL - Tooltip": "sign up url",
|
||||
"Sorry, the page you visited does not exist.": "Sorry, the page you visited does not exist.",
|
||||
"Swagger": "Swagger",
|
||||
"Syncers": "Syncers",
|
||||
"Timestamp": "Timestamp",
|
||||
"Token expire": "Token expire",
|
||||
"Token expire - Tooltip": "Token authorization time",
|
||||
@ -131,6 +132,7 @@
|
||||
"URL": "URL",
|
||||
"Up": "Up",
|
||||
"User": "User",
|
||||
"User - Tooltip": "User - Tooltip",
|
||||
"User containers": "User containers",
|
||||
"User type": "User type",
|
||||
"User type - Tooltip": "Permission role owned by the user",
|
||||
@ -252,6 +254,8 @@
|
||||
"SecretAccessKey - Tooltip": "SecretAccessKey - Tooltip",
|
||||
"Sign Name": "Sign Name",
|
||||
"Sign Name - Tooltip": "Unique string-style identifier",
|
||||
"Sign request": "Sign request",
|
||||
"Sign request - Tooltip": "Sign request - Tooltip",
|
||||
"Signin HTML": "Signin HTML",
|
||||
"Signin HTML - Edit": "Signin HTML - Edit",
|
||||
"Signin HTML - Tooltip": "Signin HTML - Tooltip",
|
||||
@ -314,6 +318,21 @@
|
||||
"Your confirmed password is inconsistent with the password!": "Your confirmed password is inconsistent with the password!",
|
||||
"sign in now": "sign in now"
|
||||
},
|
||||
"syncer": {
|
||||
"Affiliation table": "Affiliation table",
|
||||
"Affiliation table - Tooltip": "Affiliation table - Tooltip",
|
||||
"Avatar base URL": "Avatar base URL",
|
||||
"Avatar base URL - Tooltip": "Avatar base URL - Tooltip",
|
||||
"Database": "Database",
|
||||
"Database - Tooltip": "Database - Tooltip",
|
||||
"Edit Syncer": "Edit Syncer",
|
||||
"Is enabled": "Is enabled",
|
||||
"Is enabled - Tooltip": "Is enabled - Tooltip",
|
||||
"Sync interval": "Sync interval",
|
||||
"Sync interval - Tooltip": "Sync interval - Tooltip",
|
||||
"Table": "Table",
|
||||
"Table - Tooltip": "Table - Tooltip"
|
||||
},
|
||||
"token": {
|
||||
"Edit Token": "Edit Token",
|
||||
"Token type": "Token type"
|
||||
|
@ -115,7 +115,7 @@
|
||||
"Request URI": "请求URI",
|
||||
"Resources": "资源",
|
||||
"Save": "保存",
|
||||
"Save \u0026 Exit": "保存 & 退出",
|
||||
"Save \u0026 Exit": "保存 \u0026 退出",
|
||||
"Scope": "范围",
|
||||
"Signin URL": "登录URL",
|
||||
"Signin URL - Tooltip": "用户的登录地址",
|
||||
@ -123,6 +123,7 @@
|
||||
"Signup URL - Tooltip": "展示给用户的注册地址",
|
||||
"Sorry, the page you visited does not exist.": "抱歉,您访问的页面不存在",
|
||||
"Swagger": "API文档",
|
||||
"Syncers": "同步器",
|
||||
"Timestamp": "时间戳",
|
||||
"Token expire": "令牌过期时间",
|
||||
"Token expire - Tooltip": "签发的令牌的授权时间",
|
||||
@ -131,6 +132,7 @@
|
||||
"URL": "链接",
|
||||
"Up": "上移",
|
||||
"User": "用户",
|
||||
"User - Tooltip": "User - Tooltip",
|
||||
"User containers": "用户容器",
|
||||
"User type": "用户类型",
|
||||
"User type - Tooltip": "具有不同权限的用户角色",
|
||||
@ -252,6 +254,8 @@
|
||||
"SecretAccessKey - Tooltip": "SecretAccessKey - Tooltip",
|
||||
"Sign Name": "签名名称",
|
||||
"Sign Name - Tooltip": "签名名称",
|
||||
"Sign request": "Sign request",
|
||||
"Sign request - Tooltip": "Sign request - Tooltip",
|
||||
"Signin HTML": "Signin HTML",
|
||||
"Signin HTML - Edit": "Signin HTML - Edit",
|
||||
"Signin HTML - Tooltip": "Signin HTML - Tooltip",
|
||||
@ -314,6 +318,21 @@
|
||||
"Your confirmed password is inconsistent with the password!": "您两次输入的密码不一致!",
|
||||
"sign in now": "立即登录"
|
||||
},
|
||||
"syncer": {
|
||||
"Affiliation table": "工作单位表",
|
||||
"Affiliation table - Tooltip": "工作单位的数据库表名",
|
||||
"Avatar base URL": "头像基础URL",
|
||||
"Avatar base URL - Tooltip": "头像URL的前缀",
|
||||
"Database": "数据库",
|
||||
"Database - Tooltip": "数据库名称",
|
||||
"Edit Syncer": "修改同步器",
|
||||
"Is enabled": "已启用",
|
||||
"Is enabled - Tooltip": "是否启用",
|
||||
"Sync interval": "同步间隔",
|
||||
"Sync interval - Tooltip": "单位为分钟",
|
||||
"Table": "表名",
|
||||
"Table - Tooltip": "数据库表名"
|
||||
},
|
||||
"token": {
|
||||
"Edit Token": "修改令牌",
|
||||
"Token type": "令牌类型"
|
||||
|
Loading…
x
Reference in New Issue
Block a user