From b770a7c019ff24711c7317f3d886a1e3d15db807 Mon Sep 17 00:00:00 2001 From: Antonio Terceiro Date: Sat, 14 Aug 2010 23:10:41 -0300 Subject: [PATCH] Marking strings correcly --- app/helpers/application_helper.rb | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb index 503a782..6312d81 100644 --- a/app/helpers/application_helper.rb +++ b/app/helpers/application_helper.rb @@ -1082,9 +1082,9 @@ module ApplicationHelper def browse_people_menu links = [ - {_('people|More Recent') => url_for({:controller => 'browse', :action => 'people', :filter => 'more_recent'})}, - {_('people|More Active') => url_for({:controller => 'browse', :action => 'people', :filter => 'more_active'})}, - {_('people|More Popular') => url_for({:controller => 'browse', :action => 'people', :filter => 'more_popular'})} + {s_('people|More Recent') => url_for({:controller => 'browse', :action => 'people', :filter => 'more_recent'})}, + {s_('people|More Active') => url_for({:controller => 'browse', :action => 'people', :filter => 'more_active'})}, + {s_('people|More Popular') => url_for({:controller => 'browse', :action => 'people', :filter => 'more_popular'})} ] if logged_in? links.push(_('My friends') => url_for({:profile => current_user.login, :controller => 'friends'})) @@ -1097,9 +1097,9 @@ module ApplicationHelper def browse_communities_menu links = [ - {_('communities|More Recent') => url_for({:controller => 'browse', :action => 'communities', :filter => 'more_recent'})}, - {_('communities|More Active') => url_for({:controller => 'browse', :action => 'communities', :filter => 'more_active'})}, - {_('communities|More Popular') => url_for({:controller => 'browse', :action => 'communities', :filter => 'more_popular'})} + {s_('communities|More Recent') => url_for({:controller => 'browse', :action => 'communities', :filter => 'more_recent'})}, + {s_('communities|More Active') => url_for({:controller => 'browse', :action => 'communities', :filter => 'more_active'})}, + {s_('communities|More Popular') => url_for({:controller => 'browse', :action => 'communities', :filter => 'more_popular'})} ] if logged_in? links.push(_('My communities') => url_for({:profile => current_user.login, :controller => 'memberships'})) -- libgit2 0.21.2