Commit Graph

1155 Commits

Author SHA1 Message Date
Chris Cormack c6dcdf5a3e Slovak and German updates 2009-09-26 09:29:38 +12:00
Chris Cormack ed1f130196 Polish, English NZ and German updates 2009-09-23 21:56:28 +12:00
Chris Cormack c33428d543 Khk updates 2009-09-23 11:48:05 +12:00
Chris Cormack 00f4ccfbac English NZ and Polish updates 2009-09-23 11:48:04 +12:00
Henri-Damien LAURENT 59f22e1982 Fixing translation process
Removing checkbox values from po generation
2009-09-22 15:21:42 +02:00
Chris Cormack 0a460254b4 PO files updated to contain the .xsl 2009-09-22 13:08:04 +12:00
Chris Cormack 74308aa622 Updating update.pl to work locally 2009-09-22 13:07:21 +12:00
Henri-Damien LAURENT 27cdac25a3 Followup updating translation process 2009-09-21 23:47:59 +02:00
Henri-Damien LAURENT 278e916c25 Adding xsl strings to po
xsl strings are now taken into account.
This is a first draft.
Some parameters of the functions will be taken into account
and <xsl> tags are not translated

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2009-09-21 23:29:47 +02:00
Chris Cormack 12d57ea22a French canadian updates 2009-09-22 09:02:45 +12:00
Chris Cormack d4a93de66f Polish language updates 2009-09-20 13:54:37 +12:00
Chris Cormack 32ecbaa18e Lots of language updates 2009-09-19 13:37:32 +12:00
Chris Cormack b08f4f36b5 Language updates 2009-09-17 19:31:56 +12:00
Chris Cormack 3c1650682f The rest of the staff interface updated 2009-09-16 23:21:58 +02:00
Chris Cormack 9f437eb160 Armenian staff updates 2009-09-16 23:20:27 +02:00
Chris Cormack 0889e80bfb Malaysian and Portuguese staff updates 2009-09-16 23:20:23 +02:00
Chris Cormack 716afd1152 Staff language updates 2009-09-16 23:20:14 +02:00
Chris Cormack 91c01d1dbe Valencian staff 2009-09-16 23:19:59 +02:00
Chris Cormack b6b7b440f4 Serbian staff update 2009-09-16 23:19:56 +02:00
Chris Cormack 284a202ff0 Czech staff updates 2009-09-16 23:19:56 +02:00
Chris Cormack 3b4c7508ad Last of the opac updates 2009-09-16 23:19:52 +02:00
Chris Cormack 34341f0317 More language updates 2009-09-16 23:19:52 +02:00
Chris Cormack 3bab456f98 More language updates 2009-09-16 23:19:51 +02:00
Chris Cormack fce9a80026 Hindi, Tetun, Thai, Tagalog, Turkish, Urdu and Ukranian opac updates 2009-09-16 23:19:51 +02:00
Chris Cormack 257ccef830 Spanish, Persian and Galician opac updates 2009-09-16 23:19:51 +02:00
Chris Cormack bf532bcb7a French (France), French (Canada) and Hebrew opac updates 2009-09-16 23:19:50 +02:00
Chris Cormack 1b20eac419 Amharic, German and English NZ opac updates 2009-09-16 23:19:50 +02:00
Chris Cormack fd127f82cb Danish and Bulgarian opac updates 2009-09-16 23:19:50 +02:00
Chris Cormack d6bd9f194e Bengali, Arabic and Azerbaijanian opac updates 2009-09-16 23:19:50 +02:00
Chris Cormack dc9dbc2f99 Indonesian opac updates 2009-09-16 23:19:50 +02:00
Chris Cormack 59ca3d5fed Greek Opac updates 2009-09-16 23:19:49 +02:00
Chris Cormack 03c8f13980 Czech and Catalan opac updates 2009-09-16 23:19:49 +02:00
Chris Cormack d43db2f006 Finnish and Chinese updates 2009-09-16 23:19:49 +02:00
Chris Cormack c63bec4855 Starting work updating translations 2009-09-16 23:19:49 +02:00
Sébastien Hinderer 8702212d16 Get rid of a few warnings in the bulkmarcimport script: C4/Biblio.pm, hunks #1, #2: a warning occurring in NoZebra configurations. C4/Biblio.pm hunk #3: warning occurring in Unimarc MARC flavour. misc/migration_tools/bulkmarcimport.pl hunk #1: warning occurring when no default format is specified on command-line with -m switch.
Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
Signed-off-by: Henri-Damien LAURENT <henridamien.laurent@biblibre.com>
2009-09-16 23:19:47 +02:00
Joe Atzberger a67ca33b45 Script to check for corruption of marcxml, and optionally to attempt fix.
When marcxml cannot be parsed into a MARC::Record object, the biblio is
undisplayable and it obviously breaks many features in Koha.  This script
can test to parse every marcxml, and alert on failures.  Optionally, the
marcxml can be replaced from the marc field.

