diff --git a/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/PaymentTransaction_copyInvoiceProperties.xml b/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/PaymentTransaction_copyInvoiceProperties.xml index dbc7646990e00939b107583e13c7efc8e59b5d4f..4dbb3f50f5144470c5b2ccf20a55e477506b956b 100644 --- a/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/PaymentTransaction_copyInvoiceProperties.xml +++ b/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/PaymentTransaction_copyInvoiceProperties.xml @@ -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 @@ if payment_transaction.getSimulationState() == "draft":\n <tuple> <string>Products.ERP5Type.Message</string> <string>Message</string> + <string>N_</string> <string>context</string> <string>payment_transaction</string> <string>_getattr_</string> diff --git a/bt5/erp5_accounting/bt/change_log b/bt5/erp5_accounting/bt/change_log index 842808407f4741f1433bd802045d9e8000a7d6e3..09ebc686ff8a9ef048b719cdd7c3132c7f9c1cc0 100644 --- a/bt5/erp5_accounting/bt/change_log +++ b/bt5/erp5_accounting/bt/change_log @@ -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". diff --git a/bt5/erp5_accounting/bt/revision b/bt5/erp5_accounting/bt/revision index 64a0b71f19182e8b06f8eb147d6d6d7511786766..8c28da60d77512687b5c0d65184ab5a1bd077d06 100644 --- a/bt5/erp5_accounting/bt/revision +++ b/bt5/erp5_accounting/bt/revision @@ -1 +1 @@ -746 \ No newline at end of file +747 \ No newline at end of file