diff --git a/app/views/wiki/annotate.rhtml b/app/views/wiki/annotate.rhtml index dfea19581505f246d7cf7d97c7f605f1c1c4e1e1..89b51769b118fb496ecb743c1f1c62c56c03657e 100644 --- a/app/views/wiki/annotate.rhtml +++ b/app/views/wiki/annotate.rhtml @@ -7,7 +7,7 @@ <p> <%= l(:label_version) %> <%= link_to @annotate.content.version, :action => 'show', :id => @page.title, :version => @annotate.content.version %> -<em>(<%= @annotate.content.author ? @annotate.content.author.name : "anonyme" %>, <%= format_time(@annotate.content.updated_on) %>)</em> +<em>(<%= @annotate.content.author ? @annotate.content.author.name : l(:label_user_anonymous) %>, <%= format_time(@annotate.content.updated_on) %>)</em> </p> <% colors = Hash.new {|k,v| k[v] = (k.size % 12) } %> diff --git a/app/views/wiki/diff.rhtml b/app/views/wiki/diff.rhtml index a1006dce342635cf4b1808e7517df554bb275989..59bfccc2fc8808880b93c387d7397bbe70c0c38d 100644 --- a/app/views/wiki/diff.rhtml +++ b/app/views/wiki/diff.rhtml @@ -6,10 +6,10 @@ <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> → <%= 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 ? @diff.content_to.author.name : "anonyme" %>, <%= format_time(@diff.content_to.updated_on) %>)</em> +<em>(<%= @diff.content_to.author ? @diff.content_to.author.name : l(:label_user_anonymous) %>, <%= format_time(@diff.content_to.updated_on) %>)</em> </p> <div class="text-diff"> diff --git a/app/views/wiki/show.rhtml b/app/views/wiki/show.rhtml index 6cc7fbc095eb0b73b473cfb64691b86b431e7681..b23d84eb106d8e80a569b43ea1681fd946c368c6 100644 --- a/app/views/wiki/show.rhtml +++ b/app/views/wiki/show.rhtml @@ -21,7 +21,7 @@ <%= 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 ? @content.author.name : "anonyme" %>, <%= format_time(@content.updated_on) %> </em><br /> + <em><%= @content.author ? @content.author.name : l(:label_user_anonymous) %>, <%= format_time(@content.updated_on) %> </em><br /> <%=h @content.comments %> </p> <hr />