See extensive perldoc for details.

Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
2009-09-16 23:19:34 +02:00
Nahuel ANGELINETTI 78a2b2cb1e (bug #3573) use delimiter syspref generating overdues csv
Signed-off-by: Henri-Damien LAURENT <henridamien.laurent@biblibre.com>
2009-09-16 23:19:32 +02:00
Colin Campbell f9f78672ea Avoid numeric comparisons with leading zeroes
Numbers in perl with leading zeros are interpreted in octal
Ensure that comparisons are done using string operators
or where appropriate use the MARC::Field method

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
Signed-off-by: Henri-Damien LAURENT <henridamien.laurent@biblibre.com>
2009-09-16 23:19:28 +02:00
Frédéric Demians 5bdb9abf8b Remove utility script replaced by a test case
Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
Signed-off-by: Henri-Damien LAURENT <henridamien.laurent@biblibre.com>
2009-09-16 23:19:26 +02:00
J. David Bavousett cafd704a12 Created database-tidying cron script
This little script establishes a framework for database cleanup on some regular
schedule.  Initial implementation provides for brute truncation of the sessions
table, and selective-by-age cleanup of the zebraqueue.

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
Signed-off-by: Henri-Damien LAURENT <henridamien.laurent@biblibre.com>
2009-09-16 23:19:23 +02:00
Nahuel ANGELINETTI 6515ee9678 (bug #3393) take care of default rules in overdues
This fix the overdues notices script, that doesn't take care of default rules.
Now if there is no specific rules for a branchcode, the script use the default rule if it exists.

Signed-off-by: Henri-Damien LAURENT <henridamien.laurent@biblibre.com>
2009-09-16 23:19:19 +02:00
Frédéric Demians 0053486cfa Bug 3301 - Speed up rebuild_zebra script
With this patch, rebuild_zebra can re-index a whole Koha DB
quickly:

  rebuild_zebra -r -b -nosanitize

Biblio (authority) records are dump directly in a file
from marcxml field without beeing transformed into
MARC::Record object and corrected.

DOCUMENTATION:

rebuild_zebra.pl new paramater:

-nosanitize  export biblio/authority records directly from DB marcxml
             field without sanitizing records. It speed up
             dump process but could fail if DB contains badly
             encoded records. Works now only with -x and -b

Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
Signed-off-by: Henri-Damien LAURENT <henridamien.laurent@biblibre.com>
2009-09-16 23:19:14 +02:00
Brian Harrington 26b4f072e8 Bug 3313, bulkauthimport.pl skips MARC21 subdivision records.
This patch adds the MARC21 subdivsion record tags (18x) to the
block which recognizes and assigns authtypecodes to imported
authority records.

Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
Signed-off-by: Henri-Damien LAURENT <henridamien.laurent@biblibre.com>
2009-09-16 23:19:08 +02:00
Daniel Sweeney 14f22b64cd Fixed a typo that kept branches out of the Advance Notice and Item Due notifications.
Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
2009-09-16 23:19:05 +02:00
Galen Charlton 18a7bd2ace holds policies fixes
* use item branch instead of patron's branch to
look up the applicable hold policies - this makes
requesting in the OPAC consistent with the intranet.
* when generating pick list using build_holds_queue.pl, only match items
to patrons if request is allowed.

Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
2009-09-16 23:19:03 +02:00
Paul Poulain 474dca7cb7 (not new_acq related) smallfix to avoid a die in case of an invalid record
Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
Signed-off-by: Henri-Damien LAURENT <henridamien.laurent@biblibre.com>
2009-09-16 23:19:00 +02:00
Joe Atzberger 4786946693 Bug 3133 - correct typos
This corrects 3 typographical errors.

Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
Signed-off-by: Henri-Damien LAURENT <henridamien.laurent@biblibre.com>
2009-09-16 23:18:48 +02:00
Joe Atzberger ddd1995cf4 Multi-bug fix - SetMarcUnicodeFlag for records coming from Koha
This has bearing on bugs 2905, 2665, 2514 and other "wide character" crashes
related to diacritics and Unicode.  This should help open the door for reliable
input of diacriticals via acquisitions.

MARC21_utf8_flag_fix.pl diagnoses and fixes existing problems with MARC data
affected by the bug.

Adding SetMarcUnicodeFlag to TransformKohaToMarc prevents the bug from corrupting
further data.

Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
Signed-off-by: Henri-Damien LAURENT <henridamien.laurent@biblibre.com>
2009-09-16 23:18:47 +02:00
Galen Charlton 43b919a41e bug 2677: restore RandomizeHoldsQueueWeight and StaticHoldsQueueWeight
Restoring the functionality of these sysprefs as part of the
rework of build_holds_queue.pl:

* StaticHoldsQueueWeight is an ordered list of library codes.
  The order of the libraries in this list determines the order
  of libraries in which available items will be chosen to be
  targeted to holds.  Note that if this list does not include
  a library, items from that library will never be targeted to
  holds and staff will never be asked to retrieve items for
  title-level holds from those libraries.

* RandomizeHoldsQueueWeight is a Boolean parameter, indicating
  whether to randomize the libraries in the StaticHoldsQueueWeight
  list.

If neither RandomizeHoldsQueueWeight nor StaticHoldsQueueWeight is
set, then the libraries will be used to target items to holds in
alphabetical order by library code.

Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
2009-09-04 13:29:55 +12:00
Joe Atzberger 4c54059844 Fines fixes: apparent problems with fines prevent processing.
CalcFine returned values that mismatched expectations in fines.pl.

fines.pl refactored: added debugging, prevent needless recreation of
Calendar objects by storing them in hash by branch.
Still outstanding problems with fines, including the output of a field
that has no other references in Koha (so is always undef) and the
incorrect description of FinesMode.

Calendar exported "new" erroneously.  I also cleaned up the queries to
avoid needlessly compiling additional statement handles.

Please test and consider application to 3.0 maintenance.

Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz>
2009-09-04 11:12:41 +12:00