From 79c70f78e812b0a0464797c5405f76a4cf6a7c66 Mon Sep 17 00:00:00 2001 From: Caroline Cyr La Rose Date: Thu, 13 Apr 2023 14:55:25 -0400 Subject: [PATCH] Bug 33533: Translatability: Do not separate "Patron" or "Organization" and "identity" in memberentrygen.tt MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit This patch corrects the HTML markup in order to reunite "Patron identity" or "Organization identity" for translatability. To test: 1. Apply patch 2. Update translation files ./misc/translator/translate update xx-XX 3. Check the xx-XX-staff-prog.po file, the line for memberentrygen.tt:275 should look like \#: koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt:275 \#, c-format msgid "Organization %sPatron %sidentity" msgstr "Identité de l'organisme %sIdentité de l'utilisateur %s" 4. Optionally, translate the string, install translation and check the page (Patrons > New patron), trying a institutional patron and a regular patron ./misc/translator/translate install xx-XX Signed-off-by: Lucas Gass Signed-off-by: Katrin Fischer Signed-off-by: Tomas Cohen Arazi (cherry picked from commit 360963c95975ff50f4d84239f2e0360236106bd4) Signed-off-by: Jacob O'Mara --- .../intranet-tmpl/prog/en/modules/members/memberentrygen.tt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt index 2013e80186..998ac693b5 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt @@ -272,7 +272,7 @@ legend:hover { [% IF ( step_1 ) %] [% UNLESS notitle && nosurname && nofirstname && nomiddle_name && nodateofbirth && noinitials && noothernames &&nosex && nopronouns %]
- [% IF ( patron_category.category_type == 'I' ) %]Organization [% ELSE %]Patron [% END %]identity + [% IF ( patron_category.category_type == 'I' ) %]Organization [% ELSE %]Patron [% END %]identity
    [% UNLESS ( patron_category.category_type == 'I' ) %] [% UNLESS notitle %] -- 2.20.1