Replaced Gibberish by Rails 2.2+ I18n

This commit is contained in:
2013-07-12 14:14:54 -04:00
parent c3110dcb93
commit 7a8e3ec065
53 changed files with 169 additions and 492 deletions

View File

@@ -1,7 +1,7 @@
xml.instruct! :xml, :version=>"1.0"
xml.rss(:version=>"2.0") do
xml.channel do
xml.title("#{App.title} - #{@course.full_name} - " + "Recent changes"[].titleize)
xml.title("#{App.title} - #{@course.full_name} - " + I18n.t(:recent_changes).titleize)
xml.link(course_log_url(@course))
xml.language(App.language)
xml.description("{course} recent changes"[:log_about, @course.full_name])