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

@ -2,9 +2,9 @@ xml.rss("version" => "2.0",
"xmlns:dc" => "http://purl.org/dc/elements/1.1/") do
xml.channel do
if @changeset
xml.title t("changeset.rss.title_particular", :changeset_id => @changeset.id)
xml.title t(".title_particular", :changeset_id => @changeset.id)
else
xml.title t("changeset.rss.title_all")
xml.title t(".title_all")
end
xml.link url_for(:controller => "site", :action => "index", :only_path => false)