Skip to:
Content

BuddyPress.org

Opened 5 years ago

Closed 4 years ago

Last modified 4 years ago

#6906 closed defect (bug) (fixed)

Avoid using HTML tags in translation strings (bp-groups/classes/class-bp-groups-component.php)

Reported by: ramiy Owned by: boonebgorges
Milestone: 2.6 Priority: normal
Severity: normal Version:
Component: I18N Keywords: has-patch
Cc:

Description

Old strings:

  • Groups <span class="%s">%s</span>
  • Groups <span class="count">%s</span>
  • Pending Invites <span class="count">%s</span>

New strings:

  • Groups %s
  • Groups %s
  • Pending Invites %s

Attachments (1)

6906.patch (1.8 KB) - added by ramiy 5 years ago.

Download all attachments as: .zip

Change History (6)

@ramiy
5 years ago

#1 @DJPaul
5 years ago

  • Milestone changed from Awaiting Review to 2.5

#2 @DJPaul
5 years ago

  • Milestone changed from 2.5 to Under Consideration

The patch provides new placeholder tokens in the strings, but I believe there should be translator comments explaining the values they will be replaced with.

#3 @boonebgorges
4 years ago

  • Owner set to boonebgorges
  • Resolution set to fixed
  • Status changed from new to closed

In 10679:

Remove markup from translatable strings when building Group nav items.

Props ramiy.
Fixes #6906.

#4 @boonebgorges
4 years ago

  • Milestone changed from Under Consideration to 2.6

#5 @DJPaul
4 years ago

  • Component changed from Locale - i18n to I18N
Note: See TracTickets for help on using tickets.