]> git.koha-community.org Git - koha.git/commit
Bug 35079: Rebuild POT files only if necessary or asked explicitely
authorJulian Maurice <julian.maurice@biblibre.com>
Tue, 17 Oct 2023 14:33:37 +0000 (16:33 +0200)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Wed, 8 Nov 2023 14:18:42 +0000 (15:18 +0100)
commit6391781a9a610ca73fc20aa428dcd0a152d11fbb
tree1d923c4191fb2f3591edf577ec0268023c59f7bd
parent1f8cf0202093afc61e0726c50739e957c4543230
Bug 35079: Rebuild POT files only if necessary or asked explicitely

By default, gulp tasks po:create and po:update won't rebuild the POT
files if they already exist.
Both tasks gained a new option --force-extract to rebuild them
unconditionally

This makes it possible to create/update PO files for multiple languages
sequentially without rebuilding the POT file for each language.
For instance:

    gulp po:update --lang fr-FR
    # do something with the PO files
    gulp po:update --lang en-GB
    # ...

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
gulpfile.js