Commit 00cd2af8 authored by Jérome Perrin's avatar Jérome Perrin

PasswordTool: fix "date has expire." grammar

parent 5c2697c3
......@@ -1391,7 +1391,7 @@ msgstr "Datum an welchem das Bankkonto eröffnet wurde."
msgid "Date at which the document was ingested"
msgstr "Datum an welchem das Dokument aufgenommen wurde."
msgid "Date has expire."
msgid "Date has expired."
msgstr "Datum ist abgelaufen."
msgid "Date when the bank account was closed."
......
......@@ -1808,7 +1808,7 @@ msgstr "دیتا به روز شد."
msgid "Date"
msgstr "تاریخ"
msgid "Date has expire."
msgid "Date has expired."
msgstr "تاریم منقضی شده است."
msgid "Date is not in a started Accounting Period for source section."
......
......@@ -3568,7 +3568,7 @@ msgstr "Date à laquelle la facture a été envoyée."
msgid "Date at wich the document was ingested"
msgstr "Date à laquelle le document a été ingéré."
msgid "Date has expire."
msgid "Date has expired."
msgstr "La date a expirée"
msgid "Date is not in a started Accounting Period for destination section."
......
......@@ -1560,7 +1560,7 @@ msgstr "날짜"
msgid "Date Order"
msgstr "날짜 순"
msgid "Date has expire."
msgid "Date has expired."
msgstr "날짜가 지났습니다."
msgid "Date is not in an opened Accounting Period for destination section."
......
......@@ -1540,7 +1540,7 @@ msgstr "Data em que o documento foi inserido"
msgid "Date at which the invoice was shipped"
msgstr "Data em que a fatura foi enviada"
msgid "Date has expire."
msgid "Date has expired."
msgstr "Data Expirou"
msgid "Date must be defined"
......
......@@ -292,8 +292,7 @@ class PasswordTool(BaseTool):
# XXX: not descriptive enough
return error("Bad login provided.")
if DateTime() > expiration_date:
# XXX: incorrect grammar
return error("Date has expire.")
return error("Date has expired.")
del self._password_request_dict[password_key]
portal = self.getPortalObject()
user_dict, = portal.acl_users.searchUsers(
......
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