From 1aee770882b86c176fdc0940311db001b0ca0f02 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 Signed-off-by: Tomas Cohen Arazi (cherry picked from commit 272a080cb35fe83e9f11ab8401effb7223f5d94c) Signed-off-by: Fridolin Somers (cherry picked from commit 48282124fac08d26382c77b491bdf75828360b33) Signed-off-by: Matt Blenkinsop --- .../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 efcd8203d7..c96c00f291 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/tags/review.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/tags/review.tt @@ -40,12 +40,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.39.5