summaryrefslogtreecommitdiffstats
path: root/redmine/app/views/issue_statuses
diff options
context:
space:
mode:
Diffstat (limited to 'redmine/app/views/issue_statuses')
-rw-r--r--redmine/app/views/issue_statuses/_form.rhtml8
-rw-r--r--redmine/app/views/issue_statuses/edit.rhtml4
-rw-r--r--redmine/app/views/issue_statuses/list.rhtml14
-rw-r--r--redmine/app/views/issue_statuses/new.rhtml4
4 files changed, 15 insertions, 15 deletions
diff --git a/redmine/app/views/issue_statuses/_form.rhtml b/redmine/app/views/issue_statuses/_form.rhtml
index 7c4d63674..237466a3e 100644
--- a/redmine/app/views/issue_statuses/_form.rhtml
+++ b/redmine/app/views/issue_statuses/_form.rhtml
@@ -1,16 +1,16 @@
<%= error_messages_for 'issue_status' %>
<!--[form:issue_status]-->
-<p><label for="issue_status_name"><%=_('Name')%></label> <span class="required">*</span><br/>
+<p><label for="issue_status_name"><%=l(:field_name)%></label> <span class="required">*</span><br/>
<%= text_field 'issue_status', 'name' %></p>
<p><%= check_box 'issue_status', 'is_closed' %>
-<label for="issue_status_is_closed"><%=_('Issue closed')%></label></p>
+<label for="issue_status_is_closed"><%=l(:field_is_closed)%></label></p>
<p><%= check_box 'issue_status', 'is_default' %>
-<label for="issue_status_is_default"><%=_('Default status')%></label></p>
+<label for="issue_status_is_default"><%=l(:field_is_default)%></label></p>
-<p><label for="issue_status_html_color"><%=_('Color')%></label>
+<p><label for="issue_status_html_color"><%=l(:field_html_color)%></label>
#<%= text_field 'issue_status', 'html_color', :maxlength => 6 %> <span class="required">*</span></p>
<!--[eoform:issue_status]-->
diff --git a/redmine/app/views/issue_statuses/edit.rhtml b/redmine/app/views/issue_statuses/edit.rhtml
index d3ed92201..140a40d94 100644
--- a/redmine/app/views/issue_statuses/edit.rhtml
+++ b/redmine/app/views/issue_statuses/edit.rhtml
@@ -1,6 +1,6 @@
-<h2><%=_('Issue status')%></h2>
+<h2><%=l(:label_issue_status)%></h2>
<%= start_form_tag :action => 'update', :id => @issue_status %>
<%= render :partial => 'form' %>
- <%= submit_tag _('Save') %>
+ <%= submit_tag l(:button_save) %>
<%= end_form_tag %>
diff --git a/redmine/app/views/issue_statuses/list.rhtml b/redmine/app/views/issue_statuses/list.rhtml
index 8c0532263..ce7f8469c 100644
--- a/redmine/app/views/issue_statuses/list.rhtml
+++ b/redmine/app/views/issue_statuses/list.rhtml
@@ -1,11 +1,11 @@
-<h2><%=_('Issue statuses')%></h2>
+<h2><%=l(:label_issue_status_plural)%></h2>
<table border="0" cellspacing="1" cellpadding="2" class="listTableContent">
<tr class="ListHead">
- <th><%=_('Status')%></th>
- <th><%=_('Default status')%></th>
- <th><%=_('Issue closed')%></th>
- <th><%=_('Color')%></th>
+ <th><%=l(:field_status)%></th>
+ <th><%=l(:field_is_default)%></th>
+ <th><%=l(:field_is_closed)%></th>
+ <th><%=l(:field_html_color)%></th>
<th></th>
</tr>
@@ -17,7 +17,7 @@
<td bgcolor="#<%= status.html_color %>">&nbsp</td>
<td align="center">
<%= start_form_tag :action => 'destroy', :id => status %>
- <%= submit_tag _('Delete'), :class => "button-small" %>
+ <%= submit_tag l(:button_delete), :class => "button-small" %>
<%= end_form_tag %>
</td>
</tr>
@@ -27,4 +27,4 @@
<%= pagination_links_full @issue_status_pages %>
<br />
-<%= link_to '&#187; ' + _('New issue status'), :action => 'new' %>
+<%= link_to '&#187; ' + l(:label_issue_status_new), :action => 'new' %>
diff --git a/redmine/app/views/issue_statuses/new.rhtml b/redmine/app/views/issue_statuses/new.rhtml
index f7ac082e9..1dc61eb85 100644
--- a/redmine/app/views/issue_statuses/new.rhtml
+++ b/redmine/app/views/issue_statuses/new.rhtml
@@ -1,6 +1,6 @@
-<h2><%=_('New issue status')%></h2>
+<h2><%=l(:label_issue_status_new)%></h2>
<%= start_form_tag :action => 'create' %>
<%= render :partial => 'form' %>
- <%= submit_tag _('Create') %>
+ <%= submit_tag l(:button_create) %>
<%= end_form_tag %>