Bugzilla – Attachment 177561 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 budget active status
Bug-39045-Add-translation-context-to-budget-active.patch (text/plain), 2.38 KB, created by
Caroline Cyr La Rose
on 2025-02-05 22:07:18 UTC
(
hide
)
Description:
Bug 39045: Add translation context to budget active status
Filename:
MIME Type:
Creator:
Caroline Cyr La Rose
Created:
2025-02-05 22:07:18 UTC
Size:
2.38 KB
patch
obsolete
>From 383db349e221f3675255037a6ead9db6fd0e5ccf Mon Sep 17 00:00:00 2001 >From: Caroline Cyr La Rose <caroline.cyr-la-rose@inlibro.com> >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 @@ > > <thead> > <tr> >- <th>Active</th> >+ <th>[% tp('Budget status', 'Active') | html %]</th> > <th>Budget period description</th> > <th>Fund code</th> > <th>Fund name</th> >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 @@ > <table id="budgeth" class="group"> > <thead> > <tr> >- <th>Active</th> >+ <th>[% tp('Budget status', 'Active') | html %]</th> > <th>Budget period description</th> > <th>Fund code</th> > <th>Fund name</th> >-- >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