-
Notifications
You must be signed in to change notification settings - Fork 10.9k
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
Changed 'confirm password' placeholder text on user registration form #9969
Conversation
@@ -85,7 +85,7 @@ <h2 data-i18n="Registration_Succeeded">{{{_ "Registration_Succeeded"}}}</h2> | |||
<div class="rc-input__wrapper"> | |||
<input name="confirm-pass" id="confirm-pass" type="password" class="rc-input__element" | |||
autocapitalize="off" autocorrect="off" | |||
placeholder="{{passwordPlaceholder}}" autofocus> | |||
placeholder="Confirm Password" autofocus> |
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 do not remove any i18n and instead add an additional place. And please remove the package-lock.json
file changes.
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.
sorry, but I'm new in open Source. Could you please describe what do you mean by add an additional place and is my approach correct
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.
should I add the same for confirm password here in the form.js file in same folder. on the other hand there are many i18n files which one to use
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 review this pull request |
@@ -85,7 +85,7 @@ <h2 data-i18n="Registration_Succeeded">{{{_ "Registration_Succeeded"}}}</h2> | |||
<div class="rc-input__wrapper"> | |||
<input name="confirm-pass" id="confirm-pass" type="password" class="rc-input__element" | |||
autocapitalize="off" autocorrect="off" | |||
placeholder="{{passwordPlaceholder}}" autofocus> | |||
placeholder="Confirm Password" autofocus> |
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.
I have done that i think, please review it
please consider these changes
…On Sat, Mar 3, 2018 at 11:18 PM, Codacy Bot ***@***.***> wrote:
***@***.**** commented on this pull request.
------------------------------
In packages/rocketchat-ui-login/client/login/form.js
<#9969 (comment)>
:
> @@ -58,6 +58,9 @@ Template.loginForm.helpers({
passwordPlaceholder() {
return RocketChat.settings.get('Accounts_PasswordPlaceholder') || t('Password');
},
+ confirmPasswordPlaceholder(){
[image: Codacy]
<https://camo.githubusercontent.com/b72992711a855bd9a03bfbdfc5ef7fcf528482f5/68747470733a2f2f6170702e636f646163792e636f6d2f6173736574732f696d616765732f66617669636f6e2e706e67>
Issue found: Missing space before opening brace. (space-before-blocks)
<https://app.codacy.com/app/RocketChat/Rocket-Chat/pullRequest?prid=1388900>
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#9969 (review)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AYyB0LgAOk9y6oygRFelMjVWSFkPiv1rks5tateDgaJpZM4SZbop>
.
|
hey @kumarnitj thanks for your contribution, I made some changes in your PR, I thought you wouldn't matter about that. |
before:-
after:-