Finish i18n of de

This commit is contained in:
Gucheng Wang
2023-03-18 20:31:31 +08:00
parent 3dec2fdc18
commit ed9ceaefe1
4 changed files with 582 additions and 582 deletions

View File

@ -369,7 +369,7 @@ class LoginPage extends React.Component {
if (application.enablePassword) {
let loginWidth = 320;
if (Setting.getLanguage() === "fr") {
loginWidth += 10;
loginWidth += 20;
} else if (Setting.getLanguage() === "es") {
loginWidth += 40;
}

View File

@ -165,10 +165,10 @@ class OAuthWidget extends React.Component {
{
linkedValue === "" ? (
<a key={provider.displayName} href={user.id !== account.id ? null : Provider.getAuthUrl(application, provider, "link")}>
<Button style={{marginLeft: "20px", width: "100px"}} type="primary" disabled={user.id !== account.id}>{i18next.t("user:Link")}</Button>
<Button style={{marginLeft: "20px", width: "110px"}} type="primary" disabled={user.id !== account.id}>{i18next.t("user:Link")}</Button>
</a>
) : (
<Button disabled={!providerItem.canUnlink && !account.isGlobalAdmin} style={{marginLeft: "20px", width: "100px"}} onClick={() => this.unlinkUser(provider.type)}>{i18next.t("user:Unlink")}</Button>
<Button disabled={!providerItem.canUnlink && !account.isGlobalAdmin} style={{marginLeft: "20px", width: "110px"}} onClick={() => this.unlinkUser(provider.type)}>{i18next.t("user:Unlink")}</Button>
)
}
</Col>

File diff suppressed because it is too large Load Diff

View File

@ -329,7 +329,7 @@
"The input is not valid Email or phone number!": "¡La entrada no es un correo electrónico o número de teléfono válido!",
"To access": "para acceder",
"Verification code": "Código de verificación",
"WebAuthn": "WebAuthn (Autenticación Web)",
"WebAuthn": "WebAuthn",
"sign up now": "Regístrate ahora",
"username, Email or phone": "Nombre de usuario, correo electrónico o teléfono"
},