[Bug 17139] New: Translation process should not pick class value inside span tags
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17139 Bug ID: 17139 Summary: Translation process should not pick class value inside span tags Change sponsored?: --- Product: Koha Version: unspecified Hardware: All OS: All Status: NEW Severity: minor Priority: P5 - low Component: I18N/L10N Assignee: koha-bugs@lists.koha-community.org Reporter: veron@veron.ch QA Contact: testopia@bugs.koha-community.org CC: frederic@tamil.fr Example: koha-tmpl/intranet-tmpl/prog/en/includes/authorities-search-results.inc line 14: <span class="BT"> BT is picked for translation -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17139 --- Comment #1 from Marc Véron <veron@veron.ch> --- ...but we have: <span class="UF"><abbr title="Used For"> Inside abbr tag, "Used For" should be translatable (is picked by translation process). -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17139 --- Comment #2 from Marc Véron <veron@veron.ch> --- (In reply to Marc Véron from comment #0)
Example:
koha-tmpl/intranet-tmpl/prog/en/includes/authorities-search-results.inc line 14: <span class="BT">
BT is picked for translation
Tested in current translation, it is not picked from span tag. -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17139 --- Comment #3 from Marc Véron <veron@veron.ch> --- (In reply to Marc Véron from comment #1)
...but we have: <span class="UF"><abbr title="Used For">
Inside abbr tag, "Used For" should be translatable (is picked by translation process).
Tested in current translation. The text is picked and is properly translated. Example for manage-marc-import.tt English: <abbr title="Differences between the original biblio and the imported" lang="en">Diff</abbr> German: <abbr title="Unterschiede zwischen Originaltitelsatz und importiertem Titelsatz" lang="en">Diff</abbr> Minor issue: The lang tag remains "en", here it should be "de" for German. IMO the lang tag could be removed because the language is declared at the top of the page: <html lang="de-DE"> -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17139 Marc Véron <veron@veron.ch> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |INVALID --- Comment #4 from Marc Véron <veron@veron.ch> --- Setting to RESOLVED INVALID for comments #2 and #3 Issue with lang attribute in abbr tag goes to new bug 18687 -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org