From 7580671035503cbeac77eea8d58a9ef8b372ac8d Mon Sep 17 00:00:00 2001 From: Rodrigo Souto Date: Fri, 9 Apr 2010 10:39:38 -0300 Subject: [PATCH] Substituting 'helps' -> Removing surely unnecessary contents --- app/views/account/activation_question.rhtml | 2 +- app/views/account/index_anonymous.rhtml | 3 +-- app/views/profile/communities.rhtml | 6 ++---- app/views/profile/enterprises.rhtml | 6 ++---- app/views/profile/favorite_enterprises.rhtml | 6 ++---- app/views/profile/friends.rhtml | 5 ++--- app/views/profile/members.rhtml | 5 ++--- app/views/shared/user_menu.rhtml | 2 +- 8 files changed, 13 insertions(+), 22 deletions(-) diff --git a/app/views/account/activation_question.rhtml b/app/views/account/activation_question.rhtml index 5739e45..9e89df3 100644 --- a/app/views/account/activation_question.rhtml +++ b/app/views/account/activation_question.rhtml @@ -30,7 +30,7 @@

<%= _("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 %>

- <%= 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', :help => help=_('We need to be sure that this is your enterprise'))) %> + <%= 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')) %> <%= hidden_field_tag :enterprise_code, params[:enterprise_code] %> diff --git a/app/views/account/index_anonymous.rhtml b/app/views/account/index_anonymous.rhtml index e29802b..a2b2601 100644 --- a/app/views/account/index_anonymous.rhtml +++ b/app/views/account/index_anonymous.rhtml @@ -1,8 +1,7 @@

<%= _('Identify yourself') %>

-<%= lightbox_link_to _('Login.'), { :controller => 'account', :action => 'login_popup' }, - :help => _('Click here to enter your username and password and be recognized by the system.') %> +<%= lightbox_link_to _('Login.'), { :controller => 'account', :action => 'login_popup' } %> <%= _('You need to login to be able to use all the features in this environment.') %>

diff --git a/app/views/profile/communities.rhtml b/app/views/profile/communities.rhtml index f522682..22e0252 100644 --- a/app/views/profile/communities.rhtml +++ b/app/views/profile/communities.rhtml @@ -1,5 +1,4 @@ -
+

<%= _("%s's communities") % profile.name %>

@@ -16,8 +15,7 @@ <% end %> <% button_bar do %> - <%= button :back, _('Go back'), { :controller => 'profile' }, - :help => _('Back to the page where you come from.') %> + <%= button :back, _('Go back'), { :controller => 'profile' } %> <%= button :add, _('Create a new community'), :controller => 'memberships', :action => 'new_community' if logged_in? && user == profile %> <% end %> diff --git a/app/views/profile/enterprises.rhtml b/app/views/profile/enterprises.rhtml index 5052542..93b60d6 100644 --- a/app/views/profile/enterprises.rhtml +++ b/app/views/profile/enterprises.rhtml @@ -1,5 +1,4 @@ -
+

<%= __("%s's enterprises") % profile.name %>

@@ -10,8 +9,7 @@ <% button_bar do %> - <%= button :back, _('Go back'), { :controller => 'profile' }, - :help => _('Back to the page where you come from.') %> + <%= button :back, _('Go back'), { :controller => 'profile' } %> <%= button :add, __('Register a new Enterprise'), :controller => 'enterprise_registration' if logged_in? && environment.enabled?('enterprise_registration') %> <% end %> diff --git a/app/views/profile/favorite_enterprises.rhtml b/app/views/profile/favorite_enterprises.rhtml index 22ece81..6484312 100644 --- a/app/views/profile/favorite_enterprises.rhtml +++ b/app/views/profile/favorite_enterprises.rhtml @@ -1,5 +1,4 @@ -
+

<%= __("%s's favorite enterprises") % profile.name %>

@@ -10,8 +9,7 @@ <% button_bar do %> - <%= button :back, _('Go back'), { :controller => 'profile' }, - :help => _('Back to the page where you come from.') %> + <%= button :back, _('Go back'), { :controller => 'profile' }%> <% end %>
diff --git a/app/views/profile/friends.rhtml b/app/views/profile/friends.rhtml index b042e9a..b1d611d 100644 --- a/app/views/profile/friends.rhtml +++ b/app/views/profile/friends.rhtml @@ -1,5 +1,4 @@ -
+

<%= __("%s's friends") % profile.name %>

@@ -16,7 +15,7 @@ <% end %> <% button_bar do %> - <%= button :back, _('Go back'), { :controller => 'profile' }, :help => _('Back to the page where you come from.') %> + <%= button :back, _('Go back'), { :controller => 'profile' } %> <% if user == profile %> <%= button :edit, _('Manage my friends'), :controller => 'friends', :action => 'index', :profile => profile.identifier %> <%= button(:search, _('Invite people from my e-mail contacts'), :controller => 'invite', :action => 'friends') %> diff --git a/app/views/profile/members.rhtml b/app/views/profile/members.rhtml index eede21d..09a60e1 100644 --- a/app/views/profile/members.rhtml +++ b/app/views/profile/members.rhtml @@ -1,5 +1,4 @@ -
+

<%= _("%s's members") % profile.name %>

@@ -16,7 +15,7 @@ <% end %> <% button_bar do %> - <%= button :back, _('Go back'), { :controller => 'profile' }, :help => _('Back to the page where you come from.') %> + <%= button :back, _('Go back'), { :controller => 'profile' } %> <% if profile.community? and user and user.has_permission?(:invite_members, profile) %> <%= button :search, _('Invite your friends to join %s') % profile.name, :controller => 'invite', :action => 'friends' %> <% end %> diff --git a/app/views/shared/user_menu.rhtml b/app/views/shared/user_menu.rhtml index 25ff408..0b1df6b 100644 --- a/app/views/shared/user_menu.rhtml +++ b/app/views/shared/user_menu.rhtml @@ -16,7 +16,7 @@
  • - <%= link_to( '' + __('My Home Page'), user.url, :help => _('Go to your home page.'))%> + <%= link_to( '' + __('My Home Page'), user.url)%>
  • -- libgit2 0.21.2