Browse Source
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>20.11.x
10 changed files with 44 additions and 5 deletions
@ -0,0 +1,29 @@ |
|||
-- |
|||
-- 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>. |
|||
|
|||
UPDATE systempreferences SET value = 'padre|madre' WHERE variable = 'borrowerRelationship'; |
|||
UPDATE systempreferences SET value = 'Sr.|Sra.' WHERE variable = 'BorrowersTitles'; |
|||
UPDATE systempreferences SET value = 'FR' WHERE variable = 'CurencyFormat'; |
|||
UPDATE systempreferences SET value = 'US' WHERE variable = 'AddressFormat'; |
|||
UPDATE systempreferences SET value = 'metric' WHERE variable = 'dateformat'; |
|||
UPDATE systempreferences SET value = 'ddc' WHERE variable = 'DefaultClassificationSource'; |
|||
UPDATE systempreferences SET value = 'Bienvenido al catálogo!' WHERE variable = 'OpacMainUserBlock'; |
|||
UPDATE systempreferences SET value = '' WHERE variable = 'OpacNav'; |
|||
UPDATE systempreferences SET value = '' WHERE variable = 'OpacNavBottom'; |
|||
UPDATE systempreferences SET value = '1' WHERE variable = 'CalendarFirstDayOfWeek'; |
|||
UPDATE systempreferences SET value = '1' WHERE variable = 'opaclanguagesdisplay'; |
@ -0,0 +1 @@ |
|||
Standard systempreferanser. |
@ -1 +0,0 @@ |
|||
Standard systempreferanser. |
Loading…
Reference in new issue