Commit 68fa4c5a authored by Romain Courteaud's avatar Romain Courteaud

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
parent 7110bf22
...@@ -722,7 +722,7 @@ class MultiRelationStringFieldValidator(Validator.LinesValidator): ...@@ -722,7 +722,7 @@ class MultiRelationStringFieldValidator(Validator.LinesValidator):
translated_portal_type = Message(domain='erp5_ui', translated_portal_type = Message(domain='erp5_ui',
message=portal_type) message=portal_type)
message = Message( message = Message(
domain='erp5_ui', message='New ${portal_type}', domain='erp5_ui', message='Add ${portal_type}',
mapping={'portal_type': translated_portal_type}) mapping={'portal_type': translated_portal_type})
menu_item_list.append((message, menu_item_list.append((message,
'%s%s' % (NEW_CONTENT_PREFIX, '%s%s' % (NEW_CONTENT_PREFIX,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment