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 @@
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<tuple>
<tuple>
<string>Products.ERP5Form.ListBox</string>
<string>ListBox</string>
</tuple>
<none/>
<global name="ListBox" module="Products.ERP5Form.ListBox"/>
<tuple/>
</tuple>
</pickle>
<pickle>
......@@ -341,6 +338,10 @@
<key> <string>alternate_name</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>anchor</string> </key>
<value> <int>0</int> </value>
</item>
<item>
<key> <string>columns</string> </key>
<value>
......@@ -638,7 +639,7 @@
</item>
<item>
<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>
<key> <string>url_columns</string> </key>
......@@ -709,11 +710,8 @@
<record id="4" aka="AAAAAAAAAAQ=">
<pickle>
<tuple>
<tuple>
<string>Products.Formulator.MethodField</string>
<string>Method</string>
</tuple>
<none/>
<global name="Method" module="Products.Formulator.MethodField"/>
<tuple/>
</tuple>
</pickle>
<pickle>
......@@ -728,11 +726,8 @@
<record id="5" aka="AAAAAAAAAAU=">
<pickle>
<tuple>
<tuple>
<string>Products.Formulator.MethodField</string>
<string>Method</string>
</tuple>
<none/>
<global name="Method" module="Products.Formulator.MethodField"/>
<tuple/>
</tuple>
</pickle>
<pickle>
......
......@@ -3,11 +3,8 @@
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<tuple>
<tuple>
<string>Products.ERP5Form.ListBox</string>
<string>ListBox</string>
</tuple>
<none/>
<global name="ListBox" module="Products.ERP5Form.ListBox"/>
<tuple/>
</tuple>
</pickle>
<pickle>
......@@ -341,6 +338,10 @@
<key> <string>alternate_name</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>anchor</string> </key>
<value> <int>0</int> </value>
</item>
<item>
<key> <string>columns</string> </key>
<value>
......@@ -616,7 +617,7 @@
</item>
<item>
<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>
<key> <string>url_columns</string> </key>
......@@ -687,11 +688,8 @@
<record id="4" aka="AAAAAAAAAAQ=">
<pickle>
<tuple>
<tuple>
<string>Products.Formulator.MethodField</string>
<string>Method</string>
</tuple>
<none/>
<global name="Method" module="Products.Formulator.MethodField"/>
<tuple/>
</tuple>
</pickle>
<pickle>
......@@ -706,11 +704,8 @@
<record id="5" aka="AAAAAAAAAAU=">
<pickle>
<tuple>
<tuple>
<string>Products.Formulator.MethodField</string>
<string>Method</string>
</tuple>
<none/>
<global name="Method" module="Products.Formulator.MethodField"/>
<tuple/>
</tuple>
</pickle>
<pickle>
......
......@@ -97,7 +97,7 @@ if len(object_list) >= 1000:\n
return context.REQUEST.RESPONSE.redirect(\n
"%s/view?portal_status_message=%s" % (\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
tag = \'payment_creation_%s\' % random.randint(0, 1000)\n
activated = 0\n
......@@ -108,7 +108,7 @@ for obj in object_list:\n
method_id=\'Invoice_createRelatedPaymentTransaction\'):\n
raise Redirect, "%s/view?portal_status_message=%s" % (\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
node=node,\n
payment_mode=payment_mode,\n
......@@ -119,7 +119,7 @@ for obj in object_list:\n
if not activated:\n
return context.REQUEST.RESPONSE.redirect(\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
# activate something on the folder\n
context.activate(after_tag=tag).getTitle()\n
......@@ -127,8 +127,8 @@ context.activate(after_tag=tag).getTitle()\n
return context.REQUEST.RESPONSE.redirect(\n
"%s/view?portal_status_message=%s" % (\n
context.absolute_url(), translateString(\n
\'Payments Creation for ${activated_invoice_count} on\'\n
\' ${total_selection_count} Invoices in Progress\',\n
\'Payments creation for ${activated_invoice_count} on\'\n
\' ${total_selection_count} invoices in progress.\',\n
mapping=dict(activated_invoice_count=activated,\n
total_selection_count=len(object_list)))))\n
......
......@@ -83,7 +83,7 @@ if organisation is not None :\n
return context.Base_jumpToRelatedObjectList(\n
uids=selection_uid_list, REQUEST=request)\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>
</item>
<item>
......
......@@ -74,7 +74,7 @@ portal = context.getPortalObject()\n
getobject = portal.portal_catalog.getobject\n
stool = portal.portal_selections\n
Base_translateString = portal.Base_translateString\n
psm = Base_translateString(\'Nothing matches\')\n
psm = Base_translateString(\'Nothing matches.\')\n
request = container.REQUEST\n
precision = request.get(\'precision\', 2)\n
\n
......@@ -122,7 +122,7 @@ if grouping == \'grouping\':\n
grouped_line_list = context.AccountingTransaction_guessGroupedLines(\n
accounting_transaction_line_uid_list=uids)\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
\n
# make sure nothing will be checked next time\n
......@@ -176,7 +176,7 @@ else:\n
if line.getGroupingReference():\n
ungrouped_line_list.extend(line.AccountingTransactionLine_resetGroupingReference())\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
\n
# make sure nothing will be checked next time\n
......
......@@ -72,7 +72,7 @@ use.\n
Base_translateString = context.Base_translateString\n
context.newContent(portal_type=portal_type)\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_index=selection_index))\n
</string> </value>
......
......@@ -91,7 +91,7 @@ if len(id_to_delete_list) != len(transaction_lines):\n
\n
if redirect:\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>
</item>
<item>
......
......@@ -132,7 +132,7 @@ return accounting_transaction_set.keys()\n
<value>
<tuple>
<string>_getattr_</string>
<string>context</string>
<string>context</string>
<string>portal</string>
<string>accounting_transaction_type_list</string>
<string>accounting_transaction_set</string>
......
......@@ -3,11 +3,8 @@
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<tuple>
<tuple>
<string>Products.ERP5Form.ListBox</string>
<string>ListBox</string>
</tuple>
<none/>
<global name="ListBox" module="Products.ERP5Form.ListBox"/>
<tuple/>
</tuple>
</pickle>
<pickle>
......@@ -337,6 +334,10 @@
<key> <string>alternate_name</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>anchor</string> </key>
<value> <int>0</int> </value>
</item>
<item>
<key> <string>columns</string> </key>
<value>
......@@ -473,6 +474,10 @@
<list/>
</value>
</item>
<item>
<key> <string>page_template</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>portal_types</string> </key>
<value>
......@@ -563,7 +568,7 @@
</item>
<item>
<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>
<key> <string>url_columns</string> </key>
......@@ -618,11 +623,8 @@
<record id="4" aka="AAAAAAAAAAQ=">
<pickle>
<tuple>
<tuple>
<string>Products.Formulator.MethodField</string>
<string>Method</string>
</tuple>
<none/>
<global name="Method" module="Products.Formulator.MethodField"/>
<tuple/>
</tuple>
</pickle>
<pickle>
......@@ -637,11 +639,8 @@
<record id="5" aka="AAAAAAAAAAU=">
<pickle>
<tuple>
<tuple>
<string>Products.Formulator.MethodField</string>
<string>Method</string>
</tuple>
<none/>
<global name="Method" module="Products.Formulator.MethodField"/>
<tuple/>
</tuple>
</pickle>
<pickle>
......
......@@ -70,7 +70,7 @@ Base_translateString = portal.Base_translateString\n
\n
currency = context.portal_preferences.getPreferredAccountingTransactionCurrency()\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
currency_value = context.restrictedTraverse(currency)\n
precision = currency_value.getQuantityPrecision()\n
......
......@@ -52,6 +52,16 @@
<key> <string>action</string> </key>
<value> <string>Base_importGapFile</string> </value>
</item>
<item>
<key> <string>description</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>edit_order</string> </key>
<value>
<list/>
</value>
</item>
<item>
<key> <string>encoding</string> </key>
<value> <string>UTF-8</string> </value>
......@@ -111,7 +121,7 @@
</item>
<item>
<key> <string>title</string> </key>
<value> <string>Import CSV file</string> </value>
<value> <string>Import CSV File</string> </value>
</item>
<item>
<key> <string>unicode_mode</string> </key>
......
......@@ -116,7 +116,7 @@
</value>
</item>
<item>
<key> <string>columns</string> </key>
<key> <string>columns</string> </key>
<value>
<list>
<tuple>
......@@ -175,13 +175,13 @@
</value>
</item>
<item>
<key> <string>default_params</string> </key>
<key> <string>default_params</string> </key>
<value>
<list/>
</value>
</item>
<item>
<key> <string>domain_root_list</string> </key>
<key> <string>domain_root_list</string> </key>
<value>
<list>
<tuple>
......@@ -192,11 +192,11 @@
</value>
</item>
<item>
<key> <string>domain_tree</string> </key>
<key> <string>domain_tree</string> </key>
<value> <int>1</int> </value>
</item>
<item>
<key> <string>editable_columns</string> </key>
<key> <string>editable_columns</string> </key>
<value>
<list>
<tuple>
......@@ -243,7 +243,7 @@
<value> <string>Base_viewFieldLibrary</string> </value>
</item>
<item>
<key> <string>list_method</string> </key>
<key> <string>list_method</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAU=</string> </persistent>
</value>
......@@ -253,7 +253,7 @@
<value> <int>0</int> </value>
</item>
<item>
<key> <string>portal_types</string> </key>
<key> <string>portal_types</string> </key>
<value>
<list>
<tuple>
......@@ -288,11 +288,11 @@
<value> <int>0</int> </value>
</item>
<item>
<key> <string>selection_name</string> </key>
<key> <string>selection_name</string> </key>
<value> <string>entity_transaction_selection</string> </value>
</item>
<item>
<key> <string>sort</string> </key>
<key> <string>sort</string> </key>
<value>
<list>
<tuple>
......@@ -307,7 +307,7 @@
</value>
</item>
<item>
<key> <string>sort_columns</string> </key>
<key> <string>sort_columns</string> </key>
<value>
<list>
<tuple>
......@@ -318,7 +318,7 @@
</value>
</item>
<item>
<key> <string>stat_columns</string> </key>
<key> <string>stat_columns</string> </key>
<value>
<list>
<tuple>
......@@ -337,7 +337,7 @@
</value>
</item>
<item>
<key> <string>stat_method</string> </key>
<key> <string>stat_method</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAY=</string> </persistent>
</value>
......@@ -347,11 +347,11 @@
<value> <string>Click to edit the target</string> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>Transactions Related To This Entity</string> </value>
<key> <string>title</string> </key>
<value> <string>Transactions Related to This Entity</string> </value>
</item>
<item>
<key> <string>url_columns</string> </key>
<key> <string>url_columns</string> </key>
<value>
<list/>
</value>
......
......@@ -98,7 +98,7 @@ if sum(total_payable_price_details.values()) == 0:\n
if not batch_mode:\n
return context.REQUEST.RESPONSE.redirect(\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
\n
related_payment = portal.accounting_module.newContent(\n
......@@ -159,7 +159,7 @@ if not batch_mode:\n
return context.REQUEST.RESPONSE.redirect(\n
"%s/view?portal_status_message=%s" % (\n
related_payment.absolute_url(),\n
Base_translateString(\'Related Payment Created\')))\n
Base_translateString(\'Related payment created.\')))\n
else:\n
return related_payment\n
</string> </value>
......
......@@ -74,7 +74,7 @@ payment_transaction = context\n
if payment_transaction.getSimulationState() == "draft":\n
payment_transaction.portal_workflow.doActionFor(\n
payment_transaction, \'plan_action\',\n
comment=translateString("Initialized by Delivery Builder"))\n
comment=translateString("Initialized by Delivery Builder."))\n
</string> </value>
</item>
<item>
......
......@@ -78,7 +78,7 @@ start_date = closing_period.getStartDate()\n
stop_date = closing_period.getStopDate()\n
\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
period_list = closing_period.getParentValue().searchFolder(\n
simulation_state=valid_state_list,\n
......@@ -90,7 +90,7 @@ for period in period_list:\n
if period.getSimulationState() in valid_state_list:\n
if start_date <= period.getStopDate():\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
\n
if len(period_list) > 1:\n
......
......@@ -86,8 +86,7 @@ movement_list = portal.portal_simulation.getMovementHistoryList(\n
\n
if movement_list:\n
raise ValidationFailed, translateString(\n
"All Accounting Transactions for this organisation during the period have"\n
" to be closed first")\n
"All Accounting Transactions for this organisation during the period have to be closed first.")\n
</string> </value>
</item>
<item>
......
......@@ -98,12 +98,12 @@ destination_section = transaction.getDestinationSectionValue(\n
portal_type=[\'Organisation\', \'Person\'])\n
\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
# check that no categories are used for section\n
if transaction.getSourceSectionValue(portal_type=\'Category\') is not None or\\\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
transaction_line_list = transaction.getMovementList(\n
portal_type=transaction.getPortalAccountingMovementTypeList())\n
......@@ -136,7 +136,7 @@ if not skip_period_validation :\n
valid_date = True\n
if not valid_date:\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
if destination_section is not None:\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
valid_date = True\n
if not valid_date:\n
raise ValidationFailed(translateString("Date is not in an opened Accounting Period "\n
"for destination section"))\n
"for destination section."))\n
]]></string> </value>
......
......@@ -100,21 +100,21 @@ for line in transaction.contentValues(filter=dict(\n
\n
if account is not None and account.getValidationState() != \'validated\':\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
account.Account_getFormattedTitle(), \'utf8\')))\n
\n
if third_party is not None and\\\n
third_party.getValidationState() in invalid_state_list:\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
third_party.getTitle(), \'utf8\')))\n
\n
if bank_account is not None and\\\n
bank_account.getValidationState() in invalid_state_list:\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
bank_account.getReference(), \'utf8\')))\n
\n
......@@ -125,13 +125,10 @@ for line in transaction.contentValues(filter=dict(\n
if bank_account_currency is not None and \\\n
bank_account_currency != line.getResource():\n
raise ValidationFailed, translateString(\n
"Bank Account ${bank_account_reference} "\n
"uses ${bank_account_currency} as default currency",\n
mapping=dict(\n
bank_account_reference=unicode(\n
bank_account.getReference(), \'utf8\'),\n
bank_account_currency=unicode(\n
bank_account.getPriceCurrencyReference(), \'utf8\')))\n
"Bank Account ${bank_account_reference} "\n
"uses ${bank_account_currency} as default currency.",\n
mapping=dict(bank_account_reference=unicode(bank_account.getReference(), \'utf8\'),\n
bank_account_currency=unicode(bank_account.getPriceCurrencyReference(), \'utf8\')))\n
\n
# Delete empty lines\n
transaction.AccountingTransaction_deleteEmptyLines(redirect=0)\n
......
......@@ -70,7 +70,7 @@
</item>
<item>
<key> <string>title</string> </key>
<value> <string>Causality workflow</string> </value>
<value> <string>Causality Workflow</string> </value>
</item>
<item>
<key> <string>uid</string> </key>
......
......@@ -55,7 +55,7 @@
</item>
<item>
<key> <string>title</string> </key>
<value> <string>accept_decision_action</string> </value>
<value> <string>Accept Decision</string> </value>
</item>
<item>
<key> <string>trigger_type</string> </key>
......@@ -67,11 +67,8 @@
<record id="2" aka="AAAAAAAAAAI=">
<pickle>
<tuple>
<tuple>
<string>Products.DCWorkflow.Guard</string>
<string>Guard</string>
</tuple>
<none/>
<global name="Guard" module="Products.DCWorkflow.Guard"/>
<tuple/>
</tuple>
</pickle>
<pickle>
......@@ -88,11 +85,8 @@
<record id="3" aka="AAAAAAAAAAM=">
<pickle>
<tuple>
<tuple>
<string>Products.CMFCore.Expression</string>
<string>Expression</string>
</tuple>
<none/>
<global name="Expression" module="Products.CMFCore.Expression"/>
<tuple/>
</tuple>
</pickle>
<pickle>
......
......@@ -55,7 +55,7 @@
</item>
<item>
<key> <string>title</string> </key>
<value> <string>adopt_prevision_action</string> </value>
<value> <string>Adopt Prevision</string> </value>
</item>
<item>
<key> <string>trigger_type</string> </key>
......@@ -67,11 +67,8 @@
<record id="2" aka="AAAAAAAAAAI=">
<pickle>
<tuple>
<tuple>
<string>Products.DCWorkflow.Guard</string>
<string>Guard</string>
</tuple>
<none/>
<global name="Guard" module="Products.DCWorkflow.Guard"/>
<tuple/>
</tuple>
</pickle>
<pickle>
......@@ -88,11 +85,8 @@
<record id="3" aka="AAAAAAAAAAM=">
<pickle>
<tuple>
<tuple>
<string>Products.CMFCore.Expression</string>
<string>Expression</string>
</tuple>
<none/>
<global name="Expression" module="Products.CMFCore.Expression"/>
<tuple/>
</tuple>
</pickle>
<pickle>
......
2008-09-04 yusei
* Update English messages
2008-09-03 yusei
* Remove text which is not suitable for translation.
......
758
\ No newline at end of file
760
\ 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