Commit c94542d6 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@23412 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent d21aa11a
...@@ -124,7 +124,7 @@ if invoice.getSimulationState() == \'draft\':\n ...@@ -124,7 +124,7 @@ if invoice.getSimulationState() == \'draft\':\n
try :\n try :\n
context.getPortalObject().portal_workflow.doActionFor(\n context.getPortalObject().portal_workflow.doActionFor(\n
invoice, \'confirm_action\',\n invoice, \'confirm_action\',\n
comment=translateString(\'Initialized by Delivery Builder\'),\n comment=translateString(\'Initialized by Delivery Builder.\'),\n
skip_period_validation=1)\n skip_period_validation=1)\n
except WorkflowException, e:\n except WorkflowException, e:\n
# The user cannot pass the transition, it\'s OK\n # The user cannot pass the transition, it\'s OK\n
......
...@@ -104,7 +104,7 @@ if related_order_uid_list:\n ...@@ -104,7 +104,7 @@ if related_order_uid_list:\n
\n \n
return context.Base_redirect(form_id,\n return context.Base_redirect(form_id,\n
keep_items=dict(portal_status_message=\n keep_items=dict(portal_status_message=\n
translateString(\'No ${portal_type} Related.\',\n translateString(\'No ${portal_type} related.\',\n
mapping=dict(portal_type=order_type))))\n mapping=dict(portal_type=order_type))))\n
</string> </value> </string> </value>
</item> </item>
......
2008-09-04 yusei
* Update English messages.
2008-08-28 yusei 2008-08-28 yusei
* Use Base_translateString or translateString instead of N_ for translation string. * Use Base_translateString or translateString instead of N_ for translation string.
......
124 125
\ No newline at end of file \ No newline at end of file
...@@ -185,7 +185,7 @@ if update_existing:\n ...@@ -185,7 +185,7 @@ if update_existing:\n
# Warn about failures if any\n # Warn about failures if any\n
if failed_list:\n if failed_list:\n
return context.Base_redirect(form_id,\n return context.Base_redirect(form_id,\n
keep_items = dict(portal_status_message = translateString("Generated ${section_count} sections for the Web Site. Failed with ${failed_text}",\n keep_items = dict(portal_status_message = translateString("Generated ${section_count} sections for the web site. Failed with ${failed_text}.",\n
mapping = dict(section_count = section_count,\n mapping = dict(section_count = section_count,\n
failed_text = \', \'.join(failed_list)))))\n failed_text = \', \'.join(failed_list)))))\n
\n \n
...@@ -291,6 +291,12 @@ return context.Base_redirect(form_id,\n ...@@ -291,6 +291,12 @@ return context.Base_redirect(form_id,\n
<key> <string>id</string> </key> <key> <string>id</string> </key>
<value> <string>WebSection_generateSectionFromCategory</string> </value> <value> <string>WebSection_generateSectionFromCategory</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>
......
...@@ -310,6 +310,12 @@ ...@@ -310,6 +310,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>
...@@ -330,6 +336,10 @@ ...@@ -330,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>
...@@ -499,7 +509,7 @@ ...@@ -499,7 +509,7 @@
</item> </item>
<item> <item>
<key> <string>title</string> </key> <key> <string>title</string> </key>
<value> <string>Sub Sections</string> </value> <value> <string>Subsections</string> </value>
</item> </item>
<item> <item>
<key> <string>url_columns</string> </key> <key> <string>url_columns</string> </key>
...@@ -516,11 +526,8 @@ ...@@ -516,11 +526,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>
......
...@@ -101,7 +101,7 @@ def getActionTitleForContext(context, portal_type):\n ...@@ -101,7 +101,7 @@ def getActionTitleForContext(context, portal_type):\n
edit_title = translateString("Edit ${portal_type}", \n edit_title = translateString("Edit ${portal_type}", \n
mapping=dict(portal_type=portal_type))\n mapping=dict(portal_type=portal_type))\n
else:\n else:\n
edit_title = translateString("Access ${portal_type} details",\n edit_title = translateString("Access ${portal_type} Details",\n
mapping=dict(portal_type=portal_type))\n mapping=dict(portal_type=portal_type))\n
return edit_title\n return edit_title\n
\n \n
...@@ -141,7 +141,7 @@ if portal_type not in (\'Web Section\', \'Web Site\'): \n ...@@ -141,7 +141,7 @@ if portal_type not in (\'Web Section\', \'Web Site\'): \n
result.append(dict(\n result.append(dict(\n
url = "%s/view?editable_mode=1" % current_web_section.absolute_url(),\n url = "%s/view?editable_mode=1" % current_web_section.absolute_url(),\n
icon = current_web_section.getIcon(),\n icon = current_web_section.getIcon(),\n
title = translateString("Edit parent ${portal_type}",\n title = translateString("Edit Parent ${portal_type}",\n
mapping=dict(portal_type=current_web_section_pt)),\n mapping=dict(portal_type=current_web_section_pt)),\n
label = "%s Icon" % current_web_section_pt,))\n label = "%s Icon" % current_web_section_pt,))\n
\n \n
...@@ -261,6 +261,12 @@ return result\n ...@@ -261,6 +261,12 @@ return result\n
<key> <string>id</string> </key> <key> <string>id</string> </key>
<value> <string>Base_getAdminToolboxEditShortcutList</string> </value> <value> <string>Base_getAdminToolboxEditShortcutList</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>
......
...@@ -46,7 +46,7 @@ ...@@ -46,7 +46,7 @@
<value> <string encoding="cdata"><![CDATA[ <value> <string encoding="cdata"><![CDATA[
<div class="related_docs" tal:condition="here/getClassification">\n <div class="related_docs" tal:condition="here/getClassification">\n
<div class="title" i18n:translate="" i18n:domain="ui">Security classification</div>\n <div class="title" i18n:translate="" i18n:domain="ui">Security Classification</div>\n
<ul>\n <ul>\n
<li>\n <li>\n
<span tal:replace="here/getClassificationTitle"/>\n <span tal:replace="here/getClassificationTitle"/>\n
...@@ -56,10 +56,28 @@ ...@@ -56,10 +56,28 @@
]]></string> </value> ]]></string> </value>
</item> </item>
<item>
<key> <string>content_type</string> </key>
<value> <string>text/html</string> </value>
</item>
<item>
<key> <string>expand</string> </key>
<value> <int>0</int> </value>
</item>
<item> <item>
<key> <string>id</string> </key> <key> <string>id</string> </key>
<value> <string>Document_viewClassificationWidget</string> </value> <value> <string>Document_viewClassificationWidget</string> </value>
</item> </item>
<item>
<key> <string>title</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>uid</string> </key>
<value>
<none/>
</value>
</item>
</dictionary> </dictionary>
</pickle> </pickle>
</record> </record>
......
...@@ -87,7 +87,7 @@ kw[\'discover_metadata\'] = 0 # We want to discover metadata synchronously\n ...@@ -87,7 +87,7 @@ kw[\'discover_metadata\'] = 0 # We want to discover metadata synchronously\n
if 1:\n if 1:\n
new_content = context.portal_contributions.newContent(**kw)\n new_content = context.portal_contributions.newContent(**kw)\n
new_content.discoverMetadata() # Consider putting an exception handler\n new_content.discoverMetadata() # Consider putting an exception handler\n
msg = context.Base_translateString(\'Document successfully created\')\n msg = context.Base_translateString(\'Document successfully created.\')\n
target = new_content\n target = new_content\n
editable_mode = 1\n editable_mode = 1\n
else:\n else:\n
...@@ -187,6 +187,12 @@ return target.Base_redirect(\'view\', keep_items=dict(portal_status_message=msg, ...@@ -187,6 +187,12 @@ return target.Base_redirect(\'view\', keep_items=dict(portal_status_message=msg,
<key> <string>id</string> </key> <key> <string>id</string> </key>
<value> <string>WebSite_linkContent</string> </value> <value> <string>WebSite_linkContent</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>
......
...@@ -75,7 +75,7 @@ ...@@ -75,7 +75,7 @@
tal:content="ptype" tal:attributes="value ptype"\n tal:content="ptype" tal:attributes="value ptype"\n
value="" i18n:translate="" i18n:domain="ui">Report</option>\n value="" i18n:translate="" i18n:domain="ui">Report</option>\n
</tal:block>\n </tal:block>\n
<option value="" i18n:translate="" i18n:domain="ui">-- Any other Document Type --</option>\n <option value="" i18n:translate="" i18n:domain="ui">-- Any Other Document Type --</option>\n
</select>\n </select>\n
<input type="file" name="contribute_file" size="30" />\n <input type="file" name="contribute_file" size="30" />\n
</div>\n </div>\n
...@@ -96,7 +96,7 @@ ...@@ -96,7 +96,7 @@
tal:condition="ingestion_address"\n tal:condition="ingestion_address"\n
tal:attributes="href string:${ingestion_address}?subject=Contribution&body=">\n tal:attributes="href string:${ingestion_address}?subject=Contribution&body=">\n
<img src="send_by_mail" border="0"/>\n <img src="send_by_mail" border="0"/>\n
<tal:block i18n:translate="" i18n:domain="ui">Click here to contribute by Email</tal:block></a>\n <tal:block i18n:translate="" i18n:domain="ui">Click here to contribute by email.</tal:block></a>\n
&nbsp;\n &nbsp;\n
<input i18n:domain="ui" i18n:attributes="value" type="submit" name="Memo_makeOOoTemplate:method" value="Make Template" id="maketemplatebutton" disabled="disabled"\n <input i18n:domain="ui" i18n:attributes="value" type="submit" name="Memo_makeOOoTemplate:method" value="Make Template" id="maketemplatebutton" disabled="disabled"\n
style="width:100px;background-image:none;"/>\n style="width:100px;background-image:none;"/>\n
...@@ -205,6 +205,12 @@ ...@@ -205,6 +205,12 @@
<key> <string>title</string> </key> <key> <string>title</string> </key>
<value> <string></string> </value> <value> <string></string> </value>
</item> </item>
<item>
<key> <string>uid</string> </key>
<value>
<none/>
</value>
</item>
</dictionary> </dictionary>
</pickle> </pickle>
</record> </record>
......
2008-09-04 yusei
* Update English messages.
2008-09-04 yusei 2008-09-04 yusei
* Correct action title on Web Section. * Correct action title on Web Section.
......
700 701
\ 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