From 81661d61fc116d8ad61d36f30491fe0f6438ab80 Mon Sep 17 00:00:00 2001 From: Ritchie Wilson Date: Tue, 15 Mar 2011 10:00:15 -0400 Subject: [PATCH] changes the 'You are not sharing with...' button to static text instead of inserting the persons name --- app/views/people/_aspect_list.haml | 2 +- config/locales/diaspora/en.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/views/people/_aspect_list.haml b/app/views/people/_aspect_list.haml index 8a3e121e5..a7df0a308 100644 --- a/app/views/people/_aspect_list.haml +++ b/app/views/people/_aspect_list.haml @@ -7,7 +7,7 @@ .aspects - if !contact || !contact.persisted? %h4 - = link_to truncate(t('people.show.not_connected', :name => person.name), :length => 49, :separator => ' ', :omission => ''), + = link_to t('people.show.not_connected'), {:controller => "contacts", :action => "new", :person_id => person.id}, diff --git a/config/locales/diaspora/en.yml b/config/locales/diaspora/en.yml index e80e9904c..cda1016c5 100644 --- a/config/locales/diaspora/en.yml +++ b/config/locales/diaspora/en.yml @@ -338,7 +338,7 @@ en: return_to_aspects: "Return to your aspects page" to_accept_or_ignore: "to accept or ignore it." does_not_exist: "Person does not exist!" - not_connected: "You are not sharing with %{name}" + not_connected: "You are not sharing with this person" recent_posts: "Recent Posts" recent_public_posts: "Recent Public Posts" similar_contacts: "similar contacts"