Bugzilla – Attachment 177595 Details for
Bug 39045
Add translation context for "Active" and "Inactive"
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 39045: Add translation context to 'Inactive' as report group
Bug-39045-Add-translation-context-to-Inactive-as-r.patch (text/plain), 2.85 KB, created by
Caroline Cyr La Rose
on 2025-02-06 19:51:47 UTC
(
hide
)
Description:
Bug 39045: Add translation context to 'Inactive' as report group
Filename:
MIME Type:
Creator:
Caroline Cyr La Rose
Created:
2025-02-06 19:51:47 UTC
Size:
2.85 KB
patch
obsolete
>From f53d767823d6df6bea57773dd4b37d26168b76a0 Mon Sep 17 00:00:00 2001 >From: Caroline Cyr La Rose <caroline.cyr-la-rose@inlibro.com> >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 @@ > <li><a href="/cgi-bin/koha/reports/cat_issues_top.pl">Most-circulated items</a></li> > </ul> > >- <h5>Inactive</h5> >+ <h5>[% tp('Group of reports to get inactive patrons and items', 'Inactive') | html %]</h5> > <ul> > <li><a href="/cgi-bin/koha/reports/borrowers_out.pl">Patrons who haven't checked out</a></li> > <li><a href="/cgi-bin/koha/reports/catalogue_out.pl">Items with no checkouts</a></li> >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/reports-home.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/reports/reports-home.tt >index f841b53dc8..57b1aff1b5 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/reports-home.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/reports/reports-home.tt >@@ -93,7 +93,7 @@ > </div> > > <div class="rep_inactive"> >- <h2>Inactive</h2> >+ <h2>[% tp('Group of reports to get inactive patrons and items', 'Inactive') | html %]</h2> > <ul> > <li><a href="/cgi-bin/koha/reports/borrowers_out.pl">Patrons who haven't checked out</a></li> > <li><a href="/cgi-bin/koha/reports/catalogue_out.pl">Items with no checkouts</a></li> >-- >2.43.0
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 39045
:
177559
|
177560
|
177561
|
177562
|
177590
|
177591
|
177593
|
177595
|
177596
|
177601
|
177711
|
178900
|
178901
|
178902
|
178903
|
178904
|
178905
|
178906
|
178907
|
178908
|
178909
|
183708
|
183709
|
183710
|
183711
|
183712
|
183713
|
183714
|
183715
|
183716