-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
#109 localization For The Login Dialog #119
Conversation
… remembered login from the cookie
(also introduces a new signature for "navigateTo" that takes the outright ID of the menu item)
update from master
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, left some minor comments.
dialog!.getUsername().setLabel("Username") | ||
dialog!.getUsername().setPlaceHolder("name@company.com") | ||
dialog!.getUsername().setSuffix("user") | ||
dialog!.getUsername().setLabel(I18n.getTranslation("Username")) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
rename it as username
, lets maintain consistency while naming.
i18n/webkit.properties
Outdated
@@ -0,0 +1,24 @@ | |||
# | |||
#Tue Dec 14 17:43:53 CET 2021 | |||
Keep-mesigned-in=Keep me signed in |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
K should be in small letter
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please merge it after fixing the commented issues.
dialog!.getRememberMe().addStyle("loginWidgetCheckBoxLabel") | ||
dialog!.getRememberMe().addStyle("loginWidgetCheckBoxInputWrapper") | ||
dialog!.getRememberMe().addStyle("loginWidgetCheckBoxControl") | ||
rem content! = |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
remove this incomplete line
dialog!.getRememberMe().addStyle("loginWidgetCheckBoxControl") | ||
rem content! = | ||
content! = dialog!.getContent() | ||
dialog!.setRememberMe(content!.addCheckBox(content!.getAvailableControlID(),0,0,0,0,I18n.getTranslation("keep-mesigned-in"))) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fix indentation
localization for the Login Dialog
#109