Added localization to comments views
This commit is contained in:
parent
813dfae059
commit
db7ad16503
2 changed files with 2 additions and 2 deletions
|
|
@ -9,4 +9,4 @@
|
||||||
= link_to post.person.real_name, post.person
|
= link_to post.person.real_name, post.person
|
||||||
= auto_link sanitize post.text
|
= auto_link sanitize post.text
|
||||||
%div.time
|
%div.time
|
||||||
= "#{time_ago_in_words(post.updated_at)} ago"
|
= "#{time_ago_in_words(post.updated_at)} #{t('.ago')}"
|
||||||
|
|
|
||||||
|
|
@ -9,4 +9,4 @@
|
||||||
= f.text_area :text, :rows => 1, :id => "comment_text_on_#{post.id}", :class => "comment_box"
|
= f.text_area :text, :rows => 1, :id => "comment_text_on_#{post.id}", :class => "comment_box"
|
||||||
= f.hidden_field :post_id, :value => post.id
|
= f.hidden_field :post_id, :value => post.id
|
||||||
%p{:style => "text-align:right;"}
|
%p{:style => "text-align:right;"}
|
||||||
= f.submit "Comment", :class => "comment_submit button"
|
= f.submit t('.comment'), :class => "comment_submit button"
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue