]> 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 10:00:59 +0000 (11:00 +0100)
commit278cb792aaa4a3e273afa388a3eb8306b0f2d615
tree3198515bdc691803c18909283f7aaa2551354200
parent8800c36faa81e4bd7323eaf9e72dbffe0eb53335
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