[Koha-bugs] [Bug 31718] New: Change the IF ELSE values in marc_subfields_structure breadcrumbs to facilitate translation
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Fri Oct 7 22:32:00 CEST 2022
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31718
Bug ID: 31718
Summary: Change the IF ELSE values in marc_subfields_structure
breadcrumbs to facilitate translation
Change sponsored?: ---
Product: Koha
Version: master
Hardware: All
OS: All
Status: NEW
Severity: enhancement
Priority: P5 - low
Component: Templates
Assignee: oleonard at myacpl.org
Reporter: caroline.cyr-la-rose at inlibro.com
QA Contact: testopia at bugs.koha-community.org
This section of the breadcrumb in marc_subfields_structure.tt controls if it
says we are in the default framework structure or the XYZ framework structure.
[% IF ( frameworkcode ) %]
[% frameworkcode | html %]
[% ELSE %]
<span>Default</span>
[% END %] <span>framework structure</span>
Before bug 29602, the string to translate looked like this
%s %s %s Default %s framework structure
Now, the 'Default' and the 'framework structure' are two different strings.
However, in French, the correct syntax is 'framework structure default'. Before
bug 29602, we could play around with the %s to accomodate the different syntax
structure.
Since the option to move the %s was removed, I propose we write the whole
phrase 'Default framework structure' or 'XYZ framework structure' in the IF
ELSE.
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list