Fix some translations (thanks MrZYX)

This commit is contained in:
Raphael Sofaer 2011-04-12 12:24:29 -07:00
parent 07ba9b98df
commit 363ef2c276
2 changed files with 4 additions and 5 deletions

View file

@ -17,14 +17,14 @@
- if user_signed_in? && !(@contact.persisted? || current_user.person == @person) - if user_signed_in? && !(@contact.persisted? || current_user.person == @person)
.right .right
- if @incoming_request - if @incoming_request
= link_to t('.incoming_request', :name => truncate(@person.name, :length => 20, :separator => ' ', :omission => '')), = link_to t('people.show.incoming_request', :name => truncate(@person.name, :length => 20, :separator => ' ', :omission => '')),
{:controller => "contacts", {:controller => "contacts",
:action => "new", :action => "new",
:person_id => @person.id}, :person_id => @person.id},
:class => 'share_with button', :class => 'share_with button',
:rel => 'facebox' :rel => 'facebox'
-else -else
= link_to t('.start_sharing'), = link_to t('people.show.start_sharing'),
{:controller => "contacts", {:controller => "contacts",
:action => "new", :action => "new",
:person_id => @person.id}, :person_id => @person.id},
@ -49,7 +49,7 @@
= @person.profile.format_tags(@person.profile.tag_string) = @person.profile.format_tags(@person.profile.tag_string)
- if user_signed_in? && @person == current_user.person - if user_signed_in? && @person == current_user.person
%span.hover_edit %span.hover_edit
= link_to t('.edit'), edit_profile_path = link_to t('people.show.edit'), edit_profile_path
%hr %hr

View file

@ -17,8 +17,7 @@
%hr{:style=>"width:300px;"} %hr{:style=>"width:300px;"}
.section.contact_pictures .section.contact_pictures
%h4 %h4
= @contacts_of_contact_count = t('contacts', :count => @contacts_of_contact_count)
= t('.contacts_of_contact')
- for person in @contacts_of_contact - for person in @contacts_of_contact
= person_image_link person = person_image_link person
- if @contacts_of_contact.count > 25 - if @contacts_of_contact.count > 25