diff options
author | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2011-08-06 00:49:28 +0000 |
---|---|---|
committer | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2011-08-06 00:49:28 +0000 |
commit | 48dccc46f079929adcce29aaf600cb24d2fd1954 (patch) | |
tree | 6a2107aaa1a41a8e628f2be4874ae9658e2d35b4 /app | |
parent | 77f0756bc0467403971f2f3a5106fd53d6a3b539 (diff) | |
download | redmine-48dccc46f079929adcce29aaf600cb24d2fd1954.tar.gz redmine-48dccc46f079929adcce29aaf600cb24d2fd1954.zip |
Replaced french word "anonyme" at app/views/wiki/show.rhtml with label_user_anonymous (#8994).
Contributed by Tom Rochette.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6411 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app')
-rw-r--r-- | app/views/wiki/show.rhtml | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/app/views/wiki/show.rhtml b/app/views/wiki/show.rhtml index 3d6a6f85b..d4a050138 100644 --- a/app/views/wiki/show.rhtml +++ b/app/views/wiki/show.rhtml @@ -15,13 +15,20 @@ <% if @content.version != @page.content.version %> <p> - <%= link_to(('« ' + l(:label_previous)), :action => 'show', :id => @page.title, :project_id => @page.project, :version => (@content.version - 1)) + " - " if @content.version > 1 %> + <%= link_to(('« ' + l(:label_previous)), + :action => 'show', :id => @page.title, :project_id => @page.project, + :version => (@content.version - 1)) + " - " if @content.version > 1 %> <%= "#{l(:label_version)} #{@content.version}/#{@page.content.version}" %> - <%= '(' + link_to('diff', :controller => 'wiki', :action => 'diff', :id => @page.title, :project_id => @page.project, :version => @content.version) + ')' if @content.version > 1 %> - - <%= link_to((l(:label_next) + ' »'), :action => 'show', :id => @page.title, :project_id => @page.project, :version => (@content.version + 1)) + " - " if @content.version < @page.content.version %> + <%= '(' + link_to('diff', :controller => 'wiki', :action => 'diff', + :id => @page.title, :project_id => @page.project, + :version => @content.version) + ')' if @content.version > 1 %> - + <%= link_to((l(:label_next) + ' »'), :action => 'show', + :id => @page.title, :project_id => @page.project, + :version => (@content.version + 1)) + " - " if @content.version < @page.content.version %> <%= link_to(l(:label_current_version), :action => 'show', :id => @page.title, :project_id => @page.project) %> <br /> - <em><%= @content.author ? link_to_user(@content.author) : "anonyme" %>, <%= format_time(@content.updated_on) %> </em><br /> + <em><%= @content.author ? link_to_user(@content.author) : l(:label_user_anonymous) + %>, <%= format_time(@content.updated_on) %> </em><br /> <%=h @content.comments %> </p> <hr /> |