Hi Galen,
Did you get my second patch? Will you apply it? Without this patch
Amazon book cover functionality doesn't work with UNIMARC DB.
Thanks.
--
Frédéric DEMIANS
http://www.tamil.fr/u/fdemians.html
___
Koha-patches mailing list
Koha-patches
Any feedback on this? Thanks.
--
Frédéric DEMIANS
http://www.tamil.fr/u/fdemians.html
___
Koha-patches mailing list
Koha-patches@lists.koha.org
http://lists.koha.org/mailman/listinfo/koha-patches
branch for me. Cool feature I'd like to see!
--
Frédéric DEMIANS
http://www.tamil.fr/u/fdemians.html
___
Koha-patches mailing list
Koha-patches@lists.koha.org
http://lists.koha.org/mailman/listinfo/koha-patches
www.babeltheque.com is LibraryThings for Libraries equivalent.
This patch enables this service on OPAC.
---
admin/systempreferences.pl |1 +
installer/data/mysql/en/mandatory/sysprefs.sql |1 +
.../1-Obligatoire/unimarc_standard_systemprefs.sql |1 +
This XSL transforms XML UNIMARC biblio record into
its DC representation. It is the equivalent of
MARC21slimOAIDC.xsl.
---
.../prog/en/xslt/UNIMARCslim2OAIDC.xsl | 185
1 files changed, 185 insertions(+), 0 deletions(-)
create mode 100644
From: Frederic Demians f.demi...@tamil.fr
This OAI server has those characteristics:
* It doesn't use C4::OAI anymore.
* It uses HTTP::OAI library which is easily expandable.
* XML result is not build anymore directly but using
XML::SAX::Writer. It should solve encoding and XML
www.babeltheque.com is a LibraryThings for Libraries equivalent.
This patch enables this service on OPAC.
* Replace previous patch in order to apply onto last master HEAD
and solve conflicts induced by last pushed pateches:
1bb9f76e66fd962930007964a2f918665dc3a956
* Modify
This patch modifies z3950 search result page in order to
use jquery to highlight rows rather than an explicit
css class.
---
cataloguing/z3950_search.pl|4 ++--
.../prog/en/modules/cataloguing/z3950_search.tmpl |5 +++--
2 files changed, 5 insertions(+), 4
In UNIMARC, 010 tag contains ISBN. In UNIMARC, ISBN with '-'
are valid. This patch modify ISBN normalization in order to
automaticaly suppress '-' before sending ISBN to Amazon
to get book cover.
---
C4/Koha.pm |1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/C4/Koha.pm
Without this patch:
* On OPAC detail page, Amazon book cover has a banner
'Search Inside' which in untranslatable.
* Link on book cover search inside book content in
Amazon.com--.com not .fr or .co.uk depending on
AmazonLocale syspref.
With this patch:
* Modfiy book cover
With this patch:
* On Amazon book cover, 'search inside' text is not displayed
anymore because it's not translatable.
* Link the image to local Amazon web site 'search inside' service.
Based on AmazonLocale syspref.
---
C4/External/Amazon.pm | 30
With this patch, it's possible to configure Zebra server in order
to return biblio records with a consistent Unimarc 'format'.
Some improvements are still required:
* Koha installation program need to be modified to pick up
koha-conf-unimarc.xml in place of koha-conf.xml.
* XSL file
Disable Amazon reviews without disabling Amazon book cover.
---
.../opac-tmpl/prog/en/modules/opac-detail.tmpl |6 +-
opac/opac-detail.pl|1 +
2 files changed, 6 insertions(+), 1 deletions(-)
diff --git
Add new OPACAmzonReviews syspref
---
installer/data/mysql/en/mandatory/sysprefs.sql |1 +
.../1-Obligatoire/unimarc_standard_systemprefs.sql |3 ++-
installer/data/mysql/updatedatabase.pl |7 +++
kohaversion.pl |2 +-
4 files
. ItemAttributes is not used anywhere. Correct me if I'm wrong.
So 3 Amazon contents, server-side retrieved, must be selectable by
syspref, combining (OPACAmazonEnabled or AmazonEnabled) and:
* OPACAmazonSimilarItems - Similarities
* OPACAmzonReviews - EditorialReviews and Reviews
--
Frédéric
This patch modifies how AWS is called. AWS is now called
depending on syspref. It works completly for OPAC; it
has to be refined for intranet.
For OPAC:
* If OPACAmazonReviews is set, AWS EditorialReview and
Reviews (users) are grabed.
* If OPACAmazonSimilarItems is set, AWS Similarities
Add AmazonReviews syspref.
DOCUMENTATION:
AmazonReviews is OPACAmazonReviews counterpart,
except that in staff interface Editorial Review
is displayed alone, without reader reviews.
---
installer/data/mysql/en/mandatory/sysprefs.sql |1 +
Add AmazonReviews syspref.
DOCUMENTATION:
AmazonReviews is OPACAmazonReviews counterpart,
except that in staff interface Editorial Review
is displayed alone, without reader reviews.
---
installer/data/mysql/en/mandatory/sysprefs.sql |1 +
This patch fixes Amazon content use in pro interface :
* Control Amazon Editorial Review by a new syspref:
AmazonReviews.
* /catalogue/detail.tmpl doesn't display Amazon reader reviews.
It displays only Editorial review in Description tab.
This patch disable request for AWS reader reviews.
staff
not publisher reviews which is available on Amazon web site.
--
Frédéric DEMIANS
http://www.tamil.fr/u/fdemians.html
___
Koha-patches mailing list
Koha-patches@lists.koha.org
http://lists.koha.org/mailman/listinfo/koha-patches
---
admin/systempreferences.pl |1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/admin/systempreferences.pl b/admin/systempreferences.pl
index aa5cb5c..1c6ed74 100755
--- a/admin/systempreferences.pl
+++ b/admin/systempreferences.pl
@@ -226,6 +226,7 @@
This patch uses HTTP_ACCEPT_LANGUAGE web browser variable
to select OPAC available language.
---
C4/Languages.pm | 10 +-
C4/Output.pm| 11 ---
2 files changed, 9 insertions(+), 12 deletions(-)
diff --git a/C4/Languages.pm b/C4/Languages.pm
index 5795202..a082b1f 100644
Thanks G. Henry
---
misc/batchRebuildBiblioTables.pl |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/misc/batchRebuildBiblioTables.pl b/misc/batchRebuildBiblioTables.pl
index e513550..15873e2 100755
--- a/misc/batchRebuildBiblioTables.pl
+++
Avoid reading marc_tag_structure for each biblo record to
transform by XSLT. Not totaly useless on OPAC result page.
Should be done via application variables rather than
request variable, but this is another story.
---
C4/XSLT.pm | 25 ++---
1 files changed, 18
---
opac/oai.pl |1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/opac/oai.pl b/opac/oai.pl
index 37b9f6f..d1fa059 100755
--- a/opac/oai.pl
+++ b/opac/oai.pl
@@ -123,6 +123,7 @@ sub new {
MaxCount= C4::Context-preference(OAI-PMH:MaxCount),
Modify how XSLT stylesheet are choosen
depending on 'marcflavour' syspref.
DOCUMENTATION: XSLTResultsDisplay and XSLTDetailsDisplay
sysprefs aren't MARC21-only anymore.
---
C4/Search.pm|4 ++--
C4/XSLT.pm |9 ++---
opac/opac-detail.pl |4 ++--
3 files changed, 10
With those stylesheets result and detail pages
render better UNIMARC biblio record than normal
views. But works still have to be done in order
to reach UNIMARC-ISBD compliant display.
---
.../prog/en/xslt/UNIMARCslim2OPACDetail.xsl| 618
It adds pretty huge image 'Google Preview' on google
book jacket.
---
koha-tmpl/opac-tmpl/prog/en/js/google-jackets.js |4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/koha-tmpl/opac-tmpl/prog/en/js/google-jackets.js
b/koha-tmpl/opac-tmpl/prog/en/js/google-jackets.js
This patch is done in the process of understanding what's
going wrong with bug #3226. It improves some processing.
---
C4/XSLT.pm | 57 +
1 files changed, 29 insertions(+), 28 deletions(-)
diff --git a/C4/XSLT.pm b/C4/XSLT.pm
index
---
koha-tmpl/opac-tmpl/prog/en/js/google-jackets.js | 24 ---
.../opac-tmpl/prog/en/modules/opac-detail.tmpl |6 ++--
2 files changed, 18 insertions(+), 12 deletions(-)
diff --git a/koha-tmpl/opac-tmpl/prog/en/js/google-jackets.js
With this patch, rebuild_zebra can re-index a whole Koha DB
quickly:
rebuild_zebra -r -a -b -marcxml
Biblio/authority records are dump directly in a file
from marcxml field without beeing transformed into
MARC::Record object and corrected.
---
misc/migration_tools/rebuild_zebra.pl | 25
---
.../opac-tmpl/prog/en/modules/opac-detail.tmpl |2 +-
.../opac-tmpl/prog/en/modules/opac-results.tmpl| 18 +-
2 files changed, 10 insertions(+), 10 deletions(-)
diff --git a/koha-tmpl/opac-tmpl/prog/en/modules/opac-detail.tmpl
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:
Even without mod_perl this caching improve performances
on OPAC result page. XSLT.pm decoding authorised values
for each record, it results something like about
7000 MySQL fetchrow...
With mod_perl, the cache must be emptied after updating
an authorized value category in pro interface.
---
For an explanation, see:
http://wiki.koha.org/doku.php?id=en:development:codingguidelines#translatable_text
This bug blocks entirely serials module. It isn't possible
to create/edit a subscription. Brocken JavaScript prevents
Search for a vendor and Search for Biblio dialog box
to pop-up.
---
---
C4/Reports/Guided.pm |5 +++--
.../en/modules/reports/guided_reports_start.tmpl |1 +
reports/guided_reports.pl |6 --
3 files changed, 8 insertions(+), 4 deletions(-)
diff --git a/C4/Reports/Guided.pm
. Sponsors with
deep pocket required :-)
Thanks.
--
Frédéric DEMIANS
http://www.tamil.fr/u/fdemians.html
___
Koha-patches mailing list
Koha-patches@lists.koha.org
http://lists.koha.org/mailman/listinfo/koha-patches
Even without mod_perl this caching improve performances
on OPAC result page. XSLT.pm decoding authorised values
for each record, it results something like about
7000 MySQL fetchrow...
With mod_perl, the cache must be emptied after updating
an authorized value category in pro interface.
---
:
http://devel.tamil.fr/nytprof-coins/C4-Biblio-pm-line.html#1042
28ms
It's better but not perfect. Obviously MARC::Record-subfield take A LOT
of time. So, now MARC library has to be profiled and improved :-) or
rewrite in C language...
--
Frédéric DEMIANS
http://www.tamil.fr/u
yep; memoize ++ IF there is no problems occuring with a multiple Koha
setup. Did anyone check for this ?
(note I haven't investigated how memoize works, so it may be a dummy
question)
No risk. It's page-level caching. Everything is cleaned at the end of
script page execution.
--
Frédéric
, it will be hardcoded. Once XML record format is asked,
Koha code in Search.pm must be modified to construct MARC::Record from
XML. So...
Thanks.
--
Frédéric DEMIANS
http://www.tamil.fr/u/fdemians.html
___
Koha-patches mailing list
Koha-patches
---
serials/subscription-bib-search.pl |5 -
1 files changed, 4 insertions(+), 1 deletions(-)
diff --git a/serials/subscription-bib-search.pl
b/serials/subscription-bib-search.pl
index 21341db..01c341d 100755
--- a/serials/subscription-bib-search.pl
+++
---
.../prog/en/includes/auth-finder-search.inc|2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/auth-finder-search.inc
b/koha-tmpl/intranet-tmpl/prog/en/includes/auth-finder-search.inc
index 8a725f0..cdf1fd2 100644
---
When displayed on result page, some UNIMARC biblio
records are marc8 to utf8 converted for whatever
reason! It appears that iso2709 records in Zebra can't
always properly by used to construct MARC::Record.
This patch ask Zebra to return xml record rather than
iso2709 and use it to create
you
get Nahuel double-encoding problems.
--
Frédéric DEMIANS
http://www.tamil.fr/u/fdemians.html
___
Koha-patches mailing list
Koha-patches@lists.koha.org
http://lists.koha.org/mailman/listinfo/koha-patches
Fix errors introduced by previous patch on NoZebra installation.
Thanks Lupin.
---
C4/Search.pm | 25 +
1 files changed, 13 insertions(+), 12 deletions(-)
diff --git a/C4/Search.pm b/C4/Search.pm
index 4b113c1..f2f738d 100644
--- a/C4/Search.pm
+++ b/C4/Search.pm
@@
results have to be checked for correct encoding
new_from_xml is good, but with utf8 and marcflavour as parameters.
Thanks. I can confirm this is necessary. I was about to send the same
patch. And may send it anyway for a tiny improvement.
--
Frédéric DEMIANS
http://www.tamil.fr/u
---
C4/Search.pm |6 --
1 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/C4/Search.pm b/C4/Search.pm
index f2f738d..2c3743d 100644
--- a/C4/Search.pm
+++ b/C4/Search.pm
@@ -307,6 +307,8 @@ sub getRecords {
my @facets_loop;# stores the ref to array of hashes for
MARCXML biblio record looks like that:
record
...
sysprefs
syspref name=OPACURLOpenInNewWindow0/syspref
/sysprefs
/record
---
C4/XSLT.pm |9 -
1 files changed, 8 insertions(+), 1 deletions(-)
diff --git a/C4/XSLT.pm b/C4/XSLT.pm
index 76e7ea7..89ab3a0 100644
--- a/C4/XSLT.pm
+++
---
misc/syspref-diff.pl | 67 --
1 files changed, 0 insertions(+), 67 deletions(-)
delete mode 100755 misc/syspref-diff.pl
diff --git a/misc/syspref-diff.pl b/misc/syspref-diff.pl
deleted file mode 100755
index 2b437ab..000
---
---
xt/syspref.t | 132 ++
1 files changed, 132 insertions(+), 0 deletions(-)
create mode 100755 xt/syspref.t
diff --git a/xt/syspref.t b/xt/syspref.t
new file mode 100755
index 000..a5174db
--- /dev/null
+++ b/xt/syspref.t
@@ -0,0
Dublin Core schema name space was repeated for each field
as attribute rather than at oai_dc:dc level. This reduces
significantly the size of OAI server responses.
---
.../prog/en/xslt/MARC21slim2OAIDC.xsl |6 +-
.../prog/en/xslt/UNIMARCslim2OAIDC.xsl |6
OPAC shelf browsing is 'inaccurate' when there are a lot of duplicate
itemcallnumbers. Next items have same cn_sort (normalized
itemcallnumber) and increasing itemnumber. So it would be expected
that previous items have same cn_sort and decreasing itemnumber. This
is not the case.
---
This but was fixed with XSLT transliteration string function
specifying XML entities. It seems that something in the patch process
modifyied those entities.
---
.../prog/en/xslt/UNIMARCslim2OPACDetail.xsl|2 +-
.../prog/en/xslt/UNIMARCslim2OPACResults.xsl |2 +-
2 files
Currently Koha OAI server returns records in two formats: marcxml and
oai_dc (Dublin Core). This patch adds a new mode of operation where as
many as necessary metadata formats can be added via XSLT.
Documentation: See the end of oai.pl file to have an explanation of
how it works.
---
opac/oai.pl
---
.../prog/en/modules/tools/holidays.tmpl|9 -
tools/holidays.pl |6 +++---
2 files changed, 3 insertions(+), 12 deletions(-)
diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/holidays.tmpl
This patch put in SIPconfig.xml SIP2 server logging parameters. This is
way it's possible to modify where SIP2 logs are sent. And fix
OpenSolaris bug.
WARNING: After an upgrade, installation using a custom SIP2 server
config file will need to copy default SIPconfig.xml added section:
!--
Set
With this patch Koha SIP2 server send back a valid Item Information
Response for issued items: ie with due date in the response.
---
C4/SIP/ILS/Item.pm |9 +
1 files changed, 9 insertions(+), 0 deletions(-)
diff --git a/C4/SIP/ILS/Item.pm b/C4/SIP/ILS/Item.pm
index 2e02c63..f2c0636
This patch should also be applied on 3.0.x branch
---
cataloguing/additem.pl |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/cataloguing/additem.pl b/cataloguing/additem.pl
index e25bb44..35fbb13 100755
--- a/cataloguing/additem.pl
+++ b/cataloguing/additem.pl
@@ -384,7
This patch is for 3.0.x. 3.2 is correct.
---
admin/marc_subfields_structure.pl |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/admin/marc_subfields_structure.pl
b/admin/marc_subfields_structure.pl
index c8ee3df..7bcd0dc 100755
--- a/admin/marc_subfields_structure.pl
+++
Same as Chris patch but without redundant code
---
opac/opac-detail.pl |8
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/opac/opac-detail.pl b/opac/opac-detail.pl
index c3b104b..67f5dd0 100755
--- a/opac/opac-detail.pl
+++ b/opac/opac-detail.pl
@@ -65,6 +65,10 @@
---
opac/opac-detail.pl |8
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/opac/opac-detail.pl b/opac/opac-detail.pl
index 0a4983a..553187d 100755
--- a/opac/opac-detail.pl
+++ b/opac/opac-detail.pl
@@ -62,6 +62,10 @@ $template-param( 'AllowOnShelfHolds' =
Sysprefs were not sent to templates.
---
C4/Auth.pm |5 -
opac/opac-detail.pl |2 --
2 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/C4/Auth.pm b/C4/Auth.pm
index 608fd9b..e1f5b9a 100755
--- a/C4/Auth.pm
+++ b/C4/Auth.pm
@@ -392,7 +392,10 @@ sub
Tweak also intranet CSS file in order to have the same layout than on
OPAC.
For the futur: it would be required to group all XSL in one location.
For now if someone improve OPAC XSL, he/she will have not to forget to
take its modifications back to the intranet XSL.
---
- Install Debian Lenny packages required by Koha directly with apt-get
rather than with dselect.
- Update documentation about Zebra indexer configuration via
rebuild_zebra.pl rather than zebraqueue_daemon.pl script.
---
INSTALL.debian-lenny | 76 +++---
Those bugs must have been introduced by merge?
- Overdue to all libraries with overdue rules doesn't work
- Overdue to a specific library doesn't work also
---
misc/cronjobs/overdue_notices.pl |3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git
---
admin/systempreferences.pl |1 +
installer/data/mysql/en/mandatory/sysprefs.sql |1 +
.../1-Obligatoire/unimarc_standard_systemprefs.sql |1 +
installer/data/mysql/updatedatabase.pl | 15 +++
kohaversion.pl
support your question about the right procedure with revision numbers,
which is for RM, especially now that there is an official HEAD branch
and a Biblibre community branch somewhere.
--
Frédéric DEMIANS
http://www.tamil.fr/u/fdemians.html
___
Koha-patches
Last but not least. Your patch miss kohaversion.pl modification: you
need to upgrade version number to 3.01.00.101. (or 102 who know?)
--
Frédéric DEMIANS
http://www.tamil.fr/u/fdemians.html
___
Koha-patches mailing list
Koha-patches@lists.koha.org
.
By the way, your rotating collection functionality works like a charm!
Thanks.
--
Frédéric DEMIANS
http://www.tamil.fr/u/fdemians.html
___
Koha-patches mailing list
Koha-patches@lists.koha.org
http://lists.koha.org/mailman/listinfo/koha-patches
Please consider these two points. Thanks.
I will resend (from Kyle's name).
--
Frédéric
___
Koha-patches mailing list
Koha-patches@lists.koha.org
http://lists.koha.org/mailman/listinfo/koha-patches
mmm this latest patch does not apply on master because of
MARC21slimutils edits.
Frustrating ;)
My mess with MARC intranet XSL files. I fix that. (good night)
--
Frédéric
___
Koha-patches mailing list
Koha-patches@lists.koha.org
---
installer/data/mysql/updatedatabase.pl |2 --
1 files changed, 0 insertions(+), 2 deletions(-)
diff --git a/installer/data/mysql/updatedatabase.pl
b/installer/data/mysql/updatedatabase.pl
index 7bd1536..9f4c149 100755
--- a/installer/data/mysql/updatedatabase.pl
+++
---
.../Obligatoire/framework_DEFAULT.sql | 12 ++--
1 files changed, 6 insertions(+), 6 deletions(-)
diff --git
a/installer/data/mysql/fr-FR/marcflavour/unimarc_complet/Obligatoire/framework_DEFAULT.sql
---
.../Obligatoire/framework_DEFAULT.sql | 12 ++--
1 files changed, 6 insertions(+), 6 deletions(-)
diff --git
a/installer/data/mysql/fr-FR/marcflavour/unimarc_complet/Obligatoire/framework_DEFAULT.sql
---
serials/subscription-add.pl |8
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/serials/subscription-add.pl b/serials/subscription-add.pl
index 6ee32f5..7fe93c8 100755
--- a/serials/subscription-add.pl
+++ b/serials/subscription-add.pl
@@ -158,9 +158,9 @@ if ($op
---
serials/subscription-add.pl | 36 ++--
1 files changed, 14 insertions(+), 22 deletions(-)
diff --git a/serials/subscription-add.pl b/serials/subscription-add.pl
index 46fd88d..f7f23e7 100755
--- a/serials/subscription-add.pl
+++ b/serials/subscription-add.pl
This does not apply against HEAD.
Thanks. I resubmitted.
--
Frédéric
___
Koha-patches mailing list
Koha-patches@lists.koha.org
http://lists.koha.org/mailman/listinfo/koha-patches
---
catalogue/search.pl | 22 +-
1 files changed, 13 insertions(+), 9 deletions(-)
diff --git a/catalogue/search.pl b/catalogue/search.pl
index adb3cc7..bdcdfa8 100755
--- a/catalogue/search.pl
+++ b/catalogue/search.pl
@@ -205,16 +205,20 @@ if
---
misc/migration_tools/bulkmarcimport.pl | 179 ++-
1 files changed, 127 insertions(+), 52 deletions(-)
diff --git a/misc/migration_tools/bulkmarcimport.pl
b/misc/migration_tools/bulkmarcimport.pl
index 6a8a16b..da0ebf7 100755
---
- Add two syspref:
- OPACXSLTResultsDisplay
- OPACXSLDetailsDispay
- Add them to .pref files and dispatch them beetween OPAC and Search
tab.
- Upgrade DB version to 3.2 .113
- Fix something wrong in UNIMARCslim2intranetDetail.xsl
- Display OPAC result and detail pages using those syspref.
---
.../prog/en/xslt/UNIMARCslim2intranetDetail.xsl|3 +
.../prog/en/xslt/UNIMARCslimUtils.xsl | 52 +++-
.../prog/en/xslt/UNIMARCslim2OPACDetail.xsl|7 +--
.../prog/en/xslt/UNIMARCslim2OPACResults.xsl |2 +
Cut-and-past from pref-trans script:
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
Add to previous patch (and replace it):
- update function
- translation of tab subsection labels
- GPL2
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
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
---
misc/translator/install.pl | 66
1 files changed, 24 insertions(+), 42 deletions(-)
diff --git a/misc/translator/install.pl b/misc/translator/install.pl
index ae5e4b9..b526a6c 100755
--- a/misc/translator/install.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
Could improve performances for DB containing URLs which can't be fetched
(good or bad) quickly.
---
misc/cronjobs/check-url.pl | 14 +++---
1 files changed, 11 insertions(+), 3 deletions(-)
diff --git a/misc/cronjobs/check-url.pl b/misc/cronjobs/check-url.pl
index 9700c98..c2f4b5c
---
.../prog/en/modules/admin/preferences/opac.pref|6 ++
1 files changed, 6 insertions(+), 0 deletions(-)
diff --git
a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/opac.pref
b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/opac.pref
index 81844c0..e0ff70b
The following changes since commit 84b3c05c0d98fc77f5c859fa084d9491731cb34f:
Frédéric Demians (1):
Bug 2959 - Add a timeout parameter to the URL checker
are available in the git repository at:
git://git.tamil.fr/git/koha trans
Frédéric Demians (1):
[3.4] New wrapper script
Thanks for testing and your sign-off. It could even be possible to
include templates/preferences generation into Koha web installer or Koha
admin. This would allow to downsize drastically Koha .tar.gz.
___
Koha-patches mailing list
I will be pushing this to 3.2. However, could you send a follow-up
patch to have the license match the rest of Koha? Koha currently uses
the GPL 2 or later, not the Lesser GPL 2.1, so please replace the
license statement with the full text as used in other Koha Perl files:
No problem.
- Add preference OAI-PMH:ConfFile. I just add it in web-services.pref
and not in DB. It's enough. It's not an end-user preference. Without
this pref, OAI server operates as previously. And preferences editor
allow to add a new value to the DB if necessary.
- Fix response to
---
.../intranet-tmpl/prog/en/js/pages/preferences.js |8 ++--
.../prog/en/modules/admin/preferences.tmpl |9 -
2 files changed, 10 insertions(+), 7 deletions(-)
diff --git a/koha-tmpl/intranet-tmpl/prog/en/js/pages/preferences.js
---
xt/syspref.t |1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/xt/syspref.t b/xt/syspref.t
index a5174db..fb44421 100755
--- a/xt/syspref.t
+++ b/xt/syspref.t
@@ -30,6 +30,7 @@ my @trans_syspref_files = qw(
fr-FR/1-Obligatoire/unimarc_standard_systemprefs.sql
- Translation
- Add missing permissions: execute_reports, create_reports
- Rename properly: batchmod and batchdel
This has to be done for other languages.
---
.../mysql/fr-FR/1-Obligatoire/userpermissions.sql | 44 +++-
1 files changed, 24 insertions(+), 20 deletions(-)
diff
For example, for NoZebra syspref in French 'no' means 'yes' and 'yes'
mean 'no'. It applies to all boolean sysprefs.
The bugs comes from a tricky issue with how YAML parser interprets
yes/no value in hash's keys. Those values are surrounded automatically
with double quotes which causes translated
---
C4/Biblio.pm |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/C4/Biblio.pm b/C4/Biblio.pm
index 17796f3..85cbee7 100755
--- a/C4/Biblio.pm
+++ b/C4/Biblio.pm
@@ -3317,7 +3317,7 @@ sub ModBiblioMarc {
# deal with UNIMARC field 100 (encoding) : create it if needed
---
cataloguing/addbiblio.pl | 14 +++---
1 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/cataloguing/addbiblio.pl b/cataloguing/addbiblio.pl
index d519aed..ba54026 100755
--- a/cataloguing/addbiblio.pl
+++ b/cataloguing/addbiblio.pl
@@ -337,14 +337,14 @@ sub create_input
---
C4/Labels/Label.pm |3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/C4/Labels/Label.pm b/C4/Labels/Label.pm
index e16e244..9fb09f3 100644
--- a/C4/Labels/Label.pm
+++ b/C4/Labels/Label.pm
@@ -405,7 +405,8 @@ sub draw_label_text {
$field_data =~ s/\r//g;
1 - 100 of 105 matches
Mail list logo