Commit 8a08508b authored by Christophe Dumez's avatar Christophe Dumez

- removed '!' from message (asked by Yoshinori)

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@6865 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent f0166683
......@@ -68,7 +68,7 @@
<key> <string>_body</string> </key>
<value> <string>context.getPortalObject()["portal_subversion"].cleanup(context)\n
\n
context.REQUEST.set(\'portal_status_message\', \'Subversion locks removed successfully!\')\n
context.REQUEST.set(\'portal_status_message\', \'Subversion locks removed successfully.\')\n
return context.BusinessTemplate_viewSvnStatus()\n
</string> </value>
</item>
......
......@@ -93,7 +93,7 @@ if \'changelog\' not in context.REQUEST.keys() :\n
return context.asContext(added=added, modified=modified, removed=removed ,checked=checked).BusinessTemplate_viewSvnChangelog()\n
\n
if not changelog :\n
context.REQUEST.set(\'portal_status_message\', "Error: Changelog Message can\'t be empty!")\n
context.REQUEST.set(\'portal_status_message\', "Error: Changelog Message can\'t be empty.")\n
return context.asContext(added=added, modified=modified, removed=removed ,checked=checked).BusinessTemplate_viewSvnChangelog()\n
\n
try:\n
......@@ -108,7 +108,7 @@ except SubversionLoginError, error1 :\n
context.REQUEST.set(\'portal_status_message\', \'Server needs authentication, no cookie found\')\n
return context.asContext(added=added, modified=modified, removed=removed, caller=\'commit\', realm = error1.getRealm(), changelog=changelog, username = context.getPortalObject().portal_preferences.getPreference(\'preferred_subversion_user_name\')).BusinessTemplate_viewSvnLogin()\n
\n
context.REQUEST.set(\'portal_status_message\', \'Files commited successfully!\')\n
context.REQUEST.set(\'portal_status_message\', \'Files commited successfully.\')\n
return context.BusinessTemplate_viewSvnStatus()\n
</string> </value>
</item>
......
......@@ -71,13 +71,13 @@
file = context.REQUEST[\'file\']\n
\n
if \'uids\' not in context.REQUEST.keys(): \n
context.REQUEST.set(\'portal_status_message\', \'You must select TWO revisions!\')\n
context.REQUEST.set(\'portal_status_message\', \'You must select TWO revisions.\')\n
return context.asContext(file=file).BusinessTemplate_viewSvnLog()\n
\n
revisions_list = context.REQUEST[\'uids\']\n
\n
if len(revisions_list) != 2:\n
context.REQUEST.set(\'portal_status_message\', \'You must select exactly TWO revisions!\')\n
context.REQUEST.set(\'portal_status_message\', \'You must select exactly TWO revisions.\')\n
return context.asContext(file=file).BusinessTemplate_viewSvnLog()\n
\n
revisions_list.sort()\n
......
......@@ -69,12 +69,12 @@
<value> <string>if \'uids\' in context.REQUEST.keys():\n
files_list = context.REQUEST[\'uids\']\n
else:\n
context.REQUEST.set(\'portal_status_message\', \'You MUST select at leat one file / folder!\')\n
context.REQUEST.set(\'portal_status_message\', \'You MUST select at leat one file / folder.\')\n
return context.BusinessTemplate_viewUnversioned() \n
\n
context.getPortalObject()["portal_subversion"].removeAllInList(files_list)\n
\n
context.REQUEST.set(\'portal_status_message\', \'Unversioned files removed successfully!\')\n
context.REQUEST.set(\'portal_status_message\', \'Unversioned files removed successfully.\')\n
return context.BusinessTemplate_viewUnversioned()\n
</string> </value>
</item>
......
......@@ -69,12 +69,12 @@
<value> <string>if \'uids\' in context.REQUEST.keys():\n
files_list = context.REQUEST[\'uids\']\n
else:\n
context.REQUEST.set(\'portal_status_message\', \'You MUST select at leat one file!\')\n
context.REQUEST.set(\'portal_status_message\', \'You MUST select at leat one file.\')\n
return context.BusinessTemplate_viewConflicted() \n
\n
context.getPortalObject()["portal_subversion"].resolved(files_list)\n
\n
context.REQUEST.set(\'portal_status_message\', \'Conflicted files resolved successfully!\')\n
context.REQUEST.set(\'portal_status_message\', \'Conflicted files resolved successfully.\')\n
return context.BusinessTemplate_viewConflicted()\n
</string> </value>
</item>
......
......@@ -74,7 +74,7 @@ else:\n
if to_revert != \'none\' and to_revert != \'\':\n
context.getPortalObject()["portal_subversion"].revert(path=to_revert, bt=context)\n
\n
context.REQUEST.set(\'portal_status_message\', \'Changes reverted successfully!\')\n
context.REQUEST.set(\'portal_status_message\', \'Changes reverted successfully.\')\n
return context.BusinessTemplate_viewSvnStatus()\n
</string> </value>
</item>
......
......@@ -78,7 +78,7 @@ except SubversionLoginError, error1 :\n
context.REQUEST.set(\'portal_status_message\', \'Server needs authentication, no cookie found\')\n
return context.asContext(caller=\'update\', realm = error1.getRealm(), username = context.getPortalObject().portal_preferences.getPreference(\'preferred_subversion_user_name\')).BusinessTemplate_viewSvnLogin()\n
\n
context.REQUEST.set(\'portal_status_message\', \'Working Copy updated successfully!\')\n
context.REQUEST.set(\'portal_status_message\', \'Working Copy updated successfully.\')\n
return context.BusinessTemplate_viewSvnStatus()\n
</string> </value>
</item>
......
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