Bugzilla – Attachment 183708 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 currency active status
Bug-39045-Add-translation-context-to-currency-acti.patch (text/plain), 2.40 KB, created by
Owen Leonard
on 2025-07-02 17:51:59 UTC
(
hide
)
Description:
Bug 39045: Add translation context to currency active status
Filename:
MIME Type:
Creator:
Owen Leonard
Created:
2025-07-02 17:51:59 UTC
Size:
2.40 KB
patch
obsolete
>From 1c5e495d8e4a09d716e9394e8617c79741fd3a96 Mon Sep 17 00:00:00 2001 >From: caroline <caroline@inlibro.com> >Date: Wed, 5 Feb 2025 16:18:14 -0500 >Subject: [PATCH] Bug 39045: Add translation context to currency active status > >This patch adds translation context to the 'Active' status >for currencies. > >To test: >1. Go to Administration > Currencies and exchange rates > --> There should be a column with the heading 'Active' >2. Click 'Edit' next to one of the currencies > --> There should be a field Active: >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 entries with 'Currency status' 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 > koha-translate --update 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 > >Signed-off-by: Owen Leonard <oleonard@myacpl.org> >--- > koha-tmpl/intranet-tmpl/prog/en/modules/admin/currency.tt | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/currency.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/currency.tt >index 7b89d2fd1d1..171f36b79e4 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/currency.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/currency.tt >@@ -151,7 +151,7 @@ > [% END %] > </li> > <li> >- <label for="active">Active: </label> >+ <label for="active">[% tp('Currency status', 'Active: ') | html %]</label> > [% IF currency.active %] > <input type="checkbox" id="active" name="active" value="1" checked="checked" /> > [% ELSE %] >@@ -231,7 +231,7 @@ > <th>Symbol</th> > <th>ISO code</th> > <th>Last updated</th> >- <th>Active</th> >+ <th>[% tp('Currency status', 'Active') | html %]</th> > <th>Archived</th> > <th class="no-sort no-export">Actions</th> > </tr> >-- >2.39.5
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