From 7dcbd6a207c47c6053891abbae9d4e0da04c24dc Mon Sep 17 00:00:00 2001 From: AntonioTerceiro Date: Fri, 5 Sep 2008 12:02:25 +0000 Subject: [PATCH] ActionItem638: fixing terminology use in environment statistics block --- app/models/environment_statistics_block.rb | 4 ++-- lib/zen3_terminology.rb | 1 - 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/app/models/environment_statistics_block.rb b/app/models/environment_statistics_block.rb index a43dd91..ac7f767 100644 --- a/app/models/environment_statistics_block.rb +++ b/app/models/environment_statistics_block.rb @@ -19,8 +19,8 @@ class EnvironmentStatisticsBlock < Block info = [ n_('One user', '%{num} users', users) % { :num => users }, - n_('One enterprise', '%{num} enterprises', enterprises) % { :num => enterprises }, - n_('One community', '%{num} communities', communities) % { :num => communities }, + n__('One enterprise', '%{num} enterprises', enterprises) % { :num => enterprises }, + n__('One community', '%{num} communities', communities) % { :num => communities }, ] block_title(title) + content_tag('ul', info.map {|item| content_tag('li', item) }.join("\n")) diff --git a/lib/zen3_terminology.rb b/lib/zen3_terminology.rb index edfd6d5..f705ce8 100644 --- a/lib/zen3_terminology.rb +++ b/lib/zen3_terminology.rb @@ -39,7 +39,6 @@ class Zen3Terminology < Noosfero::Terminology::Custom 'Register a new Enterprise' => N_('Register a new organization'), 'One friend' => N_('One contact'), '%d friends' => N_('%d contacts'), - 'One community' => N_('One group'), '%d communities' => N_('%d groups'), '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?'), '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.'), -- libgit2 0.21.2