Commit 7a0cc205a6330646b34d5fcdc95990c8abab9a21

Authored by AntonioTerceiro
1 parent b4f45864

ActionItem523: marking 'Homepage' for terminology translation

git-svn-id: https://svn.colivre.coop.br/svn/noosfero/trunk@2303 3f533792-8f58-4932-b0fe-aaf55b0a4547
app/views/blocks/profile_info.rhtml
... ... @@ -17,7 +17,7 @@
17 17  
18 18 <ul class="profile-info-data">
19 19 <li><%= _('Since %{year}/%{month}') % { :year => block.owner.created_at.year, :month => block.owner.created_at.month } %></li>
20   - <li><%= link_to _('Homepage'), block.owner.url, :class => 'url' %></li>
  20 + <li><%= link_to __('Homepage'), block.owner.url, :class => 'url' %></li>
21 21 <li><%= link_to _('View profile'), block.owner.public_profile_url %></li>
22 22 <li><%= link_to(_('Products/Services'), :controller => 'catalog', :profile => block.owner.identifier) if block.owner.enterprise? %></li>
23 23 <% if !user.nil? and user.has_permission?('edit_profile', profile) %>
... ...
lib/zen3_terminology.rb
... ... @@ -7,6 +7,7 @@ class Zen3Terminology &lt; Noosfero::Terminology::Custom
7 7 # NOTE: the hash values must be marked for translation!!
8 8 super({
9 9 'My Home Page' => N_('My ePortfolio'),
  10 + 'Homepage' => N_('ePortfolio')
10 11 })
11 12 end
12 13  
... ...