[Koha-bugs] [Bug 34307] Update plugin wrapper to use template wrapper for breadcrumbs

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Sun Aug 20 04:34:11 CEST 2023


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

--- Comment #7 from Victor Grousset/tuxayo <victor at tuxayo.net> ---
It works! So second signoff. I've reached for help about reviewing the code.

follow-up to improve i18n

But there is something weird, there is a part I couldn't change to improve the
extracted strings.

I did this:
```
<title>
    [% IF ( plugin_title ) %][% plugin_title | html %] › [% END %]
    <span>Plugins</span> ›
    [% IF ( method == 'tool' ) %]
        <span>Tools</span>
    [% ELSE %]
        <span>Administration</span>
    [% END %]
    › <span>Koha</span>
 </title>
```

and got this as a diff of the translation files
```
misc/translator/Koha-staff-prog.pot
+msgid "%s%s › %s <span>Plugins</span> › %s <span>Tools</span> %s
<span>Administration</span> %s › <span>Koha</span> "


misc/translator/po/fr-FR-staff-prog.po
+"%s%s › %s <span>Plugins</span> › %s <span>Tools</span> %s "
+"<span>Administration</span> %s › <span>Koha</span> "
+msgstr "Plugins › Outils › Koha "
```

But I see in the diff that I have individual occurrences of Plugins, Tools,
Administration, Koha linked with wrapper-staff-tool-plugin.inc:7

So it's liked it worked, and didn't work at the same time. I checked and the
bad occurences aren't in the commented out section of the .po.
And they contain the <span> so it's not the remains of the previous version.

Any hint?

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


More information about the Koha-bugs mailing list