Commit 0fe28c15 authored by Yusei Tahara's avatar Yusei Tahara

2008-09-04 yusei

* Update English messages

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@23394 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 15e9d160
...@@ -3,11 +3,8 @@ ...@@ -3,11 +3,8 @@
<record id="1" aka="AAAAAAAAAAE="> <record id="1" aka="AAAAAAAAAAE=">
<pickle> <pickle>
<tuple> <tuple>
<tuple> <global name="ListBox" module="Products.ERP5Form.ListBox"/>
<string>Products.ERP5Form.ListBox</string> <tuple/>
<string>ListBox</string>
</tuple>
<none/>
</tuple> </tuple>
</pickle> </pickle>
<pickle> <pickle>
...@@ -341,6 +338,10 @@ ...@@ -341,6 +338,10 @@
<key> <string>alternate_name</string> </key> <key> <string>alternate_name</string> </key>
<value> <string></string> </value> <value> <string></string> </value>
</item> </item>
<item>
<key> <string>anchor</string> </key>
<value> <int>0</int> </value>
</item>
<item> <item>
<key> <string>columns</string> </key> <key> <string>columns</string> </key>
<value> <value>
...@@ -638,7 +639,7 @@ ...@@ -638,7 +639,7 @@
</item> </item>
<item> <item>
<key> <string>title</string> </key> <key> <string>title</string> </key>
<value> <string>Transactions Related To This Account</string> </value> <value> <string>Transactions Related to This Account</string> </value>
</item> </item>
<item> <item>
<key> <string>url_columns</string> </key> <key> <string>url_columns</string> </key>
...@@ -709,11 +710,8 @@ ...@@ -709,11 +710,8 @@
<record id="4" aka="AAAAAAAAAAQ="> <record id="4" aka="AAAAAAAAAAQ=">
<pickle> <pickle>
<tuple> <tuple>
<tuple> <global name="Method" module="Products.Formulator.MethodField"/>
<string>Products.Formulator.MethodField</string> <tuple/>
<string>Method</string>
</tuple>
<none/>
</tuple> </tuple>
</pickle> </pickle>
<pickle> <pickle>
...@@ -728,11 +726,8 @@ ...@@ -728,11 +726,8 @@
<record id="5" aka="AAAAAAAAAAU="> <record id="5" aka="AAAAAAAAAAU=">
<pickle> <pickle>
<tuple> <tuple>
<tuple> <global name="Method" module="Products.Formulator.MethodField"/>
<string>Products.Formulator.MethodField</string> <tuple/>
<string>Method</string>
</tuple>
<none/>
</tuple> </tuple>
</pickle> </pickle>
<pickle> <pickle>
......
...@@ -3,11 +3,8 @@ ...@@ -3,11 +3,8 @@
<record id="1" aka="AAAAAAAAAAE="> <record id="1" aka="AAAAAAAAAAE=">
<pickle> <pickle>
<tuple> <tuple>
<tuple> <global name="ListBox" module="Products.ERP5Form.ListBox"/>
<string>Products.ERP5Form.ListBox</string> <tuple/>
<string>ListBox</string>
</tuple>
<none/>
</tuple> </tuple>
</pickle> </pickle>
<pickle> <pickle>
...@@ -341,6 +338,10 @@ ...@@ -341,6 +338,10 @@
<key> <string>alternate_name</string> </key> <key> <string>alternate_name</string> </key>
<value> <string></string> </value> <value> <string></string> </value>
</item> </item>
<item>
<key> <string>anchor</string> </key>
<value> <int>0</int> </value>
</item>
<item> <item>
<key> <string>columns</string> </key> <key> <string>columns</string> </key>
<value> <value>
...@@ -616,7 +617,7 @@ ...@@ -616,7 +617,7 @@
</item> </item>
<item> <item>
<key> <string>title</string> </key> <key> <string>title</string> </key>
<value> <string>Transactions Related To This Account</string> </value> <value> <string>Transactions Related to This Account</string> </value>
</item> </item>
<item> <item>
<key> <string>url_columns</string> </key> <key> <string>url_columns</string> </key>
...@@ -687,11 +688,8 @@ ...@@ -687,11 +688,8 @@
<record id="4" aka="AAAAAAAAAAQ="> <record id="4" aka="AAAAAAAAAAQ=">
<pickle> <pickle>
<tuple> <tuple>
<tuple> <global name="Method" module="Products.Formulator.MethodField"/>
<string>Products.Formulator.MethodField</string> <tuple/>
<string>Method</string>
</tuple>
<none/>
</tuple> </tuple>
</pickle> </pickle>
<pickle> <pickle>
...@@ -706,11 +704,8 @@ ...@@ -706,11 +704,8 @@
<record id="5" aka="AAAAAAAAAAU="> <record id="5" aka="AAAAAAAAAAU=">
<pickle> <pickle>
<tuple> <tuple>
<tuple> <global name="Method" module="Products.Formulator.MethodField"/>
<string>Products.Formulator.MethodField</string> <tuple/>
<string>Method</string>
</tuple>
<none/>
</tuple> </tuple>
</pickle> </pickle>
<pickle> <pickle>
......
...@@ -97,7 +97,7 @@ if len(object_list) >= 1000:\n ...@@ -97,7 +97,7 @@ if len(object_list) >= 1000:\n
return context.REQUEST.RESPONSE.redirect(\n return context.REQUEST.RESPONSE.redirect(\n
"%s/view?portal_status_message=%s" % (\n "%s/view?portal_status_message=%s" % (\n
context.absolute_url(), translateString(\n context.absolute_url(), translateString(\n
\'Refusing to process more than 1000 objects, check your selection\')))\n \'Refusing to process more than 1000 objects, check your selection.\')))\n
\n \n
tag = \'payment_creation_%s\' % random.randint(0, 1000)\n tag = \'payment_creation_%s\' % random.randint(0, 1000)\n
activated = 0\n activated = 0\n
...@@ -108,7 +108,7 @@ for obj in object_list:\n ...@@ -108,7 +108,7 @@ for obj in object_list:\n
method_id=\'Invoice_createRelatedPaymentTransaction\'):\n method_id=\'Invoice_createRelatedPaymentTransaction\'):\n
raise Redirect, "%s/view?portal_status_message=%s" % (\n raise Redirect, "%s/view?portal_status_message=%s" % (\n
context.absolute_url(), translateString(\n context.absolute_url(), translateString(\n
\'Payment Creation already in progress, abandon\'))\n \'Payment creation already in progress, abandon.\'))\n
obj.activate(tag=tag).Invoice_createRelatedPaymentTransaction(\n obj.activate(tag=tag).Invoice_createRelatedPaymentTransaction(\n
node=node,\n node=node,\n
payment_mode=payment_mode,\n payment_mode=payment_mode,\n
...@@ -119,7 +119,7 @@ for obj in object_list:\n ...@@ -119,7 +119,7 @@ for obj in object_list:\n
if not activated:\n if not activated:\n
return context.REQUEST.RESPONSE.redirect(\n return context.REQUEST.RESPONSE.redirect(\n
"%s/view?portal_status_message=%s" % (\n "%s/view?portal_status_message=%s" % (\n
context.absolute_url(), translateString(\'No Invoice in your selection\')))\n context.absolute_url(), translateString(\'No invoice in your selection.\')))\n
\n \n
# activate something on the folder\n # activate something on the folder\n
context.activate(after_tag=tag).getTitle()\n context.activate(after_tag=tag).getTitle()\n
...@@ -127,8 +127,8 @@ context.activate(after_tag=tag).getTitle()\n ...@@ -127,8 +127,8 @@ context.activate(after_tag=tag).getTitle()\n
return context.REQUEST.RESPONSE.redirect(\n return context.REQUEST.RESPONSE.redirect(\n
"%s/view?portal_status_message=%s" % (\n "%s/view?portal_status_message=%s" % (\n
context.absolute_url(), translateString(\n context.absolute_url(), translateString(\n
\'Payments Creation for ${activated_invoice_count} on\'\n \'Payments creation for ${activated_invoice_count} on\'\n
\' ${total_selection_count} Invoices in Progress\',\n \' ${total_selection_count} invoices in progress.\',\n
mapping=dict(activated_invoice_count=activated,\n mapping=dict(activated_invoice_count=activated,\n
total_selection_count=len(object_list)))))\n total_selection_count=len(object_list)))))\n
......
...@@ -83,7 +83,7 @@ if organisation is not None :\n ...@@ -83,7 +83,7 @@ if organisation is not None :\n
return context.Base_jumpToRelatedObjectList(\n return context.Base_jumpToRelatedObjectList(\n
uids=selection_uid_list, REQUEST=request)\n uids=selection_uid_list, REQUEST=request)\n
\n \n
return context.Base_redirect(form_id, keep_items=dict(portal_status_message=Base_translateString(\'No Bank Account For Current Organisation\')))\n return context.Base_redirect(form_id, keep_items=dict(portal_status_message=Base_translateString(\'No bank account for current organisation.\')))\n
</string> </value> </string> </value>
</item> </item>
<item> <item>
......
...@@ -74,7 +74,7 @@ portal = context.getPortalObject()\n ...@@ -74,7 +74,7 @@ portal = context.getPortalObject()\n
getobject = portal.portal_catalog.getobject\n getobject = portal.portal_catalog.getobject\n
stool = portal.portal_selections\n stool = portal.portal_selections\n
Base_translateString = portal.Base_translateString\n Base_translateString = portal.Base_translateString\n
psm = Base_translateString(\'Nothing matches\')\n psm = Base_translateString(\'Nothing matches.\')\n
request = container.REQUEST\n request = container.REQUEST\n
precision = request.get(\'precision\', 2)\n precision = request.get(\'precision\', 2)\n
\n \n
...@@ -122,7 +122,7 @@ if grouping == \'grouping\':\n ...@@ -122,7 +122,7 @@ if grouping == \'grouping\':\n
grouped_line_list = context.AccountingTransaction_guessGroupedLines(\n grouped_line_list = context.AccountingTransaction_guessGroupedLines(\n
accounting_transaction_line_uid_list=uids)\n accounting_transaction_line_uid_list=uids)\n
if grouped_line_list:\n if grouped_line_list:\n
psm = Base_translateString(\'${grouped_line_count} Lines Grouped\',\n psm = Base_translateString(\'${grouped_line_count} lines grouped.\',\n
mapping=dict(grouped_line_count=len(grouped_line_list)))\n mapping=dict(grouped_line_count=len(grouped_line_list)))\n
\n \n
# make sure nothing will be checked next time\n # make sure nothing will be checked next time\n
...@@ -176,7 +176,7 @@ else:\n ...@@ -176,7 +176,7 @@ else:\n
if line.getGroupingReference():\n if line.getGroupingReference():\n
ungrouped_line_list.extend(line.AccountingTransactionLine_resetGroupingReference())\n ungrouped_line_list.extend(line.AccountingTransactionLine_resetGroupingReference())\n
\n \n
psm = Base_translateString(\'${ungrouped_line_count} Lines Ungrouped\',\n psm = Base_translateString(\'${ungrouped_line_count} lines ungrouped.\',\n
mapping=dict(ungrouped_line_count=len(ungrouped_line_list)))\n mapping=dict(ungrouped_line_count=len(ungrouped_line_list)))\n
\n \n
# make sure nothing will be checked next time\n # make sure nothing will be checked next time\n
......
...@@ -72,7 +72,7 @@ use.\n ...@@ -72,7 +72,7 @@ use.\n
Base_translateString = context.Base_translateString\n Base_translateString = context.Base_translateString\n
context.newContent(portal_type=portal_type)\n context.newContent(portal_type=portal_type)\n
return context.Base_redirect(\'view\', keep_items=dict(\n return context.Base_redirect(\'view\', keep_items=dict(\n
portal_status_message=Base_translateString(\'Accounting Transaction Line added\'),\n portal_status_message=Base_translateString(\'Accounting Transaction Line added.\'),\n
selection_name=selection_name,\n selection_name=selection_name,\n
selection_index=selection_index))\n selection_index=selection_index))\n
</string> </value> </string> </value>
......
...@@ -91,7 +91,7 @@ if len(id_to_delete_list) != len(transaction_lines):\n ...@@ -91,7 +91,7 @@ if len(id_to_delete_list) != len(transaction_lines):\n
\n \n
if redirect:\n if redirect:\n
context.REQUEST.RESPONSE.redirect("%s/view?portal_status_message=%s" % (\n context.REQUEST.RESPONSE.redirect("%s/view?portal_status_message=%s" % (\n
transaction.absolute_url(), translateString(\'Empty+Lines+Deleted.\')))\n transaction.absolute_url(), translateString(\'Empty+lines+deleted.\')))\n
</string> </value> </string> </value>
</item> </item>
<item> <item>
......
...@@ -132,7 +132,7 @@ return accounting_transaction_set.keys()\n ...@@ -132,7 +132,7 @@ return accounting_transaction_set.keys()\n
<value> <value>
<tuple> <tuple>
<string>_getattr_</string> <string>_getattr_</string>
<string>context</string> <string>context</string>
<string>portal</string> <string>portal</string>
<string>accounting_transaction_type_list</string> <string>accounting_transaction_type_list</string>
<string>accounting_transaction_set</string> <string>accounting_transaction_set</string>
......
...@@ -3,11 +3,8 @@ ...@@ -3,11 +3,8 @@
<record id="1" aka="AAAAAAAAAAE="> <record id="1" aka="AAAAAAAAAAE=">
<pickle> <pickle>
<tuple> <tuple>
<tuple> <global name="ListBox" module="Products.ERP5Form.ListBox"/>
<string>Products.ERP5Form.ListBox</string> <tuple/>
<string>ListBox</string>
</tuple>
<none/>
</tuple> </tuple>
</pickle> </pickle>
<pickle> <pickle>
...@@ -337,6 +334,10 @@ ...@@ -337,6 +334,10 @@
<key> <string>alternate_name</string> </key> <key> <string>alternate_name</string> </key>
<value> <string></string> </value> <value> <string></string> </value>
</item> </item>
<item>
<key> <string>anchor</string> </key>
<value> <int>0</int> </value>
</item>
<item> <item>
<key> <string>columns</string> </key> <key> <string>columns</string> </key>
<value> <value>
...@@ -473,6 +474,10 @@ ...@@ -473,6 +474,10 @@
<list/> <list/>
</value> </value>
</item> </item>
<item>
<key> <string>page_template</string> </key>
<value> <string></string> </value>
</item>
<item> <item>
<key> <string>portal_types</string> </key> <key> <string>portal_types</string> </key>
<value> <value>
...@@ -563,7 +568,7 @@ ...@@ -563,7 +568,7 @@
</item> </item>
<item> <item>
<key> <string>title</string> </key> <key> <string>title</string> </key>
<value> <string>Transactions Related To This Bank Account</string> </value> <value> <string>Transactions Related to This Bank Account</string> </value>
</item> </item>
<item> <item>
<key> <string>url_columns</string> </key> <key> <string>url_columns</string> </key>
...@@ -618,11 +623,8 @@ ...@@ -618,11 +623,8 @@
<record id="4" aka="AAAAAAAAAAQ="> <record id="4" aka="AAAAAAAAAAQ=">
<pickle> <pickle>
<tuple> <tuple>
<tuple> <global name="Method" module="Products.Formulator.MethodField"/>
<string>Products.Formulator.MethodField</string> <tuple/>
<string>Method</string>
</tuple>
<none/>
</tuple> </tuple>
</pickle> </pickle>
<pickle> <pickle>
...@@ -637,11 +639,8 @@ ...@@ -637,11 +639,8 @@
<record id="5" aka="AAAAAAAAAAU="> <record id="5" aka="AAAAAAAAAAU=">
<pickle> <pickle>
<tuple> <tuple>
<tuple> <global name="Method" module="Products.Formulator.MethodField"/>
<string>Products.Formulator.MethodField</string> <tuple/>
<string>Method</string>
</tuple>
<none/>
</tuple> </tuple>
</pickle> </pickle>
<pickle> <pickle>
......
...@@ -70,7 +70,7 @@ Base_translateString = portal.Base_translateString\n ...@@ -70,7 +70,7 @@ Base_translateString = portal.Base_translateString\n
\n \n
currency = context.portal_preferences.getPreferredAccountingTransactionCurrency()\n currency = context.portal_preferences.getPreferredAccountingTransactionCurrency()\n
if currency is None:\n if currency is None:\n
raise ValueError, Base_translateString("Currency must be defined in Preferences")\n raise ValueError, Base_translateString("Currency must be defined in preferences.")\n
\n \n
currency_value = context.restrictedTraverse(currency)\n currency_value = context.restrictedTraverse(currency)\n
precision = currency_value.getQuantityPrecision()\n precision = currency_value.getQuantityPrecision()\n
......
...@@ -52,6 +52,16 @@ ...@@ -52,6 +52,16 @@
<key> <string>action</string> </key> <key> <string>action</string> </key>
<value> <string>Base_importGapFile</string> </value> <value> <string>Base_importGapFile</string> </value>
</item> </item>
<item>
<key> <string>description</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>edit_order</string> </key>
<value>
<list/>
</value>
</item>
<item> <item>
<key> <string>encoding</string> </key> <key> <string>encoding</string> </key>
<value> <string>UTF-8</string> </value> <value> <string>UTF-8</string> </value>
...@@ -111,7 +121,7 @@ ...@@ -111,7 +121,7 @@
</item> </item>
<item> <item>
<key> <string>title</string> </key> <key> <string>title</string> </key>
<value> <string>Import CSV file</string> </value> <value> <string>Import CSV File</string> </value>
</item> </item>
<item> <item>
<key> <string>unicode_mode</string> </key> <key> <string>unicode_mode</string> </key>
......
...@@ -348,7 +348,7 @@ ...@@ -348,7 +348,7 @@
</item> </item>
<item> <item>
<key> <string>title</string> </key> <key> <string>title</string> </key>
<value> <string>Transactions Related To This Entity</string> </value> <value> <string>Transactions Related to This Entity</string> </value>
</item> </item>
<item> <item>
<key> <string>url_columns</string> </key> <key> <string>url_columns</string> </key>
......
...@@ -98,7 +98,7 @@ if sum(total_payable_price_details.values()) == 0:\n ...@@ -98,7 +98,7 @@ if sum(total_payable_price_details.values()) == 0:\n
if not batch_mode:\n if not batch_mode:\n
return context.REQUEST.RESPONSE.redirect(\n return context.REQUEST.RESPONSE.redirect(\n
"%s/view?portal_status_message=%s" % (\n "%s/view?portal_status_message=%s" % (\n
context.absolute_url(), Base_translateString(\'Nothing more to pay\')))\n context.absolute_url(), Base_translateString(\'Nothing more to pay.\')))\n
return None\n return None\n
\n \n
related_payment = portal.accounting_module.newContent(\n related_payment = portal.accounting_module.newContent(\n
...@@ -159,7 +159,7 @@ if not batch_mode:\n ...@@ -159,7 +159,7 @@ if not batch_mode:\n
return context.REQUEST.RESPONSE.redirect(\n return context.REQUEST.RESPONSE.redirect(\n
"%s/view?portal_status_message=%s" % (\n "%s/view?portal_status_message=%s" % (\n
related_payment.absolute_url(),\n related_payment.absolute_url(),\n
Base_translateString(\'Related Payment Created\')))\n Base_translateString(\'Related payment created.\')))\n
else:\n else:\n
return related_payment\n return related_payment\n
</string> </value> </string> </value>
......
...@@ -74,7 +74,7 @@ payment_transaction = context\n ...@@ -74,7 +74,7 @@ payment_transaction = context\n
if payment_transaction.getSimulationState() == "draft":\n if payment_transaction.getSimulationState() == "draft":\n
payment_transaction.portal_workflow.doActionFor(\n payment_transaction.portal_workflow.doActionFor(\n
payment_transaction, \'plan_action\',\n payment_transaction, \'plan_action\',\n
comment=translateString("Initialized by Delivery Builder"))\n comment=translateString("Initialized by Delivery Builder."))\n
</string> </value> </string> </value>
</item> </item>
<item> <item>
......
...@@ -78,7 +78,7 @@ start_date = closing_period.getStartDate()\n ...@@ -78,7 +78,7 @@ start_date = closing_period.getStartDate()\n
stop_date = closing_period.getStopDate()\n stop_date = closing_period.getStopDate()\n
\n \n
if start_date > stop_date:\n if start_date > stop_date:\n
raise ValidationFailed, translateString("Start Date is After Stop Date")\n raise ValidationFailed, translateString("Start date is after stop date.")\n
\n \n
period_list = closing_period.getParentValue().searchFolder(\n period_list = closing_period.getParentValue().searchFolder(\n
simulation_state=valid_state_list,\n simulation_state=valid_state_list,\n
...@@ -90,7 +90,7 @@ for period in period_list:\n ...@@ -90,7 +90,7 @@ for period in period_list:\n
if period.getSimulationState() in valid_state_list:\n if period.getSimulationState() in valid_state_list:\n
if start_date <= period.getStopDate():\n if start_date <= period.getStopDate():\n
raise ValidationFailed, translateString(\n raise ValidationFailed, translateString(\n
"${date} is already in an open accounting period",\n "${date} is already in an open accounting period.",\n
mapping={\'date\': start_date})\n mapping={\'date\': start_date})\n
\n \n
if len(period_list) > 1:\n if len(period_list) > 1:\n
......
...@@ -86,8 +86,7 @@ movement_list = portal.portal_simulation.getMovementHistoryList(\n ...@@ -86,8 +86,7 @@ movement_list = portal.portal_simulation.getMovementHistoryList(\n
\n \n
if movement_list:\n if movement_list:\n
raise ValidationFailed, translateString(\n raise ValidationFailed, translateString(\n
"All Accounting Transactions for this organisation during the period have"\n "All Accounting Transactions for this organisation during the period have to be closed first.")\n
" to be closed first")\n
</string> </value> </string> </value>
</item> </item>
<item> <item>
......
...@@ -98,12 +98,12 @@ destination_section = transaction.getDestinationSectionValue(\n ...@@ -98,12 +98,12 @@ destination_section = transaction.getDestinationSectionValue(\n
portal_type=[\'Organisation\', \'Person\'])\n portal_type=[\'Organisation\', \'Person\'])\n
\n \n
if source_section is None and destination_section is None:\n if source_section is None and destination_section is None:\n
raise ValidationFailed(translateString(\'At Least One Section Must be Defined\'))\n raise ValidationFailed(translateString(\'At least one section must be defined.\'))\n
\n \n
# check that no categories are used for section\n # check that no categories are used for section\n
if transaction.getSourceSectionValue(portal_type=\'Category\') is not None or\\\n if transaction.getSourceSectionValue(portal_type=\'Category\') is not None or\\\n
transaction.getDestinationSectionValue(portal_type=\'Category\') is not None:\n transaction.getDestinationSectionValue(portal_type=\'Category\') is not None:\n
raise ValidationFailed(translateString(\'Using Category for Section is Invalid\'))\n raise ValidationFailed(translateString(\'Using category for section is invalid.\'))\n
\n \n
transaction_line_list = transaction.getMovementList(\n transaction_line_list = transaction.getMovementList(\n
portal_type=transaction.getPortalAccountingMovementTypeList())\n portal_type=transaction.getPortalAccountingMovementTypeList())\n
...@@ -136,7 +136,7 @@ if not skip_period_validation :\n ...@@ -136,7 +136,7 @@ if not skip_period_validation :\n
valid_date = True\n valid_date = True\n
if not valid_date:\n if not valid_date:\n
raise ValidationFailed(translateString("Date is not in an opened Accounting Period "\n raise ValidationFailed(translateString("Date is not in an opened Accounting Period "\n
"for source section"))\n "for source section."))\n
# do the same for destination section \n # do the same for destination section \n
if destination_section is not None:\n if destination_section is not None:\n
# if we don\'t have any accounts on this side, we don\'t enforce date checks\n # if we don\'t have any accounts on this side, we don\'t enforce date checks\n
...@@ -160,7 +160,7 @@ if not skip_period_validation :\n ...@@ -160,7 +160,7 @@ if not skip_period_validation :\n
valid_date = True\n valid_date = True\n
if not valid_date:\n if not valid_date:\n
raise ValidationFailed(translateString("Date is not in an opened Accounting Period "\n raise ValidationFailed(translateString("Date is not in an opened Accounting Period "\n
"for destination section"))\n "for destination section."))\n
]]></string> </value> ]]></string> </value>
......
...@@ -100,21 +100,21 @@ for line in transaction.contentValues(filter=dict(\n ...@@ -100,21 +100,21 @@ for line in transaction.contentValues(filter=dict(\n
\n \n
if account is not None and account.getValidationState() != \'validated\':\n if account is not None and account.getValidationState() != \'validated\':\n
raise ValidationFailed, translateString(\n raise ValidationFailed, translateString(\n
"Account ${account_title} is not opened",\n "Account ${account_title} is not opened.",\n
mapping=dict(account_title=unicode(\n mapping=dict(account_title=unicode(\n
account.Account_getFormattedTitle(), \'utf8\')))\n account.Account_getFormattedTitle(), \'utf8\')))\n
\n \n
if third_party is not None and\\\n if third_party is not None and\\\n
third_party.getValidationState() in invalid_state_list:\n third_party.getValidationState() in invalid_state_list:\n
raise ValidationFailed, translateString(\n raise ValidationFailed, translateString(\n
"Third Party ${third_party_name} is invalid",\n "Third party ${third_party_name} is invalid.",\n
mapping=dict(third_party_name=unicode(\n mapping=dict(third_party_name=unicode(\n
third_party.getTitle(), \'utf8\')))\n third_party.getTitle(), \'utf8\')))\n
\n \n
if bank_account is not None and\\\n if bank_account is not None and\\\n
bank_account.getValidationState() in invalid_state_list:\n bank_account.getValidationState() in invalid_state_list:\n
raise ValidationFailed, translateString(\n raise ValidationFailed, translateString(\n
"Bank Account ${bank_account_reference} is invalid",\n "Bank Account ${bank_account_reference} is invalid.",\n
mapping=dict(bank_account_reference=unicode(\n mapping=dict(bank_account_reference=unicode(\n
bank_account.getReference(), \'utf8\')))\n bank_account.getReference(), \'utf8\')))\n
\n \n
...@@ -126,12 +126,9 @@ for line in transaction.contentValues(filter=dict(\n ...@@ -126,12 +126,9 @@ for line in transaction.contentValues(filter=dict(\n
bank_account_currency != line.getResource():\n bank_account_currency != line.getResource():\n
raise ValidationFailed, translateString(\n raise ValidationFailed, translateString(\n
"Bank Account ${bank_account_reference} "\n "Bank Account ${bank_account_reference} "\n
"uses ${bank_account_currency} as default currency",\n "uses ${bank_account_currency} as default currency.",\n
mapping=dict(\n mapping=dict(bank_account_reference=unicode(bank_account.getReference(), \'utf8\'),\n
bank_account_reference=unicode(\n bank_account_currency=unicode(bank_account.getPriceCurrencyReference(), \'utf8\')))\n
bank_account.getReference(), \'utf8\'),\n
bank_account_currency=unicode(\n
bank_account.getPriceCurrencyReference(), \'utf8\')))\n
\n \n
# Delete empty lines\n # Delete empty lines\n
transaction.AccountingTransaction_deleteEmptyLines(redirect=0)\n transaction.AccountingTransaction_deleteEmptyLines(redirect=0)\n
......
...@@ -70,7 +70,7 @@ ...@@ -70,7 +70,7 @@
</item> </item>
<item> <item>
<key> <string>title</string> </key> <key> <string>title</string> </key>
<value> <string>Causality workflow</string> </value> <value> <string>Causality Workflow</string> </value>
</item> </item>
<item> <item>
<key> <string>uid</string> </key> <key> <string>uid</string> </key>
......
...@@ -55,7 +55,7 @@ ...@@ -55,7 +55,7 @@
</item> </item>
<item> <item>
<key> <string>title</string> </key> <key> <string>title</string> </key>
<value> <string>accept_decision_action</string> </value> <value> <string>Accept Decision</string> </value>
</item> </item>
<item> <item>
<key> <string>trigger_type</string> </key> <key> <string>trigger_type</string> </key>
...@@ -67,11 +67,8 @@ ...@@ -67,11 +67,8 @@
<record id="2" aka="AAAAAAAAAAI="> <record id="2" aka="AAAAAAAAAAI=">
<pickle> <pickle>
<tuple> <tuple>
<tuple> <global name="Guard" module="Products.DCWorkflow.Guard"/>
<string>Products.DCWorkflow.Guard</string> <tuple/>
<string>Guard</string>
</tuple>
<none/>
</tuple> </tuple>
</pickle> </pickle>
<pickle> <pickle>
...@@ -88,11 +85,8 @@ ...@@ -88,11 +85,8 @@
<record id="3" aka="AAAAAAAAAAM="> <record id="3" aka="AAAAAAAAAAM=">
<pickle> <pickle>
<tuple> <tuple>
<tuple> <global name="Expression" module="Products.CMFCore.Expression"/>
<string>Products.CMFCore.Expression</string> <tuple/>
<string>Expression</string>
</tuple>
<none/>
</tuple> </tuple>
</pickle> </pickle>
<pickle> <pickle>
......
...@@ -55,7 +55,7 @@ ...@@ -55,7 +55,7 @@
</item> </item>
<item> <item>
<key> <string>title</string> </key> <key> <string>title</string> </key>
<value> <string>adopt_prevision_action</string> </value> <value> <string>Adopt Prevision</string> </value>
</item> </item>
<item> <item>
<key> <string>trigger_type</string> </key> <key> <string>trigger_type</string> </key>
...@@ -67,11 +67,8 @@ ...@@ -67,11 +67,8 @@
<record id="2" aka="AAAAAAAAAAI="> <record id="2" aka="AAAAAAAAAAI=">
<pickle> <pickle>
<tuple> <tuple>
<tuple> <global name="Guard" module="Products.DCWorkflow.Guard"/>
<string>Products.DCWorkflow.Guard</string> <tuple/>
<string>Guard</string>
</tuple>
<none/>
</tuple> </tuple>
</pickle> </pickle>
<pickle> <pickle>
...@@ -88,11 +85,8 @@ ...@@ -88,11 +85,8 @@
<record id="3" aka="AAAAAAAAAAM="> <record id="3" aka="AAAAAAAAAAM=">
<pickle> <pickle>
<tuple> <tuple>
<tuple> <global name="Expression" module="Products.CMFCore.Expression"/>
<string>Products.CMFCore.Expression</string> <tuple/>
<string>Expression</string>
</tuple>
<none/>
</tuple> </tuple>
</pickle> </pickle>
<pickle> <pickle>
......
2008-09-04 yusei
* Update English messages
2008-09-03 yusei 2008-09-03 yusei
* Remove text which is not suitable for translation. * Remove text which is not suitable for translation.
......
758 760
\ No newline at end of file \ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment