[Koha-patches] [PATCH 2/2] Bug 10447 - Language definitions for 'ru' and 'uk' are not available during install
Tomas Cohen Arazi
tomascohen at gmail.com
Tue Jun 11 16:22:18 CEST 2013
This patch add the option to choose 'ru' and 'uk' during install for zebra.
Should work for a tarball install, and make 'ru' and 'uk' available for using
with koha-create too.
Regards
To+
Sponsored-by: Universidad Nacional de Córdoba
---
Makefile.PL | 2 +-
debian/docs/koha-create.xml | 2 +-
debian/scripts/koha-create | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/Makefile.PL b/Makefile.PL
index d02a944..faedf83 100644
--- a/Makefile.PL
+++ b/Makefile.PL
@@ -477,7 +477,7 @@ my %valid_config_values = (
'AUTH_INDEX_MODE' => { 'grs1' => 1, 'dom' => 1 },
'BIB_INDEX_MODE' => { 'grs1' => 1, 'dom' => 1 },
'ZEBRA_MARC_FORMAT' => { 'marc21' => 1, 'normarc' => 1, 'unimarc' => 1 }, # FIXME should generate from contents of distributation
- 'ZEBRA_LANGUAGE' => { 'en' => 1, 'es' => 1, 'fr' => 1, 'nb' => 1 }, # FIXME should generate from contents of distribution
+ 'ZEBRA_LANGUAGE' => { 'en' => 1, 'es' => 1, 'fr' => 1, 'nb' => 1, 'ru' => 1, 'uk' => 1 }, # FIXME should generate from contents of distribution
'ZEBRA_TOKENIZER' => { chr => 1, icu => 1 },
'RUN_DATABASE_TESTS' => { 'yes' => 1, 'no' => 1 },
'USE_MEMCACHED' => { 'yes' => 1, 'no' => 1 },
diff --git a/debian/docs/koha-create.xml b/debian/docs/koha-create.xml
index d879a69..491da62 100644
--- a/debian/docs/koha-create.xml
+++ b/debian/docs/koha-create.xml
@@ -26,7 +26,7 @@
<command>koha-create</command>
<arg choice="req"><option>--create-db</option>|<option>--request-db</option>|<option>--populate-db</option>|<option>--use-db</option></arg>
<arg><option>--marcflavor</option> marc21|normarc|unimarc</arg>
- <arg><option>--zebralang</option> en|nb|fr</arg>
+ <arg><option>--zebralang</option> en|es|fr|nb|ru|uk</arg>
<arg><option>--defaultsql</option> /path/to/some.sql</arg>
<arg><option>--configfile</option> /path/to/config</arg>
<arg><option>--passwdfile</option> /path/to/passwd</arg>
diff --git a/debian/scripts/koha-create b/debian/scripts/koha-create
index 446c59d..8172bae 100755
--- a/debian/scripts/koha-create
+++ b/debian/scripts/koha-create
@@ -21,7 +21,7 @@ set -e
usage="Usage: $0 [--create-db|--request-db|--populate-db|--use-db] \
[--marcflavor marc21|normarc|unimarc] \
- [--zebralang en|nb|fr|es] \
+ [--zebralang en|es|fr|nb|ru|uk] \
[--defaultsql /path/to/some.sql] \
[--configfile /path/to/config] [--passwdfile /path/to/passwd] \
[--database database] [--adminuser n] instancename"
--
1.7.9.5
More information about the Koha-patches
mailing list