From 933299e31cbfb19278f0952e79c83a519e91bda6 Mon Sep 17 00:00:00 2001 From: danielgrippi Date: Wed, 4 Jan 2012 14:50:46 -0800 Subject: [PATCH] added translations to templates; mock out the locale file in jasmine --- app/views/templates/comment.jst | 2 +- app/views/templates/comment_stream.jst | 6 +-- app/views/templates/feedback.jst | 8 +-- app/views/templates/header.jst | 41 +++++++++----- app/views/templates/likes_info.jst | 2 +- app/views/templates/reshare.jst | 4 +- app/views/templates/stream_element.jst | 12 ++--- config/locales/javascript/javascript.en.yml | 54 +++++++++++++++++-- features/notifications.feature | 14 ++--- public/javascripts/app/views/header_view.js | 2 + .../javascripts/app/views/likes_info_view.js | 3 +- .../app/views/stream_object_view.js | 2 +- .../app/views/feedback_view_spec.js | 21 +++++--- spec/javascripts/app/views/likes_info_spec.js | 9 +++- spec/javascripts/app/views/post_view_spec.js | 16 +++--- 15 files changed, 138 insertions(+), 58 deletions(-) diff --git a/app/views/templates/comment.jst b/app/views/templates/comment.jst index 6d52a3c0d..519ba69ac 100644 --- a/app/views/templates/comment.jst +++ b/app/views/templates/comment.jst @@ -1,7 +1,7 @@
<% if(author.id === current_user.id) { %> - + Deletelabel <% } %> diff --git a/app/views/templates/comment_stream.jst b/app/views/templates/comment_stream.jst index 0b7b5128f..c47efedef 100644 --- a/app/views/templates/comment_stream.jst +++ b/app/views/templates/comment_stream.jst @@ -2,7 +2,7 @@ @@ -18,11 +18,11 @@

- +