From 2f71d9743b236830ddeaa35fa7423afb2c1f1c1a Mon Sep 17 00:00:00 2001 From: Gucheng Wang Date: Sun, 12 Dec 2021 17:12:15 +0800 Subject: [PATCH] Improve org creation UI. --- web/src/OrganizationEditPage.js | 15 +++++++++++---- web/src/OrganizationListPage.js | 1 + web/src/locales/de/data.json | 25 ++++++++++++++++++++----- web/src/locales/en/data.json | 25 ++++++++++++++++++++----- web/src/locales/fr/data.json | 25 ++++++++++++++++++++----- web/src/locales/ja/data.json | 25 ++++++++++++++++++++----- web/src/locales/ko/data.json | 25 ++++++++++++++++++++----- web/src/locales/ru/data.json | 25 ++++++++++++++++++++----- web/src/locales/zh/data.json | 25 ++++++++++++++++++++----- 9 files changed, 152 insertions(+), 39 deletions(-) diff --git a/web/src/OrganizationEditPage.js b/web/src/OrganizationEditPage.js index f8d8c2b4..aef5c710 100644 --- a/web/src/OrganizationEditPage.js +++ b/web/src/OrganizationEditPage.js @@ -85,7 +85,8 @@ class OrganizationEditPage extends React.Component { {i18next.t("organization:Edit Organization")}     - + + } style={(Setting.isMobile())? {margin: '5px'}:{}} type="inner"> @@ -243,7 +244,7 @@ class OrganizationEditPage extends React.Component { ) } - submitOrganizationEdit() { + submitOrganizationEdit(willExist) { let organization = Setting.deepCopy(this.state.organization); OrganizationBackend.updateOrganization(this.state.organization.owner, this.state.organizationName, organization) .then((res) => { @@ -252,7 +253,12 @@ class OrganizationEditPage extends React.Component { this.setState({ organizationName: this.state.organization.name, }); - this.props.history.push(`/organizations/${this.state.organization.name}`); + + if (willExist) { + this.props.history.push(`/organizations`); + } else { + this.props.history.push(`/organizations/${this.state.organization.name}`); + } } else { Setting.showMessage("error", res.msg); this.updateOrganizationField('name', this.state.organizationName); @@ -270,7 +276,8 @@ class OrganizationEditPage extends React.Component { this.state.organization !== null ? this.renderOrganization() : null }
- + +
); diff --git a/web/src/OrganizationListPage.js b/web/src/OrganizationListPage.js index 3f3f60b1..b9ba6650 100644 --- a/web/src/OrganizationListPage.js +++ b/web/src/OrganizationListPage.js @@ -73,6 +73,7 @@ class OrganizationListPage extends React.Component { organizations: Setting.prependRow(this.state.organizations, newOrganization), total: this.state.total + 1 }); + this.props.history.push(`/organizations/${newOrganization.name}`); } ) .catch(error => { diff --git a/web/src/locales/de/data.json b/web/src/locales/de/data.json index 13507d56..809fe317 100644 --- a/web/src/locales/de/data.json +++ b/web/src/locales/de/data.json @@ -115,6 +115,7 @@ "Request URI": "Request URI", "Resources": "Resources", "Save": "Save", + "Save \u0026 Exit": "Save \u0026 Exit", "Scope": "Scope", "Signin URL": "Signin URL", "Signin URL - Tooltip": "sign in url", @@ -169,7 +170,9 @@ "login": { "Auto sign in": "Auto sign in", "Continue with": "Continue with", + "Email or phone": "Email or phone", "Forgot password?": "Forgot password?", + "Invalid Email or phone": "Invalid Email or phone", "No account?": "No account?", "Or sign in with another account": "Or sign in with another account", "Password": "Password", @@ -177,19 +180,16 @@ "Please input your code!": "Please input your code!", "Please input your password!": "Please input your password!", "Please input your password, at least 6 characters!": "Please input your password, at least 6 characters!", - "Please input your Email or phone!": "Please input your Email or phone!", "Please input your username, Email or phone!": "Please input your username, Email or phone!", "Sign In": "Sign In", "Sign in with code": "Sign in with code", "Sign in with password": "Sign in with password", "Sign in with {type}": "Sign in with {type}", "Signing in...": "Signing in...", + "The input is not valid Email or Phone!": "The input is not valid Email or Phone!", "To access": "To access", "sign up now": "sign up now", - "Email or phone": "Email or phone", - "username, Email or phone": "username, Email or phone", - "Invalid Email or phone": "Invalid Email or phone", - "The input is not valid Email or Phone!": "The input is not valid Email or Phone!" + "username, Email or phone": "username, Email or phone" }, "organization": { "Default avatar": "Default avatar", @@ -205,12 +205,14 @@ "Access key - Tooltip": "Access key - Tooltip", "Bucket": "Bucket", "Bucket - Tooltip": "Storage bucket name", + "Can not parse Metadata": "Can not parse Metadata", "Category": "Category", "Category - Tooltip": "Unique string-style identifier", "Client ID": "Client ID", "Client ID - Tooltip": "Unique string-style identifier", "Client secret": "Client secret", "Client secret - Tooltip": "Unique string-style identifier", + "Copy": "Copy", "Domain": "Domain", "Domain - Tooltip": "Storage endpoint custom domain", "Edit Provider": "Edit Provider", @@ -222,9 +224,18 @@ "Endpoint (Intranet)": "Endpoint (Intranet)", "Host": "Host", "Host - Tooltip": "Unique string-style identifier", + "IdP": "IdP", + "IdP public key": "IdP public key", + "Issuer URL": "Issuer URL", + "Issuer URL - Tooltip": "Issuer URL - Tooltip", + "Link copied to clipboard successfully": "Link copied to clipboard successfully", + "Metadata": "Metadata", + "Metadata - Tooltip": "Metadata - Tooltip", "Method": "Method", "Method - Tooltip": "Login behaviors, QR code or silent authorization", "Name": "Name", + "Parse": "Parse", + "Parse Metadata successfully": "Parse Metadata successfully", "Port": "Port", "Port - Tooltip": "Unique string-style identifier", "Provider URL": "Provider URL", @@ -233,6 +244,10 @@ "Region ID - Tooltip": "Region ID - Tooltip", "Region endpoint for Internet": "Region endpoint for Internet", "Region endpoint for Intranet": "Region endpoint for Intranet", + "SAML 2.0 Endpoint (HTTP)": "SAML 2.0 Endpoint (HTTP)", + "SP ACS URL": "SP ACS URL", + "SP ACS URL - Tooltip": "SP ACS URL - Tooltip", + "SP Entity ID": "SP Entity ID", "Secret access key": "Secret access key", "SecretAccessKey - Tooltip": "SecretAccessKey - Tooltip", "Sign Name": "Sign Name", diff --git a/web/src/locales/en/data.json b/web/src/locales/en/data.json index 6a711343..15fd491c 100644 --- a/web/src/locales/en/data.json +++ b/web/src/locales/en/data.json @@ -115,6 +115,7 @@ "Request URI": "Request URI", "Resources": "Resources", "Save": "Save", + "Save \u0026 Exit": "Save \u0026 Exit", "Scope": "Scope", "Signin URL": "Signin URL", "Signin URL - Tooltip": "Signin URL - Tooltip", @@ -169,7 +170,9 @@ "login": { "Auto sign in": "Auto sign in", "Continue with": "Continue with", + "Email or phone": "Email or phone", "Forgot password?": "Forgot password?", + "Invalid Email or phone": "Invalid Email or phone", "No account?": "No account?", "Or sign in with another account": "Or sign in with another account", "Password": "Password", @@ -177,19 +180,16 @@ "Please input your code!": "Please input your code!", "Please input your password!": "Please input your password!", "Please input your password, at least 6 characters!": "Please input your password, at least 6 characters!", - "Please input your Email or phone!": "Please input your Email or phone!", "Please input your username, Email or phone!": "Please input your username, Email or phone!", "Sign In": "Sign In", "Sign in with code": "Sign in with code", "Sign in with password": "Sign in with password", "Sign in with {type}": "Sign in with {type}", "Signing in...": "Signing in...", + "The input is not valid Email or Phone!": "The input is not valid Email or Phone!", "To access": "To access", "sign up now": "sign up now", - "Email or phone": "Email or phone", - "username, Email or phone": "username, Email or phone", - "Invalid Email or phone": "Invalid Email or phone", - "The input is not valid Email or Phone!": "The input is not valid Email or Phone!" + "username, Email or phone": "username, Email or phone" }, "organization": { "Default avatar": "Default avatar", @@ -205,12 +205,14 @@ "Access key - Tooltip": "Access key - Tooltip", "Bucket": "Bucket", "Bucket - Tooltip": "Bucket - Tooltip", + "Can not parse Metadata": "Can not parse Metadata", "Category": "Category", "Category - Tooltip": "Category - Tooltip", "Client ID": "Client ID", "Client ID - Tooltip": "Client ID - Tooltip", "Client secret": "Client secret", "Client secret - Tooltip": "Client secret - Tooltip", + "Copy": "Copy", "Domain": "Domain", "Domain - Tooltip": "Domain - Tooltip", "Edit Provider": "Edit Provider", @@ -222,9 +224,18 @@ "Endpoint (Intranet)": "Endpoint (Intranet)", "Host": "Host", "Host - Tooltip": "Host - Tooltip", + "IdP": "IdP", + "IdP public key": "IdP public key", + "Issuer URL": "Issuer URL", + "Issuer URL - Tooltip": "Issuer URL - Tooltip", + "Link copied to clipboard successfully": "Link copied to clipboard successfully", + "Metadata": "Metadata", + "Metadata - Tooltip": "Metadata - Tooltip", "Method": "Method", "Method - Tooltip": "Method - Tooltip", "Name": "Name", + "Parse": "Parse", + "Parse Metadata successfully": "Parse Metadata successfully", "Port": "Port", "Port - Tooltip": "Port - Tooltip", "Provider URL": "Provider URL", @@ -233,6 +244,10 @@ "Region ID - Tooltip": "Region ID - Tooltip", "Region endpoint for Internet": "Region endpoint for Internet", "Region endpoint for Intranet": "Region endpoint for Intranet", + "SAML 2.0 Endpoint (HTTP)": "SAML 2.0 Endpoint (HTTP)", + "SP ACS URL": "SP ACS URL", + "SP ACS URL - Tooltip": "SP ACS URL - Tooltip", + "SP Entity ID": "SP Entity ID", "Secret access key": "Secret access key", "SecretAccessKey - Tooltip": "SecretAccessKey - Tooltip", "Sign Name": "Sign Name", diff --git a/web/src/locales/fr/data.json b/web/src/locales/fr/data.json index 13507d56..809fe317 100644 --- a/web/src/locales/fr/data.json +++ b/web/src/locales/fr/data.json @@ -115,6 +115,7 @@ "Request URI": "Request URI", "Resources": "Resources", "Save": "Save", + "Save \u0026 Exit": "Save \u0026 Exit", "Scope": "Scope", "Signin URL": "Signin URL", "Signin URL - Tooltip": "sign in url", @@ -169,7 +170,9 @@ "login": { "Auto sign in": "Auto sign in", "Continue with": "Continue with", + "Email or phone": "Email or phone", "Forgot password?": "Forgot password?", + "Invalid Email or phone": "Invalid Email or phone", "No account?": "No account?", "Or sign in with another account": "Or sign in with another account", "Password": "Password", @@ -177,19 +180,16 @@ "Please input your code!": "Please input your code!", "Please input your password!": "Please input your password!", "Please input your password, at least 6 characters!": "Please input your password, at least 6 characters!", - "Please input your Email or phone!": "Please input your Email or phone!", "Please input your username, Email or phone!": "Please input your username, Email or phone!", "Sign In": "Sign In", "Sign in with code": "Sign in with code", "Sign in with password": "Sign in with password", "Sign in with {type}": "Sign in with {type}", "Signing in...": "Signing in...", + "The input is not valid Email or Phone!": "The input is not valid Email or Phone!", "To access": "To access", "sign up now": "sign up now", - "Email or phone": "Email or phone", - "username, Email or phone": "username, Email or phone", - "Invalid Email or phone": "Invalid Email or phone", - "The input is not valid Email or Phone!": "The input is not valid Email or Phone!" + "username, Email or phone": "username, Email or phone" }, "organization": { "Default avatar": "Default avatar", @@ -205,12 +205,14 @@ "Access key - Tooltip": "Access key - Tooltip", "Bucket": "Bucket", "Bucket - Tooltip": "Storage bucket name", + "Can not parse Metadata": "Can not parse Metadata", "Category": "Category", "Category - Tooltip": "Unique string-style identifier", "Client ID": "Client ID", "Client ID - Tooltip": "Unique string-style identifier", "Client secret": "Client secret", "Client secret - Tooltip": "Unique string-style identifier", + "Copy": "Copy", "Domain": "Domain", "Domain - Tooltip": "Storage endpoint custom domain", "Edit Provider": "Edit Provider", @@ -222,9 +224,18 @@ "Endpoint (Intranet)": "Endpoint (Intranet)", "Host": "Host", "Host - Tooltip": "Unique string-style identifier", + "IdP": "IdP", + "IdP public key": "IdP public key", + "Issuer URL": "Issuer URL", + "Issuer URL - Tooltip": "Issuer URL - Tooltip", + "Link copied to clipboard successfully": "Link copied to clipboard successfully", + "Metadata": "Metadata", + "Metadata - Tooltip": "Metadata - Tooltip", "Method": "Method", "Method - Tooltip": "Login behaviors, QR code or silent authorization", "Name": "Name", + "Parse": "Parse", + "Parse Metadata successfully": "Parse Metadata successfully", "Port": "Port", "Port - Tooltip": "Unique string-style identifier", "Provider URL": "Provider URL", @@ -233,6 +244,10 @@ "Region ID - Tooltip": "Region ID - Tooltip", "Region endpoint for Internet": "Region endpoint for Internet", "Region endpoint for Intranet": "Region endpoint for Intranet", + "SAML 2.0 Endpoint (HTTP)": "SAML 2.0 Endpoint (HTTP)", + "SP ACS URL": "SP ACS URL", + "SP ACS URL - Tooltip": "SP ACS URL - Tooltip", + "SP Entity ID": "SP Entity ID", "Secret access key": "Secret access key", "SecretAccessKey - Tooltip": "SecretAccessKey - Tooltip", "Sign Name": "Sign Name", diff --git a/web/src/locales/ja/data.json b/web/src/locales/ja/data.json index 13507d56..809fe317 100644 --- a/web/src/locales/ja/data.json +++ b/web/src/locales/ja/data.json @@ -115,6 +115,7 @@ "Request URI": "Request URI", "Resources": "Resources", "Save": "Save", + "Save \u0026 Exit": "Save \u0026 Exit", "Scope": "Scope", "Signin URL": "Signin URL", "Signin URL - Tooltip": "sign in url", @@ -169,7 +170,9 @@ "login": { "Auto sign in": "Auto sign in", "Continue with": "Continue with", + "Email or phone": "Email or phone", "Forgot password?": "Forgot password?", + "Invalid Email or phone": "Invalid Email or phone", "No account?": "No account?", "Or sign in with another account": "Or sign in with another account", "Password": "Password", @@ -177,19 +180,16 @@ "Please input your code!": "Please input your code!", "Please input your password!": "Please input your password!", "Please input your password, at least 6 characters!": "Please input your password, at least 6 characters!", - "Please input your Email or phone!": "Please input your Email or phone!", "Please input your username, Email or phone!": "Please input your username, Email or phone!", "Sign In": "Sign In", "Sign in with code": "Sign in with code", "Sign in with password": "Sign in with password", "Sign in with {type}": "Sign in with {type}", "Signing in...": "Signing in...", + "The input is not valid Email or Phone!": "The input is not valid Email or Phone!", "To access": "To access", "sign up now": "sign up now", - "Email or phone": "Email or phone", - "username, Email or phone": "username, Email or phone", - "Invalid Email or phone": "Invalid Email or phone", - "The input is not valid Email or Phone!": "The input is not valid Email or Phone!" + "username, Email or phone": "username, Email or phone" }, "organization": { "Default avatar": "Default avatar", @@ -205,12 +205,14 @@ "Access key - Tooltip": "Access key - Tooltip", "Bucket": "Bucket", "Bucket - Tooltip": "Storage bucket name", + "Can not parse Metadata": "Can not parse Metadata", "Category": "Category", "Category - Tooltip": "Unique string-style identifier", "Client ID": "Client ID", "Client ID - Tooltip": "Unique string-style identifier", "Client secret": "Client secret", "Client secret - Tooltip": "Unique string-style identifier", + "Copy": "Copy", "Domain": "Domain", "Domain - Tooltip": "Storage endpoint custom domain", "Edit Provider": "Edit Provider", @@ -222,9 +224,18 @@ "Endpoint (Intranet)": "Endpoint (Intranet)", "Host": "Host", "Host - Tooltip": "Unique string-style identifier", + "IdP": "IdP", + "IdP public key": "IdP public key", + "Issuer URL": "Issuer URL", + "Issuer URL - Tooltip": "Issuer URL - Tooltip", + "Link copied to clipboard successfully": "Link copied to clipboard successfully", + "Metadata": "Metadata", + "Metadata - Tooltip": "Metadata - Tooltip", "Method": "Method", "Method - Tooltip": "Login behaviors, QR code or silent authorization", "Name": "Name", + "Parse": "Parse", + "Parse Metadata successfully": "Parse Metadata successfully", "Port": "Port", "Port - Tooltip": "Unique string-style identifier", "Provider URL": "Provider URL", @@ -233,6 +244,10 @@ "Region ID - Tooltip": "Region ID - Tooltip", "Region endpoint for Internet": "Region endpoint for Internet", "Region endpoint for Intranet": "Region endpoint for Intranet", + "SAML 2.0 Endpoint (HTTP)": "SAML 2.0 Endpoint (HTTP)", + "SP ACS URL": "SP ACS URL", + "SP ACS URL - Tooltip": "SP ACS URL - Tooltip", + "SP Entity ID": "SP Entity ID", "Secret access key": "Secret access key", "SecretAccessKey - Tooltip": "SecretAccessKey - Tooltip", "Sign Name": "Sign Name", diff --git a/web/src/locales/ko/data.json b/web/src/locales/ko/data.json index 13507d56..809fe317 100644 --- a/web/src/locales/ko/data.json +++ b/web/src/locales/ko/data.json @@ -115,6 +115,7 @@ "Request URI": "Request URI", "Resources": "Resources", "Save": "Save", + "Save \u0026 Exit": "Save \u0026 Exit", "Scope": "Scope", "Signin URL": "Signin URL", "Signin URL - Tooltip": "sign in url", @@ -169,7 +170,9 @@ "login": { "Auto sign in": "Auto sign in", "Continue with": "Continue with", + "Email or phone": "Email or phone", "Forgot password?": "Forgot password?", + "Invalid Email or phone": "Invalid Email or phone", "No account?": "No account?", "Or sign in with another account": "Or sign in with another account", "Password": "Password", @@ -177,19 +180,16 @@ "Please input your code!": "Please input your code!", "Please input your password!": "Please input your password!", "Please input your password, at least 6 characters!": "Please input your password, at least 6 characters!", - "Please input your Email or phone!": "Please input your Email or phone!", "Please input your username, Email or phone!": "Please input your username, Email or phone!", "Sign In": "Sign In", "Sign in with code": "Sign in with code", "Sign in with password": "Sign in with password", "Sign in with {type}": "Sign in with {type}", "Signing in...": "Signing in...", + "The input is not valid Email or Phone!": "The input is not valid Email or Phone!", "To access": "To access", "sign up now": "sign up now", - "Email or phone": "Email or phone", - "username, Email or phone": "username, Email or phone", - "Invalid Email or phone": "Invalid Email or phone", - "The input is not valid Email or Phone!": "The input is not valid Email or Phone!" + "username, Email or phone": "username, Email or phone" }, "organization": { "Default avatar": "Default avatar", @@ -205,12 +205,14 @@ "Access key - Tooltip": "Access key - Tooltip", "Bucket": "Bucket", "Bucket - Tooltip": "Storage bucket name", + "Can not parse Metadata": "Can not parse Metadata", "Category": "Category", "Category - Tooltip": "Unique string-style identifier", "Client ID": "Client ID", "Client ID - Tooltip": "Unique string-style identifier", "Client secret": "Client secret", "Client secret - Tooltip": "Unique string-style identifier", + "Copy": "Copy", "Domain": "Domain", "Domain - Tooltip": "Storage endpoint custom domain", "Edit Provider": "Edit Provider", @@ -222,9 +224,18 @@ "Endpoint (Intranet)": "Endpoint (Intranet)", "Host": "Host", "Host - Tooltip": "Unique string-style identifier", + "IdP": "IdP", + "IdP public key": "IdP public key", + "Issuer URL": "Issuer URL", + "Issuer URL - Tooltip": "Issuer URL - Tooltip", + "Link copied to clipboard successfully": "Link copied to clipboard successfully", + "Metadata": "Metadata", + "Metadata - Tooltip": "Metadata - Tooltip", "Method": "Method", "Method - Tooltip": "Login behaviors, QR code or silent authorization", "Name": "Name", + "Parse": "Parse", + "Parse Metadata successfully": "Parse Metadata successfully", "Port": "Port", "Port - Tooltip": "Unique string-style identifier", "Provider URL": "Provider URL", @@ -233,6 +244,10 @@ "Region ID - Tooltip": "Region ID - Tooltip", "Region endpoint for Internet": "Region endpoint for Internet", "Region endpoint for Intranet": "Region endpoint for Intranet", + "SAML 2.0 Endpoint (HTTP)": "SAML 2.0 Endpoint (HTTP)", + "SP ACS URL": "SP ACS URL", + "SP ACS URL - Tooltip": "SP ACS URL - Tooltip", + "SP Entity ID": "SP Entity ID", "Secret access key": "Secret access key", "SecretAccessKey - Tooltip": "SecretAccessKey - Tooltip", "Sign Name": "Sign Name", diff --git a/web/src/locales/ru/data.json b/web/src/locales/ru/data.json index 13507d56..809fe317 100644 --- a/web/src/locales/ru/data.json +++ b/web/src/locales/ru/data.json @@ -115,6 +115,7 @@ "Request URI": "Request URI", "Resources": "Resources", "Save": "Save", + "Save \u0026 Exit": "Save \u0026 Exit", "Scope": "Scope", "Signin URL": "Signin URL", "Signin URL - Tooltip": "sign in url", @@ -169,7 +170,9 @@ "login": { "Auto sign in": "Auto sign in", "Continue with": "Continue with", + "Email or phone": "Email or phone", "Forgot password?": "Forgot password?", + "Invalid Email or phone": "Invalid Email or phone", "No account?": "No account?", "Or sign in with another account": "Or sign in with another account", "Password": "Password", @@ -177,19 +180,16 @@ "Please input your code!": "Please input your code!", "Please input your password!": "Please input your password!", "Please input your password, at least 6 characters!": "Please input your password, at least 6 characters!", - "Please input your Email or phone!": "Please input your Email or phone!", "Please input your username, Email or phone!": "Please input your username, Email or phone!", "Sign In": "Sign In", "Sign in with code": "Sign in with code", "Sign in with password": "Sign in with password", "Sign in with {type}": "Sign in with {type}", "Signing in...": "Signing in...", + "The input is not valid Email or Phone!": "The input is not valid Email or Phone!", "To access": "To access", "sign up now": "sign up now", - "Email or phone": "Email or phone", - "username, Email or phone": "username, Email or phone", - "Invalid Email or phone": "Invalid Email or phone", - "The input is not valid Email or Phone!": "The input is not valid Email or Phone!" + "username, Email or phone": "username, Email or phone" }, "organization": { "Default avatar": "Default avatar", @@ -205,12 +205,14 @@ "Access key - Tooltip": "Access key - Tooltip", "Bucket": "Bucket", "Bucket - Tooltip": "Storage bucket name", + "Can not parse Metadata": "Can not parse Metadata", "Category": "Category", "Category - Tooltip": "Unique string-style identifier", "Client ID": "Client ID", "Client ID - Tooltip": "Unique string-style identifier", "Client secret": "Client secret", "Client secret - Tooltip": "Unique string-style identifier", + "Copy": "Copy", "Domain": "Domain", "Domain - Tooltip": "Storage endpoint custom domain", "Edit Provider": "Edit Provider", @@ -222,9 +224,18 @@ "Endpoint (Intranet)": "Endpoint (Intranet)", "Host": "Host", "Host - Tooltip": "Unique string-style identifier", + "IdP": "IdP", + "IdP public key": "IdP public key", + "Issuer URL": "Issuer URL", + "Issuer URL - Tooltip": "Issuer URL - Tooltip", + "Link copied to clipboard successfully": "Link copied to clipboard successfully", + "Metadata": "Metadata", + "Metadata - Tooltip": "Metadata - Tooltip", "Method": "Method", "Method - Tooltip": "Login behaviors, QR code or silent authorization", "Name": "Name", + "Parse": "Parse", + "Parse Metadata successfully": "Parse Metadata successfully", "Port": "Port", "Port - Tooltip": "Unique string-style identifier", "Provider URL": "Provider URL", @@ -233,6 +244,10 @@ "Region ID - Tooltip": "Region ID - Tooltip", "Region endpoint for Internet": "Region endpoint for Internet", "Region endpoint for Intranet": "Region endpoint for Intranet", + "SAML 2.0 Endpoint (HTTP)": "SAML 2.0 Endpoint (HTTP)", + "SP ACS URL": "SP ACS URL", + "SP ACS URL - Tooltip": "SP ACS URL - Tooltip", + "SP Entity ID": "SP Entity ID", "Secret access key": "Secret access key", "SecretAccessKey - Tooltip": "SecretAccessKey - Tooltip", "Sign Name": "Sign Name", diff --git a/web/src/locales/zh/data.json b/web/src/locales/zh/data.json index a3dce27a..317abd29 100644 --- a/web/src/locales/zh/data.json +++ b/web/src/locales/zh/data.json @@ -115,6 +115,7 @@ "Request URI": "请求URI", "Resources": "资源", "Save": "保存", + "Save \u0026 Exit": "保存 & 退出", "Scope": "范围", "Signin URL": "登录URL", "Signin URL - Tooltip": "用户的登录地址", @@ -169,7 +170,9 @@ "login": { "Auto sign in": "下次自动登录", "Continue with": "使用以下账号继续", + "Email or phone": "Email或手机号", "Forgot password?": "忘记密码?", + "Invalid Email or phone": "无效的Email或手机号", "No account?": "没有账号?", "Or sign in with another account": "或者,登录其他账号", "Password": "密码", @@ -177,19 +180,16 @@ "Please input your code!": "请输入您的验证码!", "Please input your password!": "请输入您的密码!", "Please input your password, at least 6 characters!": "请输入您的密码,不少于6位", - "Please input your Email or phone!": "请输入您的Email或手机号!", "Please input your username, Email or phone!": "请输入您的用户名、Email或手机号!", "Sign In": "登录", "Sign in with code": "验证码登录", "Sign in with password": "密码登录", "Sign in with {type}": "{type}登录", "Signing in...": "正在登录...", + "The input is not valid Email or Phone!": "您输入的电子邮箱格式或手机号有误!", "To access": "访问", "sign up now": "立即注册", - "Email or phone": "Email或手机号", - "username, Email or phone": "用户名、Email或手机号", - "Invalid Email or phone": "无效的Email或手机号", - "The input is not valid Email or Phone!": "您输入的电子邮箱格式或手机号有误!" + "username, Email or phone": "用户名、Email或手机号" }, "organization": { "Default avatar": "默认头像", @@ -205,12 +205,14 @@ "Access key - Tooltip": "Access key", "Bucket": "Bucket", "Bucket - Tooltip": "Bucket名称", + "Can not parse Metadata": "Can not parse Metadata", "Category": "分类", "Category - Tooltip": "分类", "Client ID": "Client ID", "Client ID - Tooltip": "Client ID", "Client secret": "Client secret", "Client secret - Tooltip": "Client secret", + "Copy": "Copy", "Domain": "域名", "Domain - Tooltip": "存储节点自定义域名", "Edit Provider": "修改提供商", @@ -222,9 +224,18 @@ "Endpoint (Intranet)": "地域节点 (内网)", "Host": "主机", "Host - Tooltip": "主机", + "IdP": "IdP", + "IdP public key": "IdP public key", + "Issuer URL": "Issuer URL", + "Issuer URL - Tooltip": "Issuer URL - Tooltip", + "Link copied to clipboard successfully": "Link copied to clipboard successfully", + "Metadata": "Metadata", + "Metadata - Tooltip": "Metadata - Tooltip", "Method": "方式", "Method - Tooltip": "登录行为,二维码或者静默授权登录", "Name": "名称", + "Parse": "Parse", + "Parse Metadata successfully": "Parse Metadata successfully", "Port": "端口号", "Port - Tooltip": "端口号", "Provider URL": "提供商URL", @@ -233,6 +244,10 @@ "Region ID - Tooltip": "地域ID", "Region endpoint for Internet": "地域节点 (外网)", "Region endpoint for Intranet": "地域节点 (内网)", + "SAML 2.0 Endpoint (HTTP)": "SAML 2.0 Endpoint (HTTP)", + "SP ACS URL": "SP ACS URL", + "SP ACS URL - Tooltip": "SP ACS URL - Tooltip", + "SP Entity ID": "SP Entity ID", "Secret access key": "Secret access key", "SecretAccessKey - Tooltip": "SecretAccessKey - Tooltip", "Sign Name": "签名名称",