From c9a0fbe7c6f13ca17dbac3e96647195a17c7af6a Mon Sep 17 00:00:00 2001 From: Indranil Das Gupta Date: Fri, 15 May 2015 01:12:11 +0530 Subject: [PATCH] Bug 14203: Message for non-existent lang removal A trivial string patch to update the error message displayed to user if koha-translate is used to attempt removal of a language that is not installed. Test plan ========= 1/ attempt to remove a non-existent language by /debian/scripts/koha-translate --remove 2/ it should show "Error: the selected language is not already installed." 3/ apply patch 4/ repeat step 1; it should show "Error: the selected language is not installed." Signed-off-by: Nick Clemens Signed-off-by: Jonathan Druart Signed-off-by: Tomas Cohen Arazi (cherry picked from commit d7dc11e61fea5dcc3f0087e46b6eee8d74c21c63) Signed-off-by: Chris Cormack Signed-off-by: Liz Rea --- debian/scripts/koha-translate | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/debian/scripts/koha-translate b/debian/scripts/koha-translate index 0d978a3479..72d09a5c0d 100755 --- a/debian/scripts/koha-translate +++ b/debian/scripts/koha-translate @@ -158,7 +158,7 @@ remove_lang() rm -rf $KOHA_INSTALL_DIR/opac/htdocs/opac-tmpl/bootstrap/$lang rm -rf $KOHA_INSTALL_DIR/intranet/htdocs/intranet-tmpl/prog/$lang else - die "Error: the selected language is not already installed." + die "Error: the selected language is not installed." fi else die "Error: no language code supplied." -- 2.39.5