Replaced Gibberish by Rails 2.2+ I18n
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
xml.instruct! :xml, :version=>"1.0"
|
||||
xml.rss(:version=>"2.0") do
|
||||
xml.channel do
|
||||
xml.title("#{App.title} - " + "News"[].titleize)
|
||||
xml.title("#{App.title} - " + I18n.t(:news).titleize)
|
||||
xml.link(dashboard_url)
|
||||
xml.language(App.language)
|
||||
xml.description("{app} news"[:news_about, App.title])
|
||||
|
||||
@@ -7,8 +7,8 @@
|
||||
%img.avatar{:src => gravatar_url_for(@user.email)}
|
||||
%h1.title= h(@user.display_name)
|
||||
%p= h(@user.name)
|
||||
%p= "Membro desde {c}"[:member_since, @user.created_at.strftime("%d de %B de %Y")]
|
||||
%p= "Última visita há {c}"[:last_seen, distance_of_time_in_words(Time.now, @user.last_seen)]
|
||||
%p= t(:member_since, :c => @user.created_at.strftime("%d de %B de %Y"))
|
||||
%p= t(:last_seen, :c => distance_of_time_in_words(Time.now, @user.last_seen))
|
||||
|
||||
-# cache(user_path(@user.id)) do
|
||||
= @user.description.format_wiki if !@user.description.blank?
|
||||
|
||||
Reference in New Issue
Block a user