Commit graph

1167 commits

Author SHA1 Message Date
0c30ac49e5 Dutch (nederlands) and German updates 2010-02-22 11:27:02 +13:00
ecc2d13efb Nepalese and Dutch (Nederlands) 2010-02-22 11:27:01 +13:00
fd6d7a3063 Dutch flemish opac update 2010-02-22 11:27:01 +13:00
f9678594b5 Language updates 2010-02-22 11:27:00 +13:00
af8f7fc3b1 Shifting dutch to dutch, flemish 2010-02-22 11:26:53 +13:00
21c7f786bf bug 1532: various code cleanup
* export C4::Reserves::CancelExpiredReserves
* rename  misc/cronjobs/cancel_expired_reserves.pl
  to misc/cronjobs/holds/cancel_expired_holds.pl
* added cancel_expired_holds.pl to example crontab
* fix staff crash if AllowHoldDateInFuture is on
* expirationdate is now nullable instead of relying
  on 0000-00-00

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2010-02-18 22:49:48 -05:00
Kyle M Hall
3502810346 (bug 1532) Reserves Updates Ported From Dev_Week
This is a much improved re-implementation of the reserves updates from dev_week.
Less new code has been added, and more existing functions are used instead of adding new ones.

The 'Lock Hold' function has been removed due to it not working as intended.

[RM note for documentation: this adds the following features:

* ability to specify an expiration date for a hold request
  when placing it via the staff interface or OPAC
* daily batch job to cancel expired holds
* nice interface to change the priority of hold
  requests for a bib in the staff interface]

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2010-02-18 22:49:47 -05:00
Michael Hafen
0d2095072e add memcached questions to koha-install-log
Add the use_memcached question to rewrite-config.pl and all three questions
to koha-install-log.  So that we don't have to keep answering these questions
when we upgrade/install with the --prev-install-log option.

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2010-02-18 13:46:55 -05:00
66aaf0726e update RM notes for new translation wrapper script
Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2010-02-18 12:06:50 -05:00
3c3aac0848 Follow up for new translation wrapper
(cherry picked from commit 17bdeb66e041f295214d1406620669c090b4e4de)

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2010-02-18 11:43:42 -05:00
c05b7747b9 New wrapper script for handling translation process
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2010-02-18 11:39:24 -05:00
Chris Nighswonger
599887a185 Bugfix: [1/3] overdue_notices.pl does not process all advertised fields
Note: overdue_notices.pl really needs to be completely re-written.

The script does not process all fields advertised in tools/letter.pl
This patch adds code to process all fields advertised as well as any
from the items table.

It also adds two additional tags for use in the letter templates:

<item></item> which should enclose all fields from the biblio, biblioitems,
and items tables.

<fine></fine> which should be enclosed by the item tag and should
enclose a currency identifier per ISO 4217. If this tag is present with
a proper identifier, the fine for that item will be displayed in the
proper currency format. Note: ISO 4217 changes from time to time therefore
all currencies may not be supported. If you find one that is not
supported, please file a bug with the Locale::Currency::Format author
Tan D Nguyen <tnguyen at cpan doe org>.

An example of the implimentation of these two tags in a notice template
might be like:

The following item(s) is/are currently overdue:

<item>"<<biblio.title>>" by <<biblio.author>>, <<items.itemcallnumber>>, Barcode: <<items.barcode>> Fine: <fine>GBP</fine></item>

Which, assuming two items were overdue, would result in a notice like:

The following item(s) is/are currently overdue:

"A Short History of Western Civilization" by Harrison, John B, 909.09821 H2451, Barcode: 08030003 Fine: £3.50
"History of Western Civilization" by Hayes, Carlton Joseph Huntley, 909.09821 H3261 v.1, Barcode: 08030004 Fine: £3.50

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2010-02-17 06:36:01 -05:00
84b3c05c0d Bug 2959 - Add a timeout parameter to the URL checker
Could improve performances for DB containing URLs which can't be fetched
(good or bad) quickly.

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2010-02-16 06:48:01 -05:00
4b186cc95b Update fr-FR preferences
Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2010-02-16 06:09:50 -05:00
9dee98a0c9 Bug 2959 - Cache already failed URLs to speedup check-url.pl
Based on David Schuster improvement patch.

