From f60ce932b1967d419f519af04473c159b80a7c0d Mon Sep 17 00:00:00 2001 From: Raphael Sofaer <raphael@joindiaspora.com> Date: Sat, 13 Aug 2011 09:44:40 -0700 Subject: [PATCH] Localize string --- app/views/services/_remote_friend.html.haml | 4 ++-- config/locales/diaspora/en.yml | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/app/views/services/_remote_friend.html.haml b/app/views/services/_remote_friend.html.haml index 9d2450aa48..09d5fce2fb 100644 --- a/app/views/services/_remote_friend.html.haml +++ b/app/views/services/_remote_friend.html.haml @@ -2,7 +2,7 @@ .right - if friend.already_invited? - = link_to t('services.index.resend'), service_inviter_path(:uid => friend.uid, :provider => 'facebook', :invitation_id => friend.invitation_id) + = link_to t('.resend'), service_inviter_path(:uid => friend.uid, :provider => 'facebook', :invitation_id => friend.invitation_id) - elsif friend.on_diaspora? = render 'aspect_memberships/aspect_dropdown', :contact => contact_proxy(friend), :person => friend.person, :hang => 'left' - else @@ -25,4 +25,4 @@ - if friend.person = friend.person.diaspora_handle - else - not yet on diaspora + =t('.not_on_diaspora') diff --git a/config/locales/diaspora/en.yml b/config/locales/diaspora/en.yml index d3a5eceb4a..43eceebb22 100644 --- a/config/locales/diaspora/en.yml +++ b/config/locales/diaspora/en.yml @@ -647,6 +647,7 @@ en: remote_friend: resend: "resend" invite: "invite" + not_on_diaspora: "Not yet on Diaspora" shared: publisher: -- GitLab