Summary: | ./translate-tool should tell if xgettext-executable is missing | ||
---|---|---|---|
Product: | Koha | Reporter: | Olli-Antti Kivilahti <olli-antti.kivilahti> |
Component: | translate.koha-community.org | Assignee: | Olli-Antti Kivilahti <olli-antti.kivilahti> |
Status: | CLOSED FIXED | QA Contact: | Testopia <testopia> |
Severity: | enhancement | ||
Priority: | P5 - low | CC: | f.demians, julian.maurice, jweaver |
Version: | Main | ||
Hardware: | All | ||
OS: | All | ||
GIT URL: | Change sponsored?: | --- | |
Patch complexity: | --- | Documentation contact: | |
Documentation submission: | Text to go in the release notes: | ||
Version(s) released in: | Circulation function: | ||
Attachments: |
Bug 15080 - ./translate-tool should tell if xgettext-executable is missing
Bug 15080 - ./translate tool should tell if xgettext executable is missing Bug 15080 - ./translate tool should tell if xgettext executable is missing |
Description
Olli-Antti Kivilahti
2015-10-29 13:40:40 UTC
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. |