mirror of
https://github.com/opencloud-eu/opencloud.git
synced 2026-02-28 09:29:41 -06:00
Fix translations on login page
This commit is contained in:
6
changelog/unreleased/bugfix-i18n-login-page.md
Normal file
6
changelog/unreleased/bugfix-i18n-login-page.md
Normal file
@@ -0,0 +1,6 @@
|
||||
Bugfix: Translations on login page
|
||||
|
||||
We've fixed several translations on the login page. Also, the browser language is now being used properly to determine the language.
|
||||
|
||||
https://github.com/owncloud/web/issues/7550
|
||||
https://github.com/owncloud/ocis/pull/4504
|
||||
@@ -147,8 +147,8 @@ function Login(props) {
|
||||
margin="normal"
|
||||
onChange={handleChange('password')}
|
||||
autoComplete="kopano-account current-password"
|
||||
placeholder={t("konnect.login.usernameField.label", "Password")}
|
||||
label={t("konnect.login.usernameField.label", "Password")}
|
||||
placeholder={t("konnect.login.passwordField.label", "Password")}
|
||||
label={t("konnect.login.passwordField.label", "Password")}
|
||||
id="oc-login-password"
|
||||
{...extraPropsPassword}
|
||||
/>
|
||||
|
||||
@@ -14,9 +14,9 @@ const config = {
|
||||
uiLocaleLocalStorageName: 'lico.identifier_ui_locale', // Sufficiently unique, set here.
|
||||
}
|
||||
|
||||
const supportedLanguages = locales.map((locale) => {
|
||||
const supportedLanguages = ['en-GB', 'en', ...locales.map((locale) => {
|
||||
return locale.locale;
|
||||
});
|
||||
})];
|
||||
|
||||
const queryUiLocalesDetector: CustomDetector = {
|
||||
name: 'queryUiLocales',
|
||||
|
||||
@@ -32,6 +32,7 @@
|
||||
},
|
||||
"login": {
|
||||
"usernameField": {
|
||||
"label": "Benutzername",
|
||||
"placeholder": {
|
||||
"email": "E-Mail",
|
||||
"identity": "Identität",
|
||||
@@ -91,4 +92,4 @@
|
||||
"message": "Sie sind angemeldet - super!"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user