Commit 3465dd97300e29c71365843cb4383e36e0bd7552

Authored by Rodrigo Souto
1 parent eb4d0d91

rails3: remove deprecated terminology method

app/models/environment.rb
... ... @@ -105,11 +105,11 @@ class Environment < ActiveRecord::Base
105 105 'disable_contact_person' => _('Disable contact for people'),
106 106 'disable_contact_community' => _('Disable contact for groups/communities'),
107 107  
108   - 'products_for_enterprises' => __('Enable products for enterprises'),
109   - 'enterprise_registration' => __('Enterprise registration'),
110   - 'enterprise_activation' => __('Enable activation of enterprises'),
111   - 'enterprises_are_disabled_when_created' => __('Enterprises are disabled when created'),
112   - 'enterprises_are_validated_when_created' => __('Enterprises are validated when created'),
  108 + 'products_for_enterprises' => _('Enable products for enterprises'),
  109 + 'enterprise_registration' => _('Enterprise registration'),
  110 + 'enterprise_activation' => _('Enable activation of enterprises'),
  111 + 'enterprises_are_disabled_when_created' => _('Enterprises are disabled when created'),
  112 + 'enterprises_are_validated_when_created' => _('Enterprises are validated when created'),
113 113  
114 114 'media_panel' => _('Media panel in WYSIWYG editor'),
115 115 'select_preferred_domain' => _('Select preferred domains per profile'),
... ...
app/views/profile/_person_profile.html.erb
... ... @@ -31,7 +31,7 @@
31 31 </tr>
32 32 <% if environment.disabled?('disable_asset_enterprises') %>
33 33 <tr id="person-profile-network-enterprises">
34   - <td><%= __('Enterprises') + ':' %></td>
  34 + <td><%= _('Enterprises') + ':' %></td>
35 35 <td><%= link_to profile.enterprises.count, :controller => "profile", :action => 'enterprises' %></td>
36 36 </tr>
37 37 <% end %>
... ...