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

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

This patch adds translation context to 'Active' and 'Inactive' when used
for the vendor status in acquisitions.

To test:
1. Go to Acquisitions
2. Click 'New vendor'
   --> At the bottom of the form, in the 'Ordering information' section, there
should be a choice Vendor is: Active Inactive
3. Enter a vendor name
4. Click 'Save'
5. Click the name of the vendor
   --> In the 'Ordering information' box (bottom left), there should be a
mention Vendor is: Active
6. Click 'Edit vendor'
7. Choose 'Inactive'
8. Click 'Save'
   --> Next to the vendor name, it should say '(inactive)'
9. Click the name of the vendor
   --> In the 'Ordering information' box (bottom left), there should be a
mention Vendor is: Inactive
10. Apply patch
11. Update translations
    ktd --shell
    gulp po:update --lang fr-CA
12. View the fr-CA-messages.po file
    --> There should be entries with 'Vendor status' in msgctxt
13. Optionally, translate the strings (remember to remove the fuzzy
    flag, if any)
14. Install new translations
    ktd --root --shell
    koha-translate --install fr-CA --dev kohadev
    koha-translate --update fr-CA --dev kohadev
15. Enable the new language in Administration > System preferences >
    StaffInterfaceLanguages
16. Repeat steps 1-9
    --> 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