Commit c1ffddd6b8276c1a0964af212fb1268fafefae0d
1 parent
2ec96cea
Exists in
master
and in
29 other branches
ActionItem1043: using singular and plural
Showing
4 changed files
with
9 additions
and
3 deletions
Show diff stats
app/models/communities_block.rb
@@ -7,7 +7,7 @@ class CommunitiesBlock < ProfileListBlock | @@ -7,7 +7,7 @@ class CommunitiesBlock < ProfileListBlock | ||
7 | end | 7 | end |
8 | 8 | ||
9 | def default_title | 9 | def default_title |
10 | - __('{#} communities') | 10 | + n__('{#} community', '{#} communities', profile_count) |
11 | end | 11 | end |
12 | 12 | ||
13 | def profile_image_link_method | 13 | def profile_image_link_method |
app/models/enterprises_block.rb
app/models/friends_block.rb
lib/zen3_terminology.rb
@@ -68,6 +68,12 @@ class Zen3Terminology < Noosfero::Terminology::Custom | @@ -68,6 +68,12 @@ class Zen3Terminology < Noosfero::Terminology::Custom | ||
68 | 'Preferred domain name:' => N_('Choose your host community:'), | 68 | 'Preferred domain name:' => N_('Choose your host community:'), |
69 | 'My communities' => N_('My groups'), | 69 | 'My communities' => N_('My groups'), |
70 | 'Community Info and settings' => N_('Group Info and Settings'), | 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 | end | 78 | end |
73 | 79 |