From b0e9f5388b61910b744d87be602f4200207dad8d Mon Sep 17 00:00:00 2001 From: MrZYX Date: Wed, 18 May 2011 13:22:05 +0200 Subject: [PATCH] fixed a translation; added that missing for you, fixed #1078 --- app/helpers/aspect_global_helper.rb | 1 + app/views/contacts/_aspect_dropdown.html.haml | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/app/helpers/aspect_global_helper.rb b/app/helpers/aspect_global_helper.rb index 1751c56d9..f93cea2ea 100644 --- a/app/helpers/aspect_global_helper.rb +++ b/app/helpers/aspect_global_helper.rb @@ -94,6 +94,7 @@ module AspectGlobalHelper str << aspect.name str << "
" str << aspect_membership_button(aspect, contact, person) + str << "" str.html_safe end end diff --git a/app/views/contacts/_aspect_dropdown.html.haml b/app/views/contacts/_aspect_dropdown.html.haml index 8e56a475e..bcb1aa083 100644 --- a/app/views/contacts/_aspect_dropdown.html.haml +++ b/app/views/contacts/_aspect_dropdown.html.haml @@ -15,4 +15,4 @@ - if defined?(@aspect) && ( @aspect == :profile || @aspect == :tag || @aspect == :search || @aspect == :notification) %li.newItem .add_aspect - = link_to "Add a new aspect", new_aspect_path(:person_id => person.id), :rel => 'facebox' + = link_to t('aspects.manage.add_a_new_aspect'), new_aspect_path(:person_id => person.id), :rel => 'facebox'