]> git.koha-community.org Git - koha.git/commit
Bug 36876: Correct <span>s around translatable strings in table settings
authorOwen Leonard <oleonard@myacpl.org>
Thu, 16 May 2024 12:03:11 +0000 (12:03 +0000)
committerKatrin Fischer <katrin.fischer@bsz-bw.de>
Fri, 17 May 2024 10:03:52 +0000 (12:03 +0200)
commitb71ee66dd7c62c6dbb39e5d24a16a37b2183288b
treebbfc9b55274d070d40949ad90a5f3d7604e33cd0
parentdfd2bc352adcbbcd5922987357da33c0c2af8062
Bug 36876: Correct <span>s around translatable strings in table settings

This patch corrects the way translatable strings are handled in the
table settings template. The switch to Bootstrap WRAPPERs for the
accordion widget included several errors.

To test, apply the patch and go to Administration -> Table settings.

- Confirm that the sections expand and collapse correctly.
- Test the translation process with a language, e.g. fr-FR:
  - In KTD, run: gulp po:update --lang fr-FR
  - Check fr-FR-staff-prog.po for the line referring to
    koha-tmpl/intranet-tmpl/prog/en/modules/admin/columns_settings.tt:298
  - It should show the whole string "Interlibrary loans"

Signed-off-by: Roman Dolny <roman.dolny@jezuici.pl>
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
koha-tmpl/intranet-tmpl/prog/en/modules/admin/columns_settings.tt