Commit ecb8c9872ded0397c580369aa77170c1ce4d5329
Committed by
Antonio Terceiro
1 parent
6979130d
Exists in
master
and in
29 other branches
Marking all "enterprise" mentions for terminology
Showing
29 changed files
with
61 additions
and
61 deletions
Show diff stats
app/controllers/admin/features_controller.rb
... | ... | @@ -34,9 +34,9 @@ class FeaturesController < AdminController |
34 | 34 | def manage_enterprise_fields |
35 | 35 | environment.custom_enterprise_fields = params[:enterprise_fields] |
36 | 36 | if environment.save! |
37 | - flash[:notice] = _('Enterprise fields updated successfully.') | |
37 | + flash[:notice] = __('Enterprise fields updated successfully.') | |
38 | 38 | else |
39 | - flash[:error] = _('Enterprise fields not updated successfully.') | |
39 | + flash[:error] = __('Enterprise fields not updated successfully.') | |
40 | 40 | end |
41 | 41 | redirect_to :action => 'manage_fields' |
42 | 42 | end | ... | ... |
app/controllers/public/profile_controller.rb
... | ... | @@ -132,7 +132,7 @@ class ProfileController < PublicController |
132 | 132 | flash[:notice] = _("You have unblocked %s successfully. ") % profile.name |
133 | 133 | redirect_to :controller => 'profile', :action => 'index' |
134 | 134 | else |
135 | - message = _('You are not allowed to unblock enterprises in this environment.') | |
135 | + message = __('You are not allowed to unblock enterprises in this environment.') | |
136 | 136 | render_access_denied(message) |
137 | 137 | end |
138 | 138 | end | ... | ... |
app/models/create_enterprise.rb
... | ... | @@ -154,7 +154,7 @@ class CreateEnterprise < Task |
154 | 154 | end |
155 | 155 | |
156 | 156 | def description |
157 | - _('Enterprise registration: "%s"') % self.name | |
157 | + __('Enterprise registration: "%s"') % self.name | |
158 | 158 | end |
159 | 159 | |
160 | 160 | def task_created_message |
... | ... | @@ -164,18 +164,18 @@ class CreateEnterprise < Task |
164 | 164 | end |
165 | 165 | |
166 | 166 | def task_finished_message |
167 | - _('Your request for registering the enterprise "%{enterprise}" was approved. You can access %{environment} now and provide start providing all relevant information your new enterprise.') % { :enterprise => self.name, :environment => self.environment } | |
167 | + __('Your request for registering the enterprise "%{enterprise}" was approved. You can access %{environment} now and provide start providing all relevant information your new enterprise.') % { :enterprise => self.name, :environment => self.environment } | |
168 | 168 | end |
169 | 169 | |
170 | 170 | def task_cancelled_message |
171 | - _("Your request for registering the enterprise %{enterprise} at %{environment} was NOT approved by the validator organization. The following explanation was given: \n\n%{explanation}") % { :enterprise => self.name, :environment => self.environment, :explanation => self.reject_explanation } | |
171 | + __("Your request for registering the enterprise %{enterprise} at %{environment} was NOT approved by the validator organization. The following explanation was given: \n\n%{explanation}") % { :enterprise => self.name, :environment => self.environment, :explanation => self.reject_explanation } | |
172 | 172 | end |
173 | 173 | |
174 | 174 | def target_notification_message |
175 | 175 | msg = "" |
176 | - msg << _("Enterprise \"%{enterprise}\" just requested to enter %{environment}. You have to approve or reject it through the \"Pending Validations\" section in your control panel.\n") % { :enterprise => self.name, :environment => self.environment } | |
176 | + msg << __("Enterprise \"%{enterprise}\" just requested to enter %{environment}. You have to approve or reject it through the \"Pending Validations\" section in your control panel.\n") % { :enterprise => self.name, :environment => self.environment } | |
177 | 177 | msg << "\n" |
178 | - msg << _("The data provided by the enterprise was the following:\n") << "\n" | |
178 | + msg << __("The data provided by the enterprise was the following:\n") << "\n" | |
179 | 179 | |
180 | 180 | |
181 | 181 | msg << (_("Name: %s") % self.name) << "\n" |
... | ... | @@ -185,12 +185,12 @@ class CreateEnterprise < Task |
185 | 185 | msg << (_("Foundation Year: %d") % self.foundation_year) << "\n" unless self.foundation_year.blank? |
186 | 186 | msg << (_("Economic activity: %s") % self.economic_activity) << "\n" |
187 | 187 | |
188 | - msg << _("Information about enterprise's management:\n") << self.management_information.to_s << "\n" | |
188 | + msg << __("Information about enterprise's management:\n") << self.management_information.to_s << "\n" | |
189 | 189 | |
190 | 190 | msg << (_("Contact phone: %s") % self.contact_phone) << "\n" |
191 | 191 | msg << (_("Contact person: %s") % self.contact_person) << "\n" |
192 | 192 | |
193 | - msg << _('CreateEnterprise|Identifier') | |
193 | + msg << __('CreateEnterprise|Identifier') | |
194 | 194 | |
195 | 195 | msg |
196 | 196 | end | ... | ... |
app/models/disabled_enterprise_message_block.rb
1 | 1 | class DisabledEnterpriseMessageBlock < Block |
2 | 2 | |
3 | 3 | def self.description |
4 | - _('"Disabled enterprise" message') | |
4 | + __('"Disabled enterprise" message') | |
5 | 5 | end |
6 | 6 | |
7 | 7 | def help |
8 | - _('Shows a message for disabled enterprises.') | |
8 | + __('Shows a message for disabled enterprises.') | |
9 | 9 | end |
10 | 10 | |
11 | 11 | def default_title | ... | ... |
app/models/enterprise_homepage.rb
app/models/environment.rb
... | ... | @@ -80,7 +80,7 @@ class Environment < ActiveRecord::Base |
80 | 80 | 'disable_asset_communities' => __('Disable search for communities'), |
81 | 81 | 'disable_asset_products' => _('Disable search for products'), |
82 | 82 | 'disable_asset_events' => _('Disable search for events'), |
83 | - 'disable_products_for_enterprises' => _('Disable products for enterprises'), | |
83 | + 'disable_products_for_enterprises' => __('Disable products for enterprises'), | |
84 | 84 | 'disable_categories' => _('Disable categories'), |
85 | 85 | 'disable_cms' => _('Disable CMS'), |
86 | 86 | 'disable_header_and_footer' => _('Disable header/footer editing by users'), |
... | ... | @@ -89,10 +89,10 @@ class Environment < ActiveRecord::Base |
89 | 89 | 'disable_select_city_for_contact' => _('Disable state/city select for contact form'), |
90 | 90 | 'disable_contact_person' => _('Disable contact for people'), |
91 | 91 | 'disable_contact_community' => _('Disable contact for groups/communities'), |
92 | - 'enterprise_registration' => _('Enterprise registration'), | |
92 | + 'enterprise_registration' => __('Enterprise registration'), | |
93 | 93 | 'join_community_popup' => _('Ask users to join a group/community with a popup'), |
94 | 94 | |
95 | - 'enterprise_activation' => _('Enable activation of enterprises'), | |
95 | + 'enterprise_activation' => __('Enable activation of enterprises'), | |
96 | 96 | 'wysiwyg_editor_for_environment_home' => _('Use WYSIWYG editor to edit environment home page'), |
97 | 97 | 'media_panel' => _('Media panel in WYSIWYG editor'), |
98 | 98 | 'select_preferred_domain' => _('Select preferred domains per profile'), |
... | ... | @@ -107,7 +107,7 @@ class Environment < ActiveRecord::Base |
107 | 107 | 'organizations_are_moderated_by_default' => _("Organizations have moderated publication by default"), |
108 | 108 | 'enable_organization_url_change' => _("Allow organizations to change their URL"), |
109 | 109 | 'admin_must_approve_new_communities' => _("Admin must approve creation of communities"), |
110 | - 'enterprises_are_disabled_when_created' => _('Enterprises are disabled when created'), | |
110 | + 'enterprises_are_disabled_when_created' => __('Enterprises are disabled when created'), | |
111 | 111 | } |
112 | 112 | end |
113 | 113 | ... | ... |
app/models/favorite_enterprises_block.rb
app/models/sellers_search_block.rb
app/views/account/accept_terms.rhtml
... | ... | @@ -11,7 +11,7 @@ |
11 | 11 | } |
12 | 12 | </script> |
13 | 13 | <div class=activation-box> |
14 | - <h2><%= _('Enterprise activation') + ' - ' + (logged_in? ? _('part 2 of 2') : _(' part 2 of 3')) %></h2> | |
14 | + <h2><%= __('Enterprise activation') + ' - ' + (logged_in? ? _('part 2 of 2') : _(' part 2 of 3')) %></h2> | |
15 | 15 | |
16 | 16 | <div id='terms-of-enterprise-use' class='height: 200px; overflow: auto;'><%= @terms_of_enterprise_use %></div> |
17 | 17 | ... | ... |
app/views/account/activate_enterprise.rhtml
1 | 1 | <div class='activation-box'> |
2 | -<h2><%= _('Enterprise activation - part 3 of 3') %></h2> | |
2 | +<h2><%= __('Enterprise activation - part 3 of 3') %></h2> | |
3 | 3 | |
4 | 4 | <%= error_messages_for :user %> |
5 | 5 | |
6 | -<p><%= _('Now for you manage your enterprise you have to associate an individual account to the enterprise.') %></p> | |
6 | +<p><%= __('Now for you manage your enterprise you have to associate an individual account to the enterprise.') %></p> | |
7 | 7 | <p><%= _('Do you have a personal user account in the system?') %></p> |
8 | 8 | |
9 | 9 | <div id="enterprise-activation-create-user-or-login-button"> |
... | ... | @@ -14,7 +14,7 @@ |
14 | 14 | <div id="enterprise-activation-create-user-form" style="display: none"> |
15 | 15 | <h3><%= _('Personal signup form') %></h3> |
16 | 16 | <%= render :partial => 'signup_form', :locals => { :hidden_atention => true } %> |
17 | - <p><%= message = _('<b>Warning</b>: this form is for your personal information, not of your enterprise. So you will have a personal account that can manage your enterprise.') %></p> | |
17 | + <p><%= message = __('<b>Warning</b>: this form is for your personal information, not of your enterprise. So you will have a personal account that can manage your enterprise.') %></p> | |
18 | 18 | </div> |
19 | 19 | |
20 | 20 | <div id="enterprise-activation-login-form" style="display: none"> | ... | ... |
app/views/account/activation_question.rhtml
... | ... | @@ -23,14 +23,14 @@ |
23 | 23 | </script> |
24 | 24 | |
25 | 25 | <div class='activation-box'> |
26 | - <h2><%= _('Enterprise activation') + ' - ' + (logged_in? ? _('part 1 of 2') : _('part 1 of 3')) %></h2> | |
26 | + <h2><%= __('Enterprise activation') + ' - ' + (logged_in? ? _('part 1 of 2') : _('part 1 of 3')) %></h2> | |
27 | 27 | <% form_tag( {:action => 'accept_terms'}, {:method => 'get', :onsubmit => (@question == :foundation_year ? 'return check_valid_year(this)' : 'return check_valid_cnpj(this)')}) do %> |
28 | 28 | |
29 | 29 | <p> <strong><%= _('Pay atention! You have only one chance!') %></strong> </p> |
30 | 30 | |
31 | - <p><%= _("This is a question to know if you really are part of this enterprise. Pay atention because you have only one chance to answer right and activate your enterprise. If you answer wrong you will not be able to activate the enterprise automaticaly and must get in touch with the admins of %s by email or phone.") % environment.name %> </p> | |
31 | + <p><%= __("This is a question to know if you really are part of this enterprise. Pay atention because you have only one chance to answer right and activate your enterprise. If you answer wrong you will not be able to activate the enterprise automaticaly and must get in touch with the admins of %s by email or phone.") % environment.name %> </p> | |
32 | 32 | |
33 | - <%= ApplicationHelper::NoosferoFormBuilder::output_field(@question == :foundation_year ? (_("What year your enterprise was founded? It must have 4 digits, eg 1990. %s") % environment.tip_message_enterprise_activation_question) : _('What is the CNPJ of your enterprise?'), text_field_tag(:answer, nil, :id => 'enterprise-activation-answer')) %> | |
33 | + <%= ApplicationHelper::NoosferoFormBuilder::output_field(@question == :foundation_year ? (__("What year your enterprise was founded? It must have 4 digits, eg 1990. %s") % environment.tip_message_enterprise_activation_question) : __('What is the CNPJ of your enterprise?'), text_field_tag(:answer, nil, :id => 'enterprise-activation-answer')) %> | |
34 | 34 | |
35 | 35 | <%= hidden_field_tag :enterprise_code, params[:enterprise_code] %> |
36 | 36 | ... | ... |
app/views/account/already_activated.rhtml
app/views/account/blocked.rhtml
1 | 1 | <div class='blocked-warning' > |
2 | -<center><h1><%= _('This enterprise can\'t be activated by the system') %></h1></center> | |
3 | -<p><%= _('Unfortunately this enterprise can\'t be activated via the system.') %></p> | |
2 | +<center><h1><%= __('This enterprise can\'t be activated by the system') %></h1></center> | |
3 | +<p><%= __('Unfortunately this enterprise can\'t be activated via the system.') %></p> | |
4 | 4 | <p> |
5 | 5 | <% if @enterprise.blocked? %> |
6 | 6 | <%= _('There was a failed atempt of activation and the automated activation was disabled for your security.') %> |
7 | 7 | <% else %> |
8 | - <%= _('We dont have enough information about your enterprise to identify you.') %> | |
8 | + <%= __('We dont have enough information about your enterprise to identify you.') %> | |
9 | 9 | <% end %> |
10 | 10 | </p> |
11 | 11 | |
12 | 12 | <% if @environment.activation_blocked_text.blank? %> |
13 | - <%= _('Your enterprise has been blocked') %> | |
13 | + <%= __('Your enterprise has been blocked') %> | |
14 | 14 | <% else %> |
15 | 15 | <%= @environment.activation_blocked_text %> |
16 | 16 | <% end %> | ... | ... |
app/views/account/invalid_enterprise_code.rhtml
1 | -<h1><%= _("Invalid enterprise code") %></h1> | |
1 | +<h1><%= __("Invalid enterprise code") %></h1> | |
2 | 2 | |
3 | 3 | <p> |
4 | -<%= _('The code you are using for validate your enterprise is not valid. Please check if you are typing it correctly.') %> | |
4 | +<%= __('The code you are using for validate your enterprise is not valid. Please check if you are typing it correctly.') %> | |
5 | 5 | </p> | ... | ... |
app/views/account/welcome.rhtml
1 | 1 | <% if @enterprise && logged_in? %> |
2 | 2 | <h1><%= _('Welcome to %s') % environment.name %></h1> |
3 | 3 | |
4 | - <%= _('%s was successfuly activated. Now you may go to your control panel or to the control panel of your enterprise') % @enterprise.name %> | |
4 | + <%= __('%s was successfuly activated. Now you may go to your control panel or to the control panel of your enterprise') % @enterprise.name %> | |
5 | 5 | |
6 | 6 | <% button_bar do %> |
7 | 7 | <%= button 'forward', _('Go to my control panel'), :action => 'index', :controller => 'profile_editor', :profile => current_user.person.identifier %> |
8 | - <%= button 'forward', _('Go to my enterprise control panel') % @enterprise.name, :action => 'index', :controller => 'profile_editor', :profile => @enterprise.identifier %> | |
8 | + <%= button 'forward', __('Go to my enterprise control panel') % @enterprise.name, :action => 'index', :controller => 'profile_editor', :profile => @enterprise.identifier %> | |
9 | 9 | <% end %> |
10 | 10 | <% end %> | ... | ... |
app/views/admin_panel/edit_templates.rhtml
... | ... | @@ -3,5 +3,5 @@ |
3 | 3 | <ul> |
4 | 4 | <li><%= link_to _('Edit Person Template'), :controller => 'profile_editor', :profile => environment.person_template.identifier %></li> |
5 | 5 | <li><%= link_to _('Edit Community Template'), :controller => 'profile_editor', :profile => environment.community_template.identifier %></li> |
6 | -<li><%= link_to _('Edit Enterprise Template'), :controller => 'profile_editor', :profile => environment.enterprise_template.identifier %></li> | |
6 | +<li><%= link_to __('Edit Enterprise Template'), :controller => 'profile_editor', :profile => environment.enterprise_template.identifier %></li> | |
7 | 7 | </ul> | ... | ... |
app/views/enterprise_registration/basic_information.rhtml
1 | 1 | <%= error_messages_for 'create_enterprise' %> |
2 | 2 | |
3 | -<h1><%= _('Enterprise registration') %></h1> | |
3 | +<h1><%= __('Enterprise registration') %></h1> | |
4 | 4 | |
5 | 5 | |
6 | 6 | <% if @validation == :region && @regions.empty? %> |
7 | 7 | <div class='atention'> |
8 | - <%= _('There are no validators to validate the registration of this new enterprise. Contact your administrator for instructions.') %> | |
8 | + <%= __('There are no validators to validate the registration of this new enterprise. Contact your administrator for instructions.') %> | |
9 | 9 | </div> |
10 | 10 | |
11 | 11 | <% button_bar do %> |
... | ... | @@ -13,7 +13,7 @@ |
13 | 13 | <% end %> |
14 | 14 | <% else %> |
15 | 15 | <div class='atention'> |
16 | - <%= _('To register a new enterprise, fill in the form and hit the Register button. Then the enterprise will be submitted for evaluation at the validation entitiy of your choice (within your state) and when the enterprise is aproved you will be able to activate its profile.') %> | |
16 | + <%= __('To register a new enterprise, fill in the form and hit the Register button. Then the enterprise will be submitted for evaluation at the validation entitiy of your choice (within your state) and when the enterprise is aproved you will be able to activate its profile.') %> | |
17 | 17 | </div> |
18 | 18 | |
19 | 19 | <%= required_fields_message %> | ... | ... |
app/views/enterprise_registration/confirmation.rhtml
1 | -<h1><%= _('Enterprise registration completed') %></h1> | |
1 | +<h1><%= __('Enterprise registration completed') %></h1> | |
2 | 2 | |
3 | 3 | <p> |
4 | -<%= _("Your enterprise registration request was successfully registered. The validator organization you choose (%s) should get in touch with to start the validation process. As soon as the validators approve (or reject) your request, you will be notified by e-mail.") % @create_enterprise.target.name %> | |
4 | +<%= __("Your enterprise registration request was successfully registered. The validator organization you choose (%s) should get in touch with to start the validation process. As soon as the validators approve (or reject) your request, you will be notified by e-mail.") % @create_enterprise.target.name %> | |
5 | 5 | </p> |
6 | 6 | |
7 | 7 | <p> | ... | ... |
app/views/enterprise_registration/creation.rhtml
1 | -<h1><%= _('Enterprise registration completed') %></h1> | |
1 | +<h1><%= __('Enterprise registration completed') %></h1> | |
2 | 2 | |
3 | 3 | <p> |
4 | -<%= _("Your enterprise (%s) was successfully registered.") % @enterprise.name %> | |
4 | +<%= __("Your enterprise (%s) was successfully registered.") % @enterprise.name %> | |
5 | 5 | </p> |
6 | 6 | |
7 | 7 | <p> |
8 | -<%= link_to _('You can manage your enterprise now.'), @enterprise.admin_url %> | |
8 | +<%= link_to __('You can manage your enterprise now.'), @enterprise.admin_url %> | |
9 | 9 | </p> | ... | ... |
app/views/enterprise_registration/select_validator.rhtml
1 | -<h1><%= _('Enterprise registration: validator organization') %></h1> | |
1 | +<h1><%= __('Enterprise registration: validator organization') %></h1> | |
2 | 2 | |
3 | 3 | <p> |
4 | -<%= _('Select one organization to validate your enterprise registration request. Check the provided information about their validation methodoly and criteria.') %> | |
4 | +<%= __('Select one organization to validate your enterprise registration request. Check the provided information about their validation methodoly and criteria.') %> | |
5 | 5 | </p> |
6 | 6 | |
7 | 7 | <% form_tag do %> | ... | ... |
app/views/enterprise_validation/details.rhtml
... | ... | @@ -12,7 +12,7 @@ |
12 | 12 | |
13 | 13 | <h4><%= _('Approve') %></h4> |
14 | 14 | |
15 | -<p><%= _('If this enterprise passes the criteria to be considered an solidarity enconomy enterprise, you can approve it by click the button below.') %></p> | |
15 | +<p><%= __('If this enterprise passes the criteria to be considered an solidarity enconomy enterprise, you can approve it by click the button below.') %></p> | |
16 | 16 | |
17 | 17 | <% form_tag :action => 'approve', :id => @pending.code do %> |
18 | 18 | <% button_bar do %> |
... | ... | @@ -22,7 +22,7 @@ |
22 | 22 | |
23 | 23 | <h4><%= _('Reject') %></h4> |
24 | 24 | |
25 | -<p><%= _('If this enterprise does not pass the criteria do be considered, use this form.') %></p> | |
25 | +<p><%= __('If this enterprise does not pass the criteria do be considered, use this form.') %></p> | |
26 | 26 | |
27 | 27 | <% form_tag :action => 'reject', :id => @pending.code do %> |
28 | 28 | <%= labelled_form_field(_('Please provide an explanation for the rejection. This explanation will be sent to the requestor (required).'), text_area_tag('reject_explanation'))%> | ... | ... |
app/views/enterprise_validation/list_processed.rhtml
app/views/favorite_enterprises/add.rhtml
1 | -<h1><%= _('Adding %s as a favorite enterprise') % @favorite_enterprise.name %></h1> | |
1 | +<h1><%= __('Adding %s as a favorite enterprise') % @favorite_enterprise.name %></h1> | |
2 | 2 | |
3 | 3 | <p> |
4 | -<%= _('Are you sure you want to add %s as your favorite enterprise?') % @favorite_enterprise.name %> | |
4 | +<%= __('Are you sure you want to add %s as your favorite enterprise?') % @favorite_enterprise.name %> | |
5 | 5 | </p> |
6 | 6 | |
7 | 7 | <% form_tag do %> |
8 | 8 | <%= hidden_field_tag(:confirmation, 1) %> |
9 | 9 | |
10 | - <%= submit_button(:ok, _("Yes, I want to add %s as a favorite enterprise") % @favorite_enterprise.name) %> | |
10 | + <%= submit_button(:ok, __("Yes, I want to add %s as a favorite enterprise") % @favorite_enterprise.name) %> | |
11 | 11 | <%= button(:cancel, _("No, I don't want"), :action => 'index') %> |
12 | 12 | <% end %> | ... | ... |
app/views/favorite_enterprises/index.rhtml
1 | 1 | <div id="manage_favorite_enterprises"> |
2 | 2 | |
3 | -<h1><%= _("%s's favorite enteprises") % profile.name %></h1> | |
3 | +<h1><%= __("%s's favorite enterprises") % profile.name %></h1> | |
4 | 4 | |
5 | 5 | <ul class="profile-list"> |
6 | 6 | <% @favorite_enterprises.each do |enterprise| %> |
... | ... | @@ -21,7 +21,7 @@ |
21 | 21 | <% if @favorite_enterprises.empty? %> |
22 | 22 | <p> |
23 | 23 | <em> |
24 | - <%= _('You have no favorite enteprises yet.') %> | |
24 | + <%= __('You have no favorite enterprises yet.') %> | |
25 | 25 | </em> |
26 | 26 | </p> |
27 | 27 | <% end %> | ... | ... |
app/views/favorite_enterprises/remove.rhtml
1 | 1 | <div id="remove_favorite_enterprise"> |
2 | 2 | |
3 | -<h1><%= _('Removing favorite enterprise: %s') % @favorite_enterprise.name %></h1> | |
3 | +<h1><%= __('Removing favorite enterprise: %s') % @favorite_enterprise.name %></h1> | |
4 | 4 | |
5 | 5 | <%= profile_image @favorite_enterprise, :thumb, :class => 'favorite_enterprise_picture' %> |
6 | 6 | |
7 | 7 | <p> |
8 | -<%= _('Are you sure you want to remove %s from your favorite enterprise list?') % @favorite_enterprise.name %> | |
8 | +<%= __('Are you sure you want to remove %s from your favorite enterprise list?') % @favorite_enterprise.name %> | |
9 | 9 | </p> |
10 | 10 | |
11 | 11 | <% form_tag do %> |
12 | 12 | <%= hidden_field_tag(:confirmation, 1) %> |
13 | 13 | |
14 | - <%= submit_button(:ok, _("Yes, I want to remove %s from my favorite enterprise list") % @favorite_enterprise.name) %> | |
14 | + <%= submit_button(:ok, __("Yes, I want to remove %s from my favorite enterprise list") % @favorite_enterprise.name) %> | |
15 | 15 | <%= button(:cancel, _("No, I don't want"), :action => 'index') %> |
16 | 16 | <% end %> |
17 | 17 | ... | ... |
app/views/profile/enterprises.rhtml
... | ... | @@ -10,7 +10,7 @@ |
10 | 10 | |
11 | 11 | <% button_bar do %> |
12 | 12 | <%= button :back, _('Go back'), { :controller => 'profile' } %> |
13 | - <%= button :add, __('Register a new Enterprise'), :controller => 'enterprise_registration' if logged_in? && environment.enabled?('enterprise_registration') %> | |
13 | + <%= button :add, __('Register a new enterprise'), :controller => 'enterprise_registration' if logged_in? && environment.enabled?('enterprise_registration') %> | |
14 | 14 | <% end %> |
15 | 15 | |
16 | 16 | </div><!-- fim class="common-profile-list-block" --> | ... | ... |
app/views/profile_editor/disable.rhtml
app/views/profile_editor/enable.rhtml
app/views/profile_editor/index.rhtml
... | ... | @@ -72,7 +72,7 @@ |
72 | 72 | <div id='activation_enterprise'> |
73 | 73 | <% form_tag({:controller => 'account', :action => 'activation_question'}, {:method => 'get'}) do %> |
74 | 74 | <p><strong><%= __('Activate your enterprise') %></strong></p> |
75 | - <p><%= _("If you received a letter with information about your enterprise activation, add here the activation code that was sent.") %></p> | |
75 | + <p><%= __("If you received a letter with information about your enterprise activation, add here the activation code that was sent.") %></p> | |
76 | 76 | <p><%= environment.help_message_to_add_enterprise %> </p> |
77 | 77 | <%= labelled_form_field(__('Enterprise activation code') + ': ', text_field_tag('enterprise_code')) %> |
78 | 78 | <%= submit_button(:ok, _('Activate')) %> | ... | ... |