[Koha-bugs] [Bug 30676] New: View all ... preferences links don't work for translations

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed May 4 14:45:11 CEST 2022


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

            Bug ID: 30676
           Summary: View all ... preferences links don't work for
                    translations
 Change sponsored?: ---
           Product: Koha
           Version: 20.11
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P5 - low
         Component: Templates
          Assignee: oleonard at myacpl.org
          Reporter: katrin.fischer at bsz-bw.de
        QA Contact: testopia at bugs.koha-community.org

When you search for a preference, you can see a link "View all x preferences"
with x being the heading related preferences are listed under.

The problem is, that while the link uses the English ID, the ID on the heading
gets translated, so the links are broken.

Example:
View all self check-in preferences
https://elk-wue.bsz-bw.de:8080/cgi-bin/koha/admin/preferences.pl?tab=circulation#Self_check-in_module

But the heading translated is:
<h3 id="Selbstr_ckgabe"><i class="fa fa-caret-down"></i> Selbstrückgabe</h3>

(There also appears to be an encoding issue)


This is because the heading and the ID get translated by Pootle and it's the
same string for description and ID:

https://translate.koha-community.org/de/21.11/translate/de-DE-pref.po#unit=19683992


It's sad, because the feature is so nice :(

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


More information about the Koha-bugs mailing list