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

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

This patch adds translation context to 'Active' and 'Inactive' when
used as the status of stock rotation rota.

To test:
1. Enable the StockRotation system preference
   1.1. Go to Administration > System preferences
   1.2. Search for StockRotation
   1.3. Choose 'Enable'
   1.4. Click 'Save all Circulation preferences'
2. Go to Cataloging > Stock rotation
3. Click 'New rota'
4. Enter a name for the rota
5. Click 'Save'
   --> There should be a column with the heading 'Active'
6. Click 'Manage' > 'Stages'
7. Click 'Add a stage'
8. Enter a duration
9. Click 'Save'
10. Click 'Return to rotas'
11. Click 'Activate'
12. Click 'Manage' > 'Items'
13. Click 'Add items'
14. Enter a barcode (e.g. 39999000001518)
15. Click 'Save'
16. Click the title of the item
17. Click 'Rota' (left menu)
   --> Under 'Rota status' it should say 'Active'
18. Go back to Cataloging > Stock rotation
19. Click 'Deactivate'
20. Click 'Manage' > 'Items'
21. Click the title of the item
22. Click 'Rota' (left menu)
   --> Under 'Rota status' it should say 'Inactive'
23. Apply patch
24. Update translations
    ktd --shell
    gulp po:update --lang fr-CA
25. View the fr-CA-messages.po file
    --> There should be entries with 'Rota status' in msgctxt
26. Optionally, translate the strings (remember to remove the fuzzy
    flag, if any)
27. Install new translations
    ktd --root --shell
    koha-translate --install fr-CA --dev kohadev
28. Enable the new language in Administration > System preferences >
    StaffInterfaceLanguages
29. Repeat step 1-17
    --> 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