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

--- Comment #36 from Owen Leonard <[email protected]> ---
Created attachment 183714
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=183714&action=edit
Bug 39045: Add translation context to ERM data providers status
(active/inactive)

This patch adds translation context to 'Active' and 'Inactive' when
used as the status of ERM data providers.

This patch needs the patch in bug 39061 in order to work properly.

To test:
1. Enable the ERMModule system preference
   1.1. Go to Administration > System preferences
   1.2. Search for ERMMdoule
   1.3. Choose 'Enable'
   1.4. Click 'Save all E-resource management preferences'
2. Go to E-resource management
3. Click 'Data providers'
4. Click 'New data provider'
   --> There should be a Harvester status field with Active and
       Inactive options
5. Click 'Create manually'
6. Fill out the mandatory fields
7. Click 'Submit'
   --> There should be a Status field with value 'Active'
8. Click 'Data providers"
   --> The status in the column should be 'Active'
9. Click 'Edit'
10. Change Harvester status to Inactive
11. Click 'Submit'
    --> There should be a Status field with value 'Inactive'
12. Click 'Data providers"
   --> The status in the column should be 'Inactive'
13. Apply patch
14. Update translations
    ktd --shell
    gulp po:update --lang fr-CA
15. View the fr-CA-messages.po file
    --> There should be entries with 'ERM data provider status' in
        msgctxt
16. Optionally, translate the strings (remember to remove the fuzzy
    flag, if any)
17. Install new translations
    ktd --root --shell
    koha-translate --install fr-CA --dev kohadev
18. Enable the new language in Administration > System preferences >
    StaffInterfaceLanguages
19. Repeat step 1-12
    --> Translations 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