]> git.koha-community.org Git - koha.git/commit
Bug 15080 - ./translate tool should tell if xgettext executable is missing
authorOlli-Antti Kivilahti <olli-antti.kivilahti@jns.fi>
Thu, 29 Oct 2015 13:40:50 +0000 (15:40 +0200)
committerFrédéric Demians <f.demians@tamil.fr>
Thu, 31 Dec 2015 18:04:02 +0000 (19:04 +0100)
commit43dd07d73a4df740f936e19f309ff1192d301e25
treeaf8ebe1243a21de7a479a87932a51ee0f5137740
parentb7604623e781bf464d19ae9fe82011a9e3a66b1d
Bug 15080 - ./translate tool should tell if xgettext executable is missing

Just upgraded our Koha container to 14.04 and noticing the
misc/translator/translate doesn't work.  This is because of a missing
package gettext.

This patch makes ./translate die with a helpful suggestion to install
gettext if xgettext-program is missing.

Signed-off-by: Frederic Demians <f.demians@tamil.fr>
  I can reproduce the bug by desinstalling 'gettext' package on a Debian
  box. I confirm that without this patch, 'translate' command fails
  miserably. Suggesting to install gettext package is welcomed.

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Jesse Weaver <jweaver@bywatersolutions.com>
(cherry picked from commit 37b0e2ce9cbc4ba5070d22c96b357ddea1db084b)
Signed-off-by: Julian Maurice <julian.maurice@biblibre.com>
(cherry picked from commit 52a9bed15f91699981b27cc78fee54fd9bd378df)
Signed-off-by: Frédéric Demians <f.demians@tamil.fr>
misc/translator/LangInstaller.pm