From c0d531d8e726354ee8a5bcca10b463c1ec6e0c1f Mon Sep 17 00:00:00 2001 From: Caroline Cyr La Rose Date: Wed, 21 Jun 2023 10:59:47 -0400 Subject: [PATCH] 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 Signed-off-by: Martin Renvoize --- .../intranet-tmpl/prog/en/modules/tags/review.tt | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/tags/review.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/tags/review.tt index d3ab56fef4..fd7433595f 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/tags/review.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/tags/review.tt @@ -39,12 +39,11 @@ tr > td input,td input[type="submit"] { font-size: 85%; padding: 1px; }

Tags

-

Displaying - [% IF ( filter_approved_all ) %]all[% END %] - [% IF ( filter_approved_ok ) %]approved[% END %] - [% IF ( filter_approved_pending ) %]pending[% END %] - [% IF ( filter_approved_rej ) %]rejected[% END %] - terms +

+ [% IF ( filter_approved_all ) %]Displaying all terms[% END %] + [% IF ( filter_approved_ok ) %]Displaying approved terms[% END %] + [% IF ( filter_approved_pending ) %]Displaying pending terms[% END %] + [% IF ( filter_approved_rej ) %]Displaying rejected terms[% END %]

[% IF ( op_count ) %] -- 2.41.0