Commit 2d80432538154d277dfc3da70a653f6e3a2f10e9

Authored by Joenio Costa
1 parent f8bd2430

fix default title of frieds block

(ActionItem2859)
plugins/people_block/lib/friends_block.rb
... ... @@ -9,7 +9,7 @@ class FriendsBlock < PeopleBlockBase
9 9 end
10 10  
11 11 def default_title
12   - _('{#} Friends')
  12 + n_('{#} friend', '{#} friends', profile_count)
13 13 end
14 14  
15 15 def profiles
... ...
plugins/people_block/lib/members_block.rb
... ... @@ -12,7 +12,7 @@ class MembersBlock < PeopleBlockBase
12 12 end
13 13  
14 14 def default_title
15   - title = role ? role.name : 'Members'
  15 + title = role ? role.name : n_('members')
16 16 _('{#} %s') % title
17 17 end
18 18  
... ...