Commit c1ffddd6b8276c1a0964af212fb1268fafefae0d

Authored by Antonio Terceiro
1 parent 2ec96cea

ActionItem1043: using singular and plural

app/models/communities_block.rb
... ... @@ -7,7 +7,7 @@ class CommunitiesBlock < ProfileListBlock
7 7 end
8 8  
9 9 def default_title
10   - __('{#} communities')
  10 + n__('{#} community', '{#} communities', profile_count)
11 11 end
12 12  
13 13 def profile_image_link_method
... ...
app/models/enterprises_block.rb
1 1 class EnterprisesBlock < ProfileListBlock
2 2  
3 3 def default_title
4   - __('{#} enterprises')
  4 + n__('{#} enterprise', '{#} enterprises', profile_count)
5 5 end
6 6  
7 7 def help
... ...
app/models/friends_block.rb
... ... @@ -5,7 +5,7 @@ class FriendsBlock &lt; ProfileListBlock
5 5 end
6 6  
7 7 def default_title
8   - __('{#} friends')
  8 + n__('{#} friend', '{#} friends', profile_count)
9 9 end
10 10  
11 11 def help
... ...
lib/zen3_terminology.rb
... ... @@ -68,6 +68,12 @@ class Zen3Terminology &lt; Noosfero::Terminology::Custom
68 68 'Preferred domain name:' => N_('Choose your host community:'),
69 69 'My communities' => N_('My groups'),
70 70 'Community Info and settings' => N_('Group Info and Settings'),
  71 + '{#} community' => N_('{#} group'),
  72 + '{#} communities' => N_('{#} groups'),
  73 + '{#} enterprise' => N_('{#} organization'),
  74 + '{#} enterprises' => N_('{#} organizations'),
  75 + '{#} friend' => N_('{#} contact'),
  76 + '{#} friends' => N_('{#} contacts'),
71 77 })
72 78 end
73 79  
... ...