diff --git a/app/models/communities_block.rb b/app/models/communities_block.rb index ecea407..e82d47e 100644 --- a/app/models/communities_block.rb +++ b/app/models/communities_block.rb @@ -21,11 +21,11 @@ class CommunitiesBlock < ProfileListBlock case owner when Profile lambda do - link_to __('View all'), :profile => owner.identifier, :controller => 'profile', :action => 'communities' + link_to s_('communities|View all'), :profile => owner.identifier, :controller => 'profile', :action => 'communities' end when Environment lambda do - link_to __('View all'), :controller => 'search', :action => 'assets', :asset => 'communities' + link_to s_('communities|View all'), :controller => 'search', :action => 'assets', :asset => 'communities' end else '' diff --git a/app/models/enterprises_block.rb b/app/models/enterprises_block.rb index 13d1df0..edcade0 100644 --- a/app/models/enterprises_block.rb +++ b/app/models/enterprises_block.rb @@ -17,11 +17,11 @@ class EnterprisesBlock < ProfileListBlock case owner when Profile lambda do - link_to __('View all'), :profile => owner.identifier, :controller => 'profile', :action => 'enterprises' + link_to s_('enterprises|View all'), :profile => owner.identifier, :controller => 'profile', :action => 'enterprises' end when Environment lambda do - link_to __('View all'), :controller => 'search', :action => 'assets', :asset => 'enterprises' + link_to s_('enterprises|View all'), :controller => 'search', :action => 'assets', :asset => 'enterprises' end else '' diff --git a/app/models/friends_block.rb b/app/models/friends_block.rb index 858586f..4454aa8 100644 --- a/app/models/friends_block.rb +++ b/app/models/friends_block.rb @@ -15,7 +15,7 @@ class FriendsBlock < ProfileListBlock def footer owner_id = owner.identifier lambda do - link_to __('View all'), :profile => owner_id, :controller => 'profile', :action => 'friends' + link_to s_('friends|View all'), :profile => owner_id, :controller => 'profile', :action => 'friends' end end -- libgit2 0.21.2