Skip to:
Content

BuddyPress.org

Opened 3 years ago

Closed 3 years ago

#8575 closed defect (bug) (fixed)

Improve translator comments consistency

Reported by: imath's profile imath Owned by: slaffik's profile slaFFik
Milestone: 10.0.0 Priority: normal
Severity: normal Version:
Component: I18N Keywords: needs-patch good-first-bug
Cc:

Description

WP CLI pot generation command outputs warnings:

>> Warning: The string "Profile picture of %s" has 2 different translator comments. (bp-activity/bp-activity-template.php:1045)
>> Warning: The string "%1$s no longer accepts arguments. See the inline documentation at %2$s for more details." has 2 different translator comments. (bp-activity/bp-activity-template.php:2208)
>> Warning: The string "%s's Friends" has 2 different translator comments. (bp-friends/bp-friends-blocks.php:99)
>> Warning: The string "Active %s" has 2 different translator comments. (bp-friends/bp-friends-blocks.php:168)
>> Warning: The string "%s member" has 3 different translator comments. (bp-groups/bp-groups-blocks.php:440)
>> Warning: The string "Argument `membership_id` passed to %1$s is deprecated. See the inline documentation at %2$s for more details." has 2 different translator comments. (bp-groups/bp-groups-functions.php:2233)

Let's fix these!

Change History (1)

#1 @imath
3 years ago

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

In 13185:

Improve /* translators:*/ comments consistency

Fixes #8575

Note: See TracTickets for help on using tickets.