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

--- Comment #7 from Victor Grousset/tuxayo <[email protected]> ---
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 %] &rsaquo; [% END %]
    <span>Plugins</span> &rsaquo;
    [% IF ( method == 'tool' ) %]
        <span>Tools</span>
    [% ELSE %]
        <span>Administration</span>
    [% END %]
    &rsaquo; <span>Koha</span>
 </title>
```

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


misc/translator/po/fr-FR-staff-prog.po
+"%s%s &rsaquo; %s <span>Plugins</span> &rsaquo; %s <span>Tools</span> %s "
+"<span>Administration</span> %s &rsaquo; <span>Koha</span> "
+msgstr "Plugins &rsaquo; Outils &rsaquo; 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.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to