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
try :\n
context.getPortalObject().portal_workflow.doActionFor(\n
invoice, \'confirm_action\',\n
comment=translateString(\'Initialized by Delivery Builder\'),\n
comment=translateString(\'Initialized by Delivery Builder.\'),\n
skip_period_validation=1)\n
except WorkflowException, e:\n
# The user cannot pass the transition, it\'s OK\n
......
......@@ -104,7 +104,7 @@ if related_order_uid_list:\n
\n
return context.Base_redirect(form_id,\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
</string> </value>
</item>
......
2008-09-04 yusei
* Update English messages.
2008-08-28 yusei
* Use Base_translateString or translateString instead of N_ for translation string.
......
124
\ No newline at end of file
125
\ No newline at end of file
......@@ -185,7 +185,7 @@ if update_existing:\n
# Warn about failures if any\n
if failed_list:\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
failed_text = \', \'.join(failed_list)))))\n
\n
......@@ -291,6 +291,12 @@ return context.Base_redirect(form_id,\n
<key> <string>id</string> </key>
<value> <string>WebSection_generateSectionFromCategory</string> </value>
</item>
<item>
<key> <string>uid</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>warnings</string> </key>
<value>
......
......@@ -310,6 +310,12 @@
</dictionary>
</value>
</item>
<item>
<key> <string>uid</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>values</string> </key>
<value>
......@@ -330,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>
......@@ -499,7 +509,7 @@
</item>
<item>
<key> <string>title</string> </key>
<value> <string>Sub Sections</string> </value>
<value> <string>Subsections</string> </value>
</item>
<item>
<key> <string>url_columns</string> </key>
......@@ -516,11 +526,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>
......
......@@ -101,7 +101,7 @@ def getActionTitleForContext(context, portal_type):\n
edit_title = translateString("Edit ${portal_type}", \n
mapping=dict(portal_type=portal_type))\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
return edit_title\n
\n
......@@ -141,7 +141,7 @@ if portal_type not in (\'Web Section\', \'Web Site\'): \n
result.append(dict(\n
url = "%s/view?editable_mode=1" % current_web_section.absolute_url(),\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
label = "%s Icon" % current_web_section_pt,))\n
\n
......@@ -261,6 +261,12 @@ return result\n
<key> <string>id</string> </key>
<value> <string>Base_getAdminToolboxEditShortcutList</string> </value>
</item>
<item>
<key> <string>uid</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>warnings</string> </key>
<value>
......
......@@ -46,7 +46,7 @@
<value> <string encoding="cdata"><![CDATA[
<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
<li>\n
<span tal:replace="here/getClassificationTitle"/>\n
......@@ -56,10 +56,28 @@
]]></string> </value>
</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>
<key> <string>id</string> </key>
<value> <string>Document_viewClassificationWidget</string> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>uid</string> </key>
<value>
<none/>
</value>
</item>
</dictionary>
</pickle>
</record>
......
......@@ -87,7 +87,7 @@ kw[\'discover_metadata\'] = 0 # We want to discover metadata synchronously\n
if 1:\n
new_content = context.portal_contributions.newContent(**kw)\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
editable_mode = 1\n
else:\n
......@@ -187,6 +187,12 @@ return target.Base_redirect(\'view\', keep_items=dict(portal_status_message=msg,
<key> <string>id</string> </key>
<value> <string>WebSite_linkContent</string> </value>
</item>
<item>
<key> <string>uid</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>warnings</string> </key>
<value>
......
......@@ -75,7 +75,7 @@
tal:content="ptype" tal:attributes="value ptype"\n
value="" i18n:translate="" i18n:domain="ui">Report</option>\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
<input type="file" name="contribute_file" size="30" />\n
</div>\n
......@@ -96,7 +96,7 @@
tal:condition="ingestion_address"\n
tal:attributes="href string:${ingestion_address}?subject=Contribution&body=">\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
<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
......@@ -205,6 +205,12 @@
<key> <string>title</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>uid</string> </key>
<value>
<none/>
</value>
</item>
</dictionary>
</pickle>
</record>
......
2008-09-04 yusei
* Update English messages.
2008-09-04 yusei
* Correct action title on Web Section.
......
700
\ No newline at end of file
701
\ 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