From a0e85dfea247af40be6e2502a53e9b55789a2c51 Mon Sep 17 00:00:00 2001 From: danielvincent Date: Tue, 21 Dec 2010 12:49:40 -0800 Subject: [PATCH] added missing translations to photo#show --- app/views/photos/show.html.haml | 6 +++--- config/locales/diaspora/en.yml | 4 +++- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/app/views/photos/show.html.haml b/app/views/photos/show.html.haml index 40387c681..c22064be3 100644 --- a/app/views/photos/show.html.haml +++ b/app/views/photos/show.html.haml @@ -8,12 +8,12 @@ .span-15.append-1.last #photo_controls .right - =link_to "← previous", @prev_photo, :rel => 'prefetch' + =link_to "← #{t('previous')}", @prev_photo, :rel => 'prefetch' \/ - =link_to "next →", @next_photo, :rel => 'prefetch' + =link_to "#{t('next')} →", @next_photo, :rel => 'prefetch' - if @photo.status_message_id - =link_to "← view original post", @photo.status_message + =link_to "← #{t('.view_original_post')}", @photo.status_message - else \. diff --git a/config/locales/diaspora/en.yml b/config/locales/diaspora/en.yml index edfd1e38b..81542c93d 100644 --- a/config/locales/diaspora/en.yml +++ b/config/locales/diaspora/en.yml @@ -29,6 +29,8 @@ en: no_new_notifications: "no new notifications" _home: "Home" _comments: "Comments" + next: 'next' + previous: 'previous' contacts: zero: "no contacts" one: "1 contact" @@ -255,8 +257,8 @@ en: view: "view" edit: "edit" edit_delete_photo: "Edit photo description / delete photo" - original_post: "Original Post" permalink: "permalink" + view_original_post: "view original post" edit: editing: "Editing" photo: