[Erp5-report] r19490 - in /erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style: SkinTemplat...

nobody at svn.erp5.org nobody at svn.erp5.org
Mon Feb 25 14:09:30 CET 2008


Author: nicolas
Date: Mon Feb 25 14:09:29 2008
New Revision: 19490

URL: http://svn.erp5.org?rev=19490&view=rev
Log:
Translate portal_type and capitalize "Clone" in portal_message

Modified:
    erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/Base_createCloneDocument.xml
    erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/bt/revision

Modified: erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/Base_createCloneDocument.xml
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/Base_createCloneDocument.xml?rev=19490&r1=19489&r2=19490&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/Base_createCloneDocument.xml (original)
+++ erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/Base_createCloneDocument.xml Mon Feb 25 14:09:29 2008
@@ -91,7 +91,7 @@
            translateString("You are not allowed to clone this object.")})\n
 \n
 # prepare query params\n
-kw = {\'portal_type\' : portal_type}\n
+kw = {\'portal_type\' : translateString(portal_type)}\n
 \n
 # Standard cloning method\n
 if clone:\n
@@ -103,7 +103,7 @@
   clipboard = directory.manage_copyObjects(ids=[original_id])\n
   paste_result = directory.manage_pasteObjects(cb_copy_data=clipboard)\n
   new_object = directory[paste_result[0][\'new_id\']]\n
-  message_kind = \'clone\'\n
+  message_kind = \'Clone\'\n
 \n
 if not editable_mode: \n
   form_id = \'view\'\n

Modified: erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/bt/revision
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/bt/revision?rev=19490&r1=19489&r2=19490&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/bt/revision (original)
+++ erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/bt/revision Mon Feb 25 14:09:29 2008
@@ -1,1 +1,1 @@
-492
+494




More information about the Erp5-report mailing list