Bugzilla – Attachment 13285 Details for
Bug 9024
Add additional sample data to German installer
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 9023: Add missing sample data to existing files
Bug-9023-Add-missing-sample-data-to-existing-files.patch (text/plain), 6.17 KB, created by
Katrin Fischer
on 2012-11-07 15:31:27 UTC
(
hide
)
Description:
Bug 9023: Add missing sample data to existing files
Filename:
MIME Type:
Creator:
Katrin Fischer
Created:
2012-11-07 15:31:27 UTC
Size:
6.17 KB
patch
obsolete
>From a2d627d535470a25cd493542d811e28b04f7ca9d Mon Sep 17 00:00:00 2001 >From: Katrin Fischer <Katrin.Fischer.83@web.de> >Date: Wed, 7 Nov 2012 16:04:06 +0100 >Subject: [PATCH] Bug 9023: Add missing sample data to existing files > >Adds missing authorised values (enhancement) > >Adds missing slip notice templates (bug fix) >Koha will complain if you try to print a slip and there is no notice >defined for them, so this is not really an improvement, but kind of a bug fix. > >http://bugs.koha-community.org/show_bug.cgi?id=9024 >--- > .../data/mysql/de-DE/mandatory/sample_notices.sql | 90 ++++++++++++++++++++ > installer/data/mysql/de-DE/optional/auth_val.sql | 4 + > 2 files changed, 94 insertions(+) > >diff --git a/installer/data/mysql/de-DE/mandatory/sample_notices.sql b/installer/data/mysql/de-DE/mandatory/sample_notices.sql >index f668d99..5bd39a2 100644 >--- a/installer/data/mysql/de-DE/mandatory/sample_notices.sql >+++ b/installer/data/mysql/de-DE/mandatory/sample_notices.sql >@@ -16,3 +16,93 @@ VALUES ('circulation','ODUE','Mahnung','Mahnung','Liebe/r <<borrowers.firstname> > ('suggestions','AVAILABLE','Vorgeschlagenes Medium verfügbar', 'Das vorgeschlagene Medium ist jetzt verfügbar','Liebe(r) <<borrowers.firstname>> <<borrowers.surname>>,\n\nSie haben der Bibliothek folgendes Medium zur Anschaffung vorgeschlagen: <<suggestions.title>> von <<suggestions.author>>.\n\nWir freuen uns Ihnen mitteilen zu können, dass dieser Titel jetzt im Bestand der Bibliothek verfügbar ist.\n\nWenn Sie Fragen haben, richten Sie Ihre Mail bitte an: <<branches.branchemail>>.\n\nVielen Dank,\n\n<<branches.branchname>>'), > ('suggestions','ORDERED','Vorgeschlagenes Medium bestellt', 'Das vorgeschlagene Medium wurde im Buchhandel bestellt','Liebe(r) <<borrowers.firstname>> <<borrowers.surname>>,\n\nSie haben der Bibliothek folgendes Medium zur Anschaffung vorgeschlaten: <<suggestions.title>> von <<suggestions.author>>.\n\nWir freuen uns Ihnen mitteilen zu können, dass dieser Titel jetzt im Buchhandel bestellt wurde. Nach Eintreffen wird er in unseren Bestand eingearbeitet.\n\nSie erhalten Nachricht, sobald das Medium verfügbar ist.\n\nBei Nachfragen erreichen Sie uns unter der Emailadresse <<branches.branchemail>>.\n\nVielen Dank,\n\n<<branches.branchname>>'), > ('suggestions','REJECTED','Anschaffungsvorschlag nicht angenommen', 'Ihr Anschaffungsvorschlag wurde nicht angenommen','Liebe(r) <<borrowers.firstname>> <<borrowers.surname>>,\n\nSie haven der Bibliothek folgendes Medium zur Anschaffung vorgeschlagen: <<suggestions.title>> von <<suggestions.author>>.\n\nDie Bibliothek hat diesen Titel heute recherchiert und sich gegen eine Anschaffung entschieden.\n\nBegründung: <<suggestions.reason>>\n\nWenn Sie Fragen haben, richten Sie Ihre Mail bitte an: <<branches.branchemail>>.\n\nVielen Dank,\n\n<<branches.branchname>>'); >+ >+INSERT INTO `letter` (module, code, name, title, content, is_html) >+VALUES ('circulation','ISSUESLIP','Ausleihquittung (Quittungsdruck)','Ausleihquittung (Quittungsdruck)', '<h3><<branches.branchname>></h3> >+Ausleihe an: <<borrowers.firstname>> <<borrowers.initials>> <<borrowers.surname>> <br /> >+(<<borrowers.cardnumber>>) <br /> >+ >+<<today>><br /> >+ >+<h4>Ausleihen</h4> >+<checkedout> >+<p> >+<<biblio.title>> <br /> >+Barcode: <<items.barcode>><br /> >+Fällig am: <<issues.date_due>><br /> >+</p> >+</checkedout> >+ >+<h4>Ãberfällig</h4> >+<overdue> >+<p> >+<<biblio.title>> <br /> >+Barcode: <<items.barcode>><br /> >+Fällig am: <<issues.date_due>><br /> >+</p> >+</overdue> >+ >+<hr> >+ >+<h4 style="text-align: center; font-style:italic;">News</h4> >+<news> >+<div class="newsitem"> >+<h5 style="margin-bottom: 1px; margin-top: 1px"><b><<opac_news.title>></b></h5> >+<p style="margin-bottom: 1px; margin-top: 1px"><<opac_news.new>></p> >+<p class="newsfooter" style="font-size: 8pt; font-style:italic; margin-bottom: 1px; margin-top: 1px">Posted on <<opac_news.timestamp>></p> >+<hr /> >+</div> >+</news>', 1), >+('circulation','ISSUEQSLIP','Kurzquittung','Kurzquittung', '<h3><<branches.branchname>></h3> >+Ausleihe an: <<borrowers.firstname>> <<borrowers.initials>> <<borrowers.surname>> <br /> >+(<<borrowers.cardnumber>>) <br /> >+ >+<<today>><br /> >+ >+<h4>Heutige Ausleihen</h4> >+<checkedout> >+<p> >+<<biblio.title>> <br /> >+Barcode: <<items.barcode>><br /> >+Fällig am: <<issues.date_due>><br /> >+</p> >+</checkedout>', 1), >+('circulation','RESERVESLIP','Vormerkquittung','Vormerkquittung', '<h5>Datum: <<today>></h5> >+ >+<h3> Bereitstellung in <<branches.branchname>></h3> >+ >+<h3><<borrowers.surname>>, <<borrowers.firstname>></h3> >+ >+<ul> >+ <li><<borrowers.cardnumber>></li> >+ <li><<borrowers.phone>></li> >+ <li> <<borrowers.address>><br /> >+ <<borrowers.address2>><br /> >+ <<borrowers.city >> <<borrowers.zipcode>> >+ </li> >+ <li><<borrowers.email>></li> >+</ul> >+<br /> >+<h3>VORMERKUNG</h3> >+<h4><<biblio.title>></h4> >+<h5><<biblio.author>></h5> >+<ul> >+ <li><<items.barcode>></li> >+ <li><<items.itemcallnumber>></li> >+ <li><<reserves.waitingdate>></li> >+</ul> >+<p>Notiz: >+<pre><<reserves.reservenotes>></pre> >+</p> >+', 1), >+('circulation','TRANSFERSLIP','Transportquittung','Transportquittung', '<h5>Datum: <<today>></h5> >+ >+<h3>Transport nach <<branches.branchname>></h3> >+ >+<h3>EXEMPLAR</h3> >+<h4><<biblio.title>></h4> >+<h5><<biblio.author>></h5> >+<ul> >+ <li><<items.barcode>></li> >+ <li><<items.itemcallnumber>></li> >+</ul>', 1); >diff --git a/installer/data/mysql/de-DE/optional/auth_val.sql b/installer/data/mysql/de-DE/optional/auth_val.sql >index 5832f61..f919578 100644 >--- a/installer/data/mysql/de-DE/optional/auth_val.sql >+++ b/installer/data/mysql/de-DE/optional/auth_val.sql >@@ -46,3 +46,7 @@ INSERT INTO `authorised_values` (category, authorised_value, lib) VALUES ('MANUA > > -- custom borrower notes > INSERT INTO `authorised_values` (category, authorised_value, lib) VALUES ('BOR_NOTES','ADDR','Adresse kontrollieren'); >+ >+-- OPAC Suggestions reasons >+INSERT INTO authorised_values (category,authorised_value,lib,lib_opac) VALUES ('OPAC_SUG','damaged','Vorhandenes Exemplar ist beschädigt','Vorhandenes Exemplare ist beschädigt'); >+INSERT INTO authorised_values (category,authorised_value,lib,lib_opac) VALUES ('OPAC_SUG','bestseller','Neuerscheinung von bekanntem Verfasser','Neuerscheinung von bekanntem Verfasser'); >-- >1.7.9.5
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 9024
:
13284
| 13285 |
13566
|
13567