Bugzilla – Attachment 86769 Details for
Bug 22471
Default Finnish values for web installer
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 22471: Add system preferences for Finnish installer
Bug-22471-Add-system-preferences-for-Finnish-insta.patch (text/plain), 4.72 KB, created by
Lari Taskula
on 2019-03-20 00:47:54 UTC
(
hide
)
Description:
Bug 22471: Add system preferences for Finnish installer
Filename:
MIME Type:
Creator:
Lari Taskula
Created:
2019-03-20 00:47:54 UTC
Size:
4.72 KB
patch
obsolete
>From 0387b04a836868ea2edc18b22107dce5ec108794 Mon Sep 17 00:00:00 2001 >From: Lari Taskula <lari.taskula@hypernova.fi> >Date: Fri, 15 Mar 2019 19:03:52 +0000 >Subject: [PATCH] Bug 22471: Add system preferences for Finnish installer > >To test: >1. Apply all patches in this Bug >2. Create an empty database. Make sure database user has permissions to it and > $KOHA_CONF is pointing to the correct database. >3. Add Finnish translation, for help, see: > https://wiki.koha-community.org/wiki/Installation_of_additional_languages_for_OPAC_and_INTRANET_staff_client >4. Run web installer and select fi-FI as installer language >5. Select all mandatory and optional default values >6. Finish installation and make sure you get no SQL errors > >Sponsored-by: Hypernova Oy >--- > .../fi-FI/mandatory/system_preferences.sql | 43 +++++++++++++++++++ > .../fi-FI/mandatory/system_preferences.txt | 1 + > 2 files changed, 44 insertions(+) > create mode 100644 installer/data/mysql/fi-FI/mandatory/system_preferences.sql > create mode 100644 installer/data/mysql/fi-FI/mandatory/system_preferences.txt > >diff --git a/installer/data/mysql/fi-FI/mandatory/system_preferences.sql b/installer/data/mysql/fi-FI/mandatory/system_preferences.sql >new file mode 100644 >index 0000000000..835390696e >--- /dev/null >+++ b/installer/data/mysql/fi-FI/mandatory/system_preferences.sql >@@ -0,0 +1,43 @@ >+-- >+-- 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 2 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, write to the Free Software Foundation, Inc., >+-- 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. >+ >+UPDATE systempreferences SET value = 'takaaja' WHERE variable = 'borrowerRelationship'; >+UPDATE systempreferences SET value = '' WHERE variable = 'BorrowersTitles'; >+UPDATE systempreferences SET value = 'FR' WHERE variable = 'CurencyFormat'; >+UPDATE systempreferences SET value = 'de' WHERE variable = 'AddressFormat'; >+UPDATE systempreferences SET value = 'dmydot' WHERE variable = 'dateformat'; >+UPDATE systempreferences SET value = 'z' WHERE variable = 'DefaultClassificationSource'; >+UPDATE systempreferences SET value = 'Tervetuloa Kohan asiakaskäyttöliittymään!' WHERE variable = 'OpacMainUserBlock'; >+UPDATE systempreferences SET value = '' WHERE variable = 'OpacNav'; >+UPDATE systempreferences SET value = '' WHERE variable = 'OpacNavBottom'; >+UPDATE systempreferences SET value = >+ '<li><a href="http://worldcat.org/search?q={TITLE}" target="_blank">Muut kirjastot (WorldCat)</a></li> >+ <li><a href="http://www.scholar.google.com/scholar?q={TITLE}" target="_blank">Google Scholar</a></li> >+ <li><a href="http://www.bookfinder.com/search/?author={AUTHOR}&title={TITLE}&st=xl&ac=qr" target="_blank">Verkkokaupat (Bookfinder.com)</a></li> >+ <li><a href="https://openlibrary.org/search/?author=({AUTHOR})&title=({TITLE})" target="_blank">Open Library (openlibrary.org)</a></li>' >+ WHERE variable = 'OPACSearchForTitleIn'; >+-- Sunday = 0, Monday = 1, etc. >+UPDATE systempreferences SET value = '1' WHERE variable = 'CalendarFirstDayOfWeek'; >+UPDATE systempreferences SET value = '0.24|0.14|0.10|0.00' WHERE variable = 'gist'; >+UPDATE systempreferences SET value = 'Vaihda tämä ilmoitus muokkaamalla järjestelmäasetusta <a href="/cgi-bin/koha/admin/preferences.pl?op=search&searchfield=RoutingListNote#jumped">RoutingListNote</a>.' where variable = 'RoutingListNote'; >+UPDATE systempreferences SET value = 'barcode' WHERE variable = 'uniqueitemfields'; >+UPDATE systempreferences SET value = 'fi-FI,en' WHERE variable = 'language'; >+UPDATE systempreferences SET value = 'fi-FI,en' WHERE variable = 'opaclanguages'; >+UPDATE systempreferences SET value = '1' WHERE variable = 'opaclanguagesdisplay'; >+UPDATE systempreferences SET value = 'fin' WHERE variable = 'DefaultLanguageField008'; >+UPDATE systempreferences SET value = 'A B C D E F G H I J K L M N O P Q R S T U V W X Y Z à à Ã' WHERE variable = 'alphabet'; >diff --git a/installer/data/mysql/fi-FI/mandatory/system_preferences.txt b/installer/data/mysql/fi-FI/mandatory/system_preferences.txt >new file mode 100644 >index 0000000000..4b5a6bf4e8 >--- /dev/null >+++ b/installer/data/mysql/fi-FI/mandatory/system_preferences.txt >@@ -0,0 +1 @@ >+Järjestelmäasetukset >-- >2.17.1
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 22471
:
86761
|
86762
|
86763
|
86764
|
86765
|
86766
|
86767
|
86768
|
86769
|
90068
|
90069
|
90070
|
90071