From 4b6dc8f347f8a52e2b45bdd60af51c40cc145802 Mon Sep 17 00:00:00 2001 From: Shi Yao Wang Date: Fri, 15 Apr 2022 17:16:43 -0400 Subject: [PATCH] Bug 30517: Translation breaks editing parent type circulation rule fix Test plan: 1. Install another language in the staff interface 1. ./translate install xx-XX 2. Check the box of the language in the 'language' system preference 3. Refresh 2. Create an item type with a parent 1. Go to Administration > Item types 2. Create a new item type or modify an existing one, assigning a parent type (I created a 'Children's books' type and assigned 'Books' as its parent) 3. Create a circulation rule for the parent type (I created All/Books, with 10 checkouts allowed) 4. Create a circulation rule for All/All (I created All/All with 30 checkouts allowed) 5. In English, click on "Edit" next to the parent type rule (All/Books) --> Note that the item type in the bottom row (the modifiable row) is changed to 'Books (All)' 6. Modify the number of checkouts allowed (e.g. 99) --> The All/Books rule is modified 7. Switch the interface to the other language 8. Click on "Edit" next to the parent type rule (All/Books) --> Note that the item type in the bottom row stays on 'All' 9. Modify the number of checkouts allowed (e.g. 88) --> The All/All rule is modified 10. Apply the patch and refresh 11. Do step 8-9 again and notice it now behaves as it should --- misc/translator/po/fr-CA-staff-prog.po | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/misc/translator/po/fr-CA-staff-prog.po b/misc/translator/po/fr-CA-staff-prog.po index 1e154811ab..364a85a44a 100644 --- a/misc/translator/po/fr-CA-staff-prog.po +++ b/misc/translator/po/fr-CA-staff-prog.po @@ -5034,7 +5034,7 @@ msgstr "%s (%s). Échéance le %s" #. %1$s: itemtypeloo.translated_description | html #: koha-tmpl/intranet-tmpl/prog/en/modules/admin/smart-rules.tt:374 -#, c-format +#, fuzzy, c-format msgid "%s (All)" msgstr "%s (Toutes)" -- 2.25.1