From 3465dd97300e29c71365843cb4383e36e0bd7552 Mon Sep 17 00:00:00 2001 From: Rodrigo Souto Date: Fri, 10 Jan 2014 10:51:11 -0300 Subject: [PATCH] rails3: remove deprecated terminology method --- app/models/environment.rb | 10 +++++----- app/views/profile/_person_profile.html.erb | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/app/models/environment.rb b/app/models/environment.rb index 72a880d..424aa62 100644 --- a/app/models/environment.rb +++ b/app/models/environment.rb @@ -105,11 +105,11 @@ class Environment < ActiveRecord::Base 'disable_contact_person' => _('Disable contact for people'), 'disable_contact_community' => _('Disable contact for groups/communities'), - 'products_for_enterprises' => __('Enable products for enterprises'), - 'enterprise_registration' => __('Enterprise registration'), - 'enterprise_activation' => __('Enable activation of enterprises'), - 'enterprises_are_disabled_when_created' => __('Enterprises are disabled when created'), - 'enterprises_are_validated_when_created' => __('Enterprises are validated when created'), + 'products_for_enterprises' => _('Enable products for enterprises'), + 'enterprise_registration' => _('Enterprise registration'), + 'enterprise_activation' => _('Enable activation of enterprises'), + 'enterprises_are_disabled_when_created' => _('Enterprises are disabled when created'), + 'enterprises_are_validated_when_created' => _('Enterprises are validated when created'), 'media_panel' => _('Media panel in WYSIWYG editor'), 'select_preferred_domain' => _('Select preferred domains per profile'), diff --git a/app/views/profile/_person_profile.html.erb b/app/views/profile/_person_profile.html.erb index 2513110..981b329 100644 --- a/app/views/profile/_person_profile.html.erb +++ b/app/views/profile/_person_profile.html.erb @@ -31,7 +31,7 @@ <% if environment.disabled?('disable_asset_enterprises') %> - <%= __('Enterprises') + ':' %> + <%= _('Enterprises') + ':' %> <%= link_to profile.enterprises.count, :controller => "profile", :action => 'enterprises' %> <% end %> -- libgit2 0.21.2