[buddypress-trac] [BuddyPress] #1645: i18n BuddyBar issues
buddypress-trac at lists.automattic.com
buddypress-trac at lists.automattic.com
Wed Jan 20 22:46:13 UTC 2010
#1645: i18n BuddyBar issues
-------------------------------+--------------------------------------------
Reporter: slaFFik | Owner: slaFFik
Type: defect | Status: new
Priority: minor | Milestone: 1.2
Keywords: localization, i18n |
-------------------------------+--------------------------------------------
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.
--
Ticket URL: <http://trac.buddypress.org/ticket/1645>
BuddyPress <http://buddypress.org/>
BuddyPress
More information about the buddypress-trac
mailing list