Commit a3718e8d authored by Yusei Tahara's avatar Yusei Tahara

Use written English.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@23292 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 32a6ca4d
...@@ -65,12 +65,12 @@ class AccountTypeConstraint(Constraint): ...@@ -65,12 +65,12 @@ class AccountTypeConstraint(Constraint):
if getattr(obj, 'getAccountType', _MARKER) is _MARKER: if getattr(obj, 'getAccountType', _MARKER) is _MARKER:
errors.append(self._generateError( errors.append(self._generateError(
obj, obj,
translateString("Account doesn't have account_type category"))) translateString("Account does not have account_type category")))
else: else:
account_type_map = getattr(self, '_account_type_map', ()) account_type_map = getattr(self, '_account_type_map', ())
if not account_type_map: if not account_type_map:
raise NotImplementedError( raise NotImplementedError(
"AccountTypeConstraint doesn't define an _account_type_map") "AccountTypeConstraint does not define an _account_type_map")
found = 0 found = 0
for category, account_type_list in account_type_map: for category, account_type_list in account_type_map:
if obj.isMemberOf(category): if obj.isMemberOf(category):
......
...@@ -81,7 +81,7 @@ response.setHeader(\'Content-disposition\', \'attachment; filename="%s"\' % file ...@@ -81,7 +81,7 @@ response.setHeader(\'Content-disposition\', \'attachment; filename="%s"\' % file
try:\n try:\n
result = context.index_html(request, response)\n result = context.index_html(request, response)\n
except Unauthorized:\n except Unauthorized:\n
msg = context.Base_translateString("You don\'t have enough permission for converting this document.")\n msg = context.Base_translateString("You do not have enough permission for converting this document.")\n
return context.Base_redirect(keep_items=dict(portal_status_message=msg))\n return context.Base_redirect(keep_items=dict(portal_status_message=msg))\n
\n \n
return result\n return result\n
......
...@@ -95,7 +95,7 @@ if dialog_id not in (\'\', None):\n ...@@ -95,7 +95,7 @@ if dialog_id not in (\'\', None):\n
# editing it by calling the Base_edit script with correct\n # editing it by calling the Base_edit script with correct\n
# parameters directly.\n # parameters directly.\n
if not silent_mode and not request.AUTHENTICATED_USER.has_permission(\'Modify portal content\', context) :\n if not silent_mode and not request.AUTHENTICATED_USER.has_permission(\'Modify portal content\', context) :\n
msg = Base_translateString("You don\'t have the permissions to edit the object.")\n msg = Base_translateString("You do not have the permissions to edit the object.")\n
redirect_url = \'%s/%s?selection_index=%s&selection_name=%s&%s\' % (context.absolute_url(), form_id, selection_index, selection_name, \'portal_status_message=%s\' % msg)\n redirect_url = \'%s/%s?selection_index=%s&selection_name=%s&%s\' % (context.absolute_url(), form_id, selection_index, selection_name, \'portal_status_message=%s\' % msg)\n
return request[\'RESPONSE\'].redirect(redirect_url)\n return request[\'RESPONSE\'].redirect(redirect_url)\n
\n \n
......
946 947
\ No newline at end of file \ No newline at end of file
...@@ -70,7 +70,7 @@ ...@@ -70,7 +70,7 @@
<h1 i18n:translate="" i18n:domain="ui">Log in</h1>\n <h1 i18n:translate="" i18n:domain="ui">Log in</h1>\n
</tal:block>\n </tal:block>\n
<tal:block tal:condition="python: request.get(\'came_from\', None) is not None">\n <tal:block tal:condition="python: request.get(\'came_from\', None) is not None">\n
<h1 i18n:translate="" i18n:domain="ui">You don\'t have enough permissions to access this page</h1>\n <h1 i18n:translate="" i18n:domain="ui">You do not have enough permissions to access this page</h1>\n
<p i18n:translate="" i18n:domain="ui">You can log in with another user name or\n <p i18n:translate="" i18n:domain="ui">You can log in with another user name or\n
<a href="javascript:history.back();">go back</a>.\n <a href="javascript:history.back();">go back</a>.\n
</p>\n </p>\n
...@@ -113,7 +113,7 @@ ...@@ -113,7 +113,7 @@
</fieldset>\n </fieldset>\n
<script type="text/javascript">setFocus()</script>\n <script type="text/javascript">setFocus()</script>\n
<p i18n:translate="" i18n:domain="ui">Having trouble logging in? Make sure to enable cookies in your web browser.</p>\n <p i18n:translate="" i18n:domain="ui">Having trouble logging in? Make sure to enable cookies in your web browser.</p>\n
<p i18n:translate="" i18n:domain="ui">Don\'t forget to logout or exit your browser when you\'re done.</p>\n <p i18n:translate="" i18n:domain="ui">Do not forget to logout or exit your browser when you are done.</p>\n
<p i18n:translate="" i18n:domain="ui">Setting the \'Remember my name\' option will set a cookie with your username, so that when you next log in, your user name will already be filled in for you.</p>\n <p i18n:translate="" i18n:domain="ui">Setting the \'Remember my name\' option will set a cookie with your username, so that when you next log in, your user name will already be filled in for you.</p>\n
</div>\n </div>\n
</tal:block>\n </tal:block>\n
......
596 593
\ 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