From 53da61429a4457bf5dfe8a626880b386ebfbdc37 Mon Sep 17 00:00:00 2001 From: James Cole Date: Sun, 1 Nov 2020 06:58:19 +0100 Subject: [PATCH] Fix help text, courtesy of @weimdall --- resources/lang/en_US/firefly.php | 1 + resources/views/v1/accounts/edit.twig | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/resources/lang/en_US/firefly.php b/resources/lang/en_US/firefly.php index dc9dda62d1..92a091ecff 100644 --- a/resources/lang/en_US/firefly.php +++ b/resources/lang/en_US/firefly.php @@ -1008,6 +1008,7 @@ return [ 'all_accounts_inactive' => 'These are your inactive accounts.', 'active_account_link' => 'This link goes back to your active accounts.', 'account_missing_transaction' => 'Account #:id (":name") cannot be viewed directly, but Firefly is missing redirect information.', + 'cc_monthly_payment_date_help' => 'Select any year and any month, it will be ignored anyway. Only the day of the month is relevant.', 'details_for_asset' => 'Details for asset account ":name"', 'details_for_expense' => 'Details for expense account ":name"', 'details_for_revenue' => 'Details for revenue account ":name"', diff --git a/resources/views/v1/accounts/edit.twig b/resources/views/v1/accounts/edit.twig index d9c6ea2e5f..d7c1ffbd2b 100644 --- a/resources/views/v1/accounts/edit.twig +++ b/resources/views/v1/accounts/edit.twig @@ -87,7 +87,7 @@
{{ ExpandedForm.select('cc_type',Config.get('firefly.ccTypes')) }} - {{ ExpandedForm.date('cc_monthly_payment_date',null,{'helpText' : 'Select any year and any month, it will be ignored anway. Only the day of the month is relevant.'}) }} + {{ ExpandedForm.date('cc_monthly_payment_date',null,{'helpText' : trans('firefly.cc_monthly_payment_date_help')}) }}
{% endif %}