Commit 7dcbd6a207c47c6053891abbae9d4e0da04c24dc

Authored by AntonioTerceiro
1 parent 548e53dd

ActionItem638: fixing terminology use in environment statistics block

git-svn-id: https://svn.colivre.coop.br/svn/noosfero/trunk@2464 3f533792-8f58-4932-b0fe-aaf55b0a4547
app/models/environment_statistics_block.rb
... ... @@ -19,8 +19,8 @@ class EnvironmentStatisticsBlock < Block
19 19  
20 20 info = [
21 21 n_('One user', '%{num} users', users) % { :num => users },
22   - n_('One enterprise', '%{num} enterprises', enterprises) % { :num => enterprises },
23   - n_('One community', '%{num} communities', communities) % { :num => communities },
  22 + n__('One enterprise', '%{num} enterprises', enterprises) % { :num => enterprises },
  23 + n__('One community', '%{num} communities', communities) % { :num => communities },
24 24 ]
25 25  
26 26 block_title(title) + content_tag('ul', info.map {|item| content_tag('li', item) }.join("\n"))
... ...
lib/zen3_terminology.rb
... ... @@ -39,7 +39,6 @@ class Zen3Terminology < Noosfero::Terminology::Custom
39 39 'Register a new Enterprise' => N_('Register a new organization'),
40 40 'One friend' => N_('One contact'),
41 41 '%d friends' => N_('%d contacts'),
42   - 'One community' => N_('One group'),
43 42 '%d communities' => N_('%d groups'),
44 43 'Are you sure you want to remove %s from your friends list?' => N_('Are you sure you want to remove %s from your contacts list?'),
45 44 'Note that %s will still have you as a friend, unless he/she also wants to remove you from his/her friend list.' => N_('Note that %s will still have you as a friend, unless he/she also wants to remove you from his/her contact list.'),
... ...