Revised the text message in the period parser.
This commit is contained in:
parent
ad0eb6e73e
commit
39d65e1381
@ -164,7 +164,7 @@ class PeriodParser:
|
||||
def invalid_period(self):
|
||||
"""Sets the period when the period specification is invalid.
|
||||
"""
|
||||
self.error = pgettext("Accounting|", "Invalid period.")
|
||||
self.error = gettext("Invalid period.")
|
||||
today = localdate()
|
||||
self.spec = dateformat.format(localdate(), "Y-m")
|
||||
self.start = date(today.year, today.month, 1)
|
||||
|
Loading…
Reference in New Issue
Block a user