From 4fdda97b868db91630384fc25baad6380e6989e7 Mon Sep 17 00:00:00 2001 From: Dominic Wrege Date: Wed, 15 Dec 2021 17:17:18 +0100 Subject: [PATCH] use lowercase for all translation keys --- framework/LoginDialog/LoginDialog.bbj | 2 +- framework/LoginDialog/LoginDialogBuilder.bbj | 2 +- i18n/webkit.properties | 3 +-- i18n/webkit_de.properties | 5 ++--- i18n/webkit_en.properties | 5 ++--- 5 files changed, 7 insertions(+), 10 deletions(-) diff --git a/framework/LoginDialog/LoginDialog.bbj b/framework/LoginDialog/LoginDialog.bbj index c5cbb5cc..3cc8cd9f 100644 --- a/framework/LoginDialog/LoginDialog.bbj +++ b/framework/LoginDialog/LoginDialog.bbj @@ -169,7 +169,7 @@ class public LoginDialog LoginDialogBuilder.addUsernameInput(wnd!, new UsernameValidator(), user$) LoginDialogBuilder.addPasswordInput(wnd!, new PasswordValidator(), I18n.getTranslation("password"), I18n.getTranslation("your-password")) if #AllowRemember! = Boolean.TRUE then LoginDialogBuilder.addRememberMeBox(wnd!) - LoginDialogBuilder.addSubmitButton(wnd!, I18n.getTranslation("Login"), I18n.getTranslation("login")) + LoginDialogBuilder.addSubmitButton(wnd!, I18n.getTranslation("login-upper"), I18n.getTranslation("login")) if #getLoginWithGoogle() OR #getLoginWithMicrosoft() then LoginDialogBuilder.addSSOZone(wnd!) diff --git a/framework/LoginDialog/LoginDialogBuilder.bbj b/framework/LoginDialog/LoginDialogBuilder.bbj index d7286dc2..1c95a0df 100644 --- a/framework/LoginDialog/LoginDialogBuilder.bbj +++ b/framework/LoginDialog/LoginDialogBuilder.bbj @@ -87,7 +87,7 @@ class public LoginDialogBuilder extends BBjWidget methodend method public static void addRememberMeBox(LoginDialogWindow dialog!) - dialog!.setRememberMe(dialog!.getContent().addCheckBox(dialog!.getContent().getAvailableControlID(),0,0,0,0,"Keep me signed in")) + dialog!.setRememberMe(dialog!.getContent().addCheckBox(dialog!.getContent().getAvailableControlID(),0,0,0,0,I18n.getTranslation("keep-mesigned-in")) dialog!.getRememberMe().setStyle("margin-top","20px") dialog!.getRememberMe().setStyle("margin-bottom","20px") diff --git a/i18n/webkit.properties b/i18n/webkit.properties index 6644edad..cd9f96e1 100644 --- a/i18n/webkit.properties +++ b/i18n/webkit.properties @@ -1,7 +1,6 @@ # #Tue Dec 14 17:43:53 CET 2021 -Keep-mesigned-in=Keep me signed in -Login=Login +login-upper=Login choose-a-new-password=Choose a new password forgot-your-password=Forgot your Password? it-seems-you-cannot-use-this-functionality=It seems you cannot use this functionality. diff --git a/i18n/webkit_de.properties b/i18n/webkit_de.properties index b7790299..f96f575d 100644 --- a/i18n/webkit_de.properties +++ b/i18n/webkit_de.properties @@ -1,7 +1,6 @@ # #Tue Dec 14 17:43:53 CET 2021 -Keep-mesigned-in=Angemeldet bleiben -Login=Login +login-upper=Login choose-a-new-password=W\u00E4hlen Sie ein neues Passwort forgot-your-password=Passwort vergessen? it-seems-you-cannot-use-this-functionality=Es scheint, dass Sie diese Funktion nicht nutzen k\u00F6nnen. @@ -15,7 +14,7 @@ password-token-sent=Das Passwort-Token wurde gesendet repeat-password=Passwort wiederholen request-a-new-password=Ein neues Passwort anfordern retry=Erneut versuchen -return-to-login=Zur\u00FCck zum Login +return-to-login=Zurück zum Login send-email=E-Mail senden set-password=Passwort festlegen something-went-wrong=Etwas ist schief gelaufen diff --git a/i18n/webkit_en.properties b/i18n/webkit_en.properties index 6644edad..58366550 100644 --- a/i18n/webkit_en.properties +++ b/i18n/webkit_en.properties @@ -1,7 +1,6 @@ # -#Tue Dec 14 17:43:53 CET 2021 -Keep-mesigned-in=Keep me signed in -Login=Login +#Tue Dec 14 17:59:53 CET 2021 +login-upper=Login choose-a-new-password=Choose a new password forgot-your-password=Forgot your Password? it-seems-you-cannot-use-this-functionality=It seems you cannot use this functionality.