diff --git a/src/accounting/report/period/shortcuts.py b/src/accounting/report/period/shortcuts.py index 3b8fd72..1a3f04c 100644 --- a/src/accounting/report/period/shortcuts.py +++ b/src/accounting/report/period/shortcuts.py @@ -35,7 +35,7 @@ class ThisMonth(Period): def _set_properties(self) -> None: self.spec = "this-month" - self.desc = gettext("This month") + self.desc = gettext("This Month") self.is_a_month = True self.is_type_month = True @@ -55,7 +55,7 @@ class LastMonth(Period): def _set_properties(self) -> None: self.spec = "last-month" - self.desc = gettext("Last month") + self.desc = gettext("Last Month") self.is_a_month = True self.is_type_month = True @@ -75,7 +75,7 @@ class SinceLastMonth(Period): def _set_properties(self) -> None: self.spec = "since-last-month" - self.desc = gettext("Since last month") + self.desc = gettext("Since Last Month") self.is_type_month = True @@ -90,7 +90,7 @@ class ThisYear(Period): def _set_properties(self) -> None: self.spec = "this-year" - self.desc = gettext("This year") + self.desc = gettext("This Year") self.is_a_year = True @@ -105,7 +105,7 @@ class LastYear(Period): def _set_properties(self) -> None: self.spec = "last-year" - self.desc = gettext("Last year") + self.desc = gettext("Last Year") self.is_a_year = True diff --git a/src/accounting/templates/accounting/report/include/period-chooser.html b/src/accounting/templates/accounting/report/include/period-chooser.html index 257740b..5c90cb5 100644 --- a/src/accounting/templates/accounting/report/include/period-chooser.html +++ b/src/accounting/templates/accounting/report/include/period-chooser.html @@ -55,14 +55,14 @@ First written: 2023/3/4