]> git.koha-community.org Git - koha.git/commit
Bug 36845: Exclude meta tag from the translations
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Tue, 14 May 2024 07:29:02 +0000 (09:29 +0200)
committerLucas Gass <lucas@bywatersolutions.com>
Fri, 31 May 2024 13:16:26 +0000 (13:16 +0000)
commit5a704197afc2db483bcec40464b4ecb55d3cb09c
treefef32165ac251bf733d9effe3a5d6ba7a62bbc7e
parent7494d7a032fa38013d7a95d92e54f808bd8bd3c5
Bug 36845: Exclude meta tag from the translations

This bug originaly wants to get rid of "noindex" coming from this meta
tag:
  <meta name="robots" content="noindex">

But actually we have other strings from the meta tags that should not be
translated.

Test plan:
0. Do not apply this patch
1. cd misc/translator/po && gulp po:update --lang es-ES (or any other
   lang)
2. git commit -a -m"wip"
3. Apply this patch
4. Repeat 1 and git diff to show the diff
Notice that strings that should not be translated are removed from the
po files (actually commented)

Signed-off-by: Caroline Cyr La Rose <caroline.cyr-la-rose@inlibro.com>
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
(cherry picked from commit fbb123b12eab123e62c508944fd2b6261fb24acf)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
(cherry picked from commit b3dfb82bd030aefb2299fd6e00d31588dbdcffb4)
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
misc/translator/xgettext.pl