Commit 962cb3526c91e061a73a1481ad20ee28808986e0
Committed by
Antonio Terceiro
1 parent
10af872d
Exists in
master
and in
29 other branches
ActionItem1199: fixed conflict of strings to translate
Showing
1 changed file
with
2 additions
and
2 deletions
Show diff stats
app/views/blocks/my_network/person.rhtml
... | ... | @@ -3,8 +3,8 @@ |
3 | 3 | content_tag('b', owner.articles.count), owner.public_profile_url.merge(:action => 'sitemap') ) %></li> |
4 | 4 | <li><%= link_to(n__('One friend', '%s friends', owner.friends.count) % |
5 | 5 | content_tag('b', owner.friends.count), owner.public_profile_url.merge(:action => 'friends')) %></li> |
6 | - <li><%= link_to(n__('One community', '%s communities', owner.communities.size) % | |
7 | - content_tag('b', owner.communities.size), owner.public_profile_url.merge(:action => 'communities')) %></li> | |
6 | + <li><%= link_to(n__('One community', '%{num} communities', owner.communities.size) % | |
7 | + {:num => content_tag('b', owner.communities.size)}, owner.public_profile_url.merge(:action => 'communities')) %></li> | |
8 | 8 | <li><%= link_to(n_('One tag', '%s tags', owner.article_tags.size) % |
9 | 9 | content_tag('b', owner.article_tags.size), owner.public_profile_url.merge(:action => 'tags')) %></li> |
10 | 10 | </ul> | ... | ... |