Bugzilla – Attachment 39422 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.47 KB, created by
Jonathan Druart
on 2015-05-22 14:52:00 UTC
(
hide
)
Description:
Bug 14203 - Message for non-existent lang removal
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2015-05-22 14:52:00 UTC
Size:
1.47 KB
patch
obsolete
>From 639c05c746ffbb197c8859a8208c3c2d9f7cb73b 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." > >Signed-off-by: Nick Clemens <nick@quecheelibrary.org> > >Signed-off-by: Jonathan Druart <jonathan.druart@koha-community.org> >--- > 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." >-- >2.1.0
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