made 'start sharing' translatable

This commit is contained in:
MrZYX 2011-01-22 16:29:39 +01:00
parent 8619a2035c
commit 852be182f5
3 changed files with 3 additions and 2 deletions

View file

@ -12,7 +12,7 @@
- elsif (contact && contact.pending) || request - elsif (contact && contact.pending) || request
= t('.pending_request') = t('.pending_request')
- else - else
= link_to "start sharing", = link_to t('people.show.start_sharing'),
{:controller => "people", {:controller => "people",
:action => "share_with", :action => "share_with",
:id => person.id}, :id => person.id},

View file

@ -21,7 +21,7 @@
#author_info #author_info
- unless @contact || current_user.person == @person - unless @contact || current_user.person == @person
.right .right
= link_to "start sharing", = link_to t('.start_sharing'),
{:controller => "people", {:controller => "people",
:action => "share_with", :action => "share_with",
:id => @person.id}, :id => @person.id},

View file

@ -360,6 +360,7 @@ en:
recent_posts: "Recent Posts" recent_posts: "Recent Posts"
recent_public_posts: "Recent Public Posts" recent_public_posts: "Recent Public Posts"
similar_contacts: "similar contacts" similar_contacts: "similar contacts"
start_sharing: "start sharing"
edit: edit:
info_available_to: "This info will be available to whomever you connect with on Diaspora." info_available_to: "This info will be available to whomever you connect with on Diaspora."
your_profile: "Your profile" your_profile: "Your profile"