Skip to:
Content

BuddyPress.org

Opened 4 years ago

Closed 4 years ago

Last modified 4 years ago

#6903 closed defect (bug) (fixed)

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

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

Description

Old string:

  • Mentions <span class="count">%s</span>

New string:

  • Mentions %s

Attachments (1)

6903.patch (897 bytes) - added by ramiy 4 years ago.

Download all attachments as: .zip

Change History (6)

@ramiy
4 years ago

#1 @DJPaul
4 years ago

  • Milestone changed from Awaiting Review to 2.5

#2 @DJPaul
4 years ago

  • Milestone changed from 2.5 to Under Consideration

The patch provides a new placeholder token in the string, but I believe there should be a translator comment explaining the value it will be replaced with.

#3 @boonebgorges
4 years ago

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

In 10677:

Remove markup from translatable string when building Activity nav item.

Props ramiy.
Fixes #6903.

#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.