https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39045

--- Comment #35 from Owen Leonard <[email protected]> ---
Created attachment 183713
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=183713&action=edit
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 <[email protected]>

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to