74a13ab801
It adds a new localization directory that could host a custom SQL file for each language, xx-YY/custom.sql This will be the last file to be loaded at install time, it can be used to set any difference from default values. It can't be deselected at install time. Moved corresponding files for de-DE, it-IT, nb-NO and completed es-ES To test: 1) Apply the patch 2) Install es-ES/de-DE/it-IT/nb-NO translation (any lang) ( cd misc/translation; ./translate install es-ES ) 3) Do a clean install using es-ES 4) After all files have been loaded check: * A new section labeled "Localization data added" with one file, custom.sql * Inspect the value of FrameworksLoaded syspref, last entry must be custom.sql 5) Remove/rename the file or localization dir and repeat 3/4, install must proceed normally Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
64 lines
4.3 KiB
SQL
64 lines
4.3 KiB
SQL
--
|
|
-- System preferences that differ from the global defaults
|
|
--
|
|
-- This file is part of Koha.
|
|
--
|
|
-- Koha is free software; you can redistribute it and/or modify it
|
|
-- under the terms of the GNU General Public License as published by
|
|
-- the Free Software Foundation; either version 3 of the License, or
|
|
-- (at your option) any later version.
|
|
--
|
|
-- Koha is distributed in the hope that it will be useful, but
|
|
-- WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
-- GNU General Public License for more details.
|
|
--
|
|
-- You should have received a copy of the GNU General Public License
|
|
-- along with Koha; if not, see <http://www.gnu.org/licenses>.
|
|
|
|
-- Koha is free software; you can redistribute it and/or modify it under the
|
|
-- terms of the GNU General Public License as published by the Free Software
|
|
-- Foundation; either version 2 of the License' WHERE variable = ' or (at your option) any later
|
|
-- version.
|
|
|
|
UPDATE systempreferences SET value = 'cataloguing' WHERE variable = 'AcqCreateItem';
|
|
UPDATE systempreferences SET value = '1' WHERE variable = 'AllowRenewalLimitOverride';
|
|
UPDATE systempreferences SET value = 'annual' WHERE variable = 'autoBarcode';
|
|
UPDATE systempreferences SET value = 'email' WHERE variable = 'AutoEmailPrimaryAddress';
|
|
UPDATE systempreferences SET value = '1' WHERE variable = 'BiblioAddsAuthorities';
|
|
UPDATE systempreferences SET value = 'surname|cardnumber' WHERE variable = 'BorrowerMandatoryField';
|
|
UPDATE systempreferences SET value = '0' WHERE variable = 'BorrowersLog';
|
|
UPDATE systempreferences SET value = 'Sig|Sig.ra|Sig.na' WHERE variable = 'BorrowersTitles';
|
|
UPDATE systempreferences SET value = '0' WHERE variable = 'CataloguingLog';
|
|
UPDATE systempreferences SET value = 'FR' WHERE variable = 'CurrencyFormat';
|
|
UPDATE systempreferences SET value = 'metric' WHERE variable = 'dateformat';
|
|
UPDATE systempreferences SET value = 'title' WHERE variable = 'defaultSortField';
|
|
UPDATE systempreferences SET value = 'asc' WHERE variable = 'defaultSortOrder';
|
|
UPDATE systempreferences SET value = '0' WHERE variable = 'FinesLog';
|
|
UPDATE systempreferences SET value = '1' WHERE variable = 'GoogleJackets';
|
|
UPDATE systempreferences SET value = '0' WHERE variable = 'IssueLog';
|
|
UPDATE systempreferences SET value = 'whitespace' WHERE variable = 'itemBarcodeInputFilter';
|
|
UPDATE systempreferences SET value = '676a' WHERE variable = 'itemcallnumber';
|
|
UPDATE systempreferences SET value = 'koha@xxx.it' WHERE variable = 'KohaAdminEmailAddress';
|
|
UPDATE systempreferences SET value = 'en,it-IT' WHERE variable = 'language';
|
|
UPDATE systempreferences SET value = '0' WHERE variable = 'LetterLog';
|
|
UPDATE systempreferences SET value = '' WHERE variable = 'MARCOrgCode';
|
|
UPDATE systempreferences SET value = '5' WHERE variable = 'maxreserves';
|
|
UPDATE systempreferences SET value = '0' WHERE variable = 'OpacAuthorities';
|
|
UPDATE systempreferences SET value = 'title' WHERE variable = 'OPACdefaultSortField';
|
|
UPDATE systempreferences SET value = 'asc' WHERE variable = 'OPACdefaultSortOrder';
|
|
UPDATE systempreferences SET value = 'en,it-IT' WHERE variable = 'opaclanguages';
|
|
UPDATE systempreferences SET value = '1' WHERE variable = 'opaclanguagesdisplay';
|
|
UPDATE systempreferences SET value = '<h3>Benvenuto !!</h3>' WHERE variable = 'OpacMainUserBlock';
|
|
UPDATE systempreferences SET value = 'Links importanti qui.' WHERE variable = 'OpacNav';
|
|
UPDATE systempreferences SET value = '0' WHERE variable = 'OPACShelfBrowser';
|
|
UPDATE systempreferences SET value = '1' WHERE variable = 'OPACURLOpenInNewWindow';
|
|
UPDATE systempreferences SET value = '0' WHERE variable = 'QueryFuzzy';
|
|
UPDATE systempreferences SET value = '0' WHERE variable = 'QueryStemming';
|
|
UPDATE systempreferences SET value = '0' WHERE variable = 'QueryWeightFields';
|
|
UPDATE systempreferences SET value = '1' WHERE variable = 'TagsModeration';
|
|
UPDATE systempreferences SET value = '30600' WHERE variable = 'timeout';
|
|
UPDATE systempreferences SET value = '1' WHERE variable = 'UseICU';
|
|
UPDATE systempreferences SET value = 'URLLinkText' WHERE variable = 'URLLinkText';
|
|
|
|
UPDATE systempreferences SET value = '#200|<span style=\"font-weight:bold\">|{200a}{. 200c}{ : 200e}{200d}{ / 200f}{ ; 200g}{. 200h}{. 200i}|</span>\r\n#210|. – |{210a}{ : 210c}{, 210d}|\r\n#215|. – |{215a}{ ; 215d}|\r\n#225|. – |{(225a}{ ; 225v)}|\r\n#010|. – |{ISBN 010a}|' WHERE variable = 'ISBD';
|