]> git.koha-community.org Git - koha.git/commit
Bug 18687: Translatability: abbr tag should not contain lang attribute
authorMarc Véron <veron@veron.ch>
Sun, 28 May 2017 07:34:21 +0000 (09:34 +0200)
committerKatrin Fischer <katrin.fischer.83@web.de>
Sun, 1 Oct 2017 22:24:57 +0000 (00:24 +0200)
commit3e23ffe5845c44008cf462e8dfd8d4c78a755561
tree137329d8208d5add62d9a249e684fa4edb810375
parentba61c6b8054b34c58dc5914088c200fac529c402
Bug 18687: Translatability: abbr tag should not contain lang attribute

In manage-marc-import.tt, we have an abbreviation:

<abbr title="Differences between the original biblio and the imported" lang="en">Diff</abbr>

In translations (e.g. German), the line appears as follows:
<abbr title="Unterschiede zwischen Originaltitelsatz und importiertem Titelsatz" lang="en">Diff</abbr>

The lang attribute is wrong here, it is still "en".
The text language is the same as defined at the top of the page - or with other
words, the lang tag is superfluous.

This patch removes it.

To test:
Verify that code change makes sense.

Passes QA test and the change is logical
Signed-off-by: Alex Buckley <alexbuckley@catalyst.net.nz>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
(cherry picked from commit 03c7f9366c97d6402e1e16182d7a2ddbbe37eccb)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
(cherry picked from commit 9f96a3bb39c8fcb246a3caeeb2d7a24f46da7153)
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
koha-tmpl/intranet-tmpl/prog/en/modules/tools/manage-marc-import.tt