In the case of tags, the statuses are the same for one or more term. For example, in the table of terms, the column "Status" contains the status for the one term. Whereas, on the right, in the "Terms summary", the statuses are for many terms.
Created attachment 152533 [details] [review] Bug 34081: Contextualization of "Approved" (one term) vs "Approved" (more than one term), and other tag statuses To test: 1. Apply patch 2. Install language ./misc/translator/translate install xx-XX 3. Update po files ./misc/translator/translate update xx-XX 4. View the xx-XX-messages.po file --> Strings for tag statuses for one tag should be separated from strings for statuses for multiple tags, with context Tags (single) or Tags (multiple) 5. Change the strings so you know which is which For example, in French, the approved status for a single tag would be "Approuvé" and for multiple tags would be "Approuvés" (with the plural s at the end) 6. Apply translations ./misc/translator/translate install xx-XX 7. Add tags through the OPAC 7.1. In another tab, go to the OPAC 7.2. Log in 7.3. Search for a record 7.4. From the detailed record, click Add tags 7.5. Enter a tag and click Add 8. In the staff interface, go to Tools > Tags 9. Approve/Reject the tag --> The status in the table and on the button should be the singular status, the status in the summary on the right should be plural
Created attachment 152557 [details] [review] Bug 34081: Contextualization of "Approved" (one term) vs "Approved" (more than one term), and other tag statuses To test: 1. Apply patch 2. Install language ./misc/translator/translate install xx-XX 3. Update po files ./misc/translator/translate update xx-XX 4. View the xx-XX-messages.po file --> Strings for tag statuses for one tag should be separated from strings for statuses for multiple tags, with context Tags (single) or Tags (multiple) 5. Change the strings so you know which is which For example, in French, the approved status for a single tag would be "Approuvé" and for multiple tags would be "Approuvés" (with the plural s at the end) 6. Apply translations ./misc/translator/translate install xx-XX 7. Add tags through the OPAC 7.1. In another tab, go to the OPAC 7.2. Log in 7.3. Search for a record 7.4. From the detailed record, click Add tags 7.5. Enter a tag and click Add 8. In the staff interface, go to Tools > Tags 9. Approve/Reject the tag --> The status in the table and on the button should be the singular status, the status in the summary on the right should be plural Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Created attachment 155476 [details] [review] Bug 34081: Contextualization of "Approved" (one term) vs "Approved" (more than one term), and other tag statuses To test: 1. Apply patch 2. Install language ./misc/translator/translate install xx-XX 3. Update po files ./misc/translator/translate update xx-XX 4. View the xx-XX-messages.po file --> Strings for tag statuses for one tag should be separated from strings for statuses for multiple tags, with context Tags (single) or Tags (multiple) 5. Change the strings so you know which is which For example, in French, the approved status for a single tag would be "Approuvé" and for multiple tags would be "Approuvés" (with the plural s at the end) 6. Apply translations ./misc/translator/translate install xx-XX 7. Add tags through the OPAC 7.1. In another tab, go to the OPAC 7.2. Log in 7.3. Search for a record 7.4. From the detailed record, click Add tags 7.5. Enter a tag and click Add 8. In the staff interface, go to Tools > Tags 9. Approve/Reject the tag --> The status in the table and on the button should be the singular status, the status in the summary on the right should be plural Signed-off-by: Owen Leonard <oleonard@myacpl.org> Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Simple patch, all working as expected. Passing QA
Pushed to master for 23.11. Nice work everyone, thanks!
Pushed to 23.05.x for 23.05.04
Nice work everyone! Pushed to oldstable for 22.11.x