From d79e07cc87c43f21d7416d6b1d8cb321e2684d4e 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 Signed-off-by: Martin Renvoize Signed-off-by: Katrin Fischer (cherry picked from commit d350979d6b143efcf687141e6aadf53b3f872e8a) Signed-off-by: Paul Derscheid --- 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"