Commit 40d10318 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@23397 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 8178c44c
...@@ -79,13 +79,13 @@ if id and id != context.getId():\n ...@@ -79,13 +79,13 @@ if id and id != context.getId():\n
keep_items=dict(selection_name=selection_name,\n keep_items=dict(selection_name=selection_name,\n
selection_index=selection_index,\n selection_index=selection_index,\n
cancel_url=cancel_url,\n cancel_url=cancel_url,\n
portal_status_message=translateString("Function Changed")),)\n portal_status_message=translateString("Function changed.")),)\n
\n \n
return context.Base_redirect(form_id,\n return context.Base_redirect(form_id,\n
keep_items=dict(selection_name=selection_name,\n keep_items=dict(selection_name=selection_name,\n
selection_index=selection_index,\n selection_index=selection_index,\n
cancel_url=cancel_url,\n cancel_url=cancel_url,\n
portal_status_message=translateString("Cancelled")),)\n portal_status_message=translateString("Cancelled.")),)\n
</string> </value> </string> </value>
</item> </item>
<item> <item>
......
...@@ -105,7 +105,7 @@ if file.filename not in [\'\', None]:\n ...@@ -105,7 +105,7 @@ if file.filename not in [\'\', None]:\n
\n \n
return context.REQUEST.RESPONSE.redirect(\n return context.REQUEST.RESPONSE.redirect(\n
\'%s/view?portal_status_message=%s+%s.\'%(document.absolute_url(), \n \'%s/view?portal_status_message=%s+%s.\'%(document.absolute_url(), \n
document.getTranslatedPortalType(), translateString(\'+Created+Successfully\')))\n document.getTranslatedPortalType(), translateString(\'+created+successfully.\')))\n
</string> </value> </string> </value>
</item> </item>
<item> <item>
...@@ -194,6 +194,12 @@ return context.REQUEST.RESPONSE.redirect(\n ...@@ -194,6 +194,12 @@ return context.REQUEST.RESPONSE.redirect(\n
<key> <string>id</string> </key> <key> <string>id</string> </key>
<value> <string>Base_createNewFile</string> </value> <value> <string>Base_createNewFile</string> </value>
</item> </item>
<item>
<key> <string>uid</string> </key>
<value>
<none/>
</value>
</item>
<item> <item>
<key> <string>warnings</string> </key> <key> <string>warnings</string> </key>
<value> <value>
......
...@@ -95,16 +95,16 @@ def getOneLineAddress(text, region):\n ...@@ -95,16 +95,16 @@ def getOneLineAddress(text, region):\n
def getPhoneAndFax(phone, fax):\n def getPhoneAndFax(phone, fax):\n
s = \'\'\n s = \'\'\n
if phone:\n if phone:\n
s += \'%s: %s\' % (translateString(\'tel\'), phone)\n s += \'%s: %s\' % (translateString(\'Tel\'), phone)\n
if fax:\n if fax:\n
if s: s += \', \'\n if s: s += \', \'\n
s += \'%s: %s\' % (translateString(\'fax\'), fax)\n s += \'%s: %s\' % (translateString(\'Fax\'), fax)\n
return s\n return s\n
\n \n
def getEmail(email):\n def getEmail(email):\n
s = \'\'\n s = \'\'\n
if email:\n if email:\n
s += \'%s: %s\' % (translateString(\'email\'), email)\n s += \'%s: %s\' % (translateString(\'Email\'), email)\n
return s\n return s\n
\n \n
def getVatId(vat_id):\n def getVatId(vat_id):\n
......
...@@ -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>
...@@ -309,6 +306,12 @@ ...@@ -309,6 +306,12 @@
</dictionary> </dictionary>
</value> </value>
</item> </item>
<item>
<key> <string>uid</string> </key>
<value>
<none/>
</value>
</item>
<item> <item>
<key> <string>values</string> </key> <key> <string>values</string> </key>
<value> <value>
...@@ -333,6 +336,10 @@ ...@@ -333,6 +336,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>
...@@ -457,6 +464,10 @@ ...@@ -457,6 +464,10 @@
<key> <string>not_viewable</string> </key> <key> <string>not_viewable</string> </key>
<value> <int>0</int> </value> <value> <int>0</int> </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>
...@@ -519,7 +530,7 @@ ...@@ -519,7 +530,7 @@
</item> </item>
<item> <item>
<key> <string>title</string> </key> <key> <string>title</string> </key>
<value> <string>Spreadsheet Column To Property Mapping</string> </value> <value> <string>Spreadsheet Column to Property Mapping</string> </value>
</item> </item>
<item> <item>
<key> <string>url_columns</string> </key> <key> <string>url_columns</string> </key>
...@@ -552,11 +563,8 @@ ...@@ -552,11 +563,8 @@
<record id="2" aka="AAAAAAAAAAI="> <record id="2" aka="AAAAAAAAAAI=">
<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>
......
...@@ -88,7 +88,7 @@ if year:\n ...@@ -88,7 +88,7 @@ if year:\n
return interval_dict[\'year\']\n return interval_dict[\'year\']\n
\n \n
# mapping contains year, month & day\n # mapping contains year, month & day\n
return Base_translateString("${year} Years Old", mapping=interval_dict)\n return Base_translateString("${year} years old", mapping=interval_dict)\n
]]></string> </value> ]]></string> </value>
......
...@@ -76,7 +76,7 @@ password = context.Person_generatePassword(alpha=8, numeric=2)\n ...@@ -76,7 +76,7 @@ password = context.Person_generatePassword(alpha=8, numeric=2)\n
context.setPassword(password)\n context.setPassword(password)\n
context.Person_sendPasswordNotification(about=\'password_reset\', password=password)\n context.Person_sendPasswordNotification(about=\'password_reset\', password=password)\n
\n \n
msg = translateString(\'Password reset\')\n msg = translateString(\'Password reset.\')\n
return context.Base_redirect(form_id, keep_items = {\'portal_status_message\' : msg}, **kw)\n return context.Base_redirect(form_id, keep_items = {\'portal_status_message\' : msg}, **kw)\n
</string> </value> </string> </value>
</item> </item>
......
...@@ -100,7 +100,7 @@ if not user or user_value is None:\n ...@@ -100,7 +100,7 @@ if not user or user_value is None:\n
return\n return\n
\n \n
# Build the message and translate it\n # Build the message and translate it\n
subject = translateString("Query was answered")\n subject = translateString("Query was answered.")\n
msg = """The Query ID ${id} which you posted has been answered by ${user}\n msg = """The Query ID ${id} which you posted has been answered by ${user}\n
\n \n
Question:\n Question:\n
......
...@@ -72,11 +72,11 @@ kwargs = state_change[\'kwargs\']\n ...@@ -72,11 +72,11 @@ kwargs = state_change[\'kwargs\']\n
password = kwargs[\'password\']\n password = kwargs[\'password\']\n
password_confirm = kwargs[\'password_confirm\']\n password_confirm = kwargs[\'password_confirm\']\n
if password != password_confirm:\n if password != password_confirm:\n
raise ValidationFailed(translateString(\'Passwords do not match\'))\n raise ValidationFailed(translateString(\'Passwords do not match.\'))\n
\n \n
reference = kwargs[\'reference\']\n reference = kwargs[\'reference\']\n
if not reference:\n if not reference:\n
raise ValidationFailed(translateString(\'User ID is not specified\'))\n raise ValidationFailed(translateString(\'User ID is not specified.\'))\n
</string> </value> </string> </value>
</item> </item>
<item> <item>
......
2008-09-04 yusei 2008-09-04 yusei
* Fixed workflow title. * Fixed workflow title.
* Update English messages.
2008-08-29 yusei 2008-08-29 yusei
* Correct messge text. * Correct messge text.
......
413 414
\ 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