[Erp5-report] r23434 - /erp5/trunk/products/ERP5/Tool/TemplateTool.py
nobody at svn.erp5.org
nobody at svn.erp5.org
Thu Sep 4 23:51:50 CEST 2008
Author: yusei
Date: Thu Sep 4 23:51:50 2008
New Revision: 23434
URL: http://svn.erp5.org?rev=23434&view=rev
Log:
Update English messages.
Modified:
erp5/trunk/products/ERP5/Tool/TemplateTool.py
Modified: erp5/trunk/products/ERP5/Tool/TemplateTool.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/Tool/TemplateTool.py?rev=23434&r1=23433&r2=23434&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/Tool/TemplateTool.py (original)
+++ erp5/trunk/products/ERP5/Tool/TemplateTool.py Thu Sep 4 23:51:50 2008
@@ -161,7 +161,7 @@
path = pathname2url(path)
business_template.export(path=path, local=1)
if REQUEST is not None:
- psm = translateString('Saved+in+${path}+.',
+ psm = translateString('Saved in ${path}.',
mapping={'path':pathname2url(path)})
ret_url = '%s/%s?portal_status_message=%s' % \
(business_template.absolute_url(),
@@ -282,7 +282,7 @@
if REQUEST is not None:
ret_url = bt.absolute_url() + '/view'
- psm = translateString("Business+Template+Downloaded+Successfully")
+ psm = translateString("Business template downloaded successfully.")
REQUEST.RESPONSE.redirect("%s?portal_status_message=%s"
% (ret_url, psm))
@@ -397,7 +397,7 @@
if (import_file is None) or (len(import_file.read()) == 0):
if REQUEST is not None:
- psm = translateString('No+file+or+an+empty+file+was+specified')
+ psm = translateString('No file or an empty file was specified.')
REQUEST.RESPONSE.redirect("%s?portal_status_message=%s"
% (self.absolute_url(), psm))
return
@@ -422,7 +422,7 @@
if (batch_mode == 0) and \
(REQUEST is not None):
ret_url = bt.absolute_url() + '/view'
- psm = translateString("Business+Templates+Imported+Successfully")
+ psm = translateString("Business templates imported successfully.")
REQUEST.RESPONSE.redirect("%s?portal_status_message=%s"
% (ret_url, psm))
elif (batch_mode == 1):
@@ -541,7 +541,7 @@
if REQUEST is not None:
ret_url = self.absolute_url() + '/' + REQUEST.get('dialog_id', 'view')
- psm = translateString("Business+Templates+Updated+Successfully")
+ psm = translateString("Business templates updated successfully.")
REQUEST.RESPONSE.redirect("%s?cancel_url=%s&portal_status_message=%s&dialog_category=object_exchange&selection_name=business_template_selection"
% (ret_url, REQUEST.form.get('cancel_url', ''), psm))
More information about the Erp5-report
mailing list