Skip to content

Commit

Permalink
use lowercase for all translation keys
Browse files Browse the repository at this point in the history
  • Loading branch information
Dominic Wrege committed Dec 15, 2021
1 parent d74d62a commit 4fdda97
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 10 deletions.
2 changes: 1 addition & 1 deletion framework/LoginDialog/LoginDialog.bbj
Original file line number Diff line number Diff line change
Expand Up @@ -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!)
Expand Down
2 changes: 1 addition & 1 deletion framework/LoginDialog/LoginDialogBuilder.bbj
Original file line number Diff line number Diff line change
Expand Up @@ -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")

Expand Down
3 changes: 1 addition & 2 deletions i18n/webkit.properties
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
5 changes: 2 additions & 3 deletions i18n/webkit_de.properties
Original file line number Diff line number Diff line change
@@ -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.
Expand All @@ -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
Expand Down
5 changes: 2 additions & 3 deletions i18n/webkit_en.properties
Original file line number Diff line number Diff line change
@@ -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.
Expand Down

0 comments on commit 4fdda97

Please sign in to comment.