Bug 20198 - `›`missing in breadcrumb of translated pages of aqbudgets.pl
Summary: `›`missing in breadcrumb of translated pages of aqbudgets.pl
Status: RESOLVED MOVED
Alias: None
Product: Koha
Classification: Unclassified
Component: I18N/L10N (show other bugs)
Version: Main
Hardware: All All
: P5 - low minor (vote)
Assignee: Bugs List
QA Contact: Testopia
URL:
Keywords: Academy
Depends on:
Blocks:
 
Reported: 2018-02-14 16:19 UTC by Victor Grousset/tuxayo
Modified: 2019-02-11 10:28 UTC (History)
4 users (show)

See Also:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Victor Grousset/tuxayo 2018-02-14 16:19:46 UTC
Just after `Budgets` the `›` is somehow eaten by the translation process.

https://gitlab.com/koha-community/Koha/blob/0ad922011cc330397d9b680b0d045bfd48e85f44/koha-tmpl/intranet-tmpl/prog/en/modules/admin/aqbudgets.tt#L17

== Going further ==

Other pages affected?
Comment 1 Bernardo Gonzalez Kriegel 2018-05-04 12:49:48 UTC
Hi, what do you see after the translation?

On current master that line
... <a href="/cgi-bin/koha/admin/aqbudgetperiods.pl">Budgets</a> &rsaquo; [% IF..
is translated as 
...<a href="/cgi-bin/koha/admin/aqbudgetperiods.pl">Presupuestos</a> &rsaquo; [% IF..

using es-ES for example.

Translation script prefers strings inside tags, <a>...</a> in this case; if '&rsaquo;' remains alone, then it's also removed from translation files.
But that does not affect the translated result file, on first look.

Do you find a problem with the translated file?

Regards
Comment 2 Katrin Fischer 2019-02-10 13:29:27 UTC
Hi Victor, I think this is an issue with the French translation files, found an example here:

http://translate.koha-community.org/fr/translate/#search=All%20funds&sfields=source,target&soptions=exact,case&unit=443028&offset=0

&rsaquo; %s%sFunds for '%s'%sAll funds%s%s %s␠

%s%sPostes budgétaires pour '%s'%sTous les postes budgétaires%s%s %s

The &rsaquo; was left out when translating.

This needs to be fixed in the po files via translate.koha-community.org
Comment 3 Victor Grousset/tuxayo 2019-02-11 10:28:00 UTC
Thanks a lot Bernardo & Katrin , didn't though that the &rsaquo was in the .po file.