[Bug 8257] New: Translation scripts show lots of warnings
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8257 Priority: P5 - low Change sponsored?: --- Bug ID: 8257 CC: frederic@tamil.fr Assignee: koha-bugs@lists.koha-community.org Summary: Translation scripts show lots of warnings Severity: normal Classification: Unclassified OS: All Reporter: katrin.fischer@bsz-bw.de Hardware: All Status: NEW Version: master Component: I18N/L10N Product: Koha When running the translation scripts with "perl translate install ..." a lot of warnings are shown: Use of uninitialized value in pattern match (m//) at /usr/share/perl5/Locale/PO.pm line 472, <IN> line 95569. Use of uninitialized value $key in hash element at /usr/share/perl5/Locale/PO.pm line 472, <IN> line 95569. Use of uninitialized value in pattern match (m//) at /usr/share/perl5/Locale/PO.pm line 472, <IN> line 95569. Use of uninitialized value in hash element at /usr/share/perl5/Locale/PO.pm line 343, <IN> line 95569. ... My test was on current master with uk-UA, but it also happens with other languages. Translation process still seems to be working and finishes. -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8257 Frédéric Demians <frederic@tamil.fr> changed: What |Removed |Added ---------------------------------------------------------------------------- Severity|normal |trivial --- Comment #1 from Frédéric Demians <frederic@tamil.fr> ---
Use of uninitialized value in pattern match (m//) at /usr/share/perl5/Locale/PO.pm line 472, <IN> line 95569.
As you can see, it always happens on this line. This is at the end of staff interface .po file. At this place, there are few lines of comments which have nothing to do there. You could delete them, and you will see that the translation script will stop throwing this warning. It's really safe. We may clean all .po files. -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8257 Bernardo Gonzalez Kriegel <bgkriegel@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |bgkriegel@gmail.com Resolution|--- |FIXED --- Comment #2 from Bernardo Gonzalez Kriegel <bgkriegel@gmail.com> --- (In reply to Frédéric Demians from comment #1)
... We may clean all .po files.
For 3.18 release all translation files have been fixed/cleaned There are no warnings on install or update for all languages. -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org