]> 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 12:58:57 +0000 (13:58 +0100)
commit8bbd5b78c57988db18118dae0436611cb0ffe8e8
tree82e932808ba2e081bea536772dbd1c2c38c9acd7
parent29bb1b4be3b10f34f010cdda233a2db4d481062b
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