[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 13:30:19 CEST 2013


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

Frédéric Demians <frederic at tamil.fr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |Needs Signoff
           Assignee|koha-bugs at lists.koha-commun |frederic at tamil.fr
                   |ity.org                     |

--- Comment #4 from Frédéric Demians <frederic at tamil.fr> ---
Created attachment 18132
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=18132&action=edit
Proposed patch

With this patch, header is created when creating a new syspref .po file
for a new language (translate create), and is added if it doesn't
already exist when updating an existing language (translate update).

To test:

(1) Create a new language syspref file:

    ./translate create -p xx-XX

    Check that there is an header

(2) Update an existing syspref file without header:

    ./translate update fr-FR

    Check that fr-FR-pref.po has a header

(3) Update an existing syspref file with header:

    Modify fr-FR-pref.po. Add an email, or whatever.

    ./translate update fr-FR

    Check that fr-FR-pref.po has a header with the manual modification

-- 
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