From d43e577034ba2170d4abdc9613bffebfe62083a3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9rome=20Perrin?= <jerome@nexedi.com> Date: Tue, 19 Feb 2008 13:39:50 +0000 Subject: [PATCH] Don't use (s) in message, use plural instead. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@19390 20353a03-c40f-0410-a6d1-a30d3c3de9de --- .../portal_skins/erp5_crm/PersonModule_newEvent.xml | 8 +++++--- bt5/erp5_crm/bt/revision | 2 +- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/bt5/erp5_crm/SkinTemplateItem/portal_skins/erp5_crm/PersonModule_newEvent.xml b/bt5/erp5_crm/SkinTemplateItem/portal_skins/erp5_crm/PersonModule_newEvent.xml index 766e4e433b..01ffdb6e60 100644 --- a/bt5/erp5_crm/SkinTemplateItem/portal_skins/erp5_crm/PersonModule_newEvent.xml +++ b/bt5/erp5_crm/SkinTemplateItem/portal_skins/erp5_crm/PersonModule_newEvent.xml @@ -121,9 +121,11 @@ else:\n count = 1\n \n # Redirect to the event module (but is this the best place to go since events are not yet indexed ?)\n -portal_status_message = translateString("Created and associated ${count} new ${portal_type}(s) to the selected ticket.", \n - mapping = dict(portal_type = portal_type, count=count))\n -context.Base_redirect(form_id, keep_items = dict(portal_status_message=portal_status_message, selection_name=selection_name, selection_index=selection_index), **kw)\n +portal_status_message = translateString("Created and associated ${count} new Events to the selected Ticket.", \n + mapping=dict(count=count))\n +context.Base_redirect(form_id, keep_items = dict(portal_status_message=portal_status_message,\n + selection_name=selection_name,\n + selection_index=selection_index), **kw)\n ]]></string> </value> diff --git a/bt5/erp5_crm/bt/revision b/bt5/erp5_crm/bt/revision index b00047941a..5755659621 100644 --- a/bt5/erp5_crm/bt/revision +++ b/bt5/erp5_crm/bt/revision @@ -1 +1 @@ -159 \ No newline at end of file +163 \ No newline at end of file -- 2.30.9