Bugzilla – Attachment 39423 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]
[PASSED QA] Bug 14203 - Message for non-existent lang removal
PASSED-QA-Bug-14203---Message-for-non-existent-lan.patch (text/plain), 1.47 KB, created by
Kyle M Hall (khall)
on 2015-05-22 14:55:03 UTC
(
hide
)
Description:
[PASSED QA] Bug 14203 - Message for non-existent lang removal
Filename:
MIME Type:
Creator:
Kyle M Hall (khall)
Created:
2015-05-22 14:55:03 UTC
Size:
1.47 KB
patch
obsolete
>From 5540eb807605e837da125527143579e04b478baa 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] [PASSED QA] 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." > >Signed-off-by: Nick Clemens <nick@quecheelibrary.org> > >Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> >--- > debian/scripts/koha-translate | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > >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.7.2.5
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