feed titles get translations of "Topics"
This commit is contained in:
parent
891a1c4279
commit
43ed6979be
|
@ -76,7 +76,7 @@ class ListController < ApplicationController
|
||||||
define_method("#{filter}_feed") do
|
define_method("#{filter}_feed") do
|
||||||
discourse_expires_in 1.minute
|
discourse_expires_in 1.minute
|
||||||
|
|
||||||
@title = "#{SiteSetting.title} - #{filter.capitalize} Topics"
|
@title = "#{SiteSetting.title} - #{filter.capitalize} #{I18n.t('Topics')}"
|
||||||
@link = "#{Discourse.base_url}/#{filter}"
|
@link = "#{Discourse.base_url}/#{filter}"
|
||||||
@description = I18n.t("rss_description.#{filter}")
|
@description = I18n.t("rss_description.#{filter}")
|
||||||
@atom_link = "#{Discourse.base_url}/#{filter}.rss"
|
@atom_link = "#{Discourse.base_url}/#{filter}.rss"
|
||||||
|
|
Loading…
Reference in New Issue