Use relative translations for changeset comments

This commit is contained in:
Andy Allan 2018-11-07 11:07:29 +01:00
parent 04afeeb32f
commit 5cd417f8e8
4 changed files with 14 additions and 10 deletions

View file

@ -1,6 +1,6 @@
comments.each do |comment|
xml.item do
xml.title t("changeset.rss.comment", :author => comment.author.display_name, :changeset_id => comment.changeset.id.to_s)
xml.title t(".comment", :author => comment.author.display_name, :changeset_id => comment.changeset.id.to_s)
xml.link url_for(:controller => "browse", :action => "changeset", :id => comment.changeset.id, :anchor => "c#{comment.id}", :only_path => false)
xml.guid url_for(:controller => "browse", :action => "changeset", :id => comment.changeset.id, :anchor => "c#{comment.id}", :only_path => false)