made some strings translatable

This commit is contained in:
MrZYX 2011-01-12 15:56:02 +01:00
parent 40fc8efec9
commit 1319099cf3
2 changed files with 4 additions and 3 deletions

View file

@ -10,7 +10,7 @@
%h4
= @aspect
.description
= "#{@aspect_contacts.count} contacts"
= t('.contacts', :count =>@aspect_contacts.count)}
.person_tiles{:style => "display:none;"}
- for contact in @aspect.contacts
@ -29,9 +29,9 @@
= render 'shared/contact_list', :aspect_id => @aspect.id, :contact_hashes => @all_contacts
#aspect_edit_controls
= link_to 'rename', '#'
= link_to t('.rename'), '#'
\/
= link_to 'delete', @aspect, :method => "delete", :confirm => t('.confirm_remove_aspect')
= link_to t('delete'), @aspect, :method => "delete", :confirm => t('.confirm_remove_aspect')
#rename_aspect

View file

@ -135,6 +135,7 @@ en:
confirm_remove_aspect: "Are you sure you want to delete this aspect?"
add_existing: "Add an existing contact"
rename_aspect: "Rename aspect"
rename: "rename"
aspect_contacts:
done_editing: "done editing"
show: