Bugzilla – Attachment 6030 Details for
Bug 7079
Default values for German system preferences (web installer)
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 7079: Default values for German system preferences
Bug-7079-Default-values-for-German-system-preferen.patch (text/plain), 2.68 KB, created by
Katrin Fischer
on 2011-10-24 13:07:09 UTC
(
hide
)
Description:
Bug 7079: Default values for German system preferences
Filename:
MIME Type:
Creator:
Katrin Fischer
Created:
2011-10-24 13:07:09 UTC
Size:
2.68 KB
patch
obsolete
>From d37f5cc35ac69aafa94b3b0efecdcb1f8fb2e897 Mon Sep 17 00:00:00 2001 >From: Katrin Fischer <Katrin.Fischer.83@web.de> >Date: Mon, 24 Oct 2011 14:57:52 +0200 >Subject: [PATCH] Bug 7079: Default values for German system preferences > >Patch adds updates for system preferences to the sql file >in the installer directory: > >- New: AmazonLocale: DE >- borrowerRelationship: Vater|Mutter >- BorrowersTitles: Herr|Frau >- New: CurrencyFormat: FR >- New: dateformat: metric >- New: DefaultClassificationSource: z >- New: OpacMainUserBlock: translated content >- New: OpacNav: translated content >- New: OpacNavBottom: translated content >- New: OPACSearchForTitleIn: translated content > >To test: >A) Do a full installation with German sample files >B) Run the sql file 'system_preferences.sql' against your database > >Verfy values of system preferences have been changed. >--- > .../mysql/de-DE/mandatory/system_preferences.sql | 12 ++++++++++++ > 1 files changed, 12 insertions(+), 0 deletions(-) > >diff --git a/installer/data/mysql/de-DE/mandatory/system_preferences.sql b/installer/data/mysql/de-DE/mandatory/system_preferences.sql >index d0e08a9..0e304ed 100644 >--- a/installer/data/mysql/de-DE/mandatory/system_preferences.sql >+++ b/installer/data/mysql/de-DE/mandatory/system_preferences.sql >@@ -16,5 +16,17 @@ > -- 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 = 'DE' WHERE variable = 'AmazonLocale'; > UPDATE systempreferences SET value = 'Vater|Mutter' WHERE variable = 'borrowerRelationship'; > UPDATE systempreferences SET value = 'Herr|Frau' WHERE variable = 'BorrowersTitles'; >+UPDATE systempreferences SET value = 'FR' WHERE variable = 'CurencyFormat'; >+UPDATE systempreferences SET value = 'metric' WHERE variable = 'dateformat'; >+UPDATE systempreferences SET value = 'z' WHERE variable = 'DefaultClassificationSource'; >+UPDATE systempreferences SET value = 'Willkommen im Koha-Katalog! (OpacMainUserBlock)' WHERE variable = 'OpacMainUserBlock'; >+UPDATE systempreferences SET value = 'Wichtige Links hier...(OpacNav)' WHERE variable = 'OpacNav'; >+UPDATE systempreferences SET value = '...oder hier (OpacNavBottom)' WHERE variable = 'OpacNavBottom'; >+UPDATE systempreferences SET value = >+ '<li><a href="http://worldcat.org/search?q={TITLE}" target="_blank">Andere Bibliotheken (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">Online-Buchhandel (Bookfinder.com)</a></li>' >+ WHERE variable = 'OPACSearchForTitleIn'; >-- >1.7.5.4
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 7079
:
6030
|
6053