For David:

- To send the output into an HTML file, there is no need to add a
  paramater to this script, just redirect to a file:

  check-url --html --host-prot=http://koha-pro.mylib.org \\
    > /usr/local/koha/koha-tmpl/badurls.html

- If you want as a result a table with alternate rows, use CSS and
  JavaScript. For example, with jQuery (found with google):

  <style type="text/css">
  table {width:400px; border:1px solid blue;}
  .oddrow {background-color:#E5E5E5;}
  </style>
  <script type="text/javascript"
   src="http://code.jquery.com/jquery-latest.min.js"></script>
  <script type="text/javascript">
  $(function(){
    $("table.tiger-stripe tr:even").addClass("oddrow");
  });

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2010-02-14 19:45:54 -05:00
33230acc29 Bug 4154 - Include preferences translation into install.pl
Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2010-02-12 07:17:32 -05:00
2da4f30214 Bug 4154 - Follow-up
- Modify install-code.pl to install prefs with templates
- Update .po preferences file in order to get last 'en' preferences

For 3.4, I will do a script which will handle together the 3 .po file:
opac, intranet and preferences (and .tt files if necessary). Don't do it
now, since it will change files naming convention.

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2010-02-11 18:00:20 -05:00
01c619fc17 Bug 4154 - Add a .po based mechanism to translate preferences
Add to previous patch (and replace it):
  - update function
  - translation of tab subsection labels
  - GPL2
  - fix last minute bug catched by Galen

Cut-and-past of pref-trans script perldoc:

NAME
       pref-trans - Handle preferences translation

SYNOPSYS
         pref-trans init fr-FR
         pref-trans update fr-FR
         pref-trans install fr-FR

USAGE
       pref-trans init lang
           Create a .po file in po directory, named lang-pref.po. This
           file contains text to translate extracted from .pref files.

       pref-trans update lang
           Update a .po file in po directory, named lang-pref.po. This
           file contains new text to translate extracted from .pref files.
           Previous translated text are kept. There is a minor bug, which can’t
           be fixed due to preferences data struture: preferences tab
           subsection labels are lost when updating .po file.

       pref-trans install lang
           Use lang-pref.po file to translate the english version of
           preferences files and copy those files in the appropriate
           directory.

DESCRIPTION
       Koha preferences are stored in a data structure found in
       koha-tmpl/intranet-tmpl/en/module/admin/preferences/ files.
       Depending of user language, other files are used. This script extract text
       from ’en’ preference files, and put them in one .po file.  This .po
       file can be updated. When completed, a .po file can be applied to create
       localized versions of preferences templates.

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2010-02-11 05:52:50 -05:00
d3df9899fb French .po file for preferences
Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2010-02-11 05:52:35 -05:00
f13f4b287c forward-port rest of changes to 3.0.1 release notes
Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2010-02-08 13:38:01 -05:00
Henri-Damien LAURENT
932e937422 Adding a translation note.
(cherry picked from commit bd385c2248)

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2010-02-08 13:34:23 -05:00
Henri-Damien LAURENT
b858912f5f Adding release notes for 3.0.1
Signed-off-by: Henri-Damien LAURENT <henridamien@koha-fr.org>
(cherry picked from commit 7ce704ad98)

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2010-02-08 13:34:09 -05:00
Henri-Damien LAURENT
c4ef8aaead minor update on release notes
(cherry picked from commit 65ac4e38ab)

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2010-02-08 13:33:15 -05:00
eb6a87d401 Henri-Damien Laurent's release notes and version 3.0.2
(cherry picked from commit d010503b80)

Conflicts:

	Makefile.PL

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2010-02-08 13:32:23 -05:00
Henri-Damien LAURENT
abcb402f0a Preparing 3.0.3
Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2010-02-08 13:31:05 -05:00
Ricardo Dias Marques
407da250e2 Updated references to Portuguese translation in Release Notes
Updated references to Portuguese translation in Release Notes
for the 3.0.4 Release:

- For OPAC, removed pt-PT from the list of Partial translations
  (because it already correctly appears in the list of complete ones)

- For Staff client, added pt-PT to the list of Partial translations
(cherry picked from commit f4eb63c728)

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2010-02-08 13:29:31 -05:00
Henri-Damien LAURENT
59b67df036 Followup release notes
list involved in release notes for koha-devel were wrong
Thanks ricardo
(cherry picked from commit 0521828140)

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2010-02-08 13:29:10 -05:00
Henri-Damien LAURENT
a37cc5b27e Adding release notes
(cherry picked from commit 2eba46985b)

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2010-02-08 13:28:50 -05:00
Henri-Damien LAURENT
feb5cdfc8a Update on release notes
(cherry picked from commit 5983a8c381)

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2010-02-08 13:28:14 -05:00
Henri-Damien LAURENT
7407f0af72 Adding 3.0.5 release notes
(cherry picked from commit cbaa3da19f)

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2010-02-08 13:27:50 -05:00
5916908e35 Bug 4125 - Reformat with perldoc bulkmarcimport.pl doc
Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2010-02-06 08:06:07 -05:00
f36c042b80 Merge commit 'workbuffer.org-koha/translation' into to-push
Conflicts:
	installer/data/mysql/updatedatabase.pl

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2010-02-02 19:10:41 -05:00
3cddfae927 Adding source files for Koha logo and OPAC button background. Bug 3680.
Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2010-02-02 18:35:25 -05:00
721c1047ee German updates 2010-01-29 08:45:29 +13:00
d3421476cc Tetun and English(NZ) updates 2010-01-29 08:45:28 +13:00
b739da5d5e German, Italian and Polish updates 2010-01-29 08:45:28 +13:00
20284ade68 Polish updates 2010-01-29 08:45:27 +13:00
a479ea4d01 Blank po files for Amhraic and Bulgarian 2010-01-29 08:45:23 +13:00
78fa5f9e60 Updating po files for template changes 2010-01-29 08:45:23 +13:00
a219ecc7f9 Tetum Opac updates 2010-01-29 08:45:18 +13:00
dedc38b3b5 English (NZ),Polish, Tetum and Thai language updates 2010-01-29 08:45:18 +13:00
180fbb36d3 German, Dutch and Polish language updates 2010-01-29 08:45:17 +13:00
464cdf5a88 German and Thai updates 2010-01-29 08:45:15 +13:00
285d371d5e Language updates 2010-01-29 08:45:15 +13:00
aaf617d936 Dutch opac updates 2010-01-29 08:45:14 +13:00
a772cabf0f Spanish, Polish and Thai updates 2010-01-29 08:45:14 +13:00
932de6699e Dutch updates 2010-01-29 08:45:13 +13:00
073b8bae59 English (NZ) opac updates 2010-01-29 08:45:13 +13:00
b2bad49fc0 Greek Staff updates 2010-01-29 08:45:13 +13:00
a37f9fddc0 English (NZ) and Chinese (Taiwan) updates 2010-01-29 08:41:12 +13:00
dc07320597 Italian updates 2010-01-29 08:41:12 +13:00
7fb12a5df4 German and Greek updates 2010-01-29 08:41:11 +13:00
1087af6ece English (Great Britain) updates 2010-01-29 08:41:10 +13:00
216e47ad17 Greek updates 2010-01-29 08:41:10 +13:00
609b3ec4c4 Polish Updates 2010-01-29 08:41:10 +13:00
be1f4d08ec German updates 2010-01-29 08:41:06 +13:00
c7542a4e15 Greek opac updates 2010-01-29 08:41:06 +13:00
b1e803d462 Opac updates 2010-01-29 08:41:06 +13:00
dc085e4f5f Danish opac updates 2010-01-29 08:41:04 +13:00
f42e9094ea Last of the updates, now have to fix the files that failed 2010-01-29 08:41:03 +13:00
bd16b608c3 More staff .po file updates 2010-01-29 08:40:52 +13:00
5a6c643c56 Continuing update .po files for 3.2 2010-01-29 08:40:31 +13:00
9af99d0066 Updating .po files 2010-01-29 08:40:15 +13:00
2874aa53fc French and Romanian updates 2010-01-29 08:39:09 +13:00
2fdeddbc8e Romanian po files 2010-01-29 08:13:54 +13:00
3796cf09ea Removing ES-Venezualan at the request of the translators 2010-01-29 08:13:53 +13:00
221838ca5d German intranet update 2010-01-29 08:13:53 +13:00
786540859e Sindhi po files 2010-01-29 08:13:53 +13:00
782ac0a5d7 Urdu staff po file 2010-01-29 08:13:53 +13:00
a3694150b4 Updating opac po file for Great Britain english 2010-01-29 08:13:52 +13:00
cebcba93e3 English - Great Britain updates 2010-01-29 08:13:52 +13:00
e859fff342 German updates 2010-01-29 08:13:50 +13:00
9eb21b6b3b Greek staff updates 2010-01-29 08:13:50 +13:00
2029fce104 English Great Britain po files 2010-01-29 08:13:50 +13:00
41f4f8a7f3 Albanian po files 2010-01-29 08:13:49 +13:00
4a7784509a Greek updates 2010-01-29 08:13:49 +13:00
e638c32810 German updates 2010-01-29 08:13:49 +13:00
0dd70388b8 German and Greek staff interface updates 2010-01-29 08:13:47 +13:00
c9a526bb91 German Opac updates 2010-01-29 08:13:47 +13:00
b976319b21 More language updates (to deal with new templates) 2010-01-29 08:13:45 +13:00
0496059757 Spanish (Venezuelan) Staff updates 2010-01-29 08:13:45 +13:00
da430e976c Fixing typo and updating arabic staff interface 2010-01-29 08:13:44 +13:00
a36bae0b85 Greek staff updates 2010-01-29 08:13:43 +13:00
5cfb6957e7 German intranet updates 2010-01-29 08:13:43 +13:00
45555221b3 German opac updates 2010-01-29 08:13:43 +13:00
4489249c79 Arabic, Bengali and Bulgarian opac updates 2010-01-29 08:13:42 +13:00
64e68c535a Catalan updates 2010-01-29 08:13:42 +13:00
603da80b5b Updating Azerbaijanian opac .po file 2010-01-29 08:13:42 +13:00
6f821892c7 Greek updates 2010-01-29 08:13:42 +13:00
1131843f4a Greek updates 2010-01-29 08:13:41 +13:00
b28a5d3441 Greek updates 2010-01-29 08:13:40 +13:00
ee2c7a6db1 German updates for 3.2 po files 2010-01-29 08:13:40 +13:00
c275b7f40d German and Greek updates 2010-01-29 08:13:38 +13:00
Henri-Damien LAURENT
ea3277d98d monthly_circulation_statistics.pl :Hard Coded date inside
Fixing that point
2010-01-28 15:11:56 +01:00
Henri-Damien LAURENT
ac7cea8dba MT2268 Printing html notices on pdf printers
This adds a shell script which is able to turn html files
into pdf and print them on a printer
It takes a directory where pdf files is laid, a css filename,
a host for printer and a Printername

printoverdues : generates PDF files from html files in directorys and prints them
  usage :
  printoverdues.sh directory [css [printer_host [printername]]]
   - directory      directory to use to apply html2pdf transform
   - css            css file to apply to html
   - printer_host   Network Name or IP of the printer (port possibly included)
   - printer_name   printername
  Note that css printerhost and printername are optional parameters
  Note that this script uses xhtml2pdf command
      xhtml2pdf command comes with pisa (a python library)
               To install you need setuptools library for python
               then type easy_install pisa
2010-01-28 15:11:56 +01:00
Paul Poulain
a6e1f838ae bulkmarcimport : removing warnings 2010-01-28 15:11:56 +01:00
Henri-Damien LAURENT
0fa37b5bb4 Translation scripts : Removing trailing / in scripts 2010-01-28 15:11:46 +01:00
Henri-Damien LAURENT
db4c107c73 Adding optgroup labels to translations 2010-01-28 15:11:45 +01:00
Kyle M Hall
bac8e37c83 Updated create_koc_db.pl
A new Koha Offline Circulation client has been written by Kyle M Hall in C++/Qt4.
Unfortunately, it requires an SQLite3 databse, where the PHP/Gtk client needs an SQLite2 database.

This update adds the switches --sqlite2 and --sqlite3 to the script to output either format.
2010-01-15 10:00:36 +01:00
afcfb0e8bd overdue_notices.pl send no email directly to patron
Something prevents overdue_notices.pl to send message directly to patron
email.
2010-01-15 09:59:32 +01:00