[wp-trac] [WordPress Trac] #21728: Consolidate some strings related to user login

WordPress Trac wp-trac at lists.automattic.com
Wed Aug 29 16:34:05 UTC 2012


#21728: Consolidate some strings related to user login
--------------------------+--------------------
 Reporter:  pavelevap     |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  3.5
Component:  I18N          |     Version:  3.4.1
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |
--------------------------+--------------------

Comment (by SergeyBiryukov):

 > `<strong>ERROR</strong>: The e-mail address isn&#8217;t correct.` [[BR]]
 > `<strong>ERROR</strong>: The email address isn&#8217;t correct.`

 One of these strings is in `admin-$locale.po`, the other one is in
 `$locale.po`. I guess they will remain in both files. However, there's a
 similar string in `admin-$locale.po` that can be merged: [[BR]]
 http://core.trac.wordpress.org/browser/tags/3.4.1/wp-
 admin/includes/ms.php#L225

 Added in [attachment:21728.patch]. "e-mail" vs. "email" is currently
 inconsistent, but that can be left for #14366.

 > `The requested user does not exist.` [[BR]]
 > `That user does not exist.`

 > `Please enter a correct email address.` [[BR]]
 > `Please enter a valid email address.`

 > `<strong>ERROR</strong>: This username is already registered, please
 choose another one.` [[BR]]
 > `<strong>ERROR</strong>: This username is already registered. Please
 choose another one.`

 Same as above, they're in different files. I guess it still might make
 sense to consolidate them for easier translation.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/21728#comment:3>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list