From 852be182f54a95be91efb1664e1a45b5d3b51f03 Mon Sep 17 00:00:00 2001 From: MrZYX Date: Sat, 22 Jan 2011 16:29:39 +0100 Subject: [PATCH] made 'start sharing' translatable --- app/views/people/_person.html.haml | 2 +- app/views/people/show.html.haml | 2 +- config/locales/diaspora/en.yml | 1 + 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/app/views/people/_person.html.haml b/app/views/people/_person.html.haml index 30913d62c..cc424791d 100644 --- a/app/views/people/_person.html.haml +++ b/app/views/people/_person.html.haml @@ -12,7 +12,7 @@ - elsif (contact && contact.pending) || request = t('.pending_request') - else - = link_to "start sharing", + = link_to t('people.show.start_sharing'), {:controller => "people", :action => "share_with", :id => person.id}, diff --git a/app/views/people/show.html.haml b/app/views/people/show.html.haml index c64c4f8de..893d4b54c 100644 --- a/app/views/people/show.html.haml +++ b/app/views/people/show.html.haml @@ -21,7 +21,7 @@ #author_info - unless @contact || current_user.person == @person .right - = link_to "start sharing", + = link_to t('.start_sharing'), {:controller => "people", :action => "share_with", :id => @person.id}, diff --git a/config/locales/diaspora/en.yml b/config/locales/diaspora/en.yml index 7812e9609..1d33d5818 100644 --- a/config/locales/diaspora/en.yml +++ b/config/locales/diaspora/en.yml @@ -360,6 +360,7 @@ en: recent_posts: "Recent Posts" recent_public_posts: "Recent Public Posts" similar_contacts: "similar contacts" + start_sharing: "start sharing" edit: info_available_to: "This info will be available to whomever you connect with on Diaspora." your_profile: "Your profile"