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)
1 1
<div class="contextual">
2 2
<%= additional_emails_link(@user) %>
3 3
<%= link_to(l(:button_change_password), {:action => 'password'}, :class => 'icon icon-passwd') if @user.change_password_allowed? %>
4
<% if Setting.gravatar_enabled? %>
5
<%= link_to(l(:label_manage_gravatar_icons), Redmine::Info.gravatar_url, {:class=>'icon icon-user', :target=>'_blank'}) %>
6
<% end %>
4 7
<%= call_hook(:view_my_account_contextual, :user => @user)%>
5 8
</div>
6 9

  
7
<h2><%=l(:label_my_account)%></h2>
10
<h2>
11
    <%= avatar(@user, :size => "50") %>
12
    <%=l(:label_my_account)%>
13
</h2>
8 14
<%= error_messages_for 'user' %>
9 15

  
10 16
<%= labelled_form_for :user, @user,
config/locales/en.yml (working copy)
944 944
  label_blank_value: blank
945 945
  label_parent_task_attributes: Parent tasks attributes
946 946
  label_parent_task_attributes_derived: Calculated from subtasks
947
  label_parent_task_attributes_independent: Independent of subtasks
947
  label_parent_task_attributes_independent: Independent of subtask
948
  label_manage_gravatar_icons: Manage Gravatar user icons
948 949

  
949 950
  button_login: Login
950 951
  button_submit: Submit
lib/redmine/info.rb (working copy)
4 4
      def app_name; 'Redmine' end
5 5
      def url; 'http://www.redmine.org/' end
6 6
      def help_url; 'http://www.redmine.org/guide' end
7
      def gravatar_url; 'http://gravatar.com/' end
7 8
      def versioned_name; "#{app_name} #{Redmine::VERSION}" end
8 9

  
9 10
      def environment
(4-4/4)