From f53d767823d6df6bea57773dd4b37d26168b76a0 Mon Sep 17 00:00:00 2001 From: Caroline Cyr La Rose Date: Thu, 6 Feb 2025 14:49:59 -0500 Subject: [PATCH] Bug 39045: Add translation context to 'Inactive' as report group This patch adds translation context to the 'Inactive' heading in reports, to differentiate it from an inactive status of something. To test: 1. Go to Reports --> There should be an 'Inactive' section heading on the right 2. Click on one of the inactive reports --> There should be an 'Inactive' section heading in the left menu 3. Apply patch 4. Update translations ktd --shell gulp po:update --lang fr-CA 5. View the fr-CA-messages.po file --> There should be an entry with 'Group of reports to get inactive patrons and items' in msgctxt 6. Optionally, translate the strings (remember to remove the fuzzy flag, if any) 7. Install new translations ktd --root --shell koha-translate --install fr-CA --dev kohadev 8. Enable the new language in Administration > System preferences > StaffInterfaceLanguages 9. Repeat steps 1 and 2 --> Translations should be whatever you put in the po file --- koha-tmpl/intranet-tmpl/prog/en/includes/reports-menu.inc | 2 +- koha-tmpl/intranet-tmpl/prog/en/modules/reports/reports-home.tt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/reports-menu.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/reports-menu.inc index cb6f892e5f..2e33c30073 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/reports-menu.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/reports-menu.inc @@ -41,7 +41,7 @@
  • Most-circulated items
  • -
    Inactive
    +
    [% tp('Group of reports to get inactive patrons and items', 'Inactive') | html %]