From 3c618df4550146c5d2002fb1f1907347337606ee Mon Sep 17 00:00:00 2001 From: Caroline Cyr La Rose Date: Fri, 13 Dec 2024 16:20:37 -0500 Subject: [PATCH] Bug 38707: Patron restriction types from installer files not translatable This patch makes translatable the default patron restriction types that come installed with Koha. To test: 1) Search for "Manual restriction" in the translation files `git grep "Manual restriction" misc/translator/po/fr-CA-installer.po` --> No results 2) Apply patch 3) Update translations `gulp po:update --lang fr-CA` 4) Repeat step 1 --> Manual restrictions (as well as the other restriction types i.e. Overdues, Suspension, Discharge, and Notice failure suspension) is in the .po file Signed-off-by: David Nind --- installer/data/mysql/en/mandatory/patron_restriction_types.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/installer/data/mysql/en/mandatory/patron_restriction_types.yml b/installer/data/mysql/en/mandatory/patron_restriction_types.yml index d8ca85b80d..57c4b176d6 100644 --- a/installer/data/mysql/en/mandatory/patron_restriction_types.yml +++ b/installer/data/mysql/en/mandatory/patron_restriction_types.yml @@ -22,7 +22,7 @@ description: tables: - restriction_types: - translatable: [] + translatable: [ display_text ] multiline: [] rows: - code: "MANUAL" -- 2.39.5