[Koha-bugs] [Bug 28773] Aquisitions from external source not working for non english language

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Jul 30 09:03:46 CEST 2021


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

--- Comment #7 from Marcel de Rooy <m.de.rooy at rijksmuseum.nl> ---
(In reply to Jonathan Druart from comment #1)
> For translated interface.
> 
> Using 'Order' (the button text) was not a good idea as the interface can
> be translated :)

Hmm. The problem is not the button text, but the title attribute.

Some attributes are also translated:

 <li><a class="chosen" data-action="order"
href="/cgi-bin/koha/acqui/neworderempty.pl?frameworkcode=[% frameworkcode | uri
%]&breedingid=[% breeding_loo.breedingid | uri %]&booksellerid=[% booksellerid
| uri %]&basketno=[% basketno | uri %]" title="Bestellung"><i class="fa
fa-plus"></i> [% tp('verb', 'Order') | html %]</a></li>

xgettext.pl contains:

if ( $a =~ /title|value|alt|content|placeholder|aria-label/ ) {

But your patch resolves the bug with another (untranslated) attribute.

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


More information about the Koha-bugs mailing list