Bug 34079: The phrase "Displaying [all|approved|pending|rejected] terms" was separated

This patch reunites the words for the sentence "Displaying
[all|approved|pending|rejected] terms" in order to facilitate
translating in languages that have a different syntax.

To test:
1. Install a new language

   ./misc/translator/translate install xx-XX

2. Check the xx-XX-staff-prog.po file for the sentence
   --> All the words are individual strings

3. Apply patch

4. Update the po files

   ./misc/translator/translate update xx-XX

5. Check the xx-XX-staff-prog.po file again
   --> The sentence is reunited for each status (Displaying all terms,
       Displaying approved terms, etc.)

Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
This commit is contained in:
Caroline Cyr La Rose 2023-06-21 10:59:47 -04:00 committed by Tomas Cohen Arazi
parent 5d23be933f
commit 272a080cb3
Signed by: tomascohen
GPG key ID: 0A272EA1B2F3C15F

View file

@ -40,12 +40,11 @@ tr > td input,td input[type="submit"] { font-size: 85%; padding: 1px; }
<div class="col-sm-8 col-sm-push-2">
<h1>Tags</h1>
<form method="post" action="/cgi-bin/koha/tags/review.pl">
<h4><span>Displaying</span>
[% IF ( filter_approved_all ) %]<span>all</span>[% END %]
[% IF ( filter_approved_ok ) %]<span>approved</span>[% END %]
[% IF ( filter_approved_pending ) %]<span>pending</span>[% END %]
[% IF ( filter_approved_rej ) %]<span>rejected</span>[% END %]
terms
<h4>
[% IF ( filter_approved_all ) %]<span>Displaying all terms</span>[% END %]
[% IF ( filter_approved_ok ) %]<span>Displaying approved terms</span>[% END %]
[% IF ( filter_approved_pending ) %]<span>Displaying pending terms</span>[% END %]
[% IF ( filter_approved_rej ) %]<span>Displaying rejected terms</span>[% END %]
</h4>
[% IF ( op_count ) %]