Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
erp5
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Gabriel Monnerat
erp5
Commits
00cd2af8
Commit
00cd2af8
authored
Feb 06, 2022
by
Jérome Perrin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
PasswordTool: fix "date has expire." grammar
parent
5c2697c3
Changes
6
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
6 additions
and
7 deletions
+6
-7
bt5/erp5_l10n_de/MessageTranslationTemplateItem/de/erp5_ui/translation.po
.../MessageTranslationTemplateItem/de/erp5_ui/translation.po
+1
-1
bt5/erp5_l10n_fa/MessageTranslationTemplateItem/fa/erp5_ui/translation.po
.../MessageTranslationTemplateItem/fa/erp5_ui/translation.po
+1
-1
bt5/erp5_l10n_fr/MessageTranslationTemplateItem/fr/erp5_ui/translation.po
.../MessageTranslationTemplateItem/fr/erp5_ui/translation.po
+1
-1
bt5/erp5_l10n_ko/MessageTranslationTemplateItem/ko/erp5_ui/translation.po
.../MessageTranslationTemplateItem/ko/erp5_ui/translation.po
+1
-1
bt5/erp5_l10n_pt-BR/MessageTranslationTemplateItem/pt-BR/erp5_ui/translation.po
...ssageTranslationTemplateItem/pt-BR/erp5_ui/translation.po
+1
-1
product/ERP5/bootstrap/erp5_core/ToolComponentTemplateItem/portal_components/tool.erp5.PasswordTool.py
...tTemplateItem/portal_components/tool.erp5.PasswordTool.py
+1
-2
No files found.
bt5/erp5_l10n_de/MessageTranslationTemplateItem/de/erp5_ui/translation.po
View file @
00cd2af8
...
@@ -1391,7 +1391,7 @@ msgstr "Datum an welchem das Bankkonto eröffnet wurde."
...
@@ -1391,7 +1391,7 @@ msgstr "Datum an welchem das Bankkonto eröffnet wurde."
msgid "Date at which the document was ingested"
msgid "Date at which the document was ingested"
msgstr "Datum an welchem das Dokument aufgenommen wurde."
msgstr "Datum an welchem das Dokument aufgenommen wurde."
msgid "Date has expire."
msgid "Date has expire
d
."
msgstr "Datum ist abgelaufen."
msgstr "Datum ist abgelaufen."
msgid "Date when the bank account was closed."
msgid "Date when the bank account was closed."
...
...
bt5/erp5_l10n_fa/MessageTranslationTemplateItem/fa/erp5_ui/translation.po
View file @
00cd2af8
...
@@ -1808,7 +1808,7 @@ msgstr "دیتا به روز شد."
...
@@ -1808,7 +1808,7 @@ msgstr "دیتا به روز شد."
msgid "Date"
msgid "Date"
msgstr "تاریخ"
msgstr "تاریخ"
msgid "Date has expire."
msgid "Date has expire
d
."
msgstr "تاریم منقضی شده است."
msgstr "تاریم منقضی شده است."
msgid "Date is not in a started Accounting Period for source section."
msgid "Date is not in a started Accounting Period for source section."
...
...
bt5/erp5_l10n_fr/MessageTranslationTemplateItem/fr/erp5_ui/translation.po
View file @
00cd2af8
...
@@ -3568,7 +3568,7 @@ msgstr "Date à laquelle la facture a été envoyée."
...
@@ -3568,7 +3568,7 @@ msgstr "Date à laquelle la facture a été envoyée."
msgid "Date at wich the document was ingested"
msgid "Date at wich the document was ingested"
msgstr "Date à laquelle le document a été ingéré."
msgstr "Date à laquelle le document a été ingéré."
msgid "Date has expire."
msgid "Date has expire
d
."
msgstr "La date a expirée"
msgstr "La date a expirée"
msgid "Date is not in a started Accounting Period for destination section."
msgid "Date is not in a started Accounting Period for destination section."
...
...
bt5/erp5_l10n_ko/MessageTranslationTemplateItem/ko/erp5_ui/translation.po
View file @
00cd2af8
...
@@ -1560,7 +1560,7 @@ msgstr "날짜"
...
@@ -1560,7 +1560,7 @@ msgstr "날짜"
msgid "Date Order"
msgid "Date Order"
msgstr "날짜 순"
msgstr "날짜 순"
msgid "Date has expire."
msgid "Date has expire
d
."
msgstr "날짜가 지났습니다."
msgstr "날짜가 지났습니다."
msgid "Date is not in an opened Accounting Period for destination section."
msgid "Date is not in an opened Accounting Period for destination section."
...
...
bt5/erp5_l10n_pt-BR/MessageTranslationTemplateItem/pt-BR/erp5_ui/translation.po
View file @
00cd2af8
...
@@ -1540,7 +1540,7 @@ msgstr "Data em que o documento foi inserido"
...
@@ -1540,7 +1540,7 @@ msgstr "Data em que o documento foi inserido"
msgid "Date at which the invoice was shipped"
msgid "Date at which the invoice was shipped"
msgstr "Data em que a fatura foi enviada"
msgstr "Data em que a fatura foi enviada"
msgid "Date has expire."
msgid "Date has expire
d
."
msgstr "Data Expirou"
msgstr "Data Expirou"
msgid "Date must be defined"
msgid "Date must be defined"
...
...
product/ERP5/bootstrap/erp5_core/ToolComponentTemplateItem/portal_components/tool.erp5.PasswordTool.py
View file @
00cd2af8
...
@@ -292,8 +292,7 @@ class PasswordTool(BaseTool):
...
@@ -292,8 +292,7 @@ class PasswordTool(BaseTool):
# XXX: not descriptive enough
# XXX: not descriptive enough
return
error
(
"Bad login provided."
)
return
error
(
"Bad login provided."
)
if
DateTime
()
>
expiration_date
:
if
DateTime
()
>
expiration_date
:
# XXX: incorrect grammar
return
error
(
"Date has expired."
)
return
error
(
"Date has expire."
)
del
self
.
_password_request_dict
[
password_key
]
del
self
.
_password_request_dict
[
password_key
]
portal
=
self
.
getPortalObject
()
portal
=
self
.
getPortalObject
()
user_dict
,
=
portal
.
acl_users
.
searchUsers
(
user_dict
,
=
portal
.
acl_users
.
searchUsers
(
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment