Bug 31292: Untranslatable string in sample_notices.yaml
authorBernardo Gonzalez Kriegel <bgkriegel@gmail.com>
Fri, 5 Aug 2022 14:34:05 +0000 (11:34 -0300)
committerArthur Suzuki <arthur.suzuki@biblibre.com>
Wed, 12 Oct 2022 13:46:28 +0000 (15:46 +0200)
commitc2a14da3e2a6ebb2687dc44816382a5b2966aedf
tree88e188b3dafff128eeaa880bf8a87944c7770c1b
parentbaef1e0f3000111f076ae6d33b0edbc18c91f7ab
Bug 31292: Untranslatable string in sample_notices.yaml

This patch removes a regex that discard lines in multiline YAML values
On close inspection, there is no need for it.

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

2) check missing string

    egrep "You may pick up your article" po/fr-CA-installer.po

   from sample_notices.yaml

3) apply the patch, repeat 1)

4) repeat 2), verify the string is present in the translation file

5) translate the new string, install the language,
   verify string is present in the translated file
    ./translate install fr-CA

   check fr-CA/mandatory/sample_notices.yml

There are three new strings
msgid "%sDear %s %s,%s"
msgid "%s%s%sTitle: %s"
msgid "%sYou may pick up your article at %s.%sYou can download the scanned materials via the following url(s): %s.%s"

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 99790c6c38af93698069f5f493b299a715eabd68)

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