[buddypress-trac] [BuddyPress Trac] #6909: Avoid using HTML tags in translation strings (bp-blogs/bp-blogs-template.php)

buddypress-trac noreply at wordpress.org
Sat Feb 13 10:11:32 UTC 2016


#6909: Avoid using HTML tags in translation strings (bp-blogs/bp-blogs-
template.php)
---------------------------+-----------------------------
 Reporter:  ramiy          |      Owner:
     Type:  defect (bug)   |     Status:  new
 Priority:  normal         |  Milestone:  Awaiting Review
Component:  Locale - i18n  |    Version:
 Severity:  normal         |   Keywords:  has-patch
---------------------------+-----------------------------
 Old string:

 * `<a href="%1$s">%2$s</a> is your new site.  <a href="%3$s">Login</a> as
 "%4$s" using your existing password.`

 New strings:

 * `%s is your new site.`
 * `<a href="%1$s">Login</a> as "%2$s" using your existing password.`

 ----

 The attached patch splits the original string into two shorter and easy to
 translate strings.

 Also, replacing `<a href="%1$s">%2$s</a>` with `%s`.

--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/6909>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac


More information about the buddypress-trac mailing list