Bug 15080 - ./translate tool should tell if xgettext executable is missing
commit37b0e2ce9cbc4ba5070d22c96b357ddea1db084b
authorOlli-Antti Kivilahti <olli-antti.kivilahti@jns.fi>
Thu, 29 Oct 2015 13:40:50 +0000 (29 15:40 +0200)
committerJesse Weaver <jweaver@bywatersolutions.com>
Wed, 30 Dec 2015 23:23:44 +0000 (30 16:23 -0700)
tree4dceb21763f1149c2b1365ba3153376a789504c0
parent8255e2ec1f37103872419afbb83be369a95a1352
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>
misc/translator/LangInstaller.pm