Skip to content

Commit

Permalink
Merge pull request diaspora#2985 from diasp/more-localization
Browse files Browse the repository at this point in the history
Added localized text in comment view
  • Loading branch information
jhass committed Mar 8, 2012
2 parents 06f9e78 + 07cc4f0 commit 675c441
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion app/views/comments/_new_comment.mobile.haml
Expand Up @@ -7,5 +7,5 @@
= hidden_field_tag :post_id, post_id, :id => "post_id_on_#{post_id}"
= text_area_tag :text, nil, :class => "span12 comment_box", :id => "comment_text_on_#{post_id}", :placeholder => t('.comment'), :autofocus => true

= link_to "Cancel", post_path(post_id), :class => "cancel_new_comment btn"
= link_to t('cancel'), post_path(post_id), :class => "cancel_new_comment btn"
= submit_tag t('.comment'), :id => "comment_submit_#{post_id}", :disable_with => t('.commenting'), :class => "btn primary"
2 changes: 1 addition & 1 deletion app/views/comments/index.mobile.haml
Expand Up @@ -11,4 +11,4 @@
%li.comment.add_comment_bottom_link_container
= link_to "#", :class => "show_comments bottom_collapse active" do
= image_tag 'icons/arrow_up_small.png'
= link_to "Add a comment", new_post_comment_path(@post), :class => 'add_comment_bottom_link btn comment_action inactive'
= link_to t('comments.new_comment.comment'), new_post_comment_path(@post), :class => 'add_comment_bottom_link btn comment_action inactive'
2 changes: 1 addition & 1 deletion app/views/shared/_stream_element.mobile.haml
Expand Up @@ -46,5 +46,5 @@
= render :partial => 'comments/comment', :collection => post.comments, :locals => {:post => post}

%li.comment.add_comment_bottom_link_container
= link_to "Add a comment", new_post_comment_path(post), :class => 'add_comment_bottom_link btn comment_action inactive'
= link_to t('comments.new_comment.comment'), new_post_comment_path(post), :class => 'add_comment_bottom_link btn comment_action inactive'

0 comments on commit 675c441

Please sign in to comment.