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
keep_items=dict(selection_name=selection_name,\n
selection_index=selection_index,\n
cancel_url=cancel_url,\n
portal_status_message=translateString("Function Changed")),)\n
portal_status_message=translateString("Function changed.")),)\n
\n
return context.Base_redirect(form_id,\n
keep_items=dict(selection_name=selection_name,\n
selection_index=selection_index,\n
cancel_url=cancel_url,\n
portal_status_message=translateString("Cancelled")),)\n
portal_status_message=translateString("Cancelled.")),)\n
</string> </value>
</item>
<item>
......
......@@ -105,7 +105,7 @@ if file.filename not in [\'\', None]:\n
\n
return context.REQUEST.RESPONSE.redirect(\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>
</item>
<item>
......@@ -194,6 +194,12 @@ return context.REQUEST.RESPONSE.redirect(\n
<key> <string>id</string> </key>
<value> <string>Base_createNewFile</string> </value>
</item>
<item>
<key> <string>uid</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>warnings</string> </key>
<value>
......
......@@ -95,16 +95,16 @@ def getOneLineAddress(text, region):\n
def getPhoneAndFax(phone, fax):\n
s = \'\'\n
if phone:\n
s += \'%s: %s\' % (translateString(\'tel\'), phone)\n
s += \'%s: %s\' % (translateString(\'Tel\'), phone)\n
if fax:\n
if s: s += \', \'\n
s += \'%s: %s\' % (translateString(\'fax\'), fax)\n
s += \'%s: %s\' % (translateString(\'Fax\'), fax)\n
return s\n
\n
def getEmail(email):\n
s = \'\'\n
if email:\n
s += \'%s: %s\' % (translateString(\'email\'), email)\n
s += \'%s: %s\' % (translateString(\'Email\'), email)\n
return s\n
\n
def getVatId(vat_id):\n
......
......@@ -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>
......@@ -309,6 +306,12 @@
</dictionary>
</value>
</item>
<item>
<key> <string>uid</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>values</string> </key>
<value>
......@@ -333,6 +336,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>
......@@ -457,6 +464,10 @@
<key> <string>not_viewable</string> </key>
<value> <int>0</int> </value>
</item>
<item>
<key> <string>page_template</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>portal_types</string> </key>
<value>
......@@ -519,7 +530,7 @@
</item>
<item>
<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>
<key> <string>url_columns</string> </key>
......@@ -552,11 +563,8 @@
<record id="2" aka="AAAAAAAAAAI=">
<pickle>
<tuple>
<tuple>
<string>Products.Formulator.MethodField</string>
<string>Method</string>
</tuple>
<none/>
<global name="Method" module="Products.Formulator.MethodField"/>
<tuple/>
</tuple>
</pickle>
<pickle>
......
......@@ -88,7 +88,7 @@ if year:\n
return interval_dict[\'year\']\n
\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>
......
......@@ -76,7 +76,7 @@ password = context.Person_generatePassword(alpha=8, numeric=2)\n
context.setPassword(password)\n
context.Person_sendPasswordNotification(about=\'password_reset\', password=password)\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
</string> </value>
</item>
......
......@@ -100,7 +100,7 @@ if not user or user_value is None:\n
return\n
\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
\n
Question:\n
......
......@@ -72,11 +72,11 @@ kwargs = state_change[\'kwargs\']\n
password = kwargs[\'password\']\n
password_confirm = kwargs[\'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
reference = kwargs[\'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>
</item>
<item>
......
2008-09-04 yusei
* Fixed workflow title.
* Update English messages.
2008-08-29 yusei
* Correct messge text.
......
413
\ No newline at end of file
414
\ 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