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

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

This patch adds translation context to 'Active' and 'Inactive' when used
as the course status in course reserves.

To test:
1. Go to Course reserves
2. Click 'New course'
3. Fill out the mandatory fields
4. Click 'Save'
   --> In the course details, there should be a field Status 'Active'
5. Click 'Edit course'
6. Uncheck 'Enabled?'
7. Click 'Save'
   --> In the course details, there should be a field Status 'Inactive'
8. Apply patch
9. Update translations
   ktd --shell
   gulp po:update --lang fr-CA
10. View the fr-CA-messages.po file
    --> There should be entries with 'Course status' in msgctxt
11. Optionally, translate the strings (remember to remove the fuzzy flag, if
any)
12. Install new translations
    ktd --root --shell
    koha-translate --install fr-CA --dev kohadev
    koha-translate --update fr-CA --dev kohadev
13. Enable the new language in Administration > System preferences >
StaffInterfaceLanguages
14. Repeat step 1-7
    --> 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