]> git.koha-community.org Git - koha.git/commit
Bug 31563: Make zero claims show correctly for translations
authorKatrin Fischer <katrin.fischer.83@web.de>
Thu, 9 Feb 2023 23:29:55 +0000 (00:29 +0100)
committerTomas Cohen Arazi <tomascohen@theke.io>
Fri, 24 Feb 2023 19:43:14 +0000 (16:43 -0300)
commitf4029d7b71edc6472f330a7f8c8c60005205154b
treeaff5ba5d9037d728b9e0731c3a060555e701eac1
parent274d3d45b0eda1b43efa55d76633931b28c25b2e
Bug 31563: Make zero claims show correctly for translations

A tag that only contains 0 is turned into an empty tag by
the translation scripts. This turns "Claims ( 0 0 )" into
"Claims (   )" in translated templates.

To test:
* Install an additional language (fr-FR, es-ES) and activate
  it in the system preferences
* Look at the checkouts and details tabs in any patron account
  in the staff interface
* Verify the claims tab shows without the zeros as described above
* Apply the patch
* Update the translation so the templates are recreated with the change
* Verify that the 0 0 now show correctly.

Signed-off-by: Caroline Cyr La Rose <caroline.cyr-la-rose@inlibro.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt
koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember.tt