[Koha-bugs] [Bug 10214] malformed syspref.po file

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue May 14 12:40:31 CEST 2013


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

Paul Poulain <paul.poulain at biblibre.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bgkriegel at gmail.com

--- Comment #2 from Paul Poulain <paul.poulain at biblibre.com> ---
Le 07/05/2013 18:42, Bernardo Gonzalez Kriegel a écrit :> 
> I use to download syspref.po, add the header and then upload to pootle.
> We may check how is created/updated.
> 
The .po files are generated by misc/translator/translate script.

Digging a little, I've found that the culprit is probably in LangInstaller.pm,
sub save_po {
    my $self = shift;
    # Write .po entries into a file put in Koha standard po directory
    Locale::PO->save_file_fromhash( $self->po_filename, $self->{po} );
    say "Saved in file: ", $self->po_filename if $self->{verbose};

Other .po are generated by tmpl_process3.pl AFAIK (but i'm not a translation
process specialist, I may be wrong)

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


More information about the Koha-bugs mailing list