summaryrefslogtreecommitdiffstats
path: root/app/views/wiki/diff.rhtml
diff options
context:
space:
mode:
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>2011-08-06 00:49:04 +0000
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>2011-08-06 00:49:04 +0000
commit77f0756bc0467403971f2f3a5106fd53d6a3b539 (patch)
tree026cc465a0e679e9fce27f74a16fa2f4265bce8f /app/views/wiki/diff.rhtml
parentf6a43a61da1fd52b2b8241e1078f5296f7a275fc (diff)
downloadredmine-77f0756bc0467403971f2f3a5106fd53d6a3b539.tar.gz
redmine-77f0756bc0467403971f2f3a5106fd53d6a3b539.zip
Replaced french word "anonyme" at app/views/wiki/diff.rhtml with label_user_anonymous (#8994).
Contributed by Tom Rochette. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6410 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/wiki/diff.rhtml')
-rw-r--r--app/views/wiki/diff.rhtml16
1 files changed, 12 insertions, 4 deletions
diff --git a/app/views/wiki/diff.rhtml b/app/views/wiki/diff.rhtml
index 647fe74ec..ca1a57ae7 100644
--- a/app/views/wiki/diff.rhtml
+++ b/app/views/wiki/diff.rhtml
@@ -1,5 +1,6 @@
<div class="contextual">
-<%= link_to(l(:label_history), {:action => 'history', :id => @page.title}, :class => 'icon icon-history') %>
+<%= link_to(l(:label_history), {:action => 'history', :id => @page.title},
+ :class => 'icon icon-history') %>
</div>
<%= wiki_page_breadcrumb(@page) %>
@@ -8,10 +9,17 @@
<p>
<%= l(:label_version) %> <%= link_to @diff.content_from.version, :action => 'show', :id => @page.title, :project_id => @page.project, :version => @diff.content_from.version %>
-<em>(<%= @diff.content_from.author ? @diff.content_from.author.name : "anonyme" %>, <%= format_time(@diff.content_from.updated_on) %>)</em>
+<em>(<%= @diff.content_from.author ?
+ @diff.content_from.author.name : l(:label_user_anonymous)
+ %>, <%= format_time(@diff.content_from.updated_on) %>)</em>
&#8594;
-<%= l(:label_version) %> <%= link_to @diff.content_to.version, :action => 'show', :id => @page.title, :project_id => @page.project, :version => @diff.content_to.version %>/<%= @page.content.version %>
-<em>(<%= @diff.content_to.author ? link_to_user(@diff.content_to.author.name) : "anonyme" %>, <%= format_time(@diff.content_to.updated_on) %>)</em>
+<%= l(:label_version) %> <%= link_to @diff.content_to.version, :action => 'show',
+ :id => @page.title, :project_id => @page.project,
+ :version => @diff.content_to.version
+ %>/<%= @page.content.version %>
+<em>(<%= @diff.content_to.author ?
+ link_to_user(@diff.content_to.author.name) : l(:label_user_anonymous)
+ %>, <%= format_time(@diff.content_to.updated_on) %>)</em>
</p>
<div class="text-diff">