From 782e3251c043d3f3671e1eeff7b195939afd5db2 Mon Sep 17 00:00:00 2001 From: Tomas Cohen Arazi Date: Tue, 11 Jun 2013 11:13:59 -0300 Subject: [PATCH] Bug 10447: add 'ru' and 'uk' to Zebra indexing language list MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit 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. Sponsored-by: Universidad Nacional de Córdoba Signed-off-by: Chris Cormack Signed-off-by: Katrin Fischer Reran Makefile.pl and made sure the language options show up now. Patch extends existing language code lists addings nb, ru and uk where missing. Signed-off-by: Galen Charlton --- 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 d02a944d36..faedf839e0 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 d879a69beb..491da629e7 100644 --- a/debian/docs/koha-create.xml +++ b/debian/docs/koha-create.xml @@ -26,7 +26,7 @@ koha-create ||| marc21|normarc|unimarc - en|nb|fr + en|es|fr|nb|ru|uk /path/to/some.sql /path/to/config /path/to/passwd diff --git a/debian/scripts/koha-create b/debian/scripts/koha-create index 830c747076..a0a830adfc 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" -- 2.39.5