]> git.koha-community.org Git - koha.git/commit
Bug 28707: Translate RECEIPT notice
authorBernardo Gonzalez Kriegel <bgkriegel@gmail.com>
Fri, 6 May 2022 22:27:28 +0000 (19:27 -0300)
committerArthur Suzuki <arthur.suzuki@biblibre.com>
Wed, 12 Oct 2022 10:12:39 +0000 (12:12 +0200)
commit0f6093ed99338c0d40de910fc59a590211d7e0be
treea0d894c1fe51ff1f3e05a4c9e31a529237f1f54a
parente9b388951504a15f8a7b404f382f6632c7661c71
Bug 28707: Translate RECEIPT notice

There is a badly crafted regex used when extracting
strings in multiline fields in yaml files
The regex is my own, introduced in Bug 24262, sorry.

This patch correct it a little. Better eyes are welcome.

To test:
1) go to misc translator, update some language
    ./translate update fr-CA

2) check missing strings

    egrep "Total out|Operator ID|August 31" po/fr-CA-installer.po

   first two are from sample notices, third from sample creator data

3) apply the patch, repeat 1)

4) repeat 2), verify the strings are present in the translation file

5) translate some of the new strings, install the language,
   verify strings are present in the translated files
    ./translate install fr-CA
   check fr-CA/optional/sample_creator_data.yml and
   fr-CA/mandatory/sample_notices.yml

There are some 60+ new strings.

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
(cherry picked from commit 160d96e176331f8ac8eef4942bcc0af1868017c5)

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
(cherry picked from commit 577eed32b5dca9bc0dccb5de05a587b2f1debf68)
Signed-off-by: Arthur Suzuki <arthur.suzuki@biblibre.com>
misc/translator/LangInstaller.pm
misc/translator/xgettext-installer