Opened 15 years ago
Closed 15 years ago
#1645 closed defect (bug) (fixed)
i18n BuddyBar issues
Reported by: | slaFFik | Owned by: | slaFFik |
---|---|---|---|
Milestone: | 1.5 | Priority: | minor |
Severity: | Version: | ||
Component: | Core | Keywords: | localization, i18n |
Cc: |
Description
In BuddyBar under Account menu Groups, Blogs, Friends could not be translated (in Russian). I made needed changes in core files using ngettext().
For "Groups" should be something like this:
bp_core_new_nav_item( array( 'name' => sprintf( __ngettext( 'Groups <span>(%d)</span>', 'Groups <span>(%d)</span>', groups_total_groups_for_user(), 'buddypress' ), groups_total_groups_for_user() ), 'slug' => $bp->groups->slug, 'position' => 70, 'screen_function' => 'groups_screen_my_groups', 'default_subnav_slug' => 'my-groups', 'item_css_id' => $bp->groups->id ) );
And not only this strings. Could you provide me with the link to "How to create patches", please.
PS I will work further.
Change History (3)
Note: See
TracTickets for help on using
tickets.
http://www.google.com/search?client=safari&rls=en&q=create+a+patch&ie=UTF-8&oe=UTF-8
If you have trouble, create a new file with line numbers, file names and the changes that are needed so we at least have a reference.