[Erp5-report] r23212 - in /erp5/trunk/bt5/erp5_accounting: SkinTemplateItem/portal_skins/er...

nobody at svn.erp5.org nobody at svn.erp5.org
Thu Aug 28 11:33:17 CEST 2008


Author: yusei
Date: Thu Aug 28 11:33:16 2008
New Revision: 23212

URL: http://svn.erp5.org?rev=23212&view=rev
Log:
2008-08-28 yusei
* Use N_ for translation message.

Modified:
    erp5/trunk/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/PaymentTransaction_copyInvoiceProperties.xml
    erp5/trunk/bt5/erp5_accounting/bt/change_log
    erp5/trunk/bt5/erp5_accounting/bt/revision

Modified: erp5/trunk/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/PaymentTransaction_copyInvoiceProperties.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/PaymentTransaction_copyInvoiceProperties.xml?rev=23212&r1=23211&r2=23212&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/PaymentTransaction_copyInvoiceProperties.xml (original)
+++ erp5/trunk/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/PaymentTransaction_copyInvoiceProperties.xml Thu Aug 28 11:33:16 2008
@@ -67,12 +67,14 @@
             <key> <string>_body</string> </key>
             <value> <string>from Products.ERP5Type.Message import Message\n
 \n
+N_ = lambda msg, **kw: str(Message(\'erp5_ui\', msg, **kw))\n
+\n
 payment_transaction = context\n
 \n
 if payment_transaction.getSimulationState() == "draft":\n
   payment_transaction.portal_workflow.doActionFor(\n
      payment_transaction, \'plan_action\',\n
-     comment=Message(\'erp5_ui\', "Initialized by Delivery Builder"))\n
+     comment=N_("Initialized by Delivery Builder"))\n
 </string> </value>
         </item>
         <item>
@@ -117,6 +119,7 @@
                           <tuple>
                             <string>Products.ERP5Type.Message</string>
                             <string>Message</string>
+                            <string>N_</string>
                             <string>context</string>
                             <string>payment_transaction</string>
                             <string>_getattr_</string>

Modified: erp5/trunk/bt5/erp5_accounting/bt/change_log
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_accounting/bt/change_log?rev=23212&r1=23211&r2=23212&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_accounting/bt/change_log (original)
+++ erp5/trunk/bt5/erp5_accounting/bt/change_log Thu Aug 28 11:33:16 2008
@@ -1,3 +1,6 @@
+2008-08-28 yusei
+* Use N_ for translation message.
+
 2008-07-02 yusei
 * Update title of Account_view.reference.
 In accounting, reference is "Document Reference", but, in account, reference must be "Reference".

Modified: erp5/trunk/bt5/erp5_accounting/bt/revision
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_accounting/bt/revision?rev=23212&r1=23211&r2=23212&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_accounting/bt/revision (original)
+++ erp5/trunk/bt5/erp5_accounting/bt/revision Thu Aug 28 11:33:16 2008
@@ -1,1 +1,1 @@
-746
+747




More information about the Erp5-report mailing list