Make WordPress Core

Opened 9 years ago

Closed 8 years ago

#21728 closed defect (bug) (fixed)

Consolidate some strings related to user login

Reported by: pavelevap Owned by:
Milestone: 3.5 Priority: normal
Severity: normal Version: 3.4.1
Component: I18N Keywords: has-patch
Focuses: Cc:


See attached patch. These corrected strings have two variants only with small changes. As a result of suggested unification, we can remove several similar strings.

Attachments (3)

user_strings.patch (3.8 KB) - added by pavelevap 9 years ago.
21728.patch (4.8 KB) - added by SergeyBiryukov 9 years ago.
21728.2.patch (8.2 KB) - added by pavelevap 8 years ago.

Download all attachments as: .zip

Change History (10)

#1 @SergeyBiryukov
9 years ago

  • Keywords has-patch added
  • Milestone changed from Awaiting Review to 3.5

#2 @ocean90
9 years ago

e-mail vs email: #14366

#3 @SergeyBiryukov
9 years ago

<strong>ERROR</strong>: The e-mail address isn&#8217;t correct.
<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:

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

The requested user does not exist.
That user does not exist.

Please enter a correct email address.
Please enter a valid email address.

<strong>ERROR</strong>: This username is already registered, please choose another one.
<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.

#4 @pavelevap
9 years ago

Thank you, Sergey! I did not notice this string in MS admin.

I think that merged strings will remain only in one file, see related ticket #20881.

Yes, the main purpose of this ticket was not problem "email" versus "e-mail", but only one small step to consolidate similar strings and make translators a little happier...

8 years ago

#5 @pavelevap
8 years ago

Patch updated, there are more strings to remove...

#6 @ryan
8 years ago

In [22124]:

Consolidate some strings. Props pavelevap, SergeyBiryukov. see #21728

#7 @ryan
8 years ago

  • Resolution set to fixed
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.