[Koha-translate] po-Files with wrong strings

Beda Szukics beda at kollegium-sarnen.ch
Wed May 23 17:25:28 CEST 2012


Hi all

I installed Koha 3.8.1.

I got the following error while installing the german translation:

koha at ...:/usr/share/koha/misc/translator$ perl translate install de-DE
Use of uninitialized value $key in hash element at
/usr/share/perl5/Locale/PO.pm line 466, <IN> line 97052.
Use of uninitialized value in hash element at
/usr/share/perl5/Locale/PO.pm line 449, <IN> line 97052.


less -N po/de-DE-i-staff-t-prog-v-3006000.po tells me:

  97050
  97051 # Meldung, wenn vorgemerktes Buch an falschen Benutzer
ausgeliehen werden soll
  97052 # Dienstrecherche - Medientypsuche

I guess that the last two lines should not appear in the po-file.


There is a similar error with it-IT:

koha at ...:/usr/share/koha/misc/translator$ perl translate install it-IT
Use of uninitialized value $key in hash element at
/usr/share/perl5/Locale/PO.pm line 466, <IN> line 17234.
Use of uninitialized value in hash element at
/usr/share/perl5/Locale/PO.pm line 449, <IN> line 17234.
Use of uninitialized value $key in hash element at
/usr/share/perl5/Locale/PO.pm line 466, <IN> line 96677.
Use of uninitialized value in hash element at
/usr/share/perl5/Locale/PO.pm line 449, <IN> line 96677.

and with pt-BR:

koha at ...:/usr/share/koha/misc/translator$ perl translate install pt-BR
Use of uninitialized value $key in hash element at
/usr/share/perl5/Locale/PO.pm line 466, <IN> line 17247.
Use of uninitialized value in hash element at
/usr/share/perl5/Locale/PO.pm line 449, <IN> line 17247.
Use of uninitialized value $key in hash element at
/usr/share/perl5/Locale/PO.pm line 466, <IN> line 96513.
Use of uninitialized value in hash element at
/usr/share/perl5/Locale/PO.pm line 449, <IN> line 96513.


But fr-FR works fine (I haven't tested other translations).


Any hints?


Beda


More information about the Koha-translate mailing list