[Koha-bugs] [Bug 21130] Detail XSLT produces translatable HTML class

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Sep 20 21:05:04 CEST 2018


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

--- Comment #8 from M. Tompsett <mtompset at hotmail.com> ---
(In reply to Blou from comment #6)
> Examine opac-tmrpl/bootstrap/en/xslt/MARC21slim2OPACDetail.xsl around line
> 110 (just below the "Wrapper div" comment.  You'll find
> 
> <xsl:attribute name="class">record</xsl:attribute>
> 
> Translate, then look at the (fr-CA) version, you'll find

Translate how? You did not give the steps.

> 
> <xsl:attribute name="class">notice</xsl:attribute>
> 
> This will in turn create in the webpage some <div class="notice" instead of
> <div class="record" 
> 
> Bad.

Imagine I only how how to click and type. Tell me more detailed instructions
starting from:

1) vagrant up jessie
2) cd kohaclone
3) git checkout -b bug_21130 origin/master
3a) Oops... forgot to do the opac steps first to find the page that is broken.
3b) something about looking for something on a page where it is going to be
wrong.
4) git bz apply 21130
5) restart_all
6) sudo service apache2 restart
7) sudo systemctl daemon-reload
8) kshell
9) cd misc/translator
10) ./translate --help
-- I'm stuck.
11) open the opac
12) change language
-- oops... forgot to set some system preferences, but I'm playing ignorant, so
I'm stuck, because there is no way to change anything.
13) inspect the page source
    -- looking for something gives me the line that should be corrected now.

I need more details. I can fill in some of them, but this doesn't give me
enough information to test still. Imagine the person is trying to set up Koha
for the first time. Write instructions.

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


More information about the Koha-bugs mailing list