[Erp5-report] r23299 - in /erp5/trunk/bt5/erp5_crm: SkinTemplateItem/portal_skins/erp5_crm/...
nobody at svn.erp5.org
nobody at svn.erp5.org
Fri Aug 29 16:40:10 CEST 2008
Author: yusei
Date: Fri Aug 29 16:40:00 2008
New Revision: 23299
URL: http://svn.erp5.org?rev=23299&view=rev
Log:
2008-08-29 yusei
* Correct message text.
Modified:
erp5/trunk/bt5/erp5_crm/SkinTemplateItem/portal_skins/erp5_crm/Ticket_newBug.xml
erp5/trunk/bt5/erp5_crm/SkinTemplateItem/portal_skins/erp5_crm/Ticket_newEvent.xml
erp5/trunk/bt5/erp5_crm/bt/change_log
erp5/trunk/bt5/erp5_crm/bt/revision
Modified: erp5/trunk/bt5/erp5_crm/SkinTemplateItem/portal_skins/erp5_crm/Ticket_newBug.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_crm/SkinTemplateItem/portal_skins/erp5_crm/Ticket_newBug.xml?rev=23299&r1=23298&r2=23299&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_crm/SkinTemplateItem/portal_skins/erp5_crm/Ticket_newBug.xml (original)
+++ erp5/trunk/bt5/erp5_crm/SkinTemplateItem/portal_skins/erp5_crm/Ticket_newBug.xml Fri Aug 29 16:40:00 2008
@@ -69,23 +69,25 @@
This script creates a new event with given metadata and\n
attaches it to the current bug.\n
"""\n
-translateString = context.Base_translateString\n
+Base_translateString = context.Base_translateString\n
portal_type = \'Bug\'\n
module = context.getDefaultModule(portal_type)\n
\n
if portal_type not in module.getVisibleAllowedContentTypeList():\n
- return context.Base_redirect(form_id, keep_items=dict(\n
- portal_status_message=translateString("You Don\'t Have Permission to Add New Bug")))\n
+ return context.Base_redirect(form_id,\n
+ keep_items=dict(\n
+ portal_status_message=Base_translateString("You do not have permission to add new bug")))\n
\n
# Create a new event\n
-bug = module.newContent(portal_type=portal_type, \n
- description=description, \n
- title=title, \n
- follow_up=context.getRelativeUrl())\n
+bug = module.newContent(portal_type=portal_type,\n
+ description=description,\n
+ title=title,\n
+ follow_up=context.getRelativeUrl())\n
\n
# Redirect to even\n
-portal_status_message = translateString("Created and associated a new ${portal_type} to the ticket.", \n
- mapping = dict(portal_type = translateString(portal_type)))\n
+portal_status_message = Base_translateString(\n
+ "Created and associated a new ${portal_type} to the ticket.",\n
+ mapping = dict(portal_type=Base_translateString(portal_type)))\n
return bug.Base_redirect(\'view\', keep_items = dict(portal_status_message=portal_status_message), **kw)\n
</string> </value>
</item>
@@ -135,7 +137,7 @@
<string>kw</string>
<string>_getattr_</string>
<string>context</string>
- <string>translateString</string>
+ <string>Base_translateString</string>
<string>portal_type</string>
<string>module</string>
<string>dict</string>
Modified: erp5/trunk/bt5/erp5_crm/SkinTemplateItem/portal_skins/erp5_crm/Ticket_newEvent.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_crm/SkinTemplateItem/portal_skins/erp5_crm/Ticket_newEvent.xml?rev=23299&r1=23298&r2=23299&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_crm/SkinTemplateItem/portal_skins/erp5_crm/Ticket_newEvent.xml (original)
+++ erp5/trunk/bt5/erp5_crm/SkinTemplateItem/portal_skins/erp5_crm/Ticket_newEvent.xml Fri Aug 29 16:40:00 2008
@@ -73,8 +73,9 @@
module = context.getDefaultModule(portal_type)\n
\n
if portal_type not in module.getVisibleAllowedContentTypeList():\n
- return context.Base_redirect(form_id, keep_items=dict(\n
- portal_status_message=translateString("You Don\'t Have Permission to Add New Event")))\n
+ return context.Base_redirect(form_id,\n
+ keep_items=dict(\n
+ portal_status_message=translateString("You do not have permission to add new event")))\n
\n
# Create a new event\n
event = module.newContent(portal_type=portal_type, description=description, title=title, follow_up=context.getRelativeUrl())\n
@@ -86,8 +87,9 @@
event.plan()\n
\n
# Redirect to even\n
-portal_status_message = translateString("Created and associated a new ${portal_type} to the ticket.", \n
- mapping = dict(portal_type = translateString(portal_type)))\n
+portal_status_message = translateString(\n
+ "Created and associated a new ${portal_type} to the ticket.", \n
+ mapping=dict(portal_type = translateString(portal_type)))\n
return event.Base_redirect(\'view\', keep_items = dict(portal_status_message=portal_status_message), **kw)\n
</string> </value>
</item>
Modified: erp5/trunk/bt5/erp5_crm/bt/change_log
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_crm/bt/change_log?rev=23299&r1=23298&r2=23299&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_crm/bt/change_log (original)
+++ erp5/trunk/bt5/erp5_crm/bt/change_log Fri Aug 29 16:40:00 2008
@@ -1,3 +1,6 @@
+2008-08-29 yusei
+* Correct message text.
+
2008-08-28 yusei
* Use Base_translateString or translateString instead of N_ for translation message.
Modified: erp5/trunk/bt5/erp5_crm/bt/revision
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_crm/bt/revision?rev=23299&r1=23298&r2=23299&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_crm/bt/revision (original)
+++ erp5/trunk/bt5/erp5_crm/bt/revision Fri Aug 29 16:40:00 2008
@@ -1,1 +1,1 @@
-296
+297
More information about the Erp5-report
mailing list