[wp-trac] [WordPress Trac] #35721: Translation strings Improvements (wp-admin/includes/update.php)

WordPress Trac noreply at wordpress.org
Thu Feb 4 17:35:25 UTC 2016

#35721: Translation strings Improvements (wp-admin/includes/update.php)
 Reporter:  ramiy         |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  I18N          |    Version:
 Severity:  normal        |   Keywords:
  Focuses:                |
 First open the attached patch.

 This change has few improvements:

 1. Added translators comments for wordpress version.

 2. The `aria-label` text is now translatable.

 3. Splitting the two old string to two parts, the '''warning''' and the

 4. The warning string `WordPress %s is available!` was moved to a separate

 5. Then call-to-action string, comes after we check if the user has
 permission to update core. If the user can update, the message is `Please
 update now`, if not the message is `Please notify the site administrator`.

 6. The string where it say's `Please update now` was stripped out of the
 HTML `<a>` tag. It was moved outside the translation string.


 Old Strings:

 * `<a href="https://codex.wordpress.org/Version_%1$s">WordPress %1$s</a>
 is available! <a href="%2$s">Please update now</a>.`

 * `<a href="https://codex.wordpress.org/Version_%1$s">WordPress %1$s</a>
 is available! Please notify the site administrator.`


 New Strings:

 * `<a href="https://codex.wordpress.org/Version_%s">WordPress %s</a> is

 * `Please update now`

 * `Please notify the site administrator.`


 And the new added `aria-label` text: `Please update WordPress now`.

Ticket URL: <https://core.trac.wordpress.org/ticket/35721>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform

More information about the wp-trac mailing list