]> 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)
committerTomas Cohen Arazi <tomascohen@theke.io>
Wed, 1 Nov 2023 20:23:19 +0000 (17:23 -0300)
commit0584a2016e6c2b3811524a02cd5f4cb6a26fcb65
tree62abbb3b420a4fa4435389da4d16f823fc26b047
parentf380181fc4bc5581558f3582d29f3156be5f6b74
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>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
gulpfile.js