Bug 15395 broke the translations handling process. Steps to reproduce: - Run: $ kshell k$ cd misc/translator k$ perl translate update fr-FR => FAIL: You get an error: system call failed: /bin/sed --in-place /home/vagrant/kohaclone/misc/translator/Koha.pot --expression='s/charset=CHARSET/charset=UTF-8/' at /home/vagrant/kohaclone/misc/translator/LangInstaller.pm line 655. - Create a new set of language translation files: k$ perl translate create xx-YY => FAIL: You get an error: /bin/sed: can't read /home/vagrant/kohaclone/misc/translator/Koha.pot: No such file or directory system call failed: /bin/sed --in-place /home/vagrant/kohaclone/misc/translator/Koha.pot --expression='s/charset=CHARSET/charset=UTF-8/' at /home/vagrant/kohaclone/misc/translator/LangInstaller.pm line 655. Note: the translation files get updated/generated, but the error breaks any automatic pipeline.
Created attachment 82306 [details] [review] Bug 21823: Force creation of POT file even if there is no messages
Created attachment 82353 [details] [review] Bug 21823: Force creation of POT file even if there is no messages Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Created attachment 82518 [details] [review] Bug 21823: Force creation of POT file even if there is no messages Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Trivial fix works as expected. Passing QA
Awesome work all! Pushed to master for 18.11
Not able to backport to 18.05.