Spage has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/61168


Change subject: Message tweaks to new login and create acct forms
......................................................................

Message tweaks to new login and create acct forms

* "Keep me logged in" (bugzilla 47694)
* "[Create my account]" submit button (bugzilla 47700)
* "Why you are creating another account" placeholder (bugzilla 31888)

Bug: 47694
Bug: 47700
Bug: 31888

Change-Id: I7cfa4bb36368277a934144c1724ec437c426eacf
---
M includes/templates/UsercreateVForm.php
M languages/messages/MessagesEn.php
M languages/messages/MessagesQqq.php
M maintenance/language/messages.inc
4 files changed, 8 insertions(+), 2 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/core 
refs/changes/68/61168/1

diff --git a/includes/templates/UsercreateVForm.php 
b/includes/templates/UsercreateVForm.php
index 0366aef..027a1b7 100644
--- a/includes/templates/UsercreateVForm.php
+++ b/includes/templates/UsercreateVForm.php
@@ -251,7 +251,7 @@
                <div class="mw-submit">
                        <input type='submit' class="mw-ui-button mw-ui-big 
mw-ui-block mw-ui-primary" name="wpCreateaccount" id="wpCreateaccount"
                                tabindex="<?php echo $tabIndex++; ?>"
-                               value="<?php $this->msg( 'createaccount' ); ?>" 
/>
+                               value="<?php $this->msg( 'createacct-submit' ); 
?>" />
                </div>
        <input type="hidden" id="useNew" name="useNew" value="1" />
 <?php if ( $this->haveData( 'uselang' ) ) { ?><input type="hidden" 
name="uselang" value="<?php $this->text( 'uselang' ); ?>" /><?php } ?>
diff --git a/languages/messages/MessagesEn.php 
b/languages/messages/MessagesEn.php
index 8191f59..f9dfe84 100644
--- a/languages/messages/MessagesEn.php
+++ b/languages/messages/MessagesEn.php
@@ -1091,7 +1091,7 @@
 'createacct-yourpasswordagain'    => 'Confirm password',
 'createacct-yourpasswordagain-ph' => 'Enter password again',
 'remembermypassword'           => 'Remember my login on this browser (for a 
maximum of $1 {{PLURAL:$1|day|days}})',
-'userlogin-remembermypassword' => 'Remember me',
+'userlogin-remembermypassword' => 'Keep me logged in',
 'userlogin-signwithsecure'     => 'Sign in with secure server',
 'securelogin-stick-https'      => 'Stay connected to HTTPS after login',
 'yourdomainname'               => 'Your domain:',
@@ -1124,10 +1124,12 @@
 'createacct-realname'             => 'Real name (optional)',
 'createaccountreason'          => 'Reason:',
 'createacct-reason'               => 'Reason',
+'createacct-reason-ph'            => 'Why you are creating another account',
 'createacct-captcha'              => 'Security check',
 'createacct-captcha-help-url'     => '{{ns:Project}}:Request an account',
 'createacct-imgcaptcha-help'      => 'Can\'t see the image? 
[[{{MediaWiki:createacct-captcha-help-url}}|Request an account]]',
 'createacct-imgcaptcha-ph'        => 'Enter the text you see above',
+'createacct-submit'               => 'Create your account',
 'createacct-benefit-heading'      => '{{SITENAME}} is made by people like 
you.',
 'createacct-benefit-icon1'        => 'icon-edits',
 'createacct-benefit-head1'        => '{{NUMBEROFEDITS}}',
diff --git a/languages/messages/MessagesQqq.php 
b/languages/messages/MessagesQqq.php
index bdebfd4..5d1d8a3 100644
--- a/languages/messages/MessagesQqq.php
+++ b/languages/messages/MessagesQqq.php
@@ -1165,12 +1165,14 @@
 
 See example: [{{canonicalurl:Special:UserLogin|type=signup&useNew=1}} 
Special:UserLogin?type=signup&useNew=1]
 {{Identical|Reason}}',
+'createacct-reason-ph' => 'Placeholder in vertical-layout create account form 
for reason field.',
 'createacct-captcha' => 'Label in vertical-layout create account form for 
CAPTCHA input field when repositioned by JavaScript.',
 'createacct-captcha-help-url' => 'The URL of a page providing CAPTCHA 
assistance for the wiki.
 
 Used as a link in {{msg-mw|Createacct-imgcaptcha-help}}.',
 'createacct-imgcaptcha-help' => 'Help text in vertical-layout create account 
form for image CAPTCHA input field when repositioned by JavaScript.',
 'createacct-imgcaptcha-ph' => 'Placehodler text in vertical-layout create 
account form for image CAPTCHA input field when repositioned by JavaScript.',
+'createacct-submit' => 'Submit button on vertical-layout create account form.',
 'createacct-benefit-heading' => 'In vertical-layout create account form, the 
heading for the section describing the benefits of creating an account.
 
 See example: [{{canonicalurl:Special:UserLogin|type=signup&useNew=1}} 
Special:UserLogin?type=signup&useNew=1]',
diff --git a/maintenance/language/messages.inc 
b/maintenance/language/messages.inc
index 96a6c13..d7c7af7 100644
--- a/maintenance/language/messages.inc
+++ b/maintenance/language/messages.inc
@@ -474,10 +474,12 @@
                'createacct-realname',
                'createaccountreason',
                'createacct-reason',
+               'createacct-reason-ph',
                'createacct-captcha',
                'createacct-captcha-help-url',
                'createacct-imgcaptcha-help',
                'createacct-imgcaptcha-ph',
+               'createacct-submit',
                'createacct-benefit-heading',
                'createacct-benefit-icon1',
                'createacct-benefit-head1',

-- 
To view, visit https://gerrit.wikimedia.org/r/61168
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I7cfa4bb36368277a934144c1724ec437c426eacf
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/core
Gerrit-Branch: master
Gerrit-Owner: Spage <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to