From 68fa4c5af6a8efd6cdd3327e501b8ed2a0ae9480 Mon Sep 17 00:00:00 2001 From: Romain Courteaud <romain@nexedi.com> Date: Wed, 9 Jan 2008 16:36:51 +0000 Subject: [PATCH] Display 'Add portal type' instead of 'New portal type', in order to be consistent with action menu. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@18645 20353a03-c40f-0410-a6d1-a30d3c3de9de --- product/ERP5Form/MultiRelationField.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/product/ERP5Form/MultiRelationField.py b/product/ERP5Form/MultiRelationField.py index df5cc9ac81..f6abebf2f2 100644 --- a/product/ERP5Form/MultiRelationField.py +++ b/product/ERP5Form/MultiRelationField.py @@ -722,7 +722,7 @@ class MultiRelationStringFieldValidator(Validator.LinesValidator): translated_portal_type = Message(domain='erp5_ui', message=portal_type) message = Message( - domain='erp5_ui', message='New ${portal_type}', + domain='erp5_ui', message='Add ${portal_type}', mapping={'portal_type': translated_portal_type}) menu_item_list.append((message, '%s%s' % (NEW_CONTENT_PREFIX, -- 2.30.9