[Koha-bugs] [Bug 18687] Translatability: abbr tag should not contain lang attribute

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Sun May 28 09:37:48 CEST 2017


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=18687

--- Comment #1 from Marc Véron <veron at veron.ch> ---
Created attachment 63767
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=63767&action=edit
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.

-- 
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.


More information about the Koha-bugs mailing list