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.
Created attachment 44150 [details] [review] 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.
Created attachment 44297 [details] [review] 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.
Created attachment 45057 [details] [review] 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>
Pushed to master. Thanks for your contribution!
Patch pushed to 3.22.x, will be in 3.22.2
This patch has been pushed to 3.20.x, will be in 3.20.8.