diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2006-07-29 19:54:22 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2006-07-29 19:54:22 +0000 |
commit | b862c447f16e7528a64fbf1bbeba1b4b3c8f573f (patch) | |
tree | 55d91cae14f22906041821a11818dc0dfa7cdadb /redmine/app/views/documents | |
parent | 5b47d7bfcc241c6117d3ecf71c68bac90eac05fa (diff) | |
download | redmine-b862c447f16e7528a64fbf1bbeba1b4b3c8f573f.tar.gz redmine-b862c447f16e7528a64fbf1bbeba1b4b3c8f573f.zip |
Localization plugin removed (replaced with GLoc)
git-svn-id: http://redmine.rubyforge.org/svn/trunk@14 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'redmine/app/views/documents')
-rw-r--r-- | redmine/app/views/documents/_form.rhtml | 2 | ||||
-rw-r--r-- | redmine/app/views/documents/edit.rhtml | 4 | ||||
-rw-r--r-- | redmine/app/views/documents/show.rhtml | 20 |
3 files changed, 13 insertions, 13 deletions
diff --git a/redmine/app/views/documents/_form.rhtml b/redmine/app/views/documents/_form.rhtml index e4dac38e6..ae56cdd46 100644 --- a/redmine/app/views/documents/_form.rhtml +++ b/redmine/app/views/documents/_form.rhtml @@ -9,7 +9,7 @@ <p><label for="document_title"><%=l(:field_title)%> <span class="required">*</span></label><br /> <%= text_field 'document', 'title', :size => 60 %></p> -<p><label for="document_description"><%=l(:field_description)%> <span class="required">*</span></label><br /> +<p><label for="document_description"><%=l(:field_description)%></label><br /> <%= text_area 'document', 'description', :cols => 60, :rows => 5 %></p> <!--[eoform:document]--> diff --git a/redmine/app/views/documents/edit.rhtml b/redmine/app/views/documents/edit.rhtml index 2f1e9a94c..059c99d9b 100644 --- a/redmine/app/views/documents/edit.rhtml +++ b/redmine/app/views/documents/edit.rhtml @@ -1,8 +1,8 @@ -<h2><%=_('Document')%></h2> +<h2><%=l(:label_document)%></h2> <%= start_form_tag :action => 'edit', :id => @document %> <%= render :partial => 'form' %> - <%= submit_tag _('Save') %> + <%= submit_tag l(:button_save) %> <%= end_form_tag %> diff --git a/redmine/app/views/documents/show.rhtml b/redmine/app/views/documents/show.rhtml index 1cadf7c42..136621331 100644 --- a/redmine/app/views/documents/show.rhtml +++ b/redmine/app/views/documents/show.rhtml @@ -1,18 +1,18 @@ <h2><%= @document.title %></h2>
-<strong><%=_('Description')%>:</strong> <%= @document.description %><br />
-<strong><%=_('Category')%>:</strong> <%= @document.category.name %><br />
+<strong><%=l(:field_description)%>:</strong> <%= @document.description %><br />
+<strong><%=l(:field_category)%>:</strong> <%= @document.category.name %><br />
<br />
<% if authorize_for('documents', 'edit') %>
- <%= start_form_tag ({ :controller => 'documents', :action => 'edit', :id => @document }, :method => 'get' ) %>
- <%= submit_tag _('Edit') %>
+ <%= start_form_tag({ :controller => 'documents', :action => 'edit', :id => @document }, :method => 'get' ) %>
+ <%= submit_tag l(:button_edit) %>
<%= end_form_tag %>
<% end %>
<% if authorize_for('documents', 'destroy') %>
- <%= start_form_tag ({ :controller => 'documents', :action => 'destroy', :id => @document } ) %>
- <%= submit_tag _('Delete') %>
+ <%= start_form_tag({ :controller => 'documents', :action => 'destroy', :id => @document } ) %>
+ <%= submit_tag l(:button_delete) %>
<%= end_form_tag %>
<% end %>
@@ -24,12 +24,12 @@ <td><%= link_to attachment.filename, :action => 'download', :id => @document, :attachment_id => attachment %></td>
<td align="center"><%= format_date(attachment.created_on) %></td> <td align="center"><%= attachment.author.display_name %></td> - <td><%= human_size(attachment.filesize) %><br /><%= attachment.downloads %> <%=_('download')%>(s)</td>
+ <td><%= human_size(attachment.filesize) %><br /><%= lwr(:label_download, attachment.downloads) %></td>
<% if authorize_for('documents', 'destroy_attachment') %>
<td align="center">
<%= start_form_tag :action => 'destroy_attachment', :id => @document, :attachment_id => attachment %>
- <%= submit_tag _('Delete'), :class => "button-small" %>
+ <%= submit_tag l(:button_delete), :class => "button-small" %>
<%= end_form_tag %> </tr>
<% end %>
@@ -40,8 +40,8 @@ <% if authorize_for('documents', 'add_attachment') %>
<%= start_form_tag ({ :controller => 'documents', :action => 'add_attachment', :id => @document }, :multipart => true) %>
- <%=_('Add file')%><br /><%= file_field 'attachment', 'file' %>
- <%= submit_tag _('Add') %>
+ <%=l(:label_attachment_new)%><br /><%= file_field 'attachment', 'file' %>
+ <%= submit_tag l(:button_add) %>
<%= end_form_tag %>
<% end %>
|