[Koha-bugs] [Bug 10935] CSV for basket and basketgroup are broken when translated

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Sep 23 17:18:30 CEST 2013


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=10935

--- Comment #1 from Jonathan Druart <jonathan.druart at biblibre.com> ---
Created attachment 21377
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=21377&action=edit
Bug 10935: CSV are broken using other language than english.

To reproduce:
- cd misc/translator
- ./translate update LANG
- ./translate install LANG
- go to the Koha mainpage and change the language.
- go to acqui/basketgroup.pl?booksellerid=XX and try to export a
  basketgroup.
The headers is followed by the first basketgroup information. There is
no carriage return.

It looks like it is caused by a routine used by the translator script
(TmplTokenizer::string_canon).

To test this patch:
- apply it
- cd misc/translator
- ./translate -f update LANG
- translate headers in your po file
- ./translate -f install LANG
- go to acqui/basketgroup.pl?booksellerid=XX and try to export a
  basketgroup.
- verify that the csv looks good now.
- same thing for basket.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list