Project

General

Profile

Feature #5418 » 5418-remove-hard-coded-strings.diff

removed hard coded strings - Go MAEDA, 2015-06-02 17:39

View differences:

app/views/my/account.html.erb (working copy)
<div class="contextual">
<%= additional_emails_link(@user) %>
<%= link_to(l(:button_change_password), {:action => 'password'}, :class => 'icon icon-passwd') if @user.change_password_allowed? %>
<% if Setting.gravatar_enabled? %>
<%= link_to(l(:label_manage_gravatar_icons), Redmine::Info.gravatar_url, {:class=>'icon icon-user', :target=>'_blank'}) %>
<% end %>
<%= call_hook(:view_my_account_contextual, :user => @user)%>
</div>
<h2><%=l(:label_my_account)%></h2>
<h2>
<%= avatar(@user, :size => "50") %>
<%=l(:label_my_account)%>
</h2>
<%= error_messages_for 'user' %>
<%= labelled_form_for :user, @user,
config/locales/en.yml (working copy)
label_blank_value: blank
label_parent_task_attributes: Parent tasks attributes
label_parent_task_attributes_derived: Calculated from subtasks
label_parent_task_attributes_independent: Independent of subtasks
label_parent_task_attributes_independent: Independent of subtask
label_manage_gravatar_icons: Manage Gravatar user icons
button_login: Login
button_submit: Submit
lib/redmine/info.rb (working copy)
def app_name; 'Redmine' end
def url; 'http://www.redmine.org/' end
def help_url; 'http://www.redmine.org/guide' end
def gravatar_url; 'http://gravatar.com/' end
def versioned_name; "#{app_name} #{Redmine::VERSION}" end
def environment
(4-4/4)