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)
committerMason James <mtj@kohaaloha.com>
Tue, 24 Oct 2017 03:42:09 +0000 (16:42 +1300)
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

index f89ec73..8332bcf 100644 (file)
@@ -502,7 +502,7 @@ Page
                 <th>Status</th>
                 <th>Match type</th>
                 <th>Match details</th>
-                <th><abbr title="Differences between the original biblio and the imported" lang="en">Diff</abbr></th>
+                <th><abbr title="Differences between the original biblio and the imported">Diff</abbr></th>
                 <th>Record</th>
             </tr>
         </thead>