WordPress.org

Making WordPress.org

Opened 2 years ago

Last modified 5 months ago

#1284 assigned defect

BuddyPress.org - String localization

Reported by: ramiy Owned by: netweb
Milestone: Priority: normal
Component: buddypress.org Keywords: has-patch
Cc:

Description

Many strings on BuddyPress.org are not localized.

The attached patch is adding _e() and esc_attr_e() to strings.

Very simple fix.

Attachments (3)

meta-1284.patch (13.8 KB) - added by ramiy 2 years ago.
meta-1284.2.patch (14.2 KB) - added by ramiy 2 years ago.
Minor fix - replace 'bborg' textdomain with 'bporg'
1284.3.patch (17.5 KB) - added by SergeyBiryukov 5 months ago.

Download all attachments as: .zip

Change History (10)

@ramiy
2 years ago

@ramiy
2 years ago

Minor fix - replace 'bborg' textdomain with 'bporg'

#1 @ramiy
2 years ago

Related:

#1284 BuddyPress.org - String localization
#1285 bbPress.org - String localization

#2 @ramiy
2 years ago

#1287 make.WordPress.org - String localization

This ticket was mentioned in Slack in #buddypress by ramiy. View the logs.


2 years ago

#4 @SergeyBiryukov
16 months ago

While we're at it, redundant title attributes should be removed:

<a class="feed" href="<?php bbp_forums_url(); ?>feed/" title="All Recent Posts">All Recent Posts</a>

And this one should be moved to the alt attribute for the image:

<a href="https://www.packtpub.com/web-development/buddypress-theme-development" title="BuddyPress Theme Development"><img width="225" alt="A book by: Tammie Lister" src="<?php echo get_stylesheet_directory_uri(); ?>/images/buddypress-packt.jpg"/></a></p> 

#5 @netweb
15 months ago

  • Keywords needs-refresh added

#6 @coffee2code
14 months ago

  • Owner set to netweb
  • Status changed from new to assigned

Assigning to you @netweb (along with #1285 and #2102) since it seems you have them in hand.

#7 @SergeyBiryukov
5 months ago

  • Keywords needs-refresh removed

In 1284.3.patch:

  • Strings like Friendship connections.<br /> It's always about<br /> who you know! should be translated in context, not as three separate strings.
  • Add translator comments.
  • Remove redundant title attributes.
Note: See TracTickets for help on using tickets.