diff --git a/app/views/comments/_new_comment.mobile.haml b/app/views/comments/_new_comment.mobile.haml index 6dea54d41..eac92f7cf 100644 --- a/app/views/comments/_new_comment.mobile.haml +++ b/app/views/comments/_new_comment.mobile.haml @@ -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" diff --git a/app/views/comments/index.mobile.haml b/app/views/comments/index.mobile.haml index ce6d633b7..76dde1db8 100644 --- a/app/views/comments/index.mobile.haml +++ b/app/views/comments/index.mobile.haml @@ -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' diff --git a/app/views/shared/_stream_element.mobile.haml b/app/views/shared/_stream_element.mobile.haml index 0b154a7b7..b7ac831ac 100644 --- a/app/views/shared/_stream_element.mobile.haml +++ b/app/views/shared/_stream_element.mobile.haml @@ -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'