Bug 17322 - Translation breaks opac-ics.tt
authorMarc Véron <veron@veron.ch>
Tue, 20 Sep 2016 14:11:22 +0000 (16:11 +0200)
committerFrédéric Demians <f.demians@tamil.fr>
Fri, 30 Sep 2016 08:58:15 +0000 (10:58 +0200)
commit8ec4b5b7d4c39a5db05fc13d384412d510206b44
treee991768959bdf12da0a9f591430b7a1609ee13ce
parent68c21aabe99fb12ef3987a142f5cc0389422a7bd
Bug 17322 - Translation breaks opac-ics.tt

This patch adds newlines to opac-ics.tt that are preserved by the translating process.

To test:
- Apply patch
- Create a translation (perl translate xy-XY)
- With a text editor or poedit, translate misc/translator/po/xy-XY-opac-bootstrap.po
  (it is enough to translate "%s %s %s %s is overdue %sYour copy of........")
- Install language xx-XY and select it for OPAC (perl translate install xy-XY)
- Make sure you have at least a couple of loans, including one overdue
- Go to /cgi-bin/koha/opac-user.pl and click on the link labeled "Download as
  iCal/.ics file"
- Inspect the file in a text editor and/or view the result in a calendar
  appplication. Make sure the data makes sense. Compare it to the english version.

Signed-off-by: Josef Moravec <josef.moravec@gmail.com>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
(cherry picked from commit 756c0f93187174f22d95825f51c4dfa21b11803a)
Signed-off-by: Frédéric Demians <f.demians@tamil.fr>
koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-ics.tt