Bugzilla – Attachment 39202 Details for
Bug 14203
koha-translate error string for non-existent lang removal
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 14203 - Message for non-existent lang removal
Bug-14203---Message-for-non-existent-lang-removal.patch (text/plain), 1.34 KB, created by
Indranil Das Gupta
on 2015-05-14 19:47:54 UTC
(
hide
)
Description:
Bug 14203 - Message for non-existent lang removal
Filename:
MIME Type:
Creator:
Indranil Das Gupta
Created:
2015-05-14 19:47:54 UTC
Size:
1.34 KB
patch
obsolete
>From c0c0e1ad379446e15b2e2278c4df40f7b81be7fd Mon Sep 17 00:00:00 2001 >From: Indranil Das Gupta <indradg@gmail.com> >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 > <installdir>/debian/scripts/koha-translate --remove <langcode> >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." >--- > 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 23c51df..af6ac43 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." >-- >1.9.1
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 14203
:
39202
|
39204
|
39422
|
39423