From 90d502ab2becbf4dbdd6eefb3385c8747f854c22 Mon Sep 17 00:00:00 2001 From: DacongDA Date: Sun, 21 Apr 2024 11:56:18 +0800 Subject: [PATCH] feat: add custom css style for signup page and enhance css edit (#2880) * feat: add custom css style for signup page and enhance css edit in signintable * feat: change cssStyle to customCss * feat: auto hide \n", + Label: ".back-button {\n top: 65px;\n left: 15px;\n position: absolute;\n}", Placeholder: "", Rule: "None", } @@ -216,7 +217,7 @@ func extendApplicationWithSigninItems(application *Application) (err error) { signinItem = &SigninItem{ Name: "Languages", Visible: true, - Label: "\n\n", + Label: ".login-languages {\n top: 55px;\n right: 5px;\n position: absolute;\n}", Placeholder: "", Rule: "None", } @@ -224,7 +225,7 @@ func extendApplicationWithSigninItems(application *Application) (err error) { signinItem = &SigninItem{ Name: "Logo", Visible: true, - Label: "\n\n", + Label: ".login-logo-box {}", Placeholder: "", Rule: "None", } @@ -232,7 +233,7 @@ func extendApplicationWithSigninItems(application *Application) (err error) { signinItem = &SigninItem{ Name: "Signin methods", Visible: true, - Label: "\n\n", + Label: ".signin-methods {}", Placeholder: "", Rule: "None", } @@ -240,7 +241,7 @@ func extendApplicationWithSigninItems(application *Application) (err error) { signinItem = &SigninItem{ Name: "Username", Visible: true, - Label: "\n\n", + Label: ".login-username {}\n.login-username-input{}", Placeholder: "", Rule: "None", } @@ -248,7 +249,7 @@ func extendApplicationWithSigninItems(application *Application) (err error) { signinItem = &SigninItem{ Name: "Password", Visible: true, - Label: "\n\n", + Label: ".login-password {}\n.login-password-input{}", Placeholder: "", Rule: "None", } @@ -256,7 +257,7 @@ func extendApplicationWithSigninItems(application *Application) (err error) { signinItem = &SigninItem{ Name: "Agreement", Visible: true, - Label: "\n\n", + Label: ".login-agreement {}", Placeholder: "", Rule: "None", } @@ -264,7 +265,7 @@ func extendApplicationWithSigninItems(application *Application) (err error) { signinItem = &SigninItem{ Name: "Forgot password?", Visible: true, - Label: "\n\n", + Label: ".login-forget-password {\n display: inline-flex;\n justify-content: space-between;\n width: 320px;\n margin-bottom: 25px;\n}", Placeholder: "", Rule: "None", } @@ -272,7 +273,7 @@ func extendApplicationWithSigninItems(application *Application) (err error) { signinItem = &SigninItem{ Name: "Login button", Visible: true, - Label: "\n\n", + Label: ".login-button-box {\n margin-bottom: 5px;\n}\n.login-button {\n width: 100%;\n}", Placeholder: "", Rule: "None", } @@ -280,7 +281,7 @@ func extendApplicationWithSigninItems(application *Application) (err error) { signinItem = &SigninItem{ Name: "Signup link", Visible: true, - Label: "\n\n", + Label: ".login-signup-link {\n margin-bottom: 24px;\n display: flex;\n justify-content: end;\n}", Placeholder: "", Rule: "None", } @@ -288,7 +289,7 @@ func extendApplicationWithSigninItems(application *Application) (err error) { signinItem = &SigninItem{ Name: "Providers", Visible: true, - Label: "\n\n", + Label: ".provider-img {\n width: 30px;\n margin: 5px;\n}\n.provider-big-img {\n margin-bottom: 10px;\n}", Placeholder: "", Rule: "None", } diff --git a/web/src/ApplicationListPage.js b/web/src/ApplicationListPage.js index f95cb262..33abe296 100644 --- a/web/src/ApplicationListPage.js +++ b/web/src/ApplicationListPage.js @@ -22,6 +22,7 @@ import * as ApplicationBackend from "./backend/ApplicationBackend"; import i18next from "i18next"; import BaseListPage from "./BaseListPage"; import PopconfirmModal from "./common/modal/PopconfirmModal"; +import {SignupTableDefaultCssMap} from "./table/SignupTable"; class ApplicationListPage extends BaseListPage { constructor(props) { @@ -61,6 +62,8 @@ class ApplicationListPage extends BaseListPage { {name: "Email", visible: true, required: true, rule: "Normal"}, {name: "Phone", visible: true, required: true, rule: "None"}, {name: "Agreement", visible: true, required: true, rule: "None"}, + {name: "Signup button", visible: true, required: true, rule: "None"}, + {name: "Providers", visible: true, required: true, rule: "None", customCss: SignupTableDefaultCssMap["Providers"]}, ], grantTypes: ["authorization_code", "password", "client_credentials", "token", "id_token", "refresh_token"], cert: "cert-built-in", diff --git a/web/src/auth/LoginPage.js b/web/src/auth/LoginPage.js index 04d81f2f..4378a2b2 100644 --- a/web/src/auth/LoginPage.js +++ b/web/src/auth/LoginPage.js @@ -532,7 +532,7 @@ class LoginPage extends React.Component { if (signinItem.name === "Logo") { return (
-
+
" + signinItem.label?.replaceAll("", "") + "")}} /> { Setting.renderHelmet(application) } @@ -544,7 +544,7 @@ class LoginPage extends React.Component { } else if (signinItem.name === "Back button") { return (
-
+
" + signinItem.label?.replaceAll("", "") + "")}} /> { this.renderBackButton() } @@ -562,24 +562,25 @@ class LoginPage extends React.Component { return (
-
+
" + signinItem.label?.replaceAll("", "") + "")}} />
); } else if (signinItem.name === "Signin methods") { return (
-
+
" + signinItem.label?.replaceAll("", "") + "")}} /> {this.renderMethodChoiceBox()}
) ; } else if (signinItem.name === "Username") { return ( -
-
+
+
" + signinItem.label?.replaceAll("", "") + "")}} /> } placeholder={this.getPlaceholder()} onChange={e => { @@ -651,14 +653,14 @@ class LoginPage extends React.Component { } else if (signinItem.name === "Password") { return (
-
+
" + signinItem.label?.replaceAll("", "") + "")}} /> {this.renderPasswordOrCodeInput()}
); } else if (signinItem.name === "Forgot password?") { return (
-
+
" + signinItem.label?.replaceAll("", "") + "")}} />
@@ -676,7 +678,7 @@ class LoginPage extends React.Component { } else if (signinItem.name === "Login button") { return ( -
+
" + signinItem.label?.replaceAll("", "") + "")}} /> +   {i18next.t("signup:Have account?")}  + { + const linkInStorage = sessionStorage.getItem("signinUrl"); + if (linkInStorage !== null && linkInStorage !== "") { + Setting.goToLinkSoft(this, linkInStorage); + } else { + Setting.redirectToLoginPage(application, this.props.history); + } + }}> + {i18next.t("signup:sign in now")} + + + ); + } else if (signupItem.name === "Providers") { + const showForm = Setting.isPasswordEnabled(application) || Setting.isCodeSigninEnabled(application) || Setting.isWebAuthnEnabled(application) || Setting.isLdapEnabled(application); + if (signupItem.rule === "None" || signupItem.rule === "") { + signupItem.rule = showForm ? "small" : "big"; + } + return ( + + application.providers.filter(providerItem => this.isProviderVisible(providerItem)).map(providerItem => { + return ProviderButton.renderProviderLogo(providerItem.provider, application, null, null, signupItem.rule, this.props.location); + }) + + ); } } @@ -676,27 +724,13 @@ class SignupPage extends React.Component { > { - application.signupItems?.map(signupItem => this.renderFormItem(application, signupItem)) - } - - -   {i18next.t("signup:Have account?")}  - { - const linkInStorage = sessionStorage.getItem("signinUrl"); - if (linkInStorage !== null && linkInStorage !== "") { - Setting.goToLinkSoft(this, linkInStorage); - } else { - Setting.redirectToLoginPage(application, this.props.history); - } - }}> - {i18next.t("signup:sign in now")} - - - { - application.providers.filter(providerItem => this.isProviderVisible(providerItem)).map(providerItem => { - return ProviderButton.renderProviderLogo(providerItem.provider, application, 30, 5, "small", this.props.location); + application.signupItems?.map((signupItem, idx) => { + return ( +
+
" + signupItem.customCss + "")}} /> + {this.renderFormItem(application, signupItem)} +
+ ); }) } @@ -709,6 +743,20 @@ class SignupPage extends React.Component { return null; } + let existSignupButton = false; + application.signupItems?.map(item => { + item.name === "Signup button" ? existSignupButton = true : null; + }); + if (!existSignupButton) { + application.signupItems?.push({ + customCss: "", + label: "", + name: "Signup button", + placeholder: "", + visible: true, + }); + } + if (application.signupHtml !== "") { return (
diff --git a/web/src/locales/ar/data.json b/web/src/locales/ar/data.json index f2b3a228..fe373c9d 100644 --- a/web/src/locales/ar/data.json +++ b/web/src/locales/ar/data.json @@ -80,6 +80,7 @@ "Only signup": "Only signup", "Org choice mode": "Org choice mode", "Org choice mode - Tooltip": "Org choice mode - Tooltip", + "Please enable \\\"Signin session\\\" first before enabling \\\"Auto signin\\\"": "Please enable \\\"Signin session\\\" first before enabling \\\"Auto signin\\\"", "Please input your application!": "Please input your application!", "Please input your organization!": "Please input your organization!", "Please select a HTML file": "Please select a HTML file", @@ -229,6 +230,7 @@ "Email": "Email", "Email - Tooltip": "Valid email address", "Email only": "Email only", + "Email or Phone": "Email or Phone", "Enable": "Enable", "Enable dark logo": "Enable dark logo", "Enable dark logo - Tooltip": "Enable dark logo", @@ -311,6 +313,7 @@ "Phone": "Phone", "Phone - Tooltip": "Phone number", "Phone only": "Phone only", + "Phone or Email": "Phone or Email", "Plan": "Plan", "Plan - Tooltip": "Plan - Tooltip", "Plans": "Plans", @@ -391,6 +394,7 @@ "User type": "User type", "User type - Tooltip": "Tags that the user belongs to, defaulting to \"normal-user\"", "Users": "Users", + "Users - Tooltip": "Users - Tooltip", "Users under all organizations": "Users under all organizations", "Verifications": "Verifications", "Webhooks": "Webhooks", @@ -473,7 +477,6 @@ "LDAP username, Email or phone": "LDAP username, Email or phone", "Loading": "Loading", "Logging out...": "Logging out...", - "Login button": "Login button", "MetaMask plugin not detected": "MetaMask plugin not detected", "Model loading failure": "Model loading failure", "No account?": "No account?", @@ -498,6 +501,7 @@ "Sign in with Face ID": "Sign in with Face ID", "Sign in with WebAuthn": "Sign in with WebAuthn", "Sign in with {type}": "Sign in with {type}", + "Signin button": "Signin button", "Signing in...": "Signing in...", "Successfully logged in with WebAuthn credentials": "Successfully logged in with WebAuthn credentials", "The camera is currently in use by another webpage": "The camera is currently in use by another webpage", @@ -941,6 +945,7 @@ "Please select your country code!": "Please select your country code!", "Please select your country/region!": "Please select your country/region!", "Regex": "Regex", + "Signup button": "Signup button", "Terms of Use": "Terms of Use", "Terms of Use - Tooltip": "Terms of use that users need to read and agree to during registration", "Text 1": "Text 1", @@ -1162,6 +1167,7 @@ "Values": "Values", "Verification code sent": "Verification code sent", "WebAuthn credentials": "WebAuthn credentials", + "You have changed the username, please save your change first before modifying the password": "You have changed the username, please save your change first before modifying the password", "input password": "input password" }, "verification": { diff --git a/web/src/locales/de/data.json b/web/src/locales/de/data.json index 388298bf..58d31229 100644 --- a/web/src/locales/de/data.json +++ b/web/src/locales/de/data.json @@ -80,6 +80,7 @@ "Only signup": "Only signup", "Org choice mode": "Org choice mode", "Org choice mode - Tooltip": "Org choice mode - Tooltip", + "Please enable \\\"Signin session\\\" first before enabling \\\"Auto signin\\\"": "Please enable \\\"Signin session\\\" first before enabling \\\"Auto signin\\\"", "Please input your application!": "Bitte geben Sie Ihre Anwendung ein!", "Please input your organization!": "Bitte geben Sie Ihre Organisation ein!", "Please select a HTML file": "Bitte wählen Sie eine HTML-Datei aus", @@ -229,6 +230,7 @@ "Email": "E-Mail", "Email - Tooltip": "Gültige E-Mail-Adresse", "Email only": "Email only", + "Email or Phone": "Email or Phone", "Enable": "Enable", "Enable dark logo": "Enable dark logo", "Enable dark logo - Tooltip": "Enable dark logo", @@ -311,6 +313,7 @@ "Phone": "Telefon", "Phone - Tooltip": "Telefonnummer", "Phone only": "Phone only", + "Phone or Email": "Phone or Email", "Plan": "Plan", "Plan - Tooltip": "Plan - Tooltip", "Plans": "Pläne", @@ -391,6 +394,7 @@ "User type": "Benutzertyp", "User type - Tooltip": "Tags, denen der Benutzer angehört, standardmäßig auf \"normaler Benutzer\" festgelegt", "Users": "Benutzer", + "Users - Tooltip": "Users - Tooltip", "Users under all organizations": "Benutzer unter allen Organisationen", "Verifications": "Verifications", "Webhooks": "Webhooks", @@ -473,7 +477,6 @@ "LDAP username, Email or phone": "LDAP username, Email or phone", "Loading": "Laden", "Logging out...": "Ausloggen...", - "Login button": "Login button", "MetaMask plugin not detected": "MetaMask plugin not detected", "Model loading failure": "Model loading failure", "No account?": "Kein Konto?", @@ -498,6 +501,7 @@ "Sign in with Face ID": "Sign in with Face ID", "Sign in with WebAuthn": "Melden Sie sich mit WebAuthn an", "Sign in with {type}": "Melden Sie sich mit {type} an", + "Signin button": "Signin button", "Signing in...": "Anmelden...", "Successfully logged in with WebAuthn credentials": "Erfolgreich mit WebAuthn-Anmeldeinformationen angemeldet", "The camera is currently in use by another webpage": "The camera is currently in use by another webpage", @@ -941,6 +945,7 @@ "Please select your country code!": "Bitte wählen Sie Ihren Ländercode aus!", "Please select your country/region!": "Bitte wählen Sie Ihr Land/Ihre Region aus!", "Regex": "Regex", + "Signup button": "Signup button", "Terms of Use": "Nutzungsbedingungen", "Terms of Use - Tooltip": "Nutzungsbedingungen, die Benutzer während der Registrierung lesen und akzeptieren müssen", "Text 1": "Text 1", @@ -1162,6 +1167,7 @@ "Values": "Werte", "Verification code sent": "Bestätigungscode gesendet", "WebAuthn credentials": "WebAuthn-Anmeldeinformationen", + "You have changed the username, please save your change first before modifying the password": "You have changed the username, please save your change first before modifying the password", "input password": "Eingabe des Passworts" }, "verification": { diff --git a/web/src/locales/en/data.json b/web/src/locales/en/data.json index 1bbd8f96..08991ed4 100644 --- a/web/src/locales/en/data.json +++ b/web/src/locales/en/data.json @@ -80,6 +80,7 @@ "Only signup": "Only signup", "Org choice mode": "Org choice mode", "Org choice mode - Tooltip": "Org choice mode - Tooltip", + "Please enable \\\"Signin session\\\" first before enabling \\\"Auto signin\\\"": "Please enable \\\"Signin session\\\" first before enabling \\\"Auto signin\\\"", "Please input your application!": "Please input your application!", "Please input your organization!": "Please input your organization!", "Please select a HTML file": "Please select a HTML file", @@ -229,6 +230,7 @@ "Email": "Email", "Email - Tooltip": "Valid email address", "Email only": "Email only", + "Email or Phone": "Email or Phone", "Enable": "Enable", "Enable dark logo": "Enable dark logo", "Enable dark logo - Tooltip": "Enable dark logo", @@ -311,6 +313,7 @@ "Phone": "Phone", "Phone - Tooltip": "Phone number", "Phone only": "Phone only", + "Phone or Email": "Phone or Email", "Plan": "Plan", "Plan - Tooltip": "Plan - Tooltip", "Plans": "Plans", @@ -391,6 +394,7 @@ "User type": "User type", "User type - Tooltip": "Tags that the user belongs to, defaulting to \"normal-user\"", "Users": "Users", + "Users - Tooltip": "Users - Tooltip", "Users under all organizations": "Users under all organizations", "Verifications": "Verifications", "Webhooks": "Webhooks", @@ -473,7 +477,6 @@ "LDAP username, Email or phone": "LDAP username, Email or phone", "Loading": "Loading", "Logging out...": "Logging out...", - "Login button": "Login button", "MetaMask plugin not detected": "MetaMask plugin not detected", "Model loading failure": "Model loading failure", "No account?": "No account?", @@ -498,6 +501,7 @@ "Sign in with Face ID": "Sign in with Face ID", "Sign in with WebAuthn": "Sign in with WebAuthn", "Sign in with {type}": "Sign in with {type}", + "Signin button": "Signin button", "Signing in...": "Signing in...", "Successfully logged in with WebAuthn credentials": "Successfully logged in with WebAuthn credentials", "The camera is currently in use by another webpage": "The camera is currently in use by another webpage", @@ -941,6 +945,7 @@ "Please select your country code!": "Please select your country code!", "Please select your country/region!": "Please select your country/region!", "Regex": "Regex", + "Signup button": "Signup button", "Terms of Use": "Terms of Use", "Terms of Use - Tooltip": "Terms of use that users need to read and agree to during registration", "Text 1": "Text 1", @@ -1162,6 +1167,7 @@ "Values": "Values", "Verification code sent": "Verification code sent", "WebAuthn credentials": "WebAuthn credentials", + "You have changed the username, please save your change first before modifying the password": "You have changed the username, please save your change first before modifying the password", "input password": "input password" }, "verification": { diff --git a/web/src/locales/es/data.json b/web/src/locales/es/data.json index 5a629250..835de072 100644 --- a/web/src/locales/es/data.json +++ b/web/src/locales/es/data.json @@ -80,6 +80,7 @@ "Only signup": "Only signup", "Org choice mode": "Org choice mode", "Org choice mode - Tooltip": "Org choice mode - Tooltip", + "Please enable \\\"Signin session\\\" first before enabling \\\"Auto signin\\\"": "Please enable \\\"Signin session\\\" first before enabling \\\"Auto signin\\\"", "Please input your application!": "¡Por favor, ingrese su solicitud!", "Please input your organization!": "¡Por favor, ingrese su organización!", "Please select a HTML file": "Por favor, seleccione un archivo HTML", @@ -229,6 +230,7 @@ "Email": "Correo electrónico", "Email - Tooltip": "Dirección de correo electrónico válida", "Email only": "Email only", + "Email or Phone": "Email or Phone", "Enable": "Enable", "Enable dark logo": "Enable dark logo", "Enable dark logo - Tooltip": "Enable dark logo", @@ -311,6 +313,7 @@ "Phone": "Teléfono", "Phone - Tooltip": "Número de teléfono", "Phone only": "Phone only", + "Phone or Email": "Phone or Email", "Plan": "Plan", "Plan - Tooltip": "Plan - Tooltip", "Plans": "Planes", @@ -391,6 +394,7 @@ "User type": "Tipo de usuario", "User type - Tooltip": "Etiquetas a las que el usuario pertenece, con una configuración predeterminada en \"usuario-normal\"", "Users": "Usuarios", + "Users - Tooltip": "Users - Tooltip", "Users under all organizations": "Usuarios bajo todas las organizaciones", "Verifications": "Verifications", "Webhooks": "Webhooks", @@ -473,7 +477,6 @@ "LDAP username, Email or phone": "LDAP username, Email or phone", "Loading": "Cargando", "Logging out...": "Cerrando sesión...", - "Login button": "Login button", "MetaMask plugin not detected": "MetaMask plugin not detected", "Model loading failure": "Model loading failure", "No account?": "¿No tienes cuenta?", @@ -498,6 +501,7 @@ "Sign in with Face ID": "Sign in with Face ID", "Sign in with WebAuthn": "Iniciar sesión con WebAuthn", "Sign in with {type}": "Inicia sesión con {tipo}", + "Signin button": "Signin button", "Signing in...": "Iniciando sesión...", "Successfully logged in with WebAuthn credentials": "Inició sesión correctamente con las credenciales de WebAuthn", "The camera is currently in use by another webpage": "The camera is currently in use by another webpage", @@ -941,6 +945,7 @@ "Please select your country code!": "¡Por favor seleccione su código de país!", "Please select your country/region!": "¡Por favor seleccione su país/región!", "Regex": "Regex", + "Signup button": "Signup button", "Terms of Use": "Términos de uso", "Terms of Use - Tooltip": "Términos de uso que los usuarios necesitan leer y aceptar durante el registro", "Text 1": "Text 1", @@ -1162,6 +1167,7 @@ "Values": "Valores", "Verification code sent": "Código de verificación enviado", "WebAuthn credentials": "Credenciales de WebAuthn", + "You have changed the username, please save your change first before modifying the password": "You have changed the username, please save your change first before modifying the password", "input password": "Ingresar contraseña" }, "verification": { diff --git a/web/src/locales/fa/data.json b/web/src/locales/fa/data.json index 8038759a..f0f822c6 100644 --- a/web/src/locales/fa/data.json +++ b/web/src/locales/fa/data.json @@ -80,6 +80,7 @@ "Only signup": "Only signup", "Org choice mode": "Org choice mode", "Org choice mode - Tooltip": "Org choice mode - Tooltip", + "Please enable \\\"Signin session\\\" first before enabling \\\"Auto signin\\\"": "Please enable \\\"Signin session\\\" first before enabling \\\"Auto signin\\\"", "Please input your application!": "Please input your application!", "Please input your organization!": "Please input your organization!", "Please select a HTML file": "Please select a HTML file", @@ -229,6 +230,7 @@ "Email": "Email", "Email - Tooltip": "Valid email address", "Email only": "Email only", + "Email or Phone": "Email or Phone", "Enable": "Enable", "Enable dark logo": "Enable dark logo", "Enable dark logo - Tooltip": "Enable dark logo", @@ -311,6 +313,7 @@ "Phone": "Phone", "Phone - Tooltip": "Phone number", "Phone only": "Phone only", + "Phone or Email": "Phone or Email", "Plan": "Plan", "Plan - Tooltip": "Plan - Tooltip", "Plans": "Plans", @@ -391,6 +394,7 @@ "User type": "User type", "User type - Tooltip": "Tags that the user belongs to, defaulting to \"normal-user\"", "Users": "Users", + "Users - Tooltip": "Users - Tooltip", "Users under all organizations": "Users under all organizations", "Verifications": "Verifications", "Webhooks": "Webhooks", @@ -473,7 +477,6 @@ "LDAP username, Email or phone": "LDAP username, Email or phone", "Loading": "Loading", "Logging out...": "Logging out...", - "Login button": "Login button", "MetaMask plugin not detected": "MetaMask plugin not detected", "Model loading failure": "Model loading failure", "No account?": "No account?", @@ -498,6 +501,7 @@ "Sign in with Face ID": "Sign in with Face ID", "Sign in with WebAuthn": "Sign in with WebAuthn", "Sign in with {type}": "Sign in with {type}", + "Signin button": "Signin button", "Signing in...": "Signing in...", "Successfully logged in with WebAuthn credentials": "Successfully logged in with WebAuthn credentials", "The camera is currently in use by another webpage": "The camera is currently in use by another webpage", @@ -941,6 +945,7 @@ "Please select your country code!": "Please select your country code!", "Please select your country/region!": "Please select your country/region!", "Regex": "Regex", + "Signup button": "Signup button", "Terms of Use": "Terms of Use", "Terms of Use - Tooltip": "Terms of use that users need to read and agree to during registration", "Text 1": "Text 1", @@ -1162,6 +1167,7 @@ "Values": "Values", "Verification code sent": "Verification code sent", "WebAuthn credentials": "WebAuthn credentials", + "You have changed the username, please save your change first before modifying the password": "You have changed the username, please save your change first before modifying the password", "input password": "input password" }, "verification": { diff --git a/web/src/locales/fi/data.json b/web/src/locales/fi/data.json index d66b3699..e2111d27 100644 --- a/web/src/locales/fi/data.json +++ b/web/src/locales/fi/data.json @@ -80,6 +80,7 @@ "Only signup": "Only signup", "Org choice mode": "Org choice mode", "Org choice mode - Tooltip": "Org choice mode - Tooltip", + "Please enable \\\"Signin session\\\" first before enabling \\\"Auto signin\\\"": "Please enable \\\"Signin session\\\" first before enabling \\\"Auto signin\\\"", "Please input your application!": "Please input your application!", "Please input your organization!": "Please input your organization!", "Please select a HTML file": "Please select a HTML file", @@ -229,6 +230,7 @@ "Email": "Email", "Email - Tooltip": "Valid email address", "Email only": "Email only", + "Email or Phone": "Email or Phone", "Enable": "Enable", "Enable dark logo": "Enable dark logo", "Enable dark logo - Tooltip": "Enable dark logo", @@ -311,6 +313,7 @@ "Phone": "Phone", "Phone - Tooltip": "Phone number", "Phone only": "Phone only", + "Phone or Email": "Phone or Email", "Plan": "Plan", "Plan - Tooltip": "Plan - Tooltip", "Plans": "Plans", @@ -391,6 +394,7 @@ "User type": "User type", "User type - Tooltip": "Tags that the user belongs to, defaulting to \"normal-user\"", "Users": "Users", + "Users - Tooltip": "Users - Tooltip", "Users under all organizations": "Users under all organizations", "Verifications": "Verifications", "Webhooks": "Webhooks", @@ -473,7 +477,6 @@ "LDAP username, Email or phone": "LDAP username, Email or phone", "Loading": "Loading", "Logging out...": "Logging out...", - "Login button": "Login button", "MetaMask plugin not detected": "MetaMask plugin not detected", "Model loading failure": "Model loading failure", "No account?": "No account?", @@ -498,6 +501,7 @@ "Sign in with Face ID": "Sign in with Face ID", "Sign in with WebAuthn": "Sign in with WebAuthn", "Sign in with {type}": "Sign in with {type}", + "Signin button": "Signin button", "Signing in...": "Signing in...", "Successfully logged in with WebAuthn credentials": "Successfully logged in with WebAuthn credentials", "The camera is currently in use by another webpage": "The camera is currently in use by another webpage", @@ -941,6 +945,7 @@ "Please select your country code!": "Please select your country code!", "Please select your country/region!": "Please select your country/region!", "Regex": "Regex", + "Signup button": "Signup button", "Terms of Use": "Terms of Use", "Terms of Use - Tooltip": "Terms of use that users need to read and agree to during registration", "Text 1": "Text 1", @@ -1162,6 +1167,7 @@ "Values": "Values", "Verification code sent": "Verification code sent", "WebAuthn credentials": "WebAuthn credentials", + "You have changed the username, please save your change first before modifying the password": "You have changed the username, please save your change first before modifying the password", "input password": "input password" }, "verification": { diff --git a/web/src/locales/fr/data.json b/web/src/locales/fr/data.json index 500b5fb5..69a2498c 100644 --- a/web/src/locales/fr/data.json +++ b/web/src/locales/fr/data.json @@ -80,6 +80,7 @@ "Only signup": "Inscription uniquement", "Org choice mode": "Choix du mode de l'organisation", "Org choice mode - Tooltip": "Choix du mode de l'organisation - Info-bulle", + "Please enable \\\"Signin session\\\" first before enabling \\\"Auto signin\\\"": "Please enable \\\"Signin session\\\" first before enabling \\\"Auto signin\\\"", "Please input your application!": "Veuillez saisir votre application !", "Please input your organization!": "Veuillez saisir votre organisation !", "Please select a HTML file": "Veuillez sélectionner un fichier HTML", @@ -229,6 +230,7 @@ "Email": "E-mail", "Email - Tooltip": "Adresse e-mail valide", "Email only": "Email only", + "Email or Phone": "Email or Phone", "Enable": "Activer", "Enable dark logo": "Enable dark logo", "Enable dark logo - Tooltip": "Enable dark logo", @@ -311,6 +313,7 @@ "Phone": "Téléphone", "Phone - Tooltip": "Numéro de téléphone", "Phone only": "Phone only", + "Phone or Email": "Phone or Email", "Plan": "Offre", "Plan - Tooltip": "Offre - Infobulle", "Plans": "Offres", @@ -391,6 +394,7 @@ "User type": "Type de compte", "User type - Tooltip": "Étiquettes associées au compte, avec une valeur par défaut \"normal-user\"", "Users": "Comptes", + "Users - Tooltip": "Users - Tooltip", "Users under all organizations": "Comptes sous toutes les organisations", "Verifications": "Verifications", "Webhooks": "Crochets web", @@ -473,7 +477,6 @@ "LDAP username, Email or phone": "LDAP username, Email or phone", "Loading": "Chargement", "Logging out...": "Déconnexion...", - "Login button": "Login button", "MetaMask plugin not detected": "Le plugin MetaMask n'a pas été détecté", "Model loading failure": "Model loading failure", "No account?": "Pas de compte ?", @@ -498,6 +501,7 @@ "Sign in with Face ID": "Sign in with Face ID", "Sign in with WebAuthn": "Connectez-vous avec WebAuthn", "Sign in with {type}": "Connectez-vous avec {type}", + "Signin button": "Signin button", "Signing in...": "Connexion en cours...", "Successfully logged in with WebAuthn credentials": "Connexion avec les identifiants WebAuthn réussie", "The camera is currently in use by another webpage": "The camera is currently in use by another webpage", @@ -941,6 +945,7 @@ "Please select your country code!": "Sélectionnez votre code de pays, s'il vous plaît !", "Please select your country/region!": "Veuillez sélectionner votre pays/région !", "Regex": "Regex", + "Signup button": "Signup button", "Terms of Use": "Conditions d'utilisation", "Terms of Use - Tooltip": "Conditions d'utilisation qui doivent être lus acceptés lors de l'enregistrement du compte", "Text 1": "Text 1", @@ -1162,6 +1167,7 @@ "Values": "Valeurs", "Verification code sent": "Code de vérification envoyé", "WebAuthn credentials": "Identifiants WebAuthn", + "You have changed the username, please save your change first before modifying the password": "You have changed the username, please save your change first before modifying the password", "input password": "saisir le mot de passe" }, "verification": { diff --git a/web/src/locales/he/data.json b/web/src/locales/he/data.json index d66b3699..e2111d27 100644 --- a/web/src/locales/he/data.json +++ b/web/src/locales/he/data.json @@ -80,6 +80,7 @@ "Only signup": "Only signup", "Org choice mode": "Org choice mode", "Org choice mode - Tooltip": "Org choice mode - Tooltip", + "Please enable \\\"Signin session\\\" first before enabling \\\"Auto signin\\\"": "Please enable \\\"Signin session\\\" first before enabling \\\"Auto signin\\\"", "Please input your application!": "Please input your application!", "Please input your organization!": "Please input your organization!", "Please select a HTML file": "Please select a HTML file", @@ -229,6 +230,7 @@ "Email": "Email", "Email - Tooltip": "Valid email address", "Email only": "Email only", + "Email or Phone": "Email or Phone", "Enable": "Enable", "Enable dark logo": "Enable dark logo", "Enable dark logo - Tooltip": "Enable dark logo", @@ -311,6 +313,7 @@ "Phone": "Phone", "Phone - Tooltip": "Phone number", "Phone only": "Phone only", + "Phone or Email": "Phone or Email", "Plan": "Plan", "Plan - Tooltip": "Plan - Tooltip", "Plans": "Plans", @@ -391,6 +394,7 @@ "User type": "User type", "User type - Tooltip": "Tags that the user belongs to, defaulting to \"normal-user\"", "Users": "Users", + "Users - Tooltip": "Users - Tooltip", "Users under all organizations": "Users under all organizations", "Verifications": "Verifications", "Webhooks": "Webhooks", @@ -473,7 +477,6 @@ "LDAP username, Email or phone": "LDAP username, Email or phone", "Loading": "Loading", "Logging out...": "Logging out...", - "Login button": "Login button", "MetaMask plugin not detected": "MetaMask plugin not detected", "Model loading failure": "Model loading failure", "No account?": "No account?", @@ -498,6 +501,7 @@ "Sign in with Face ID": "Sign in with Face ID", "Sign in with WebAuthn": "Sign in with WebAuthn", "Sign in with {type}": "Sign in with {type}", + "Signin button": "Signin button", "Signing in...": "Signing in...", "Successfully logged in with WebAuthn credentials": "Successfully logged in with WebAuthn credentials", "The camera is currently in use by another webpage": "The camera is currently in use by another webpage", @@ -941,6 +945,7 @@ "Please select your country code!": "Please select your country code!", "Please select your country/region!": "Please select your country/region!", "Regex": "Regex", + "Signup button": "Signup button", "Terms of Use": "Terms of Use", "Terms of Use - Tooltip": "Terms of use that users need to read and agree to during registration", "Text 1": "Text 1", @@ -1162,6 +1167,7 @@ "Values": "Values", "Verification code sent": "Verification code sent", "WebAuthn credentials": "WebAuthn credentials", + "You have changed the username, please save your change first before modifying the password": "You have changed the username, please save your change first before modifying the password", "input password": "input password" }, "verification": { diff --git a/web/src/locales/id/data.json b/web/src/locales/id/data.json index ea4dc9e9..a5def5ff 100644 --- a/web/src/locales/id/data.json +++ b/web/src/locales/id/data.json @@ -80,6 +80,7 @@ "Only signup": "Only signup", "Org choice mode": "Org choice mode", "Org choice mode - Tooltip": "Org choice mode - Tooltip", + "Please enable \\\"Signin session\\\" first before enabling \\\"Auto signin\\\"": "Please enable \\\"Signin session\\\" first before enabling \\\"Auto signin\\\"", "Please input your application!": "Silakan masukkan aplikasi Anda!", "Please input your organization!": "Silakan masukkan organisasi Anda!", "Please select a HTML file": "Silahkan pilih file HTML", @@ -229,6 +230,7 @@ "Email": "Email", "Email - Tooltip": "Alamat email yang valid", "Email only": "Email only", + "Email or Phone": "Email or Phone", "Enable": "Enable", "Enable dark logo": "Enable dark logo", "Enable dark logo - Tooltip": "Enable dark logo", @@ -311,6 +313,7 @@ "Phone": "Telepon", "Phone - Tooltip": "Nomor telepon", "Phone only": "Phone only", + "Phone or Email": "Phone or Email", "Plan": "Plan", "Plan - Tooltip": "Plan - Tooltip", "Plans": "Rencana", @@ -391,6 +394,7 @@ "User type": "Jenis pengguna", "User type - Tooltip": "Tag yang dimiliki oleh pengguna, defaultnya adalah \"normal-user\"", "Users": "Pengguna-pengguna", + "Users - Tooltip": "Users - Tooltip", "Users under all organizations": "Pengguna di bawah semua organisasi", "Verifications": "Verifications", "Webhooks": "Webhooks", @@ -473,7 +477,6 @@ "LDAP username, Email or phone": "LDAP username, Email or phone", "Loading": "Memuat", "Logging out...": "Keluar...", - "Login button": "Login button", "MetaMask plugin not detected": "MetaMask plugin not detected", "Model loading failure": "Model loading failure", "No account?": "Tidak memiliki akun?", @@ -498,6 +501,7 @@ "Sign in with Face ID": "Sign in with Face ID", "Sign in with WebAuthn": "Masuk dengan WebAuthn", "Sign in with {type}": "Masuk dengan {type}", + "Signin button": "Signin button", "Signing in...": "Masuk...", "Successfully logged in with WebAuthn credentials": "Berhasil masuk dengan kredensial WebAuthn", "The camera is currently in use by another webpage": "The camera is currently in use by another webpage", @@ -941,6 +945,7 @@ "Please select your country code!": "Tolong pilih kode negara Anda!", "Please select your country/region!": "Silakan pilih negara/region Anda!", "Regex": "Regex", + "Signup button": "Signup button", "Terms of Use": "Syarat Penggunaan", "Terms of Use - Tooltip": "Syarat penggunaan yang harus dibaca dan disetujui oleh pengguna selama proses registrasi", "Text 1": "Text 1", @@ -1162,6 +1167,7 @@ "Values": "Nilai-nilai", "Verification code sent": "Kode verifikasi telah dikirim", "WebAuthn credentials": "Kredensial WebAuthn", + "You have changed the username, please save your change first before modifying the password": "You have changed the username, please save your change first before modifying the password", "input password": "masukkan kata sandi" }, "verification": { diff --git a/web/src/locales/it/data.json b/web/src/locales/it/data.json index d4ab0311..97dbb542 100644 --- a/web/src/locales/it/data.json +++ b/web/src/locales/it/data.json @@ -80,6 +80,7 @@ "Only signup": "Only signup", "Org choice mode": "Org choice mode", "Org choice mode - Tooltip": "Org choice mode - Tooltip", + "Please enable \\\"Signin session\\\" first before enabling \\\"Auto signin\\\"": "Please enable \\\"Signin session\\\" first before enabling \\\"Auto signin\\\"", "Please input your application!": "Please input your application!", "Please input your organization!": "Please input your organization!", "Please select a HTML file": "Please select a HTML file", @@ -229,6 +230,7 @@ "Email": "Email", "Email - Tooltip": "Valid email address", "Email only": "Email only", + "Email or Phone": "Email or Phone", "Enable": "Enable", "Enable dark logo": "Enable dark logo", "Enable dark logo - Tooltip": "Enable dark logo", @@ -311,6 +313,7 @@ "Phone": "Phone", "Phone - Tooltip": "Phone number", "Phone only": "Phone only", + "Phone or Email": "Phone or Email", "Plan": "Plan", "Plan - Tooltip": "Plan - Tooltip", "Plans": "Plans", @@ -391,6 +394,7 @@ "User type": "User type", "User type - Tooltip": "Tags that the user belongs to, defaulting to \"normal-user\"", "Users": "Users", + "Users - Tooltip": "Users - Tooltip", "Users under all organizations": "Users under all organizations", "Verifications": "Verifications", "Webhooks": "Webhooks", @@ -473,7 +477,6 @@ "LDAP username, Email or phone": "LDAP username, Email or phone", "Loading": "Loading", "Logging out...": "Logging out...", - "Login button": "Login button", "MetaMask plugin not detected": "MetaMask plugin not detected", "Model loading failure": "Model loading failure", "No account?": "No account?", @@ -498,6 +501,7 @@ "Sign in with Face ID": "Sign in with Face ID", "Sign in with WebAuthn": "Sign in with WebAuthn", "Sign in with {type}": "Sign in with {type}", + "Signin button": "Signin button", "Signing in...": "Signing in...", "Successfully logged in with WebAuthn credentials": "Successfully logged in with WebAuthn credentials", "The camera is currently in use by another webpage": "The camera is currently in use by another webpage", @@ -941,6 +945,7 @@ "Please select your country code!": "Please select your country code!", "Please select your country/region!": "Please select your country/region!", "Regex": "Regex", + "Signup button": "Signup button", "Terms of Use": "Terms of Use", "Terms of Use - Tooltip": "Terms of use that users need to read and agree to during registration", "Text 1": "Text 1", @@ -1162,6 +1167,7 @@ "Values": "Values", "Verification code sent": "Verification code sent", "WebAuthn credentials": "WebAuthn credentials", + "You have changed the username, please save your change first before modifying the password": "You have changed the username, please save your change first before modifying the password", "input password": "input password" }, "verification": { diff --git a/web/src/locales/ja/data.json b/web/src/locales/ja/data.json index 6ed96df7..96666b60 100644 --- a/web/src/locales/ja/data.json +++ b/web/src/locales/ja/data.json @@ -80,6 +80,7 @@ "Only signup": "Only signup", "Org choice mode": "Org choice mode", "Org choice mode - Tooltip": "Org choice mode - Tooltip", + "Please enable \\\"Signin session\\\" first before enabling \\\"Auto signin\\\"": "Please enable \\\"Signin session\\\" first before enabling \\\"Auto signin\\\"", "Please input your application!": "あなたの申請を入力してください!", "Please input your organization!": "あなたの組織を入力してください!", "Please select a HTML file": "HTMLファイルを選択してください", @@ -229,6 +230,7 @@ "Email": "電子メール", "Email - Tooltip": "有効な電子メールアドレス", "Email only": "Email only", + "Email or Phone": "Email or Phone", "Enable": "Enable", "Enable dark logo": "Enable dark logo", "Enable dark logo - Tooltip": "Enable dark logo", @@ -311,6 +313,7 @@ "Phone": "電話", "Phone - Tooltip": "電話番号", "Phone only": "Phone only", + "Phone or Email": "Phone or Email", "Plan": "Plan", "Plan - Tooltip": "Plan - Tooltip", "Plans": "プラン", @@ -391,6 +394,7 @@ "User type": "ユーザータイプ", "User type - Tooltip": "ユーザーが属するタグは、デフォルトでは「通常ユーザー」となります", "Users": "ユーザー", + "Users - Tooltip": "Users - Tooltip", "Users under all organizations": "すべての組織のユーザー", "Verifications": "Verifications", "Webhooks": "Webhooks", @@ -473,7 +477,6 @@ "LDAP username, Email or phone": "LDAP username, Email or phone", "Loading": "ローディング", "Logging out...": "ログアウト中...", - "Login button": "Login button", "MetaMask plugin not detected": "MetaMask plugin not detected", "Model loading failure": "Model loading failure", "No account?": "アカウントがありませんか?", @@ -498,6 +501,7 @@ "Sign in with Face ID": "Sign in with Face ID", "Sign in with WebAuthn": "WebAuthnでサインインしてください", "Sign in with {type}": "{type}でサインインしてください", + "Signin button": "Signin button", "Signing in...": "サインイン中...", "Successfully logged in with WebAuthn credentials": "WebAuthnの認証情報で正常にログインしました", "The camera is currently in use by another webpage": "The camera is currently in use by another webpage", @@ -941,6 +945,7 @@ "Please select your country code!": "あなたの国コードを選択してください!", "Please select your country/region!": "あなたの国/地域を選択してください!", "Regex": "Regex", + "Signup button": "Signup button", "Terms of Use": "利用規約", "Terms of Use - Tooltip": "ユーザーが登録する際に読んで同意する必要がある利用規約", "Text 1": "Text 1", @@ -1162,6 +1167,7 @@ "Values": "価値観", "Verification code sent": "確認コードを送信しました", "WebAuthn credentials": "WebAuthnの資格情報", + "You have changed the username, please save your change first before modifying the password": "You have changed the username, please save your change first before modifying the password", "input password": "パスワードを入力してください" }, "verification": { diff --git a/web/src/locales/kk/data.json b/web/src/locales/kk/data.json index d66b3699..e2111d27 100644 --- a/web/src/locales/kk/data.json +++ b/web/src/locales/kk/data.json @@ -80,6 +80,7 @@ "Only signup": "Only signup", "Org choice mode": "Org choice mode", "Org choice mode - Tooltip": "Org choice mode - Tooltip", + "Please enable \\\"Signin session\\\" first before enabling \\\"Auto signin\\\"": "Please enable \\\"Signin session\\\" first before enabling \\\"Auto signin\\\"", "Please input your application!": "Please input your application!", "Please input your organization!": "Please input your organization!", "Please select a HTML file": "Please select a HTML file", @@ -229,6 +230,7 @@ "Email": "Email", "Email - Tooltip": "Valid email address", "Email only": "Email only", + "Email or Phone": "Email or Phone", "Enable": "Enable", "Enable dark logo": "Enable dark logo", "Enable dark logo - Tooltip": "Enable dark logo", @@ -311,6 +313,7 @@ "Phone": "Phone", "Phone - Tooltip": "Phone number", "Phone only": "Phone only", + "Phone or Email": "Phone or Email", "Plan": "Plan", "Plan - Tooltip": "Plan - Tooltip", "Plans": "Plans", @@ -391,6 +394,7 @@ "User type": "User type", "User type - Tooltip": "Tags that the user belongs to, defaulting to \"normal-user\"", "Users": "Users", + "Users - Tooltip": "Users - Tooltip", "Users under all organizations": "Users under all organizations", "Verifications": "Verifications", "Webhooks": "Webhooks", @@ -473,7 +477,6 @@ "LDAP username, Email or phone": "LDAP username, Email or phone", "Loading": "Loading", "Logging out...": "Logging out...", - "Login button": "Login button", "MetaMask plugin not detected": "MetaMask plugin not detected", "Model loading failure": "Model loading failure", "No account?": "No account?", @@ -498,6 +501,7 @@ "Sign in with Face ID": "Sign in with Face ID", "Sign in with WebAuthn": "Sign in with WebAuthn", "Sign in with {type}": "Sign in with {type}", + "Signin button": "Signin button", "Signing in...": "Signing in...", "Successfully logged in with WebAuthn credentials": "Successfully logged in with WebAuthn credentials", "The camera is currently in use by another webpage": "The camera is currently in use by another webpage", @@ -941,6 +945,7 @@ "Please select your country code!": "Please select your country code!", "Please select your country/region!": "Please select your country/region!", "Regex": "Regex", + "Signup button": "Signup button", "Terms of Use": "Terms of Use", "Terms of Use - Tooltip": "Terms of use that users need to read and agree to during registration", "Text 1": "Text 1", @@ -1162,6 +1167,7 @@ "Values": "Values", "Verification code sent": "Verification code sent", "WebAuthn credentials": "WebAuthn credentials", + "You have changed the username, please save your change first before modifying the password": "You have changed the username, please save your change first before modifying the password", "input password": "input password" }, "verification": { diff --git a/web/src/locales/ko/data.json b/web/src/locales/ko/data.json index 5267e3e9..f7aa04fa 100644 --- a/web/src/locales/ko/data.json +++ b/web/src/locales/ko/data.json @@ -80,6 +80,7 @@ "Only signup": "Only signup", "Org choice mode": "Org choice mode", "Org choice mode - Tooltip": "Org choice mode - Tooltip", + "Please enable \\\"Signin session\\\" first before enabling \\\"Auto signin\\\"": "Please enable \\\"Signin session\\\" first before enabling \\\"Auto signin\\\"", "Please input your application!": "당신의 신청서를 입력해주세요!", "Please input your organization!": "귀하의 조직을 입력해 주세요!", "Please select a HTML file": "HTML 파일을 선택해 주세요", @@ -229,6 +230,7 @@ "Email": "이메일", "Email - Tooltip": "유효한 이메일 주소", "Email only": "Email only", + "Email or Phone": "Email or Phone", "Enable": "Enable", "Enable dark logo": "Enable dark logo", "Enable dark logo - Tooltip": "Enable dark logo", @@ -311,6 +313,7 @@ "Phone": "전화기", "Phone - Tooltip": "전화 번호", "Phone only": "Phone only", + "Phone or Email": "Phone or Email", "Plan": "Plan", "Plan - Tooltip": "Plan - Tooltip", "Plans": "플랜", @@ -391,6 +394,7 @@ "User type": "사용자 유형", "User type - Tooltip": "사용자가 속한 태그는 기본적으로 \"보통 사용자\"로 설정됩니다", "Users": "사용자", + "Users - Tooltip": "Users - Tooltip", "Users under all organizations": "모든 조직의 사용자", "Verifications": "Verifications", "Webhooks": "Webhooks", @@ -473,7 +477,6 @@ "LDAP username, Email or phone": "LDAP username, Email or phone", "Loading": "로딩 중입니다", "Logging out...": "로그아웃 중...", - "Login button": "Login button", "MetaMask plugin not detected": "MetaMask plugin not detected", "Model loading failure": "Model loading failure", "No account?": "계정이 없나요?", @@ -498,6 +501,7 @@ "Sign in with Face ID": "Sign in with Face ID", "Sign in with WebAuthn": "WebAuthn으로 로그인하세요", "Sign in with {type}": "{type}로 로그인하세요", + "Signin button": "Signin button", "Signing in...": "로그인 중...", "Successfully logged in with WebAuthn credentials": "WebAuthn 자격 증명으로 로그인 성공적으로 수행했습니다", "The camera is currently in use by another webpage": "The camera is currently in use by another webpage", @@ -941,6 +945,7 @@ "Please select your country code!": "국가 코드를 선택해 주세요!", "Please select your country/region!": "국가 / 지역을 선택해주세요!", "Regex": "Regex", + "Signup button": "Signup button", "Terms of Use": "사용 약관", "Terms of Use - Tooltip": "등록 중 사용자가 읽어야 하고 동의해야하는 이용 약관", "Text 1": "Text 1", @@ -1162,6 +1167,7 @@ "Values": "가치들", "Verification code sent": "인증 코드가 전송되었습니다", "WebAuthn credentials": "웹 인증 자격증명", + "You have changed the username, please save your change first before modifying the password": "You have changed the username, please save your change first before modifying the password", "input password": "비밀번호를 입력해주세요" }, "verification": { diff --git a/web/src/locales/ms/data.json b/web/src/locales/ms/data.json index d66b3699..e2111d27 100644 --- a/web/src/locales/ms/data.json +++ b/web/src/locales/ms/data.json @@ -80,6 +80,7 @@ "Only signup": "Only signup", "Org choice mode": "Org choice mode", "Org choice mode - Tooltip": "Org choice mode - Tooltip", + "Please enable \\\"Signin session\\\" first before enabling \\\"Auto signin\\\"": "Please enable \\\"Signin session\\\" first before enabling \\\"Auto signin\\\"", "Please input your application!": "Please input your application!", "Please input your organization!": "Please input your organization!", "Please select a HTML file": "Please select a HTML file", @@ -229,6 +230,7 @@ "Email": "Email", "Email - Tooltip": "Valid email address", "Email only": "Email only", + "Email or Phone": "Email or Phone", "Enable": "Enable", "Enable dark logo": "Enable dark logo", "Enable dark logo - Tooltip": "Enable dark logo", @@ -311,6 +313,7 @@ "Phone": "Phone", "Phone - Tooltip": "Phone number", "Phone only": "Phone only", + "Phone or Email": "Phone or Email", "Plan": "Plan", "Plan - Tooltip": "Plan - Tooltip", "Plans": "Plans", @@ -391,6 +394,7 @@ "User type": "User type", "User type - Tooltip": "Tags that the user belongs to, defaulting to \"normal-user\"", "Users": "Users", + "Users - Tooltip": "Users - Tooltip", "Users under all organizations": "Users under all organizations", "Verifications": "Verifications", "Webhooks": "Webhooks", @@ -473,7 +477,6 @@ "LDAP username, Email or phone": "LDAP username, Email or phone", "Loading": "Loading", "Logging out...": "Logging out...", - "Login button": "Login button", "MetaMask plugin not detected": "MetaMask plugin not detected", "Model loading failure": "Model loading failure", "No account?": "No account?", @@ -498,6 +501,7 @@ "Sign in with Face ID": "Sign in with Face ID", "Sign in with WebAuthn": "Sign in with WebAuthn", "Sign in with {type}": "Sign in with {type}", + "Signin button": "Signin button", "Signing in...": "Signing in...", "Successfully logged in with WebAuthn credentials": "Successfully logged in with WebAuthn credentials", "The camera is currently in use by another webpage": "The camera is currently in use by another webpage", @@ -941,6 +945,7 @@ "Please select your country code!": "Please select your country code!", "Please select your country/region!": "Please select your country/region!", "Regex": "Regex", + "Signup button": "Signup button", "Terms of Use": "Terms of Use", "Terms of Use - Tooltip": "Terms of use that users need to read and agree to during registration", "Text 1": "Text 1", @@ -1162,6 +1167,7 @@ "Values": "Values", "Verification code sent": "Verification code sent", "WebAuthn credentials": "WebAuthn credentials", + "You have changed the username, please save your change first before modifying the password": "You have changed the username, please save your change first before modifying the password", "input password": "input password" }, "verification": { diff --git a/web/src/locales/nl/data.json b/web/src/locales/nl/data.json index d66b3699..e2111d27 100644 --- a/web/src/locales/nl/data.json +++ b/web/src/locales/nl/data.json @@ -80,6 +80,7 @@ "Only signup": "Only signup", "Org choice mode": "Org choice mode", "Org choice mode - Tooltip": "Org choice mode - Tooltip", + "Please enable \\\"Signin session\\\" first before enabling \\\"Auto signin\\\"": "Please enable \\\"Signin session\\\" first before enabling \\\"Auto signin\\\"", "Please input your application!": "Please input your application!", "Please input your organization!": "Please input your organization!", "Please select a HTML file": "Please select a HTML file", @@ -229,6 +230,7 @@ "Email": "Email", "Email - Tooltip": "Valid email address", "Email only": "Email only", + "Email or Phone": "Email or Phone", "Enable": "Enable", "Enable dark logo": "Enable dark logo", "Enable dark logo - Tooltip": "Enable dark logo", @@ -311,6 +313,7 @@ "Phone": "Phone", "Phone - Tooltip": "Phone number", "Phone only": "Phone only", + "Phone or Email": "Phone or Email", "Plan": "Plan", "Plan - Tooltip": "Plan - Tooltip", "Plans": "Plans", @@ -391,6 +394,7 @@ "User type": "User type", "User type - Tooltip": "Tags that the user belongs to, defaulting to \"normal-user\"", "Users": "Users", + "Users - Tooltip": "Users - Tooltip", "Users under all organizations": "Users under all organizations", "Verifications": "Verifications", "Webhooks": "Webhooks", @@ -473,7 +477,6 @@ "LDAP username, Email or phone": "LDAP username, Email or phone", "Loading": "Loading", "Logging out...": "Logging out...", - "Login button": "Login button", "MetaMask plugin not detected": "MetaMask plugin not detected", "Model loading failure": "Model loading failure", "No account?": "No account?", @@ -498,6 +501,7 @@ "Sign in with Face ID": "Sign in with Face ID", "Sign in with WebAuthn": "Sign in with WebAuthn", "Sign in with {type}": "Sign in with {type}", + "Signin button": "Signin button", "Signing in...": "Signing in...", "Successfully logged in with WebAuthn credentials": "Successfully logged in with WebAuthn credentials", "The camera is currently in use by another webpage": "The camera is currently in use by another webpage", @@ -941,6 +945,7 @@ "Please select your country code!": "Please select your country code!", "Please select your country/region!": "Please select your country/region!", "Regex": "Regex", + "Signup button": "Signup button", "Terms of Use": "Terms of Use", "Terms of Use - Tooltip": "Terms of use that users need to read and agree to during registration", "Text 1": "Text 1", @@ -1162,6 +1167,7 @@ "Values": "Values", "Verification code sent": "Verification code sent", "WebAuthn credentials": "WebAuthn credentials", + "You have changed the username, please save your change first before modifying the password": "You have changed the username, please save your change first before modifying the password", "input password": "input password" }, "verification": { diff --git a/web/src/locales/pl/data.json b/web/src/locales/pl/data.json index d66b3699..e2111d27 100644 --- a/web/src/locales/pl/data.json +++ b/web/src/locales/pl/data.json @@ -80,6 +80,7 @@ "Only signup": "Only signup", "Org choice mode": "Org choice mode", "Org choice mode - Tooltip": "Org choice mode - Tooltip", + "Please enable \\\"Signin session\\\" first before enabling \\\"Auto signin\\\"": "Please enable \\\"Signin session\\\" first before enabling \\\"Auto signin\\\"", "Please input your application!": "Please input your application!", "Please input your organization!": "Please input your organization!", "Please select a HTML file": "Please select a HTML file", @@ -229,6 +230,7 @@ "Email": "Email", "Email - Tooltip": "Valid email address", "Email only": "Email only", + "Email or Phone": "Email or Phone", "Enable": "Enable", "Enable dark logo": "Enable dark logo", "Enable dark logo - Tooltip": "Enable dark logo", @@ -311,6 +313,7 @@ "Phone": "Phone", "Phone - Tooltip": "Phone number", "Phone only": "Phone only", + "Phone or Email": "Phone or Email", "Plan": "Plan", "Plan - Tooltip": "Plan - Tooltip", "Plans": "Plans", @@ -391,6 +394,7 @@ "User type": "User type", "User type - Tooltip": "Tags that the user belongs to, defaulting to \"normal-user\"", "Users": "Users", + "Users - Tooltip": "Users - Tooltip", "Users under all organizations": "Users under all organizations", "Verifications": "Verifications", "Webhooks": "Webhooks", @@ -473,7 +477,6 @@ "LDAP username, Email or phone": "LDAP username, Email or phone", "Loading": "Loading", "Logging out...": "Logging out...", - "Login button": "Login button", "MetaMask plugin not detected": "MetaMask plugin not detected", "Model loading failure": "Model loading failure", "No account?": "No account?", @@ -498,6 +501,7 @@ "Sign in with Face ID": "Sign in with Face ID", "Sign in with WebAuthn": "Sign in with WebAuthn", "Sign in with {type}": "Sign in with {type}", + "Signin button": "Signin button", "Signing in...": "Signing in...", "Successfully logged in with WebAuthn credentials": "Successfully logged in with WebAuthn credentials", "The camera is currently in use by another webpage": "The camera is currently in use by another webpage", @@ -941,6 +945,7 @@ "Please select your country code!": "Please select your country code!", "Please select your country/region!": "Please select your country/region!", "Regex": "Regex", + "Signup button": "Signup button", "Terms of Use": "Terms of Use", "Terms of Use - Tooltip": "Terms of use that users need to read and agree to during registration", "Text 1": "Text 1", @@ -1162,6 +1167,7 @@ "Values": "Values", "Verification code sent": "Verification code sent", "WebAuthn credentials": "WebAuthn credentials", + "You have changed the username, please save your change first before modifying the password": "You have changed the username, please save your change first before modifying the password", "input password": "input password" }, "verification": { diff --git a/web/src/locales/pt/data.json b/web/src/locales/pt/data.json index 819b41ec..448c414a 100644 --- a/web/src/locales/pt/data.json +++ b/web/src/locales/pt/data.json @@ -80,6 +80,7 @@ "Only signup": "Apenas registro", "Org choice mode": "Modo de escolha Org", "Org choice mode - Tooltip": "Modo de escolha Org - Dica", + "Please enable \\\"Signin session\\\" first before enabling \\\"Auto signin\\\"": "Please enable \\\"Signin session\\\" first before enabling \\\"Auto signin\\\"", "Please input your application!": "Por favor, insira o nome da sua aplicação!", "Please input your organization!": "Por favor, insira o nome da sua organização!", "Please select a HTML file": "Por favor, selecione um arquivo HTML", @@ -229,6 +230,7 @@ "Email": "E-mail", "Email - Tooltip": "Endereço de e-mail válido", "Email only": "Email only", + "Email or Phone": "Email or Phone", "Enable": "Habilitar", "Enable dark logo": "Enable dark logo", "Enable dark logo - Tooltip": "Enable dark logo", @@ -311,6 +313,7 @@ "Phone": "Telefone", "Phone - Tooltip": "Número de telefone", "Phone only": "Phone only", + "Phone or Email": "Phone or Email", "Plan": "Plan", "Plan - Tooltip": "Plan - Tooltip", "Plans": "Kế hoạch", @@ -391,6 +394,7 @@ "User type": "Tipo de Usuário", "User type - Tooltip": "Tags às quais o usuário pertence, com valor padrão de \"usuário-normal\"", "Users": "Usuários", + "Users - Tooltip": "Users - Tooltip", "Users under all organizations": "Usuários em todas as organizações", "Verifications": "Verifications", "Webhooks": "Webhooks", @@ -473,7 +477,6 @@ "LDAP username, Email or phone": "LDAP username, Email or phone", "Loading": "Carregando", "Logging out...": "Saindo...", - "Login button": "Login button", "MetaMask plugin not detected": "MetaMask plugin not detected", "Model loading failure": "Model loading failure", "No account?": "Não possui uma conta?", @@ -498,6 +501,7 @@ "Sign in with Face ID": "Sign in with Face ID", "Sign in with WebAuthn": "Entrar com WebAuthn", "Sign in with {type}": "Entrar com {type}", + "Signin button": "Signin button", "Signing in...": "Entrando...", "Successfully logged in with WebAuthn credentials": "Logado com sucesso usando credenciais WebAuthn", "The camera is currently in use by another webpage": "The camera is currently in use by another webpage", @@ -941,6 +945,7 @@ "Please select your country code!": "Por favor, selecione o código do seu país!", "Please select your country/region!": "Por favor, selecione seu país/região!", "Regex": "Regex", + "Signup button": "Signup button", "Terms of Use": "Termos de Uso", "Terms of Use - Tooltip": "Termos de uso que os usuários precisam ler e concordar durante o registro", "Text 1": "Text 1", @@ -1162,6 +1167,7 @@ "Values": "Valores", "Verification code sent": "Código de verificação enviado", "WebAuthn credentials": "Credenciais WebAuthn", + "You have changed the username, please save your change first before modifying the password": "You have changed the username, please save your change first before modifying the password", "input password": "Digite a senha" }, "verification": { diff --git a/web/src/locales/ru/data.json b/web/src/locales/ru/data.json index 0b324cd1..fb290cac 100644 --- a/web/src/locales/ru/data.json +++ b/web/src/locales/ru/data.json @@ -80,6 +80,7 @@ "Only signup": "Только при регистрации", "Org choice mode": "Режим выбора организации", "Org choice mode - Tooltip": "Выбор режима выбора организации пользователем", + "Please enable \\\"Signin session\\\" first before enabling \\\"Auto signin\\\"": "Please enable \\\"Signin session\\\" first before enabling \\\"Auto signin\\\"", "Please input your application!": "Пожалуйста, введите свою заявку!", "Please input your organization!": "Пожалуйста, введите название вашей организации!", "Please select a HTML file": "Пожалуйста, выберите файл HTML", @@ -229,6 +230,7 @@ "Email": "Электронная почта", "Email - Tooltip": "Действительный адрес электронной почты", "Email only": "Email only", + "Email or Phone": "Email or Phone", "Enable": "Включить", "Enable dark logo": "Enable dark logo", "Enable dark logo - Tooltip": "Enable dark logo", @@ -311,6 +313,7 @@ "Phone": "Телефон", "Phone - Tooltip": "Номер телефона", "Phone only": "Phone only", + "Phone or Email": "Phone or Email", "Plan": "План", "Plan - Tooltip": "Plan - Tooltip", "Plans": "Планы", @@ -391,6 +394,7 @@ "User type": "Тип пользователя", "User type - Tooltip": "Теги, к которым принадлежит пользователь, по умолчанию \"обычный пользователь\"", "Users": "Пользователи", + "Users - Tooltip": "Users - Tooltip", "Users under all organizations": "Пользователи всех организаций", "Verifications": "Verifications", "Webhooks": "Вебхуки", @@ -473,7 +477,6 @@ "LDAP username, Email or phone": "LDAP username, Email or phone", "Loading": "Загрузка", "Logging out...": "Выход...", - "Login button": "Login button", "MetaMask plugin not detected": "MetaMask plugin not detected", "Model loading failure": "Model loading failure", "No account?": "Нет аккаунта?", @@ -498,6 +501,7 @@ "Sign in with Face ID": "Sign in with Face ID", "Sign in with WebAuthn": "Войти с помощью WebAuthn", "Sign in with {type}": "Войти с помощью {type}", + "Signin button": "Signin button", "Signing in...": "Вход в систему...", "Successfully logged in with WebAuthn credentials": "Успешный вход с учетными данными WebAuthn", "The camera is currently in use by another webpage": "The camera is currently in use by another webpage", @@ -941,6 +945,7 @@ "Please select your country code!": "Пожалуйста, выберите код своей страны!", "Please select your country/region!": "Пожалуйста, выберите свою страну / регион!", "Regex": "Regex", + "Signup button": "Signup button", "Terms of Use": "Условия использования", "Terms of Use - Tooltip": "Условия использования, которые пользователи должны прочитать и согласиться с ними при регистрации", "Text 1": "Text 1", @@ -1162,6 +1167,7 @@ "Values": "Значения", "Verification code sent": "Код подтверждения отправлен", "WebAuthn credentials": "WebAuthn удостоверения", + "You have changed the username, please save your change first before modifying the password": "You have changed the username, please save your change first before modifying the password", "input password": "введите пароль" }, "verification": { diff --git a/web/src/locales/sv/data.json b/web/src/locales/sv/data.json index d66b3699..e2111d27 100644 --- a/web/src/locales/sv/data.json +++ b/web/src/locales/sv/data.json @@ -80,6 +80,7 @@ "Only signup": "Only signup", "Org choice mode": "Org choice mode", "Org choice mode - Tooltip": "Org choice mode - Tooltip", + "Please enable \\\"Signin session\\\" first before enabling \\\"Auto signin\\\"": "Please enable \\\"Signin session\\\" first before enabling \\\"Auto signin\\\"", "Please input your application!": "Please input your application!", "Please input your organization!": "Please input your organization!", "Please select a HTML file": "Please select a HTML file", @@ -229,6 +230,7 @@ "Email": "Email", "Email - Tooltip": "Valid email address", "Email only": "Email only", + "Email or Phone": "Email or Phone", "Enable": "Enable", "Enable dark logo": "Enable dark logo", "Enable dark logo - Tooltip": "Enable dark logo", @@ -311,6 +313,7 @@ "Phone": "Phone", "Phone - Tooltip": "Phone number", "Phone only": "Phone only", + "Phone or Email": "Phone or Email", "Plan": "Plan", "Plan - Tooltip": "Plan - Tooltip", "Plans": "Plans", @@ -391,6 +394,7 @@ "User type": "User type", "User type - Tooltip": "Tags that the user belongs to, defaulting to \"normal-user\"", "Users": "Users", + "Users - Tooltip": "Users - Tooltip", "Users under all organizations": "Users under all organizations", "Verifications": "Verifications", "Webhooks": "Webhooks", @@ -473,7 +477,6 @@ "LDAP username, Email or phone": "LDAP username, Email or phone", "Loading": "Loading", "Logging out...": "Logging out...", - "Login button": "Login button", "MetaMask plugin not detected": "MetaMask plugin not detected", "Model loading failure": "Model loading failure", "No account?": "No account?", @@ -498,6 +501,7 @@ "Sign in with Face ID": "Sign in with Face ID", "Sign in with WebAuthn": "Sign in with WebAuthn", "Sign in with {type}": "Sign in with {type}", + "Signin button": "Signin button", "Signing in...": "Signing in...", "Successfully logged in with WebAuthn credentials": "Successfully logged in with WebAuthn credentials", "The camera is currently in use by another webpage": "The camera is currently in use by another webpage", @@ -941,6 +945,7 @@ "Please select your country code!": "Please select your country code!", "Please select your country/region!": "Please select your country/region!", "Regex": "Regex", + "Signup button": "Signup button", "Terms of Use": "Terms of Use", "Terms of Use - Tooltip": "Terms of use that users need to read and agree to during registration", "Text 1": "Text 1", @@ -1162,6 +1167,7 @@ "Values": "Values", "Verification code sent": "Verification code sent", "WebAuthn credentials": "WebAuthn credentials", + "You have changed the username, please save your change first before modifying the password": "You have changed the username, please save your change first before modifying the password", "input password": "input password" }, "verification": { diff --git a/web/src/locales/tr/data.json b/web/src/locales/tr/data.json index 1f030952..866a360e 100644 --- a/web/src/locales/tr/data.json +++ b/web/src/locales/tr/data.json @@ -80,6 +80,7 @@ "Only signup": "Only signup", "Org choice mode": "Org choice mode", "Org choice mode - Tooltip": "Org choice mode - Tooltip", + "Please enable \\\"Signin session\\\" first before enabling \\\"Auto signin\\\"": "Please enable \\\"Signin session\\\" first before enabling \\\"Auto signin\\\"", "Please input your application!": "Please input your application!", "Please input your organization!": "Please input your organization!", "Please select a HTML file": "Please select a HTML file", @@ -229,6 +230,7 @@ "Email": "E-Posta", "Email - Tooltip": "Geçerli e-posta adresi", "Email only": "Sadece eposta", + "Email or Phone": "Email or Phone", "Enable": "Etkinleştir", "Enable dark logo": "Enable dark logo", "Enable dark logo - Tooltip": "Enable dark logo", @@ -311,6 +313,7 @@ "Phone": "Telefon", "Phone - Tooltip": "Telefon numarası", "Phone only": "Sadece telefon", + "Phone or Email": "Phone or Email", "Plan": "Plan", "Plan - Tooltip": "Plan - Tooltip", "Plans": "Plans", @@ -391,6 +394,7 @@ "User type": "User type", "User type - Tooltip": "Tags that the user belongs to, defaulting to \"normal-user\"", "Users": "Kullanıcılar", + "Users - Tooltip": "Users - Tooltip", "Users under all organizations": "Users under all organizations", "Verifications": "Verifications", "Webhooks": "Webhooks", @@ -473,7 +477,6 @@ "LDAP username, Email or phone": "LDAP username, Email or phone", "Loading": "Yükleniyor", "Logging out...": "Çıkış yapılıyor...", - "Login button": "Login button", "MetaMask plugin not detected": "Metamask plugin-in bulunamadı", "Model loading failure": "Model loading failure", "No account?": "Hesabınız yok mu?", @@ -498,6 +501,7 @@ "Sign in with Face ID": "Sign in with Face ID", "Sign in with WebAuthn": "Sign in with WebAuthn", "Sign in with {type}": "{type} ile giriş yap", + "Signin button": "Signin button", "Signing in...": "Signing in...", "Successfully logged in with WebAuthn credentials": "Successfully logged in with WebAuthn credentials", "The camera is currently in use by another webpage": "The camera is currently in use by another webpage", @@ -941,6 +945,7 @@ "Please select your country code!": "Please select your country code!", "Please select your country/region!": "Please select your country/region!", "Regex": "Regex", + "Signup button": "Signup button", "Terms of Use": "Kullanım Koşulları", "Terms of Use - Tooltip": "Kayıt olabilmek için kullanım koşullarını okuyup, kabul etmelisiniz", "Text 1": "Text 1", @@ -1162,6 +1167,7 @@ "Values": "Values", "Verification code sent": "Verification code sent", "WebAuthn credentials": "WebAuthn credentials", + "You have changed the username, please save your change first before modifying the password": "You have changed the username, please save your change first before modifying the password", "input password": "şifreyi girin" }, "verification": { diff --git a/web/src/locales/vi/data.json b/web/src/locales/vi/data.json index 0e28d63f..65a084d2 100644 --- a/web/src/locales/vi/data.json +++ b/web/src/locales/vi/data.json @@ -80,6 +80,7 @@ "Only signup": "Chỉ đăng ký", "Org choice mode": "Org choice mode", "Org choice mode - Tooltip": "Org choice mode - Tooltip", + "Please enable \\\"Signin session\\\" first before enabling \\\"Auto signin\\\"": "Please enable \\\"Signin session\\\" first before enabling \\\"Auto signin\\\"", "Please input your application!": "Vui lòng nhập ứng dụng của bạn!", "Please input your organization!": "Vui lòng nhập tổ chức của bạn!", "Please select a HTML file": "Vui lòng chọn tệp HTML", @@ -229,6 +230,7 @@ "Email": "Email: Thư điện tử", "Email - Tooltip": "Địa chỉ email hợp lệ", "Email only": "Email only", + "Email or Phone": "Email or Phone", "Enable": "Enable", "Enable dark logo": "Enable dark logo", "Enable dark logo - Tooltip": "Enable dark logo", @@ -311,6 +313,7 @@ "Phone": "Điện thoại", "Phone - Tooltip": "Số điện thoại", "Phone only": "Phone only", + "Phone or Email": "Phone or Email", "Plan": "Plan", "Plan - Tooltip": "Plan - Tooltip", "Plans": "Kế hoạch", @@ -391,6 +394,7 @@ "User type": "Loại người dùng", "User type - Tooltip": "Các thẻ mà người dùng thuộc vào, mặc định là \"người dùng bình thường\"", "Users": "Người dùng", + "Users - Tooltip": "Users - Tooltip", "Users under all organizations": "Người dùng trong tất cả các tổ chức", "Verifications": "Verifications", "Webhooks": "Webhooks", @@ -473,7 +477,6 @@ "LDAP username, Email or phone": "LDAP username, Email or phone", "Loading": "Đang tải", "Logging out...": "Đăng xuất ...", - "Login button": "Login button", "MetaMask plugin not detected": "MetaMask plugin not detected", "Model loading failure": "Model loading failure", "No account?": "Không có tài khoản?", @@ -498,6 +501,7 @@ "Sign in with Face ID": "Sign in with Face ID", "Sign in with WebAuthn": "Đăng nhập với WebAuthn", "Sign in with {type}": "Đăng nhập bằng {type}", + "Signin button": "Signin button", "Signing in...": "Đăng nhập...", "Successfully logged in with WebAuthn credentials": "Đã đăng nhập thành công với thông tin WebAuthn", "The camera is currently in use by another webpage": "The camera is currently in use by another webpage", @@ -941,6 +945,7 @@ "Please select your country code!": "Vui lòng chọn mã quốc gia của bạn!", "Please select your country/region!": "Vui lòng chọn quốc gia/vùng của bạn!", "Regex": "Regex", + "Signup button": "Signup button", "Terms of Use": "Điều khoản sử dụng", "Terms of Use - Tooltip": "Điều khoản sử dụng mà người dùng cần đọc và đồng ý trong quá trình đăng ký", "Text 1": "Text 1", @@ -1162,6 +1167,7 @@ "Values": "Giá trị", "Verification code sent": "Mã xác minh đã được gửi", "WebAuthn credentials": "Chứng chỉ WebAuthn", + "You have changed the username, please save your change first before modifying the password": "You have changed the username, please save your change first before modifying the password", "input password": "Nhập mật khẩu" }, "verification": { diff --git a/web/src/locales/zh/data.json b/web/src/locales/zh/data.json index 6cc4ef08..1a28a362 100644 --- a/web/src/locales/zh/data.json +++ b/web/src/locales/zh/data.json @@ -80,6 +80,7 @@ "Only signup": "仅注册", "Org choice mode": "组织选择模式", "Org choice mode - Tooltip": "采用什么方式选择要登录的组织", + "Please enable \\\"Signin session\\\" first before enabling \\\"Auto signin\\\"": "开启 \\\"保持登录会话\\\" 后才能开启 \\\"自动登录\\\"", "Please input your application!": "请输入你的应用", "Please input your organization!": "请输入你的组织", "Please select a HTML file": "请选择一个HTML文件", @@ -229,6 +230,7 @@ "Email": "电子邮箱", "Email - Tooltip": "合法的电子邮件地址", "Email only": "仅支持邮件", + "Email or Phone": "电子邮件或手机", "Enable": "启用", "Enable dark logo": "开启暗黑Logo", "Enable dark logo - Tooltip": "开启暗黑Logo", @@ -311,6 +313,7 @@ "Phone": "手机号", "Phone - Tooltip": "手机号", "Phone only": "仅支持手机号", + "Phone or Email": "手机或电子邮件", "Plan": "计划", "Plan - Tooltip": "订阅里的计划", "Plans": "计划", @@ -391,6 +394,7 @@ "User type": "用户类型", "User type - Tooltip": "用户所属的标签,默认为\"normal-user\"", "Users": "用户", + "Users - Tooltip": "用户 - Tooltip", "Users under all organizations": "所有组织里的用户", "Verifications": "验证", "Webhooks": "Webhooks", @@ -473,7 +477,6 @@ "LDAP username, Email or phone": "LDAP用户名, Email或手机号", "Loading": "加载中", "Logging out...": "正在退出登录...", - "Login button": "登录按钮", "MetaMask plugin not detected": "未检测到MetaMask插件", "Model loading failure": "人脸识别模型加载失败", "No account?": "没有账号?", @@ -498,6 +501,7 @@ "Sign in with Face ID": "人脸登录", "Sign in with WebAuthn": "WebAuthn登录", "Sign in with {type}": "{type}登录", + "Signin button": "登录按钮", "Signing in...": "正在登录...", "Successfully logged in with WebAuthn credentials": "成功使用WebAuthn证书登录", "The camera is currently in use by another webpage": "摄像头被占用,无法使用", @@ -941,6 +945,7 @@ "Please select your country code!": "请选择国家代码!", "Please select your country/region!": "请选择您的国家或地区", "Regex": "正则表达式", + "Signup button": "注册按钮", "Terms of Use": "《用户协议》", "Terms of Use - Tooltip": "用户注册时需要阅读并同意的使用条款", "Text 1": "文本1", @@ -1162,6 +1167,7 @@ "Values": "值", "Verification code sent": "验证码已发送", "WebAuthn credentials": "WebAuthn凭据", + "You have changed the username, please save your change first before modifying the password": "你已经更改了你的用户名,请你再更改密码前保存更改", "input password": "输入密码" }, "verification": { diff --git a/web/src/table/SigninTable.js b/web/src/table/SigninTable.js index 5e97e4f3..da4f9785 100644 --- a/web/src/table/SigninTable.js +++ b/web/src/table/SigninTable.js @@ -103,7 +103,7 @@ class SigninTable extends React.Component { {name: "Providers", displayName: i18next.t("general:Providers")}, {name: "Agreement", displayName: i18next.t("signup:Agreement")}, {name: "Forgot password?", displayName: i18next.t("login:Forgot password?")}, - {name: "Login button", displayName: i18next.t("login:Login button")}, + {name: "Login button", displayName: i18next.t("login:Signin button")}, {name: "Signup link", displayName: i18next.t("general:Signup link")}, ]; @@ -187,15 +187,15 @@ class SigninTable extends React.Component { return ( - ", "").replaceAll("", "")} + options={{mode: "css", theme: "material-darker"}} onBeforeChange={(editor, data, value) => { this.updateField(table, index, "label", value); }} />
} title={i18next.t("application:CSS style")} trigger="click"> - { + ", "").replaceAll("", "")} onChange={e => { this.updateField(table, index, "label", e.target.value); }} /> diff --git a/web/src/table/SignupTable.js b/web/src/table/SignupTable.js index cfd7cc92..2626c537 100644 --- a/web/src/table/SignupTable.js +++ b/web/src/table/SignupTable.js @@ -24,6 +24,27 @@ import "codemirror/lib/codemirror.css"; require("codemirror/theme/material-darker.css"); require("codemirror/mode/htmlmixed/htmlmixed"); +const EmailCss = ".signup-email{}\n.signup-email-input{}\n.signup-email-code{}\n.signup-email-code-input{}\n"; +const PhoneCss = ".signup-phone{}\n.signup-phone-input{}\n.phone-code{}\n.signup-phone-code-input{}"; + +export const SignupTableDefaultCssMap = { + "Username": ".signup-username {}\n.signup-username-input {}", + "Display name": ".signup-first-name {}\n.signup-first-name-input{}\n.signup-last-name{}\n.signup-last-name-input{}\n.signup-name{}\n.signup-name-input{}", + "Affiliation": ".signup-affiliation{}\n.signup-affiliation-input{}", + "Country/Region": ".signup-country-region{}\n.signup-region-select{}", + "ID card": ".signup-idcard{}\n.signup-idcard-input{}", + "Password": ".signup-password{}\n.signup-password-input{}", + "Confirm password": ".signup-confirm{}", + "Email": EmailCss, + "Phone": PhoneCss, + "Email or Phone": EmailCss + PhoneCss, + "Phone or Email": EmailCss + PhoneCss, + "Invitation code": ".signup-invitation-code{}\n.signup-invitation-code-input{}", + "Agreement": ".login-agreement{}", + "Signup button": ".signup-button{}\n.signup-link{}", + "Providers": ".provider-img {\n width: 30px;\n margin: 5px;\n }\n .provider-big-img {\n margin-bottom: 10px;\n }\n ", +}; + const {Option} = Select; class SignupTable extends React.Component { @@ -44,7 +65,7 @@ class SignupTable extends React.Component { } addRow(table) { - const row = {name: Setting.getNewRowNameForTable(table, "Please select a signup item"), visible: true, required: true, rule: "None"}; + const row = {name: Setting.getNewRowNameForTable(table, "Please select a signup item"), visible: true, required: true, rule: "None", customCss: ""}; if (table === undefined) { table = []; } @@ -89,6 +110,8 @@ class SignupTable extends React.Component { {name: "Phone or Email", displayName: i18next.t("general:Phone or Email")}, {name: "Invitation code", displayName: i18next.t("application:Invitation code")}, {name: "Agreement", displayName: i18next.t("signup:Agreement")}, + {name: "Signup button", displayName: i18next.t("signup:Signup button")}, + {name: "Providers", displayName: i18next.t("general:Providers")}, {name: "Text 1", displayName: i18next.t("signup:Text 1")}, {name: "Text 2", displayName: i18next.t("signup:Text 2")}, {name: "Text 3", displayName: i18next.t("signup:Text 3")}, @@ -109,6 +132,7 @@ class SignupTable extends React.Component { value={getItemDisplayName(text)} onChange={value => { this.updateField(table, index, "name", value); + this.updateField(table, index, "customCss", SignupTableDefaultCssMap[value]); }} > { Setting.getDeduplicatedArray(items, table, "name").map((item, index) => ) @@ -121,7 +145,7 @@ class SignupTable extends React.Component { title: i18next.t("organization:Visible"), dataIndex: "visible", key: "visible", - width: "120px", + width: "80px", render: (text, record, index) => { if (record.name === "ID") { return null; @@ -143,9 +167,9 @@ class SignupTable extends React.Component { title: i18next.t("provider:Required"), dataIndex: "required", key: "required", - width: "120px", + width: "80px", render: (text, record, index) => { - if (!record.visible) { + if (!record.visible || ["Signup button", "Providers"].includes(record.name)) { return null; } @@ -160,9 +184,9 @@ class SignupTable extends React.Component { title: i18next.t("provider:Prompted"), dataIndex: "prompted", key: "prompted", - width: "120px", + width: "80px", render: (text, record, index) => { - if (record.name === "ID") { + if (["ID", "Signup button", "Providers"].includes(record.name)) { return null; } @@ -181,7 +205,7 @@ class SignupTable extends React.Component { title: i18next.t("signup:Label"), dataIndex: "label", key: "label", - width: "200px", + width: "150px", render: (text, record, index) => { if (record.name.startsWith("Text ")) { return ( @@ -209,6 +233,30 @@ class SignupTable extends React.Component { ); }, }, + { + title: i18next.t("application:Custom CSS"), + dataIndex: "customCss", + key: "customCss", + width: "180px", + render: (text, record, index) => { + return ( + + { + this.updateField(table, index, "customCss", value ? value : SignupTableDefaultCssMap[record.name]); + }} + /> +
+ } title={i18next.t("application:CSS style")} trigger="click"> + { + this.updateField(table, index, "customCss", e.target.value ? e.target.value : SignupTableDefaultCssMap[record.name]); + }} /> + + ); + }, + }, { title: i18next.t("signup:Placeholder"), dataIndex: "placeholder", @@ -230,9 +278,9 @@ class SignupTable extends React.Component { title: i18next.t("signup:Regex"), dataIndex: "regex", key: "regex", - width: "200px", + width: "180px", render: (text, record, index) => { - if (record.name.startsWith("Text ") || record.name === "Password" || record.name === "Confirm password") { + if (record.name.startsWith("Text ") || ["Password", "Confirm password", "Signup button", "Provider"].includes(record.name)) { return null; } @@ -277,6 +325,11 @@ class SignupTable extends React.Component { {id: "Signin", name: i18next.t("application:Signin")}, {id: "Signin (Default True)", name: i18next.t("application:Signin (Default True)")}, ]; + } else if (record.name === "Providers") { + options = [ + {id: "big", name: i18next.t("application:Big icon")}, + {id: "small", name: i18next.t("application:Small icon")}, + ]; } if (options.length === 0) { @@ -304,7 +357,7 @@ class SignupTable extends React.Component {
);