]> 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)
committerJulian Maurice <julian.maurice@biblibre.com>
Thu, 31 Dec 2015 13:26:21 +0000 (14:26 +0100)
commit52a9bed15f91699981b27cc78fee54fd9bd378df
tree5aa7a7908af30df7c0fd951a966008c9f66b37e7
parent2763eb87de9a234d0ba8e84042ed26bfa7fbdadc
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>
misc/translator/LangInstaller.pm