Bugzilla – Attachment 183713 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 API key active status
Bug-39045-Add-translation-context-to-API-key-activ.patch (text/plain), 2.22 KB, created by
Owen Leonard
on 2025-07-02 17:52:14 UTC
(
hide
)
Description:
Bug 39045: Add translation context to API key active status
Filename:
MIME Type:
Creator:
Owen Leonard
Created:
2025-07-02 17:52:14 UTC
Size:
2.22 KB
patch
obsolete
>From 5426a3197bc454fefb5efac08e19f962d18b8fff Mon Sep 17 00:00:00 2001 >From: Caroline Cyr La Rose <caroline.cyr-la-rose@inlibro.com> >Date: Thu, 6 Feb 2025 15:03:37 -0500 >Subject: [PATCH] Bug 39045: Add translation context to API key active status > >This patch adds translation context to 'Active' and 'Inactive' when >used as the status of an API key. > >To test: >1. Enable the RESTOAuth2ClientCredentials system preference > 1.1. Go to Administration > System preferences > 1.2. Search for RESTOAuth2ClientCredentials > 1.3. Choose 'Enable' > 1.4. Click 'Save all Web services preferences' >2. Click your user name at the top right corner and choose 'My account' >3. Click 'More' > 'Manage API keys' >4. Click 'Generate a new client id/secret pair' >5. Enter a description >6. Click 'Save' > --> There should be a column with the heading 'Active' >7. Apply patch >8. Update translations > ktd --shell > gulp po:update --lang fr-CA >9. View the fr-CA-messages.po file > --> There should be an entry with 'API client id/key pair status' in > msgctxt >10. Optionally, translate the strings (remember to remove the fuzzy > flag, if any) >11. Install new translations > ktd --root --shell > koha-translate --install fr-CA --dev kohadev >12. Enable the new language in Administration > System preferences > > StaffInterfaceLanguages >13. Repeat step 1-6 > --> Translation should be whatever you put in the po file > >Signed-off-by: Owen Leonard <oleonard@myacpl.org> >--- > koha-tmpl/intranet-tmpl/prog/en/modules/members/apikeys.tt | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/members/apikeys.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/members/apikeys.tt >index 7f0fcd739ed..71281402744 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/apikeys.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/apikeys.tt >@@ -86,7 +86,7 @@ > <tr> > <th>Description</th> > <th>Client ID</th> >- <th>Active</th> >+ <th>[% tp('API client id/key pair status', 'Active') | html %]</th> > <th class="no-export">Actions</th> > </tr> > </thead> >-- >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