From 383db349e221f3675255037a6ead9db6fd0e5ccf Mon Sep 17 00:00:00 2001 From: Caroline Cyr La Rose Date: Wed, 5 Feb 2025 16:45:49 -0500 Subject: [PATCH] Bug 39045: Add translation context to budget active status This patch adds translation context to budget active status. 1. Go to Acquisitions --> In the table under 'All available funds', there should be a column with the heading 'Active' 2. Apply patch 3. Update translations ktd --shell gulp po:update --lang fr-CA 4. View the fr-CA-messages.po file --> There should be an entry with 'Budget status' in msgctxt 5. Optionally, translate the strings (remember to remove the fuzzy flag, if any) 6. Install new translations ktd --root --shell koha-translate --install fr-CA --dev kohadev koha-translate --update fr-CA --dev kohadev 7. Enable the new language in Administration > System preferences > StaffInterfaceLanguages 8. Repeat step 1 --> Translation should be whatever you put in the po file --- koha-tmpl/intranet-tmpl/prog/en/modules/acqui/acqui-home.tt | 2 +- koha-tmpl/intranet-tmpl/prog/en/modules/admin/aqbudgets.tt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/acqui-home.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/acqui-home.tt index dd1a8ebb8c..d13b580fb7 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/acqui-home.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/acqui-home.tt @@ -110,7 +110,7 @@ - Active + [% tp('Budget status', 'Active') | html %] Budget period description Fund code Fund name diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/aqbudgets.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/aqbudgets.tt index 64549f2d4e..7398feef01 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/aqbudgets.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/aqbudgets.tt @@ -153,7 +153,7 @@ - + -- 2.43.0
Active[% tp('Budget status', 'Active') | html %] Budget period description Fund code Fund name