]> 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)
committerKatrin Fischer <katrin.fischer@bsz-bw.de>
Wed, 22 May 2024 14:18:06 +0000 (16:18 +0200)
commitfbb123b12eab123e62c508944fd2b6261fb24acf
tree366bb9f186bdbfb662ceb51b48345470b1206886
parent4da0f36f2faf9a1a5c8b54258a5abfc69ca57bb5
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>
misc/translator/xgettext.pl