[Koha-bugs] [Bug 7478] New: Template/translation problem in catalogue_out.tt
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Tue Jan 31 08:29:35 CET 2012
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7478
Bug #: 7478
Summary: Template/translation problem in catalogue_out.tt
Classification: Unclassified
Change sponsored?: ---
Product: Koha
Version: master
Platform: All
OS/Version: All
Status: NEW
Severity: minor
Priority: P5 - low
Component: I18N/L10N
AssignedTo: frederic at tamil.fr
ReportedBy: katrin.fischer at bsz-bw.de
QAContact: koha.sekjal at gmail.com
Spotted while working on a translation bug, reporting so that it does not get
lost:
intranet-tmpl/prog/en/modules/reports/catalogue_out.tt:
[% IF ( looptable.looprow ) %]
[% FOREACH loopro IN looptable.looprow %]
[% DEFAULT
loopro.itemcallnumber="No Call Number"
loopro.barcode="No Barcode"
loopro.title="NO TITLE"
loopro.author=""
%]
[% UNLESS ( loop.odd ) %]<tr class="highlight">
[% ELSE %]<tr>[% END %]
staff po file:
%s %s [%% DEFAULT loopro.itemcallnumber=\"No Call Number\" loopro.barcode=\"No
Barcode\" loopro.title=\"NO TITLE\" loopro.author=\"\" %%] %s
That will not work if translated like that.
It also seems like " are escaped in the po files now, which does not seem right
to me. There are other examples, that will break things if copied over with
espcaped double quotes.
--
Configure bugmail: http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.
More information about the Koha-bugs
mailing list