Changed translation and fixed misspelled function call

This commit is contained in:
Manuel Schölling 2011-08-07 19:44:01 +02:00
parent 79d0dfc7bb
commit 8b99ae9cb6
3 changed files with 10 additions and 10 deletions

View file

@ -3,7 +3,7 @@
// the COPYRIGHT file.
var dropdown = $("ul.dropdown_list[data-person_id=<%= @person.id %>]")
$('.newItem', dropdown).before("<%= escape_javascript( render('aspect_memberships/aspect_dropdown_list_item', :aspect => @aspect, :person => @person, :contact => @contact)) %>");
$('.newItem', dropdown).before("<%= escape_javascript( render('shared/aspect_dropdown_list_item', :aspect => @aspect, :person => @person, :contact => @contact)) %>");
ContactEdit.updateNumber(dropdown, "<%= @person.id %>", <%= @contact.aspects.size %>);
$.facebox.close();

View file

@ -1,7 +1,7 @@
#author_info
.right
- if user_signed_in? && current_user.person != person
= aspect_memberhip_dropdown(contact, person, 'left')
= aspect_membership_dropdown(contact, person, 'left')
- elsif user_signed_in? && current_user.person == person
= link_to t('people.profile_sidebar.edit_my_profile'), edit_profile_path, :class => 'button creation'

View file

@ -178,14 +178,6 @@ en:
success: "Successfully removed person from aspect"
failure: "Failed to remove person from aspect"
no_membership: "Could not find the selected person in that aspect"
aspect_dropdown:
add_to_aspect: "Add to aspect"
toggle:
zero: "Add to aspect"
one: "In %{count} aspect"
few: "In %{count} aspects"
many: "In %{count} aspects"
other: "In %{count} aspects"
bookmarklet:
heading: "Bookmarklet"
@ -651,6 +643,14 @@ en:
invite: "invite"
shared:
aspect_dropdown:
add_to_aspect: "Add to aspect"
toggle:
zero: "Add to aspect"
one: "In %{count} aspect"
few: "In %{count} aspects"
many: "In %{count} aspects"
other: "In %{count} aspects"
publisher:
posting: "Posting..."
share: "Share"