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/show.rhtml | |
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/show.rhtml')
-rw-r--r-- | redmine/app/views/documents/show.rhtml | 20 |
1 files changed, 10 insertions, 10 deletions
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 %>
|