diff --git a/src/accounting/option/forms.py b/src/accounting/option/forms.py index 04531b1..181c072 100644 --- a/src/accounting/option/forms.py +++ b/src/accounting/option/forms.py @@ -127,7 +127,7 @@ class RecurringExpenseForm(RecurringItemForm): filters=[strip_text], validators=[ DataRequired(lazy_gettext( - "Please fill in the template of the description."))]) + "Please fill in the description template."))]) """The template for the line item description.""" @property @@ -242,7 +242,7 @@ class OptionForm(FlaskForm): filters=[strip_text], validators=[ DataRequired(lazy_gettext( - "Please fill in the default account code" + "Please select the default account" " for the income and expenses log."))]) """The default account code for the income and expenses log.""" recurring = FormField(RecurringForm) diff --git a/src/accounting/option/views.py b/src/accounting/option/views.py index 5913507..e9ca31a 100644 --- a/src/accounting/option/views.py +++ b/src/accounting/option/views.py @@ -72,8 +72,8 @@ def update_options() -> redirect: form = OptionForm(request.form) form.populate_obj(options) if not options.is_modified: - flash(s(lazy_gettext("The options were not modified.")), "success") + flash(s(lazy_gettext("The settings were not modified.")), "success") return redirect(inherit_next(url_for("accounting.option.detail"))) options.commit() - flash(s(lazy_gettext("The options are saved successfully.")), "success") + flash(s(lazy_gettext("The settings are saved successfully.")), "success") return redirect(inherit_next(url_for("accounting.option.detail")))