diff --git a/app/views/aspects/edit.html.haml b/app/views/aspects/edit.html.haml index db0797c9c..6e1b0c4ba 100644 --- a/app/views/aspects/edit.html.haml +++ b/app/views/aspects/edit.html.haml @@ -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 diff --git a/config/locales/diaspora/en.yml b/config/locales/diaspora/en.yml index 897f3213a..d0697e190 100644 --- a/config/locales/diaspora/en.yml +++ b/config/locales/diaspora/en.yml @@ -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: