Bugzilla – Attachment 76363 Details for
Bug 20988
[OMNIBUS] Internationalization: wrap all translatable text inside t() calls
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 20988: koha-tmpl/opac-tmpl/bootstrap/en/modules
Bug-20988-koha-tmplopac-tmplbootstrapenmodules.patch (text/plain), 148.33 KB, created by
Julian Maurice
on 2018-06-25 07:24:14 UTC
(
hide
)
Description:
Bug 20988: koha-tmpl/opac-tmpl/bootstrap/en/modules
Filename:
MIME Type:
Creator:
Julian Maurice
Created:
2018-06-25 07:24:14 UTC
Size:
148.33 KB
patch
obsolete
>From a4359dc40f9d19c10585301f2dbe301fbe775a59 Mon Sep 17 00:00:00 2001 >From: Julian Maurice <julian.maurice@biblibre.com> >Date: Mon, 25 Jun 2018 09:03:37 +0200 >Subject: [PATCH] Bug 20988: koha-tmpl/opac-tmpl/bootstrap/en/modules > >--- > .../bootstrap/en/modules/clubs/clubs-tab.tt | 27 +- > .../bootstrap/en/modules/clubs/enroll.tt | 7 +- > .../bootstrap/en/modules/errors/errorpage.tt | 47 +- > .../opac-tmpl/bootstrap/en/modules/ilsdi.tt | 1323 +++++++++-------- > .../bootstrap/en/modules/maintenance.tt | 7 +- > .../bootstrap/en/modules/sci/sci-main.tt | 66 +- > .../bootstrap/en/modules/sco/help.tt | 33 +- > .../bootstrap/en/modules/sco/printslip.tt | 3 +- > .../bootstrap/en/modules/sco/sco-main.tt | 129 +- > .../bootstrap/en/modules/svc/suggestion.tt | 13 +- > .../en/modules/text/explodedterms.tt | 7 +- > 11 files changed, 836 insertions(+), 826 deletions(-) > >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/clubs/clubs-tab.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/clubs/clubs-tab.tt >index 00ce135f2f..0588260388 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/clubs/clubs-tab.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/clubs/clubs-tab.tt >@@ -1,16 +1,17 @@ >+[% PROCESS 'i18n.inc' %] > [% USE KohaDates %] > > [% IF enrollments %] > >- <h4>Clubs currently enrolled in</h4> >+ <h4>[% t('Clubs currently enrolled in') %]</h4> > > <table id="clubs-table-enrolled" class="table table-bordered table-striped"> > <thead> > <tr> >- <th>Name</th> >- <th>Description</th> >- <th>Date enrolled</th> >- <th> </th> >+ <th>[% t('Name') %]</th> >+ <th>[% t('Description') %]</th> >+ <th>[% t('Date enrolled') %]</th> >+ <th> </th> > </tr> > </thead> > >@@ -23,10 +24,10 @@ > <td> > [% IF e.club.club_template.is_enrollable_from_opac %] > <button class="btn btn-xs btn-default" onclick="cancelEnrollment( [% e.id %] )"> >- <i class="icon-remove"></i> Cancel enrollment >+ <i class="icon-remove"></i> [% t('Cancel enrollment') %] > </button> > [% ELSE %] >- Contact your library to be disenrolled from this club. >+ [% t('Contact your library to be disenrolled from this club.') %] > [% END %] > </td> > </tr> >@@ -37,14 +38,14 @@ > > [% IF clubs %] > >- <h4>Clubs you can enroll in</h4> >+ <h4>[% t('Clubs you can enroll in') %]</h4> > > <table id="clubs-table-unenrolled" class="table table-bordered table-striped"> > <thead> > <tr> >- <th>Name</th> >- <th>Description</th> >- <th> </th> >+ <th>[% t('Name') %]</th> >+ <th>[% t('Description') %]</th> >+ <th> </th> > </tr> > </thead> > >@@ -56,10 +57,10 @@ > <td> > [% IF !c.club_template.is_email_required || ( c.club_template.is_email_required && borrower.first_valid_email_address ) %] > <button class="btn btn-xs btn-default" onclick="loadEnrollmentForm([% c.id %])"> >- <i class="icon-plus"></i> Enroll >+ <i class="icon-plus"></i> [% t('Enroll') %] > </button> > [% ELSE %] >- <span class="hint">You must have an email address to enroll</span> >+ <span class="hint">[% t('You must have an email address to enroll') %]</span> > [% END %] > </td> > </tr> >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/clubs/enroll.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/clubs/enroll.tt >index ce9531d4ef..042597e37c 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/clubs/enroll.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/clubs/enroll.tt >@@ -1,8 +1,9 @@ >+[% PROCESS 'i18n.inc' %] > [% USE AuthorisedValues %] > [% SET AuthorisedValuesCategories = AuthorisedValues.GetCategories %] > > <h3> >- Enroll in <i>[% club.name %]</i> >+ [% t('Enroll in') %] <i>[% club.name %]</i> > </h3> > > <div class="container"> >@@ -28,8 +29,8 @@ > [% END %] > > <li> >- <button class="btn btn-default" onclick="addEnrollment(); return false;">Finish enrollment</button> >- <a href="#" onclick="showClubs(); return false;">Cancel</a> >+ <button class="btn btn-default" onclick="addEnrollment(); return false;">[% t('Finish enrollment') %]</button> >+ <a href="#" onclick="showClubs(); return false;">[% t('Cancel') %]</a> > </li> > </ol> > </fieldset> >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/errors/errorpage.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/errors/errorpage.tt >index b0023d8320..ef39df9f2a 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/errors/errorpage.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/errors/errorpage.tt >@@ -1,5 +1,6 @@ >+[% PROCESS 'i18n.inc' %] > [% INCLUDE 'doc-head-open.inc' %] >-<title>[% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %]Koha online[% END %] catalog › An error has occurred</title> >+<title>[% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %][% t('Koha online') %][% END %] [% t('catalog âº') %] [% t('An error has occurred') %]</title> > [% INCLUDE 'doc-head-close.inc' %] > [% BLOCK cssinclude %][% END %] > </head> >@@ -8,8 +9,8 @@ > > <div class="main"> > <ul class="breadcrumb"> >- <li><a href="/cgi-bin/koha/opac-main.pl">Home</a> <span class="divider">›</span></li> >- <li><a href="#">Error [% errno %]</a></li> >+ <li><a href="/cgi-bin/koha/opac-main.pl">[% t('Home') %]</a> <span class="divider">âº</span></li> >+ <li><a href="#">[% t('Error') %] [% errno %]</a></li> > </ul> > > <div class="container-fluid"> >@@ -25,49 +26,49 @@ > <div class="span12"> > [% END %] > <div id="errormsg[% errno %]"> >- <h3>Sorry, the requested page is not available</h3> >- <h4>Error [% errno %]</h4> >- <h3>This message can have the following reason(s):</h3> >+ <h3>[% t('Sorry, the requested page is not available') %]</h3> >+ <h4>[% t('Error') %] [% errno %]</h4> >+ <h3>[% t('This message can have the following reason(s):') %]</h3> > <ul> > [% IF ( errno == 400 ) %] >- <li>The link is broken and the page does not exist.</li> >+ <li>[% t('The link is broken and the page does not exist.') %]</li> > [% END %] > > [% IF ( errno == 401 ) %] >- <li>You are not authorized to view this page.</li> >+ <li>[% t('You are not authorized to view this page.') %]</li> > [% END %] > > [% IF ( errno == 402 ) %] >- <li>The link is invalid.</li> >+ <li>[% t('The link is invalid.') %]</li> > [% END %] > > [% IF ( errno == 403 ) %] >- <li>You are forbidden to view this page.</li> >+ <li>[% t('You are forbidden to view this page.') %]</li> > [% END %] > > [% IF ( errno == 404 ) %] >- <li>You made use of an external link to a catalog item that is no longer available.</li> >- <li>You followed an outdated link e.g. from a search engine or a bookmark.</li> >- <li>You tried to access a page that needs authentication.</li> >- <li>An internal link in our catalog home page is broken and the page does not exist.</li> >+ <li>[% t('You made use of an external link to a catalog item that is no longer available.') %]</li> >+ <li>[% t('You followed an outdated link e.g. from a search engine or a bookmark.') %]</li> >+ <li>[% t('You tried to access a page that needs authentication.') %]</li> >+ <li>[% t('An internal link in our catalog home page is broken and the page does not exist.') %]</li> > [% END %] > [% IF ( errno == 500 ) %] >- <li>An error occurred while processing your request.</li> >+ <li>[% t('An error occurred while processing your request.') %]</li> > [% END %] > </ul> >- <h3>What's next?</h3> >+ <h3>[% t('What\'s next?') %]</h3> > <ul> > [% IF ( errno == 401 ) && ( Koha.Preference( 'opacuserlogin' ) == 1 ) %] >- <li>Please log in to the catalog and try again. <a href="/cgi-bin/koha/opac-user.pl">Login page</a></li> >+ <li>[% t('Please log in to the catalog and try again.') %] <a href="/cgi-bin/koha/opac-user.pl">[% t('Login page') %]</a></li> > [% END %] >- <li>You can use the menu and links at the top of the page</li> >- <li>You can search our catalog using the search form at the top of this page.</li> >- <li><a href="/cgi-bin/koha/opac-main.pl">Return to the catalog home page.</a></li> >+ <li>[% t('You can use the menu and links at the top of the page') %]</li> >+ <li>[% t('You can search our catalog using the search form at the top of this page.') %]</li> >+ <li><a href="/cgi-bin/koha/opac-main.pl">[% t('Return to the catalog home page.') %]</a></li> > </ul> >- <h3>Report issues and broken links</h3> >+ <h3>[% t('Report issues and broken links') %]</h3> > <ul> >- <li>To report this error, please contact the Koha Administrator. >- <a href="mailto:[% admin %]">Send email</a>.</li> >+ <li>[% t('To report this error, please contact the Koha Administrator.') %] >+ <a href="mailto:[% admin %]">[% t('Send email') %]</a>.</li> > </ul> > </div> <!-- / #errormsg[% errno %] --> > </div> <!-- / .span10/12 --> >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/ilsdi.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/ilsdi.tt >index f62f310272..5a5d0b9caf 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/ilsdi.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/ilsdi.tt >@@ -1,32 +1,33 @@ >+[% PROCESS 'i18n.inc' %] > [% USE Koha %] > [% INCLUDE 'doc-head-open.inc' %] >-<title>[% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %]Koha online[% END %] catalog › >+<title>[% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %][% t('Koha online') %][% END %] [% t('catalog âº') %] > [% IF ( GetAvailability ) %] >- ILS-DI › GetAvailability >+ [% t('ILS-DI ⺠GetAvailability') %] > [% ELSIF ( GetRecords ) %] >- ILS-DI › GetRecords >+ [% t('ILS-DI ⺠GetRecords') %] > [% ELSIF ( GetAuthorityRecords ) %] >- ILS-DI › GetAuthorityRecords >+ [% t('ILS-DI ⺠GetAuthorityRecords') %] > [% ELSIF ( LookupPatron ) %] >- ILS-DI › LookupPatron >+ [% t('ILS-DI ⺠LookupPatron') %] > [% ELSIF ( AuthenticatePatron ) %] >- ILS-DI › AuthenticatePatron >+ [% t('ILS-DI ⺠AuthenticatePatron') %] > [% ELSIF ( GetPatronInfo ) %] >- ILS-DI › GetPatronInfo >+ [% t('ILS-DI ⺠GetPatronInfo') %] > [% ELSIF ( GetPatronStatus ) %] >- ILS-DI › GetPatronStatus >+ [% t('ILS-DI ⺠GetPatronStatus') %] > [% ELSIF ( GetServices ) %] >- ILS-DI › GetServices >+ [% t('ILS-DI ⺠GetServices') %] > [% ELSIF ( RenewLoan ) %] >- ILS-DI › RenewLoan >+ [% t('ILS-DI ⺠RenewLoan') %] > [% ELSIF ( HoldTitle ) %] >- ILS-DI › HoldTitle >+ [% t('ILS-DI ⺠HoldTitle') %] > [% ELSIF ( HoldItem ) %] >- ILS-DI › HoldItem >+ [% t('ILS-DI ⺠HoldItem') %] > [% ELSIF ( CancelHold ) %] >- ILS-DI › CancelHold >+ [% t('ILS-DI ⺠CancelHold') %] > [% ELSE %] >- ILS-DI >+ [% t('ILS-DI') %] > [% END %]</title> > [% INCLUDE 'doc-head-close.inc' %] > [% BLOCK cssinclude %][% END %] >@@ -36,45 +37,45 @@ > > <div class="main"> > <ul class="breadcrumb"> >- <li><a href="/cgi-bin/koha/opac-main.pl">Home</a> <span class="divider">›</span></li> >+ <li><a href="/cgi-bin/koha/opac-main.pl">[% t('Home') %]</a> <span class="divider">âº</span></li> > [% IF ( GetAvailability ) %] >- <li><a href="/cgi-bin/koha/ilsdi.pl">ILS-DI</a> <span class="divider">›</span></li> >- <li><a href="#">GetAvailability</a></li> >+ <li><a href="/cgi-bin/koha/ilsdi.pl">[% t('ILS-DI') %]</a> <span class="divider">âº</span></li> >+ <li><a href="#">[% t('GetAvailability') %]</a></li> > [% ELSIF ( GetRecords ) %] >- <li><a href="/cgi-bin/koha/ilsdi.pl">ILS-DI</a> <span class="divider">›</span></li> >- <li><a href="#">GetRecords</a></li> >+ <li><a href="/cgi-bin/koha/ilsdi.pl">[% t('ILS-DI') %]</a> <span class="divider">âº</span></li> >+ <li><a href="#">[% t('GetRecords') %]</a></li> > [% ELSIF ( GetAuthorityRecords ) %] >- <li><a href="/cgi-bin/koha/ilsdi.pl">ILS-DI</a> <span class="divider">›</span></li> >- <li><a href="#">GetAuthorityRecords</a></li> >+ <li><a href="/cgi-bin/koha/ilsdi.pl">[% t('ILS-DI') %]</a> <span class="divider">âº</span></li> >+ <li><a href="#">[% t('GetAuthorityRecords') %]</a></li> > [% ELSIF ( LookupPatron ) %] >- <li><a href="/cgi-bin/koha/ilsdi.pl">ILS-DI</a> <span class="divider">›</span></li> >- <li><a href="#">LookupPatron</a></li> >+ <li><a href="/cgi-bin/koha/ilsdi.pl">[% t('ILS-DI') %]</a> <span class="divider">âº</span></li> >+ <li><a href="#">[% t('LookupPatron') %]</a></li> > [% ELSIF ( AuthenticatePatron ) %] >- <li><a href="/cgi-bin/koha/ilsdi.pl">ILS-DI</a> <span class="divider">›</span></li> >- <li><a href="#">AuthenticatePatron</a></li> >+ <li><a href="/cgi-bin/koha/ilsdi.pl">[% t('ILS-DI') %]</a> <span class="divider">âº</span></li> >+ <li><a href="#">[% t('AuthenticatePatron') %]</a></li> > [% ELSIF ( GetPatronInfo ) %] >- <li><a href="/cgi-bin/koha/ilsdi.pl">ILS-DI</a> <span class="divider">›</span></li> >- <li><a href="#">GetPatronInfo</a></li> >+ <li><a href="/cgi-bin/koha/ilsdi.pl">[% t('ILS-DI') %]</a> <span class="divider">âº</span></li> >+ <li><a href="#">[% t('GetPatronInfo') %]</a></li> > [% ELSIF ( GetPatronStatus ) %] >- <li><a href="/cgi-bin/koha/ilsdi.pl">ILS-DI</a> <span class="divider">›</span></li> >- <li><a href="#">GetPatronStatus</a></li> >+ <li><a href="/cgi-bin/koha/ilsdi.pl">[% t('ILS-DI') %]</a> <span class="divider">âº</span></li> >+ <li><a href="#">[% t('GetPatronStatus') %]</a></li> > [% ELSIF ( GetServices ) %] >- <li><a href="/cgi-bin/koha/ilsdi.pl">ILS-DI</a> <span class="divider">›</span></li> >- <li><a href="#">GetServices</a></li> >+ <li><a href="/cgi-bin/koha/ilsdi.pl">[% t('ILS-DI') %]</a> <span class="divider">âº</span></li> >+ <li><a href="#">[% t('GetServices') %]</a></li> > [% ELSIF ( RenewLoan ) %] >- <li><a href="/cgi-bin/koha/ilsdi.pl">ILS-DI</a> <span class="divider">›</span></li> >- <li><a href="#">RenewLoan</a></li> >+ <li><a href="/cgi-bin/koha/ilsdi.pl">[% t('ILS-DI') %]</a> <span class="divider">âº</span></li> >+ <li><a href="#">[% t('RenewLoan') %]</a></li> > [% ELSIF ( HoldTitle ) %] >- <li><a href="/cgi-bin/koha/ilsdi.pl">ILS-DI</a> <span class="divider">›</span></li> >- <li><a href="#">HoldTitle</a></li> >+ <li><a href="/cgi-bin/koha/ilsdi.pl">[% t('ILS-DI') %]</a> <span class="divider">âº</span></li> >+ <li><a href="#">[% t('HoldTitle') %]</a></li> > [% ELSIF ( HoldItem ) %] >- <li><a href="/cgi-bin/koha/ilsdi.pl">ILS-DI</a> <span class="divider">›</span></li> >- <li><a href="#">HoldItem</a></li> >+ <li><a href="/cgi-bin/koha/ilsdi.pl">[% t('ILS-DI') %]</a> <span class="divider">âº</span></li> >+ <li><a href="#">[% t('HoldItem') %]</a></li> > [% ELSIF ( CancelHold ) %] >- <li><a href="/cgi-bin/koha/ilsdi.pl">ILS-DI</a> <span class="divider">›</span></li> >- <li><a href="#">CancelHold</a></li> >+ <li><a href="/cgi-bin/koha/ilsdi.pl">[% t('ILS-DI') %]</a> <span class="divider">âº</span></li> >+ <li><a href="#">[% t('CancelHold') %]</a></li> > [% ELSE %] >- <li><a href="#">ILS-DI</a></li> >+ <li><a href="#">[% t('ILS-DI') %]</a></li> > [% END %] > > >@@ -102,723 +103,723 @@ > <div class="span12"> > [% END %] > <div id="ilsdi"> >- <h1>ILS-DI</h1> >+ <h1>[% t('ILS-DI') %]</h1> > [% IF ( GetAvailability ) %] > >- <h2>GetAvailability</h2> >- <p>Given a set of bibliographic or item identifiers, returns a >- list with availability of the items associated with the identifiers.</p> >- <h4>Parameters</h4> >+ <h2>[% t('GetAvailability') %]</h2> >+ <p>[% t('Given a set of bibliographic or item identifiers, returns a') %] >+ [% t('list with availability of the items associated with the identifiers.') %]</p> >+ <h4>[% t('Parameters') %]</h4> > <dl> >- <dt><strong>id</strong> (Required)</dt> >- <dd>list of either bibliographic or item identifiers</dd> >- <dt><strong>id_type</strong> (Required)</dt> >- <dd>defines the type of record identifier being used in the request, possible values: >+ <dt><strong>[% t('id') %]</strong> [% t('(Required)') %]</dt> >+ <dd>[% t('list of either bibliographic or item identifiers') %]</dd> >+ <dt><strong>[% t('id_type') %]</strong> [% t('(Required)') %]</dt> >+ <dd>[% t('defines the type of record identifier being used in the request, possible values:') %] > <ul> >- <li>bib</li> >- <li>item</li> >+ <li>[% t('bib') %]</li> >+ <li>[% t('item') %]</li> > </ul> > </dd> >- <dt><strong>return_type</strong> (Optional)</dt> >- <dd>requests a particular level of detail in reporting availability, possible values: >+ <dt><strong>[% t('return_type') %]</strong> [% t('(Optional)') %]</dt> >+ <dd>[% t('requests a particular level of detail in reporting availability, possible values:') %] > <ul> >- <li>bib</li> >- <li>item</li> >+ <li>[% t('bib') %]</li> >+ <li>[% t('item') %]</li> > </ul> > </dd> >- <dt><strong>return_fmt</strong> (Optional)</dt> >- <dd>requests a particular format or set of formats in reporting availability</dd> >+ <dt><strong>[% t('return_fmt') %]</strong> [% t('(Optional)') %]</dt> >+ <dd>[% t('requests a particular format or set of formats in reporting availability') %]</dd> > </dl> >- <h4>Example call</h4> >- <a href="ilsdi.pl?service=GetAvailability&id=1+2+99999&id_type=item"> >- ilsdi.pl?service=GetAvailability&id=1+2+99999&id_type=item >+ <h4>[% t('Example call') %]</h4> >+ <a href="ilsdi.pl?service=GetAvailability&id=1+2+99999&id_type=item"> >+ [% t('ilsdi.pl?service=GetAvailability&id=1+2+99999&id_type=item') %] > </a> >- <h4>Example response</h4> >-<pre><?xml version="1.0" encoding="ISO-8859-1" ?> >-<dlf:collection >- xmlns:dlf="http://diglib.org/ilsdi/1.1" >- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" >- xsi:schemaLocation="http://diglib.org/ilsdi/1.1 >- http://diglib.org/architectures/ilsdi/schemas/1.1/dlfexpanded.xsd"> >- <dlf:record> >- <dlf:bibliographic id="1" /> >- <dlf:items> >- <dlf:item id="1"> >- <dlf:simpleavailability> >- <dlf:identifier>1</dlf:identifier> >- <dlf:availabilitystatus>available</dlf:availabilitystatus> >- <dlf:location>Bibliothèque Jean Prunier</dlf:location> >- </dlf:simpleavailability> >- </dlf:item> >- </dlf:items> >- </dlf:record> >- <dlf:record> >- <dlf:bibliographic id="2" /> >- <dlf:items> >- <dlf:item id="2"> >- <dlf:simpleavailability> >- <dlf:identifier>2</dlf:identifier> >- <dlf:availabilitystatus>available</dlf:availabilitystatus> >- <dlf:location>Bibliothèque Jean Prunier</dlf:location> >- </dlf:simpleavailability> >- </dlf:item> >- </dlf:items> >- </dlf:record> >- <dlf:record> >- <dlf:bibliographic id="99999" /> >- <dlf:items> >- <dlf:item id="99999"> >- <dlf:simpleavailability> >- <dlf:identifier>99999</dlf:identifier> >- >- <dlf:availabilitystatus>unknown</dlf:availabilitystatus> >- <dlf:availabilitymsg>Error: could not retrieve availability for this ID</dlf:availabilitymsg> >- </dlf:simpleavailability> >- </dlf:item> >- </dlf:items> >- </dlf:record> >-</dlf:collection></pre> >+ <h4>[% t('Example response') %]</h4> >+<pre>[% t('<?xml version="1.0" encoding="ISO-8859-1" ?>') %] >+[% t('<dlf:collection') %] >+ [% t('xmlns:dlf="http://diglib.org/ilsdi/1.1"') %] >+ [% t('xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"') %] >+ [% t('xsi:schemaLocation="http://diglib.org/ilsdi/1.1') %] >+ [% t('http://diglib.org/architectures/ilsdi/schemas/1.1/dlfexpanded.xsd">') %] >+ [% t('<dlf:record>') %] >+ [% t('<dlf:bibliographic id="1" />') %] >+ [% t('<dlf:items>') %] >+ [% t('<dlf:item id="1">') %] >+ [% t('<dlf:simpleavailability>') %] >+ [% t('<dlf:identifier>1</dlf:identifier>') %] >+ [% t('<dlf:availabilitystatus>available</dlf:availabilitystatus>') %] >+ [% t('<dlf:location>Bibliothèque Jean Prunier</dlf:location>') %] >+ [% t('</dlf:simpleavailability>') %] >+ [% t('</dlf:item>') %] >+ [% t('</dlf:items>') %] >+ [% t('</dlf:record>') %] >+ [% t('<dlf:record>') %] >+ [% t('<dlf:bibliographic id="2" />') %] >+ [% t('<dlf:items>') %] >+ [% t('<dlf:item id="2">') %] >+ [% t('<dlf:simpleavailability>') %] >+ [% t('<dlf:identifier>2</dlf:identifier>') %] >+ [% t('<dlf:availabilitystatus>available</dlf:availabilitystatus>') %] >+ [% t('<dlf:location>Bibliothèque Jean Prunier</dlf:location>') %] >+ [% t('</dlf:simpleavailability>') %] >+ [% t('</dlf:item>') %] >+ [% t('</dlf:items>') %] >+ [% t('</dlf:record>') %] >+ [% t('<dlf:record>') %] >+ [% t('<dlf:bibliographic id="99999" />') %] >+ [% t('<dlf:items>') %] >+ [% t('<dlf:item id="99999">') %] >+ [% t('<dlf:simpleavailability>') %] >+ [% t('<dlf:identifier>99999</dlf:identifier>') %] >+ >+ [% t('<dlf:availabilitystatus>unknown</dlf:availabilitystatus>') %] >+ [% t('<dlf:availabilitymsg>Error: could not retrieve availability for this ID</dlf:availabilitymsg>') %] >+ [% t('</dlf:simpleavailability>') %] >+ [% t('</dlf:item>') %] >+ [% t('</dlf:items>') %] >+ [% t('</dlf:record>') %] >+[% t('</dlf:collection>') %]</pre> > > [% ELSIF ( GetRecords ) %] > >- <h2>GetRecords</h2> >- <p>Given a list of record identifiers, returns a list of record >- objects that contain bibliographic information, as well as >- associated holdings and item information. The caller may request >- a specific metadata schema for the record objects to be returned. >- This function behaves similarly to HarvestBibliographicRecords and >- HarvestExpandedRecords in Data Aggregation, but allows quick, real >- time lookup by bibliographic identifier.</p> >- <p>You can use OAI-PMH ListRecords instead of this service.</p> >- <h4>Parameters</h4> >+ <h2>[% t('GetRecords') %]</h2> >+ <p>[% t('Given a list of record identifiers, returns a list of record') %] >+ [% t('objects that contain bibliographic information, as well as') %] >+ [% t('associated holdings and item information. The caller may request') %] >+ [% t('a specific metadata schema for the record objects to be returned.') %] >+ [% t('This function behaves similarly to HarvestBibliographicRecords and') %] >+ [% t('HarvestExpandedRecords in Data Aggregation, but allows quick, real') %] >+ [% t('time lookup by bibliographic identifier.') %]</p> >+ <p>[% t('You can use OAI-PMH ListRecords instead of this service.') %]</p> >+ <h4>[% t('Parameters') %]</h4> > <dl> >- <dt><strong>id</strong> (Required)</dt> >- <dd>list of system record identifiers</dd> >- <dt><strong>id_type</strong> (Optional)</dt> >- <dd>Defines the metadata schema in which the records are >- returned, possible values: >+ <dt><strong>[% t('id') %]</strong> [% t('(Required)') %]</dt> >+ <dd>[% t('list of system record identifiers') %]</dd> >+ <dt><strong>[% t('id_type') %]</strong> [% t('(Optional)') %]</dt> >+ <dd>[% t('Defines the metadata schema in which the records are') %] >+ [% t('returned, possible values:') %] > <ul> >- <li>MARCXML</li> >+ <li>[% t('MARCXML') %]</li> > </ul> > </dd> > </dl> >- <h4>Example Call</h4> >- <a href="ilsdi.pl?service=GetRecords&id=1+2+99999"> >- ilsdi.pl?service=GetRecords&id=1+2+99999 >+ <h4>[% t('Example Call') %]</h4> >+ <a href="ilsdi.pl?service=GetRecords&id=1+2+99999"> >+ [% t('ilsdi.pl?service=GetRecords&id=1+2+99999') %] > </a> >- <h4>Example response</h4> >-<pre><?xml version="1.0" encoding="ISO-8859-1" ?> >-<GetRecords> >- <record> >- <biblioitemnumber>1</biblioitemnumber> >- <isbn>9782862749198</isbn> >- <marcxml> >- <?xml version="1.0" encoding="UTF-8" ?> >- <record >- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" >- xsi:schemaLocation="http://www.loc.gov/MARC21/slim http://www.loc.gov/ standards/marcxml/schema/MARC21slim.xsd" >- xmlns="http://www.loc.gov/MARC21/slim"> >- <leader>00397nac a22001451u 4500</leader> >- <datafield tag="010" ind1=" " ind2=" "> >- <subfield code="a">9782862749198</subfield> >- </datafield> >- <datafield tag="090" ind1=" " ind2=" "> >- <subfield code="a">1</subfield> >- </datafield> >- <datafield tag="101" ind1=" " ind2=" "> >- <subfield code="a">fre</subfield> >- </datafield> >- <datafield tag="100" ind1=" " ind2=" "> >- <subfield code="a">20080725 frey50 </subfield> >- </datafield> >- <datafield tag="200" ind1=" " ind2=" "> >- <subfield code="a">Jardins d'enfance</subfield> >- <subfield code="b">LITT</subfield> >- <subfield code="f">Abécassis, Eliette</subfield> >- </datafield> >- <datafield tag="210" ind1=" " ind2=" "> >- <subfield code="c">cherche midi éditeur</subfield> >- <subfield code="d">11/2001</subfield> >- </datafield> >- <datafield tag="215" ind1=" " ind2=" "> >- <subfield code="a">180</subfield> >- </datafield> >- <datafield tag="225" ind1=" " ind2=" "> >- <subfield code="a">nouvelles</subfield> >- </datafield> >- <datafield tag="995" ind1=" " ind2=" "> >- <subfield code="9">1</subfield> >- <subfield code="c">BIB</subfield> >- <subfield code="2">0</subfield> >- <subfield code="k">R ABE</subfield> >- <subfield code="o">0</subfield> >- <subfield code="e">Secteur Adulte</subfield> >- <subfield code="b">BIB</subfield> >- <subfield code="j">7786000200</subfield> >- <subfield code="q">a</subfield> >- <subfield code="r">2</subfield> >- <subfield code="s">Achats</subfield> >- </datafield> >- <controlfield tag="001">1</controlfield> >- </record> >- </marcxml> >- <publicationyear>2001</publicationyear> >- <collectiontitle>nouvelles</collectiontitle> >- <pages>180</pages> >- <issues> >- </issues> >- <itemtype>LITT</itemtype> >- <biblionumber>1</biblionumber> >- <timestamp>2008-09-03 18:43:19</timestamp> >- <cn_sort>_</cn_sort> >- <publishercode>cherche midi éditeur</publishercode> >- <reserves> >- </reserves> >- <items> >- <item> >- <biblioitemnumber>1</biblioitemnumber> >- <withdrawn>0</withdrawn> >- <holdingbranchname>Bibliothèque Jean Prunier</holdingbranchname> >- <notforloan>0</notforloan> >- <replacementpricedate>2008-08-20</replacementpricedate> >- <itemnumber>1</itemnumber> >- <location>Secteur Adulte</location> >- <itemcallnumber>R ABE</itemcallnumber> >- <date_due></date_due> >- <itemlost>0</itemlost> >- <datelastseen>2008-08-20</datelastseen> >- <homebranch>BIB</homebranch> >- <homebranchname>Bibliothèque Jean Prunier</homebranchname> >- <biblionumber>1</biblionumber> >- <holdingbranch>BIB</holdingbranch> >- <timestamp>2008-08-20 17:15:51</timestamp> >- <damaged>0</damaged> >- <cn_sort>R_ABE</cn_sort> >- <dateaccessioned>2008-08-20</dateaccessioned> >- </item> >- </items> >- </record> >- <record> >- <biblioitemnumber>2</biblioitemnumber> >- <isbn>9782265078031</isbn> >- <marcxml> >- <?xml version="1.0" encoding="UTF-8" ?> >- <record >- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" >- xsi:schemaLocation="http://www.loc.gov/MARC21/slim http://www.loc.gov/ standards/marcxml/schema/MARC21slim.xsd" >- xmlns="http://www.loc.gov/MARC21/slim"> >- <leader>00407nac a22001451u 4500</leader> >- <datafield tag="010" ind1=" " ind2=" "> >- <subfield code="a">9782265078031</subfield> >- </datafield> >- <datafield tag="090" ind1=" " ind2=" "> >- <subfield code="a">2</subfield> >- </datafield> >- <datafield tag="101" ind1=" " ind2=" "> >- <subfield code="a">fre</subfield> >- </datafield> >- <datafield tag="100" ind1=" " ind2=" "> >- <subfield code="a">20080725 frey50 </subfield> >- </datafield> >- <datafield tag="200" ind1=" " ind2=" "> >- <subfield code="a">(Les) tribulations d'une jeune divorcée</subfield> >- <subfield code="b">LITT</subfield> >- <subfield code="f">Abécassis, Eliette</subfield> >- </datafield> >- <datafield tag="210" ind1=" " ind2=" "> >- <subfield code="c">bussière</subfield> >- <subfield code="d">01/2005</subfield> >- </datafield> >- <datafield tag="215" ind1=" " ind2=" "> >- <subfield code="a">306</subfield> >- </datafield> >- <datafield tag="225" ind1=" " ind2=" "> >- <subfield code="a">fleuve noir</subfield> >- </datafield> >- <datafield tag="995" ind1=" " ind2=" "> >- <subfield code="9">2</subfield> >- <subfield code="c">BIB</subfield> >- <subfield code="2">0</subfield> >- <subfield code="k">R ABE</subfield> >- <subfield code="o">0</subfield> >- <subfield code="e">Secteur Adulte</subfield> >- <subfield code="b">BIB</subfield> >- <subfield code="j">7786004672</subfield> >- <subfield code="q">a</subfield> >- <subfield code="s">Achats</subfield> >- </datafield> >- <controlfield tag="001">2</controlfield> >- </record> >- </marcxml> >- <publicationyear>2005</publicationyear> >- <collectiontitle>fleuve noir</collectiontitle> >- <pages>306</pages> >- <issues> >- </issues> >- <itemtype>LITT</itemtype> >- <biblionumber>2</biblionumber> >- <timestamp>2008-09-03 18:43:19</timestamp> >- <cn_sort>_</cn_sort> >- <publishercode>bussière</publishercode> >- <reserves> >- </reserves> >- <items> >- <item> >- <biblioitemnumber>2</biblioitemnumber> >- <withdrawn>0</withdrawn> >- <holdingbranchname>Bibliothèque Jean Prunier</holdingbranchname> >- <notforloan>0</notforloan> >- <replacementpricedate>2008-08-20</replacementpricedate> >- <itemnumber>2</itemnumber> >- <location>Secteur Adulte</location> >- <itemcallnumber>R ABE</itemcallnumber> >- <date_due></date_due> >- <itemlost>0</itemlost> >- <datelastseen>2008-08-20</datelastseen> >- <homebranch>BIB</homebranch> >- <homebranchname>Bibliothèque Jean Prunier</homebranchname> >- <biblionumber>2</biblionumber> >- <holdingbranch>BIB</holdingbranch> >- <timestamp>2008-08-20 17:15:51</timestamp> >- <damaged>0</damaged> >- <cn_sort>R_ABE</cn_sort> >- <dateaccessioned>2008-08-20</dateaccessioned> >- </item> >- </items> >- </record> >- <record>RecordNotFound</record> >-</GetRecords></pre> >+ <h4>[% t('Example response') %]</h4> >+<pre>[% t('<?xml version="1.0" encoding="ISO-8859-1" ?>') %] >+[% t('<GetRecords>') %] >+ [% t('<record>') %] >+ [% t('<biblioitemnumber>1</biblioitemnumber>') %] >+ [% t('<isbn>9782862749198</isbn>') %] >+ [% t('<marcxml>') %] >+ [% t('<?xml version="1.0" encoding="UTF-8" ?>') %] >+ [% t('<record') %] >+ [% t('xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"') %] >+ [% t('xsi:schemaLocation="http://www.loc.gov/MARC21/slim http://www.loc.gov/ standards/marcxml/schema/MARC21slim.xsd"') %] >+ [% t('xmlns="http://www.loc.gov/MARC21/slim">') %] >+ [% t('<leader>00397nac a22001451u 4500</leader>') %] >+ [% t('<datafield tag="010" ind1=" " ind2=" ">') %] >+ [% t('<subfield code="a">9782862749198</subfield>') %] >+ [% t('</datafield>') %] >+ [% t('<datafield tag="090" ind1=" " ind2=" ">') %] >+ [% t('<subfield code="a">1</subfield>') %] >+ [% t('</datafield>') %] >+ [% t('<datafield tag="101" ind1=" " ind2=" ">') %] >+ [% t('<subfield code="a">fre</subfield>') %] >+ [% t('</datafield>') %] >+ [% t('<datafield tag="100" ind1=" " ind2=" ">') %] >+ [% t('<subfield code="a">20080725') %] [% t('frey50') %] [% t('</subfield>') %] >+ [% t('</datafield>') %] >+ [% t('<datafield tag="200" ind1=" " ind2=" ">') %] >+ [% t('<subfield code="a">Jardins d\'enfance</subfield>') %] >+ [% t('<subfield code="b">LITT</subfield>') %] >+ [% t('<subfield code="f">Abécassis, Eliette</subfield>') %] >+ [% t('</datafield>') %] >+ [% t('<datafield tag="210" ind1=" " ind2=" ">') %] >+ [% t('<subfield code="c">cherche midi éditeur</subfield>') %] >+ [% t('<subfield code="d">11/2001</subfield>') %] >+ [% t('</datafield>') %] >+ [% t('<datafield tag="215" ind1=" " ind2=" ">') %] >+ [% t('<subfield code="a">180</subfield>') %] >+ [% t('</datafield>') %] >+ [% t('<datafield tag="225" ind1=" " ind2=" ">') %] >+ [% t('<subfield code="a">nouvelles</subfield>') %] >+ [% t('</datafield>') %] >+ [% t('<datafield tag="995" ind1=" " ind2=" ">') %] >+ [% t('<subfield code="9">1</subfield>') %] >+ [% t('<subfield code="c">BIB</subfield>') %] >+ [% t('<subfield code="2">0</subfield>') %] >+ [% t('<subfield code="k">R ABE</subfield>') %] >+ [% t('<subfield code="o">0</subfield>') %] >+ [% t('<subfield code="e">Secteur Adulte</subfield>') %] >+ [% t('<subfield code="b">BIB</subfield>') %] >+ [% t('<subfield code="j">7786000200</subfield>') %] >+ [% t('<subfield code="q">a</subfield>') %] >+ [% t('<subfield code="r">2</subfield>') %] >+ [% t('<subfield code="s">Achats</subfield>') %] >+ [% t('</datafield>') %] >+ [% t('<controlfield tag="001">1</controlfield>') %] >+ [% t('</record>') %] >+ [% t('</marcxml>') %] >+ [% t('<publicationyear>2001</publicationyear>') %] >+ [% t('<collectiontitle>nouvelles</collectiontitle>') %] >+ [% t('<pages>180</pages>') %] >+ [% t('<issues>') %] >+ [% t('</issues>') %] >+ [% t('<itemtype>LITT</itemtype>') %] >+ [% t('<biblionumber>1</biblionumber>') %] >+ [% t('<timestamp>2008-09-03 18:43:19</timestamp>') %] >+ [% t('<cn_sort>_</cn_sort>') %] >+ [% t('<publishercode>cherche midi éditeur</publishercode>') %] >+ [% t('<reserves>') %] >+ [% t('</reserves>') %] >+ [% t('<items>') %] >+ [% t('<item>') %] >+ [% t('<biblioitemnumber>1</biblioitemnumber>') %] >+ [% t('<withdrawn>0</withdrawn>') %] >+ [% t('<holdingbranchname>Bibliothèque Jean Prunier</holdingbranchname>') %] >+ [% t('<notforloan>0</notforloan>') %] >+ [% t('<replacementpricedate>2008-08-20</replacementpricedate>') %] >+ [% t('<itemnumber>1</itemnumber>') %] >+ [% t('<location>Secteur Adulte</location>') %] >+ [% t('<itemcallnumber>R ABE</itemcallnumber>') %] >+ [% t('<date_due></date_due>') %] >+ [% t('<itemlost>0</itemlost>') %] >+ [% t('<datelastseen>2008-08-20</datelastseen>') %] >+ [% t('<homebranch>BIB</homebranch>') %] >+ [% t('<homebranchname>Bibliothèque Jean Prunier</homebranchname>') %] >+ [% t('<biblionumber>1</biblionumber>') %] >+ [% t('<holdingbranch>BIB</holdingbranch>') %] >+ [% t('<timestamp>2008-08-20 17:15:51</timestamp>') %] >+ [% t('<damaged>0</damaged>') %] >+ [% t('<cn_sort>R_ABE</cn_sort>') %] >+ [% t('<dateaccessioned>2008-08-20</dateaccessioned>') %] >+ [% t('</item>') %] >+ [% t('</items>') %] >+ [% t('</record>') %] >+ [% t('<record>') %] >+ [% t('<biblioitemnumber>2</biblioitemnumber>') %] >+ [% t('<isbn>9782265078031</isbn>') %] >+ [% t('<marcxml>') %] >+ [% t('<?xml version="1.0" encoding="UTF-8" ?>') %] >+ [% t('<record') %] >+ [% t('xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"') %] >+ [% t('xsi:schemaLocation="http://www.loc.gov/MARC21/slim http://www.loc.gov/ standards/marcxml/schema/MARC21slim.xsd"') %] >+ [% t('xmlns="http://www.loc.gov/MARC21/slim">') %] >+ [% t('<leader>00407nac a22001451u 4500</leader>') %] >+ [% t('<datafield tag="010" ind1=" " ind2=" ">') %] >+ [% t('<subfield code="a">9782265078031</subfield>') %] >+ [% t('</datafield>') %] >+ [% t('<datafield tag="090" ind1=" " ind2=" ">') %] >+ [% t('<subfield code="a">2</subfield>') %] >+ [% t('</datafield>') %] >+ [% t('<datafield tag="101" ind1=" " ind2=" ">') %] >+ [% t('<subfield code="a">fre</subfield>') %] >+ [% t('</datafield>') %] >+ [% t('<datafield tag="100" ind1=" " ind2=" ">') %] >+ [% t('<subfield code="a">20080725') %] [% t('frey50') %] [% t('</subfield>') %] >+ [% t('</datafield>') %] >+ [% t('<datafield tag="200" ind1=" " ind2=" ">') %] >+ [% t('<subfield code="a">(Les) tribulations d\'une jeune divorcée</subfield>') %] >+ [% t('<subfield code="b">LITT</subfield>') %] >+ [% t('<subfield code="f">Abécassis, Eliette</subfield>') %] >+ [% t('</datafield>') %] >+ [% t('<datafield tag="210" ind1=" " ind2=" ">') %] >+ [% t('<subfield code="c">bussière</subfield>') %] >+ [% t('<subfield code="d">01/2005</subfield>') %] >+ [% t('</datafield>') %] >+ [% t('<datafield tag="215" ind1=" " ind2=" ">') %] >+ [% t('<subfield code="a">306</subfield>') %] >+ [% t('</datafield>') %] >+ [% t('<datafield tag="225" ind1=" " ind2=" ">') %] >+ [% t('<subfield code="a">fleuve noir</subfield>') %] >+ [% t('</datafield>') %] >+ [% t('<datafield tag="995" ind1=" " ind2=" ">') %] >+ [% t('<subfield code="9">2</subfield>') %] >+ [% t('<subfield code="c">BIB</subfield>') %] >+ [% t('<subfield code="2">0</subfield>') %] >+ [% t('<subfield code="k">R ABE</subfield>') %] >+ [% t('<subfield code="o">0</subfield>') %] >+ [% t('<subfield code="e">Secteur Adulte</subfield>') %] >+ [% t('<subfield code="b">BIB</subfield>') %] >+ [% t('<subfield code="j">7786004672</subfield>') %] >+ [% t('<subfield code="q">a</subfield>') %] >+ [% t('<subfield code="s">Achats</subfield>') %] >+ [% t('</datafield>') %] >+ [% t('<controlfield tag="001">2</controlfield>') %] >+ [% t('</record>') %] >+ [% t('</marcxml>') %] >+ [% t('<publicationyear>2005</publicationyear>') %] >+ [% t('<collectiontitle>fleuve noir</collectiontitle>') %] >+ [% t('<pages>306</pages>') %] >+ [% t('<issues>') %] >+ [% t('</issues>') %] >+ [% t('<itemtype>LITT</itemtype>') %] >+ [% t('<biblionumber>2</biblionumber>') %] >+ [% t('<timestamp>2008-09-03 18:43:19</timestamp>') %] >+ [% t('<cn_sort>_</cn_sort>') %] >+ [% t('<publishercode>bussière</publishercode>') %] >+ [% t('<reserves>') %] >+ [% t('</reserves>') %] >+ [% t('<items>') %] >+ [% t('<item>') %] >+ [% t('<biblioitemnumber>2</biblioitemnumber>') %] >+ [% t('<withdrawn>0</withdrawn>') %] >+ [% t('<holdingbranchname>Bibliothèque Jean Prunier</holdingbranchname>') %] >+ [% t('<notforloan>0</notforloan>') %] >+ [% t('<replacementpricedate>2008-08-20</replacementpricedate>') %] >+ [% t('<itemnumber>2</itemnumber>') %] >+ [% t('<location>Secteur Adulte</location>') %] >+ [% t('<itemcallnumber>R ABE</itemcallnumber>') %] >+ [% t('<date_due></date_due>') %] >+ [% t('<itemlost>0</itemlost>') %] >+ [% t('<datelastseen>2008-08-20</datelastseen>') %] >+ [% t('<homebranch>BIB</homebranch>') %] >+ [% t('<homebranchname>Bibliothèque Jean Prunier</homebranchname>') %] >+ [% t('<biblionumber>2</biblionumber>') %] >+ [% t('<holdingbranch>BIB</holdingbranch>') %] >+ [% t('<timestamp>2008-08-20 17:15:51</timestamp>') %] >+ [% t('<damaged>0</damaged>') %] >+ [% t('<cn_sort>R_ABE</cn_sort>') %] >+ [% t('<dateaccessioned>2008-08-20</dateaccessioned>') %] >+ [% t('</item>') %] >+ [% t('</items>') %] >+ [% t('</record>') %] >+ [% t('<record>RecordNotFound</record>') %] >+[% t('</GetRecords>') %]</pre> > > [% ELSIF ( GetAuthorityRecords ) %] > >- <h2>GetAuthorityRecords</h2> >- <p>Given a list of authority record identifiers, returns a list >- of record objects that contain the authority records. The function >- user may request a specific metadata schema for the record objects.</p> >- <h4>Parameters</h4> >+ <h2>[% t('GetAuthorityRecords') %]</h2> >+ <p>[% t('Given a list of authority record identifiers, returns a list') %] >+ [% t('of record objects that contain the authority records. The function') %] >+ [% t('user may request a specific metadata schema for the record objects.') %]</p> >+ <h4>[% t('Parameters') %]</h4> > <dl> >- <dt><strong>id</strong> (Required)</dt> >- <dd>list of authority record identifiers</dd> >- <dt><strong>schema</strong> (Optional)</dt> >- <dd>specifies the metadata schema of records to be returned, possible values: >+ <dt><strong>[% t('id') %]</strong> [% t('(Required)') %]</dt> >+ <dd>[% t('list of authority record identifiers') %]</dd> >+ <dt><strong>[% t('schema') %]</strong> [% t('(Optional)') %]</dt> >+ <dd>[% t('specifies the metadata schema of records to be returned, possible values:') %] > <ul> >- <li>MARCXML</li> >+ <li>[% t('MARCXML') %]</li> > </ul> > </dd> > </dl> >- <h4>Example call</h4> >- <a href="ilsdi.pl?service=GetAuthorityRecords&id=1+2+99999"> >- ilsdi.pl?service=GetAuthorityRecords&id=1+2+99999 >+ <h4>[% t('Example call') %]</h4> >+ <a href="ilsdi.pl?service=GetAuthorityRecords&id=1+2+99999"> >+ [% t('ilsdi.pl?service=GetAuthorityRecords&id=1+2+99999') %] > </a> >- <h4>Example response</h4> >-<pre><xml version="1.0" encoding="UTF-8">; >-<GetAuthorityRecords> >- <record> >- <?xml version="1.0" encoding="UTF-8"?> >- <record >- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" >- xsi:schemaLocation="http://www.loc.gov/MARC21/slim http://www.loc.gov/ standards/marcxml/schema/MARC21slim.xsd" >- xmlns="http://www.loc.gov/MARC21/slim"> >- <leader>00182 2200085 4500</leader> >- <controlfield tag="001">1</controlfield> >- <datafield tag="200" ind1=" " ind2=" "> >- <subfield code="a">Hugo</subfield> >- <subfield code="b">Victor</subfield> >- </datafield> >- <datafield tag="801" ind1=" " ind2=" "> >- <subfield code="a">France</subfield> >- <subfield code="b">Nimes</subfield> >- <subfield code="c">2010/04/13</subfield> >- </datafield> >- <datafield tag="100" ind1=" " ind2=" "> >- <subfield code="a">20100413 50 </subfield> >- </datafield> >- <datafield tag="152" ind1=" " ind2=" "> >- <subfield code="b">NP</subfield> >- </datafield> >- </record> >- </record> >- <record> >- <code>RecordNotFound</code> >- </record> >- <record> >- <code>RecordNotFound</code> >- </record> >-</GetAuthorityRecords></pre> >+ <h4>[% t('Example response') %]</h4> >+<pre>[% t('<xml version="1.0" encoding="UTF-8">;') %] >+[% t('<GetAuthorityRecords>') %] >+ [% t('<record>') %] >+ [% t('<?xml version="1.0" encoding="UTF-8"?>') %] >+ [% t('<record') %] >+ [% t('xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"') %] >+ [% t('xsi:schemaLocation="http://www.loc.gov/MARC21/slim http://www.loc.gov/ standards/marcxml/schema/MARC21slim.xsd"') %] >+ [% t('xmlns="http://www.loc.gov/MARC21/slim">') %] >+ [% t('<leader>00182') %] [% t('2200085') %] [% t('4500</leader>') %] >+ [% t('<controlfield tag="001">1</controlfield>') %] >+ [% t('<datafield tag="200" ind1=" " ind2=" ">') %] >+ [% t('<subfield code="a">Hugo</subfield>') %] >+ [% t('<subfield code="b">Victor</subfield>') %] >+ [% t('</datafield>') %] >+ [% t('<datafield tag="801" ind1=" " ind2=" ">') %] >+ [% t('<subfield code="a">France</subfield>') %] >+ [% t('<subfield code="b">Nimes</subfield>') %] >+ [% t('<subfield code="c">2010/04/13</subfield>') %] >+ [% t('</datafield>') %] >+ [% t('<datafield tag="100" ind1=" " ind2=" ">') %] >+ [% t('<subfield code="a">20100413') %] [% t('50') %] [% t('</subfield>') %] >+ [% t('</datafield>') %] >+ [% t('<datafield tag="152" ind1=" " ind2=" ">') %] >+ [% t('<subfield code="b">NP</subfield>') %] >+ [% t('</datafield>') %] >+ [% t('</record>') %] >+ [% t('</record>') %] >+ [% t('<record>') %] >+ [% t('<code>RecordNotFound</code>') %] >+ [% t('</record>') %] >+ [% t('<record>') %] >+ [% t('<code>RecordNotFound</code>') %] >+ [% t('</record>') %] >+[% t('</GetAuthorityRecords>') %]</pre> > > [% ELSIF ( LookupPatron ) %] > >- <h2>LookupPatron</h2> >- <p>Looks up a patron in the ILS by an identifier, and returns >- the ILS identifier for that patron, aka the patron identifier.</p> >- <h4>Parameters</h4> >+ <h2>[% t('LookupPatron') %]</h2> >+ <p>[% t('Looks up a patron in the ILS by an identifier, and returns') %] >+ [% t('the ILS identifier for that patron, aka the patron identifier.') %]</p> >+ <h4>[% t('Parameters') %]</h4> > <dl> >- <dt><strong>id</strong> (Required)</dt> >- <dd>an identifier used to look up the patron in Koha</dd> >- <dt><strong>id_type</strong> (Optional)</dt> >- <dd>the type of the identifier, possible values: >+ <dt><strong>[% t('id') %]</strong> [% t('(Required)') %]</dt> >+ <dd>[% t('an identifier used to look up the patron in Koha') %]</dd> >+ <dt><strong>[% t('id_type') %]</strong> [% t('(Optional)') %]</dt> >+ <dd>[% t('the type of the identifier, possible values:') %] > <ul> >- <li>cardnumber</li> >- <li>userid</li> >- <li>email</li> >- <li>borrowernumber</li> >- <li>surname</li> >- <li>firstname</li> >+ <li>[% t('cardnumber') %]</li> >+ <li>[% t('userid') %]</li> >+ <li>[% t('email') %]</li> >+ <li>[% t('borrowernumber') %]</li> >+ <li>[% t('surname') %]</li> >+ <li>[% t('firstname') %]</li> > </ul> > </dd> > </dl> >- <h4>Example call</h4> >- <a href="ilsdi.pl?service=LookupPatron&id=815&id_type=cardnumber"> >- ilsdi.pl?service=LookupPatron&id=815&id_type=cardnumber >+ <h4>[% t('Example call') %]</h4> >+ <a href="ilsdi.pl?service=LookupPatron&id=815&id_type=cardnumber"> >+ [% t('ilsdi.pl?service=LookupPatron&id=815&id_type=cardnumber') %] > </a> >- <h4>Example response</h4> >-<pre><?xml version="1.0" encoding="ISO-8859-1" ?> >-<LookupPatron> >- <id>419</id> >-</LookupPatron></pre> >+ <h4>[% t('Example response') %]</h4> >+<pre>[% t('<?xml version="1.0" encoding="ISO-8859-1" ?>') %] >+[% t('<LookupPatron>') %] >+ [% t('<id>419</id>') %] >+[% t('</LookupPatron>') %]</pre> > > [% ELSIF ( AuthenticatePatron ) %] > >- <h2>AuthenticatePatron</h2> >- <p>Authenticates a user's login credentials and returns the identifier for the patron.</p> >- <h4>Parameters</h4> >+ <h2>[% t('AuthenticatePatron') %]</h2> >+ <p>[% t('Authenticates a user\'s login credentials and returns the identifier for the patron.') %]</p> >+ <h4>[% t('Parameters') %]</h4> > <dl> >- <dt><strong>username</strong> (Required)</dt> >- <dd>user's login identifier</dd> >- <dt><strong>password</strong> (Required)</dt> >- <dd>user's password</dd> >+ <dt><strong>[% t('username') %]</strong> [% t('(Required)') %]</dt> >+ <dd>[% t('user\'s login identifier') %]</dd> >+ <dt><strong>[% t('password') %]</strong> [% t('(Required)') %]</dt> >+ <dd>[% t('user\'s password') %]</dd> > </dl> >- <h4>Example call</h4> >- <a href="ilsdi.pl?service=AuthenticatePatron&username=john9&password=soul"> >- ilsdi.pl?service=AuthenticatePatron&username=john9&password=soul >+ <h4>[% t('Example call') %]</h4> >+ <a href="ilsdi.pl?service=AuthenticatePatron&username=john9&password=soul"> >+ [% t('ilsdi.pl?service=AuthenticatePatron&username=john9&password=soul') %] > </a> >- <h4>Example Response</h4> >-<pre><?xml version="1.0" encoding="ISO-8859-1" ?> >-<AuthenticatePatron> >- <id>419</id> >-</AuthenticatePatron></pre> >+ <h4>[% t('Example Response') %]</h4> >+<pre>[% t('<?xml version="1.0" encoding="ISO-8859-1" ?>') %] >+[% t('<AuthenticatePatron>') %] >+ [% t('<id>419</id>') %] >+[% t('</AuthenticatePatron>') %]</pre> > > [% ELSIF ( GetPatronInfo ) %] > >- <h2>GetPatronInfo</h2> >- <p>Returns specified information about the patron, based on >- options in the request. This function can optionally return >- patron's contact information, fine information, hold request >- information, loan information, and messages.</p> >- <h4>Parameters</h4> >+ <h2>[% t('GetPatronInfo') %]</h2> >+ <p>[% t('Returns specified information about the patron, based on') %] >+ [% t('options in the request. This function can optionally return') %] >+ [% t('patron\'s contact information, fine information, hold request') %] >+ [% t('information, loan information, and messages.') %]</p> >+ <h4>[% t('Parameters') %]</h4> > <dl> >- <dt><strong>patron_id</strong> (Required)</dt> >- <dd>the unique patron identifier in the ILS; the same identifier returned by LookupPatron or AuthenticatePatron</dd> >- <dt><strong>show_contact</strong> (Optional, default 1)</dt> >- <dd>whether or not to return patron's contact information in the response</dd> >- <dt><strong>show_fines</strong> (Optional, default 0)</dt> >- <dd>whether or not to return fine information in the response</dd> >- <dt><strong>show_holds</strong> (Optional, default 0)</dt> >- <dd>whether or not to return hold request information in the response</dd> >- <dt><strong>show_loans</strong> (Optional, default 0)</dt> >- <dd>whether or not to return loan information in the response</dd> >- <dt><strong>show_attributes</strong> (Optional, default 0)</dt> >- <dd>whether or not to return extended patron attributes information in the response</dd> >+ <dt><strong>[% t('patron_id') %]</strong> [% t('(Required)') %]</dt> >+ <dd>[% t('the unique patron identifier in the ILS; the same identifier returned by LookupPatron or AuthenticatePatron') %]</dd> >+ <dt><strong>[% t('show_contact') %]</strong> [% t('(Optional, default 1)') %]</dt> >+ <dd>[% t('whether or not to return patron\'s contact information in the response') %]</dd> >+ <dt><strong>[% t('show_fines') %]</strong> [% t('(Optional, default 0)') %]</dt> >+ <dd>[% t('whether or not to return fine information in the response') %]</dd> >+ <dt><strong>[% t('show_holds') %]</strong> [% t('(Optional, default 0)') %]</dt> >+ <dd>[% t('whether or not to return hold request information in the response') %]</dd> >+ <dt><strong>[% t('show_loans') %]</strong> [% t('(Optional, default 0)') %]</dt> >+ <dd>[% t('whether or not to return loan information in the response') %]</dd> >+ <dt><strong>[% t('show_attributes') %]</strong> [% t('(Optional, default 0)') %]</dt> >+ <dd>[% t('whether or not to return extended patron attributes information in the response') %]</dd> > </dl> >- <h4>Example call</h4> >- <a href="ilsdi.pl?service=GetPatronInfo&patron_id=1&show_contact=0&show_loans=1"> >- ilsdi.pl?service=GetPatronInfo&patron_id=1&show_contact=0&show_loans=1 >+ <h4>[% t('Example call') %]</h4> >+ <a href="ilsdi.pl?service=GetPatronInfo&patron_id=1&show_contact=0&show_loans=1"> >+ [% t('ilsdi.pl?service=GetPatronInfo&patron_id=1&show_contact=0&show_loans=1') %] > </a> >- <h4>Example response</h4> >-<pre><?xml version="1.0" encoding="ISO-8859-1" ?> >-<GetPatronInfo> >- <category_type>A</category_type> >- <categorycode>ADUEXT</categorycode> >- <borrowernumber>419</borrowernumber> >- <lost>0</lost> >- <branchcode>BIB</branchcode> >- <amountoutstanding>6</amountoutstanding> >- <description>Adulte extérieur</description> >- <title>M</title> >- <enrolmentperiod>12</enrolmentperiod> >- <charges>6.00</charges> >- <dateenrolled>2009-03-04</dateenrolled> >- <borrowernotes></borrowernotes> >- <dateexpiry>2010-03-04</dateexpiry> >- <firstname>Jean-André</firstname> >- <gonenoaddress>0</gonenoaddress> >- <dateofbirth>1984-06-08</dateofbirth> >- <debarred>0</debarred> >- <branchname>Bibliothèque Jean Prunier</branchname> >- <surname>SANTONI</surname> >- <cardnumber>815</cardnumber> >- <initials>JAS</initials> >- <sort1>CSP5</sort1> >- <sex>M</sex> >- <loans> >- <loan> >- <lastreneweddate>2009-04-03</lastreneweddate> >- <isbn>2253003689</isbn> >- <borrowernumber>419</borrowernumber> >- <branchcode>BIB</branchcode> >- <itemnumber>4454</itemnumber> >- <date_due>2009-05-06</date_due> >- <barcode>4765476</barcode> >- <datelastseen>2008-08-23</datelastseen> >- <issuedate>2008-08-23</issuedate> >- <title>L'Ãle au trésor</title> >- <itemtype>LITT</itemtype> >- <author>Robert Louis Stevenson</author> >- <timestamp>2009-04-03 14:46:10</timestamp> >- <publishercode>Librairie générale française</publishercode> >- <datecreated>2008-08-23</datecreated> >- <totalrenewals>11</totalrenewals> >- <dateaccessioned>2008-08-23</dateaccessioned> >- <onloan>2008-09-17</onloan> >- <biblioitemnumber>4483</biblioitemnumber> >- <withdrawn>0</withdrawn> >- <notforloan>0</notforloan> >- <replacementpricedate>2008-08-23</replacementpricedate> >- <itemcallnumber>RO STE</itemcallnumber> >- <location>Salle de lecture</location> >- <itemlost>0</itemlost> >- <publicationyear>1985</publicationyear> >- <issues>1</issues> >- <homebranch>BIB</homebranch> >- <holdingbranch>BIB</holdingbranch> >- <biblionumber>4483</biblionumber> >- <renewals>3</renewals> >- <damaged>0</damaged> >- <cn_sort>RO_STE</cn_sort> >- <frameworkcode></frameworkcode> >- <datelastborrowed>2008-08-23</datelastborrowed> >- </loan> >- <loan> >- <lastreneweddate>2009-03-17</lastreneweddate> >- <isbn>9782700017823</isbn> >- <borrowernumber>419</borrowernumber> >- <branchcode>BIB</branchcode> >- <itemnumber>4456</itemnumber> >- <date_due>2009-04-18</date_due> >- <barcode>2700017UUU</barcode> >- <datelastseen>2008-08-23</datelastseen> >- <issuedate>2008-08-23</issuedate> >- <title>La guitare en 10 leçons</title> >- <itemtype>LITT</itemtype> >- <author>Jon Buck</author> >- <timestamp>2009-03-17 16:48:14</timestamp> >- <publishercode>Gründ</publishercode> >- <datecreated>2008-08-23</datecreated> >- <totalrenewals>6</totalrenewals> >- <dateaccessioned>2008-08-23</dateaccessioned> >- <notes>La couv. porte en plus : "un guide simple et facile pour apprendre la guitare" | Glossaire. Index</notes> >- <onloan>2008-09-25</onloan> >- <biblioitemnumber>4486</biblioitemnumber> >- <withdrawn>0</withdrawn> >- <notforloan>0</notforloan> >- <replacementpricedate>2008-08-23</replacementpricedate> >- <itemcallnumber>787.87 BUC</itemcallnumber> >- <location>Salle de lecture</location> >- <itemlost>0</itemlost> >- <publicationyear>2007</publicationyear> >- <issues>1</issues> >- <homebranch>BIB</homebranch> >- <holdingbranch>BIB</holdingbranch> >- <biblionumber>4486</biblionumber> >- <renewals>3</renewals> >- <damaged>0</damaged> >- <cn_sort>78787_BUC</cn_sort> >- <volume>une méthode simple et facile pour apprendre la guitare</volume> >- <frameworkcode></frameworkcode> >- <datelastborrowed>2008-08-23</datelastborrowed> >- </loan> >- </loans> >-</GetPatronInfo></pre> >+ <h4>[% t('Example response') %]</h4> >+<pre>[% t('<?xml version="1.0" encoding="ISO-8859-1" ?>') %] >+[% t('<GetPatronInfo>') %] >+ [% t('<category_type>A</category_type>') %] >+ [% t('<categorycode>ADUEXT</categorycode>') %] >+ [% t('<borrowernumber>419</borrowernumber>') %] >+ [% t('<lost>0</lost>') %] >+ [% t('<branchcode>BIB</branchcode>') %] >+ [% t('<amountoutstanding>6</amountoutstanding>') %] >+ [% t('<description>Adulte extérieur</description>') %] >+ [% t('<title>M</title>') %] >+ [% t('<enrolmentperiod>12</enrolmentperiod>') %] >+ [% t('<charges>6.00</charges>') %] >+ [% t('<dateenrolled>2009-03-04</dateenrolled>') %] >+ [% t('<borrowernotes></borrowernotes>') %] >+ [% t('<dateexpiry>2010-03-04</dateexpiry>') %] >+ [% t('<firstname>Jean-André</firstname>') %] >+ [% t('<gonenoaddress>0</gonenoaddress>') %] >+ [% t('<dateofbirth>1984-06-08</dateofbirth>') %] >+ [% t('<debarred>0</debarred>') %] >+ [% t('<branchname>Bibliothèque Jean Prunier</branchname>') %] >+ [% t('<surname>SANTONI</surname>') %] >+ [% t('<cardnumber>815</cardnumber>') %] >+ [% t('<initials>JAS</initials>') %] >+ [% t('<sort1>CSP5</sort1>') %] >+ [% t('<sex>M</sex>') %] >+ [% t('<loans>') %] >+ [% t('<loan>') %] >+ [% t('<lastreneweddate>2009-04-03</lastreneweddate>') %] >+ [% t('<isbn>2253003689</isbn>') %] >+ [% t('<borrowernumber>419</borrowernumber>') %] >+ [% t('<branchcode>BIB</branchcode>') %] >+ [% t('<itemnumber>4454</itemnumber>') %] >+ [% t('<date_due>2009-05-06</date_due>') %] >+ [% t('<barcode>4765476</barcode>') %] >+ [% t('<datelastseen>2008-08-23</datelastseen>') %] >+ [% t('<issuedate>2008-08-23</issuedate>') %] >+ [% t('<title>L\'Ãle au trésor</title>') %] >+ [% t('<itemtype>LITT</itemtype>') %] >+ [% t('<author>Robert Louis Stevenson</author>') %] >+ [% t('<timestamp>2009-04-03 14:46:10</timestamp>') %] >+ [% t('<publishercode>Librairie générale française</publishercode>') %] >+ [% t('<datecreated>2008-08-23</datecreated>') %] >+ [% t('<totalrenewals>11</totalrenewals>') %] >+ [% t('<dateaccessioned>2008-08-23</dateaccessioned>') %] >+ [% t('<onloan>2008-09-17</onloan>') %] >+ [% t('<biblioitemnumber>4483</biblioitemnumber>') %] >+ [% t('<withdrawn>0</withdrawn>') %] >+ [% t('<notforloan>0</notforloan>') %] >+ [% t('<replacementpricedate>2008-08-23</replacementpricedate>') %] >+ [% t('<itemcallnumber>RO STE</itemcallnumber>') %] >+ [% t('<location>Salle de lecture</location>') %] >+ [% t('<itemlost>0</itemlost>') %] >+ [% t('<publicationyear>1985</publicationyear>') %] >+ [% t('<issues>1</issues>') %] >+ [% t('<homebranch>BIB</homebranch>') %] >+ [% t('<holdingbranch>BIB</holdingbranch>') %] >+ [% t('<biblionumber>4483</biblionumber>') %] >+ [% t('<renewals>3</renewals>') %] >+ [% t('<damaged>0</damaged>') %] >+ [% t('<cn_sort>RO_STE</cn_sort>') %] >+ [% t('<frameworkcode></frameworkcode>') %] >+ [% t('<datelastborrowed>2008-08-23</datelastborrowed>') %] >+ [% t('</loan>') %] >+ [% t('<loan>') %] >+ [% t('<lastreneweddate>2009-03-17</lastreneweddate>') %] >+ [% t('<isbn>9782700017823</isbn>') %] >+ [% t('<borrowernumber>419</borrowernumber>') %] >+ [% t('<branchcode>BIB</branchcode>') %] >+ [% t('<itemnumber>4456</itemnumber>') %] >+ [% t('<date_due>2009-04-18</date_due>') %] >+ [% t('<barcode>2700017UUU</barcode>') %] >+ [% t('<datelastseen>2008-08-23</datelastseen>') %] >+ [% t('<issuedate>2008-08-23</issuedate>') %] >+ [% t('<title>La guitare en 10 leçons</title>') %] >+ [% t('<itemtype>LITT</itemtype>') %] >+ [% t('<author>Jon Buck</author>') %] >+ [% t('<timestamp>2009-03-17 16:48:14</timestamp>') %] >+ [% t('<publishercode>Gründ</publishercode>') %] >+ [% t('<datecreated>2008-08-23</datecreated>') %] >+ [% t('<totalrenewals>6</totalrenewals>') %] >+ [% t('<dateaccessioned>2008-08-23</dateaccessioned>') %] >+ [% t('<notes>La couv. porte en plus : "un guide simple et facile pour apprendre la guitare" | Glossaire. Index</notes>') %] >+ [% t('<onloan>2008-09-25</onloan>') %] >+ [% t('<biblioitemnumber>4486</biblioitemnumber>') %] >+ [% t('<withdrawn>0</withdrawn>') %] >+ [% t('<notforloan>0</notforloan>') %] >+ [% t('<replacementpricedate>2008-08-23</replacementpricedate>') %] >+ [% t('<itemcallnumber>787.87 BUC</itemcallnumber>') %] >+ [% t('<location>Salle de lecture</location>') %] >+ [% t('<itemlost>0</itemlost>') %] >+ [% t('<publicationyear>2007</publicationyear>') %] >+ [% t('<issues>1</issues>') %] >+ [% t('<homebranch>BIB</homebranch>') %] >+ [% t('<holdingbranch>BIB</holdingbranch>') %] >+ [% t('<biblionumber>4486</biblionumber>') %] >+ [% t('<renewals>3</renewals>') %] >+ [% t('<damaged>0</damaged>') %] >+ [% t('<cn_sort>78787_BUC</cn_sort>') %] >+ [% t('<volume>une méthode simple et facile pour apprendre la guitare</volume>') %] >+ [% t('<frameworkcode></frameworkcode>') %] >+ [% t('<datelastborrowed>2008-08-23</datelastborrowed>') %] >+ [% t('</loan>') %] >+ [% t('</loans>') %] >+[% t('</GetPatronInfo>') %]</pre> > > [% ELSIF ( GetPatronStatus ) %] > >- <h2>GetPatronStatus</h2> >- <p>Returns a patron's status information from Koha.</p> >- <h4>Parameters</h4> >+ <h2>[% t('GetPatronStatus') %]</h2> >+ <p>[% t('Returns a patron\'s status information from Koha.') %]</p> >+ <h4>[% t('Parameters') %]</h4> > <dl> >- <dt><strong>patron_id</strong> (Required)</dt> >- <dd>the unique patron identifier in the ILS; the same identifier returned by LookupPatron or AuthenticatePatron</dd> >+ <dt><strong>[% t('patron_id') %]</strong> [% t('(Required)') %]</dt> >+ <dd>[% t('the unique patron identifier in the ILS; the same identifier returned by LookupPatron or AuthenticatePatron') %]</dd> > </dl> >- <h4>Example call</h4> >- <a href="ilsdi.pl?service=GetPatronStatus&patron_id=1"> >- ilsdi.pl?service=GetPatronStatus&patron_id=1 >+ <h4>[% t('Example call') %]</h4> >+ <a href="ilsdi.pl?service=GetPatronStatus&patron_id=1"> >+ [% t('ilsdi.pl?service=GetPatronStatus&patron_id=1') %] > </a> >- <h4>Example Response</h4> >-<pre><?xml version="1.0" encoding="ISO-8859-1" ?> >-<GetPatronStatus> >- <expiry>2010-03-04</expiry> >- <status>0</status> >- <type>ADUEXT</type> >-</GetPatronStatus></pre> >+ <h4>[% t('Example Response') %]</h4> >+<pre>[% t('<?xml version="1.0" encoding="ISO-8859-1" ?>') %] >+[% t('<GetPatronStatus>') %] >+ [% t('<expiry>2010-03-04</expiry>') %] >+ [% t('<status>0</status>') %] >+ [% t('<type>ADUEXT</type>') %] >+[% t('</GetPatronStatus>') %]</pre> > > [% ELSIF ( GetServices ) %] > >- <h2>GetServices</h2> >- <p>Returns information about the services available on a particular item for a particular patron.</p> >- <h4>Parameters</h4> >+ <h2>[% t('GetServices') %]</h2> >+ <p>[% t('Returns information about the services available on a particular item for a particular patron.') %]</p> >+ <h4>[% t('Parameters') %]</h4> > <dl> >- <dt><strong>patron_id</strong> (Required)</dt> >- <dd>the unique patron identifier in the ILS; the same identifier returned by LookupPatron or AuthenticatePatron</dd> >- <dt><strong>item_id</strong> (Required)</dt> >- <dd>system item identifier</dd> >+ <dt><strong>[% t('patron_id') %]</strong> [% t('(Required)') %]</dt> >+ <dd>[% t('the unique patron identifier in the ILS; the same identifier returned by LookupPatron or AuthenticatePatron') %]</dd> >+ <dt><strong>[% t('item_id') %]</strong> [% t('(Required)') %]</dt> >+ <dd>[% t('system item identifier') %]</dd> > </dl> >- <h4>Example call</h4> >- <a href="ilsdi.pl?service=GetServices&patron_id=1&item_id=1"> >- ilsdi.pl?service=GetServices&patron_id=1&item_id=1 >+ <h4>[% t('Example call') %]</h4> >+ <a href="ilsdi.pl?service=GetServices&patron_id=1&item_id=1"> >+ [% t('ilsdi.pl?service=GetServices&patron_id=1&item_id=1') %] > </a> >- <h4>Example response</h4> >-<pre><?xml version="1.0" encoding="ISO-8859-1" ?> >-<GetServices> >- <AvailableFor>title level hold</AvailableFor> >- <AvailableFor>item level hold</AvailableFor> >-</GetServices></pre> >+ <h4>[% t('Example response') %]</h4> >+<pre>[% t('<?xml version="1.0" encoding="ISO-8859-1" ?>') %] >+[% t('<GetServices>') %] >+ [% t('<AvailableFor>title level hold</AvailableFor>') %] >+ [% t('<AvailableFor>item level hold</AvailableFor>') %] >+[% t('</GetServices>') %]</pre> > > [% ELSIF ( RenewLoan ) %] > >- <h2>RenewLoan</h2> >- <p>Extends the due date for a patron's existing loan.</p> >- <h4>Parameters</h4> >+ <h2>[% t('RenewLoan') %]</h2> >+ <p>[% t('Extends the due date for a patron\'s existing loan.') %]</p> >+ <h4>[% t('Parameters') %]</h4> > <dl> >- <dt><strong>patron_id</strong> (Required)</dt> >- <dd>the unique patron identifier in the ILS; the same identifier returned by LookupPatron or AuthenticatePatron</dd> >- <dt><strong>item_id</strong> (Required)</dt> >- <dd>system item identifier</dd> >- <dt><strong>desired_due_date</strong> (Required)</dt> >- <dd>the date the patron would like the item returned by</dd> >+ <dt><strong>[% t('patron_id') %]</strong> [% t('(Required)') %]</dt> >+ <dd>[% t('the unique patron identifier in the ILS; the same identifier returned by LookupPatron or AuthenticatePatron') %]</dd> >+ <dt><strong>[% t('item_id') %]</strong> [% t('(Required)') %]</dt> >+ <dd>[% t('system item identifier') %]</dd> >+ <dt><strong>[% t('desired_due_date') %]</strong> [% t('(Required)') %]</dt> >+ <dd>[% t('the date the patron would like the item returned by') %]</dd> > </dl> >- <h4>Example call</h4> >- <a href="ilsdi.pl?service=RenewLoan&patron_id=1&item_id=1"> >- ilsdi.pl?service=RenewLoan&patron_id=1&item_id=1 >+ <h4>[% t('Example call') %]</h4> >+ <a href="ilsdi.pl?service=RenewLoan&patron_id=1&item_id=1"> >+ [% t('ilsdi.pl?service=RenewLoan&patron_id=1&item_id=1') %] > </a> >- <h4>Example response</h4> >-<pre><?xml version="1.0" encoding="ISO-8859-1" ?> >-<RenewLoan> >- <success>0</success> >- <renewals>5</renewals> >- <date_due>2009-05-11</date_due> >-</RenewLoan></pre> >+ <h4>[% t('Example response') %]</h4> >+<pre>[% t('<?xml version="1.0" encoding="ISO-8859-1" ?>') %] >+[% t('<RenewLoan>') %] >+ [% t('<success>0</success>') %] >+ [% t('<renewals>5</renewals>') %] >+ [% t('<date_due>2009-05-11</date_due>') %] >+[% t('</RenewLoan>') %]</pre> > > [% ELSIF ( HoldTitle ) %] > >- <h2>HoldTitle</h2> >- <p>Creates, for a patron, a title-level hold request on a given bibliographic record in Koha.</p> >- <h4>Parameters</h4> >+ <h2>[% t('HoldTitle') %]</h2> >+ <p>[% t('Creates, for a patron, a title-level hold request on a given bibliographic record in Koha.') %]</p> >+ <h4>[% t('Parameters') %]</h4> > <dl> >- <dt><strong>patron_id</strong> (Required)</dt> >- <dd>the ILS identifier for the patron for whom the request is placed</dd> >- <dt><strong>bib_id</strong> (Required)</dt> >- <dd>the ILS identifier for the bibliographic record on which the request is placed</dd> >- <dt><strong>request_location</strong> (Required)</dt> >- <dd>IP address where the end user request is being placed</dd> >- <dt><strong>pickup_location</strong> (Optional)</dt> >- <dd>an identifier indicating the location to which to deliver the item for pickup</dd> >- <dt><strong>needed_before_date</strong> (Optional)</dt> >- <dd>date after which hold request is no longer needed</dd> >- <dt><strong>pickup_expiry_date</strong> (Optional)</dt> >- <dd>date after which item returned to shelf if item is not picked up</dd> >+ <dt><strong>[% t('patron_id') %]</strong> [% t('(Required)') %]</dt> >+ <dd>[% t('the ILS identifier for the patron for whom the request is placed') %]</dd> >+ <dt><strong>[% t('bib_id') %]</strong> [% t('(Required)') %]</dt> >+ <dd>[% t('the ILS identifier for the bibliographic record on which the request is placed') %]</dd> >+ <dt><strong>[% t('request_location') %]</strong> [% t('(Required)') %]</dt> >+ <dd>[% t('IP address where the end user request is being placed') %]</dd> >+ <dt><strong>[% t('pickup_location') %]</strong> [% t('(Optional)') %]</dt> >+ <dd>[% t('an identifier indicating the location to which to deliver the item for pickup') %]</dd> >+ <dt><strong>[% t('needed_before_date') %]</strong> [% t('(Optional)') %]</dt> >+ <dd>[% t('date after which hold request is no longer needed') %]</dd> >+ <dt><strong>[% t('pickup_expiry_date') %]</strong> [% t('(Optional)') %]</dt> >+ <dd>[% t('date after which item returned to shelf if item is not picked up') %]</dd> > </dl> >- <h4>Example Call</h4> >- <a href="ilsdi.pl?service=HoldTitle&patron_id=1&bib_id=1&request_location=127.0.0.1"> >- ilsdi.pl?service=HoldTitle&patron_id=1&bib_id=1&request_location=127.0.0.1 >+ <h4>[% t('Example Call') %]</h4> >+ <a href="ilsdi.pl?service=HoldTitle&patron_id=1&bib_id=1&request_location=127.0.0.1"> >+ [% t('ilsdi.pl?service=HoldTitle&patron_id=1&bib_id=1&request_location=127.0.0.1') %] > </a> >- <h4>Example response</h4> >-<pre><?xml version="1.0" encoding="ISO-8859-1" ?> >-<HoldTitle> >- <title>(les) galères de l'Orfèvre</title> >- <date_available>2009-05-11</date_available> >- <pickup_location>Bibliothèque Jean-Prunier</pickup_location> >-</HoldTitle></pre> >+ <h4>[% t('Example response') %]</h4> >+<pre>[% t('<?xml version="1.0" encoding="ISO-8859-1" ?>') %] >+[% t('<HoldTitle>') %] >+ [% t('<title>(les) galères de l\'Orfèvre</title>') %] >+ [% t('<date_available>2009-05-11</date_available>') %] >+ [% t('<pickup_location>Bibliothèque Jean-Prunier</pickup_location>') %] >+[% t('</HoldTitle>') %]</pre> > > [% ELSIF ( HoldItem ) %] > >- <h2>HoldItem</h2> >- <p>Creates, for a patron, an item-level hold request on a specific item of a bibliographic record Koha.</p> >- <h4>Parameters</h4> >+ <h2>[% t('HoldItem') %]</h2> >+ <p>[% t('Creates, for a patron, an item-level hold request on a specific item of a bibliographic record Koha.') %]</p> >+ <h4>[% t('Parameters') %]</h4> > <dl> >- <dt><strong>patron_id</strong> (Required)</dt> >- <dd>the ILS identifier for the patron for whom the request is placed</dd> >- <dt><strong>bib_id</strong> (Required)</dt> >- <dd>the ILS identifier for the bibliographic record on which the request is placed</dd> >- <dt><strong>item_id</strong> (Required)</dt> >- <dd>the ILS identifier for the specific item on which the request is placed</dd> >- <dt><strong>pickup_location</strong> (Optional)</dt> >- <dd>an identifier indicating the location to which to deliver the item for pickup</dd> >- <dt><strong>needed_before_date</strong> (Optional)</dt> >- <dd>date after which hold request is no longer needed</dd> >- <dt><strong>pickup_expiry_date</strong> (Optional)</dt> >- <dd>date after which item returned to shelf if item is not picked up</dd> >+ <dt><strong>[% t('patron_id') %]</strong> [% t('(Required)') %]</dt> >+ <dd>[% t('the ILS identifier for the patron for whom the request is placed') %]</dd> >+ <dt><strong>[% t('bib_id') %]</strong> [% t('(Required)') %]</dt> >+ <dd>[% t('the ILS identifier for the bibliographic record on which the request is placed') %]</dd> >+ <dt><strong>[% t('item_id') %]</strong> [% t('(Required)') %]</dt> >+ <dd>[% t('the ILS identifier for the specific item on which the request is placed') %]</dd> >+ <dt><strong>[% t('pickup_location') %]</strong> [% t('(Optional)') %]</dt> >+ <dd>[% t('an identifier indicating the location to which to deliver the item for pickup') %]</dd> >+ <dt><strong>[% t('needed_before_date') %]</strong> [% t('(Optional)') %]</dt> >+ <dd>[% t('date after which hold request is no longer needed') %]</dd> >+ <dt><strong>[% t('pickup_expiry_date') %]</strong> [% t('(Optional)') %]</dt> >+ <dd>[% t('date after which item returned to shelf if item is not picked up') %]</dd> > </dl> >- <h4>Example Call</h4> >- <a href="ilsdi.pl?service=HoldItem&patron_id=1&bib_id=1&item_id=1"> >- ilsdi.pl?service=HoldItem&patron_id=1&bib_id=1&item_id=1 >+ <h4>[% t('Example Call') %]</h4> >+ <a href="ilsdi.pl?service=HoldItem&patron_id=1&bib_id=1&item_id=1"> >+ [% t('ilsdi.pl?service=HoldItem&patron_id=1&bib_id=1&item_id=1') %] > </a> >- <h4>Example response</h4> >-<pre><?xml version="1.0" encoding="ISO-8859-1" ?> >-<HoldTitle> >- <title>(les) galères de l'Orfèvre</title> >- <date_available>2009-05-11</date_available> >- <pickup_location>Bibliothèque Jean-Prunier</pickup_location> >-</HoldTitle></pre> >+ <h4>[% t('Example response') %]</h4> >+<pre>[% t('<?xml version="1.0" encoding="ISO-8859-1" ?>') %] >+[% t('<HoldTitle>') %] >+ [% t('<title>(les) galères de l\'Orfèvre</title>') %] >+ [% t('<date_available>2009-05-11</date_available>') %] >+ [% t('<pickup_location>Bibliothèque Jean-Prunier</pickup_location>') %] >+[% t('</HoldTitle>') %]</pre> > > [% ELSIF ( CancelHold ) %] > >- <h2>CancelHold</h2> >- <p>Cancels an active hold request for the patron.</p> >- <h4>Parameters</h4> >+ <h2>[% t('CancelHold') %]</h2> >+ <p>[% t('Cancels an active hold request for the patron.') %]</p> >+ <h4>[% t('Parameters') %]</h4> > <dl> >- <dt><strong>patron_id</strong> (Required)</dt> >- <dd>the unique patron identifier in the ILS; the same identifier returned by LookupPatron or AuthenticatePatron</dd> >- <dt><strong>item_id</strong> (Required)</dt> >- <dd>system hold identifier (returned by GetRecords and GetPatronInfo into element 'reserve_id')</dd> >+ <dt><strong>[% t('patron_id') %]</strong> [% t('(Required)') %]</dt> >+ <dd>[% t('the unique patron identifier in the ILS; the same identifier returned by LookupPatron or AuthenticatePatron') %]</dd> >+ <dt><strong>[% t('item_id') %]</strong> [% t('(Required)') %]</dt> >+ <dd>[% t('system hold identifier (returned by GetRecords and GetPatronInfo into element \'reserve_id\')') %]</dd> > </dl> >- <h4>Example call</h4> >- <a href="ilsdi.pl?service=CancelHold&patron_id=1&item_id=1"> >- ilsdi.pl?service=CancelHold&patron_id=1&item_id=1 >+ <h4>[% t('Example call') %]</h4> >+ <a href="ilsdi.pl?service=CancelHold&patron_id=1&item_id=1"> >+ [% t('ilsdi.pl?service=CancelHold&patron_id=1&item_id=1') %] > </a> >- <h4>Example response</h4> >-<pre><?xml version="1.0" encoding="ISO-8859-1" ?> >-<CancelHold> >- <message>Canceled</message> >-</CancelHold></pre> >+ <h4>[% t('Example response') %]</h4> >+<pre>[% t('<?xml version="1.0" encoding="ISO-8859-1" ?>') %] >+[% t('<CancelHold>') %] >+ [% t('<message>Canceled</message>') %] >+[% t('</CancelHold>') %]</pre> > > [% ELSE %] > >- <h2>Level 1: Basic discovery interfaces</h2> >+ <h2>[% t('Level 1: Basic discovery interfaces') %]</h2> > <ul> >- <li>HarvestBibliographicRecords <em>(Use OAI-PMH instead)</em></li> >- <li>HarvestExpandedRecords <em>(Use OAI-PMH instead)</em></li> >- <li><a href="ilsdi.pl?service=Describe&verb=GetAvailability">GetAvailability</a></li> >- <li>GoToBibliographicRequestPage <em>(Use OPAC instead)</em></li> >+ <li>[% t('HarvestBibliographicRecords') %] <em>[% t('(Use OAI-PMH instead)') %]</em></li> >+ <li>[% t('HarvestExpandedRecords') %] <em>[% t('(Use OAI-PMH instead)') %]</em></li> >+ <li><a href="ilsdi.pl?service=Describe&verb=GetAvailability">[% t('GetAvailability') %]</a></li> >+ <li>[% t('GoToBibliographicRequestPage') %] <em>[% t('(Use OPAC instead)') %]</em></li> > </ul> >- <h2>Level 2: Elementary OPAC supplement</h2> >+ <h2>[% t('Level 2: Elementary OPAC supplement') %]</h2> > <ul> >- <li>HarvestAuthorityRecords <em>(Use OAI-PMH instead)</em></li> >- <li>HarvestHoldingsRecords <em>(Use OAI-PMH instead)</em></li> >- <li><a href="ilsdi.pl?service=Describe&verb=GetRecords">GetRecords</a></li> >- <li>Search <em>(Use SRU instead)</em></li> >- <li>Scan <em>(Use SRU instead)</em></li> >- <li><a href="ilsdi.pl?service=Describe&verb=GetAuthorityRecords">GetAuthorityRecords</a></li> >- <li>OutputRewritablePage <em>(Not supported yet)</em></li> >- <li>OutputIntermediateFormat <em>(Not supported yet)</em></li> >+ <li>[% t('HarvestAuthorityRecords') %] <em>[% t('(Use OAI-PMH instead)') %]</em></li> >+ <li>[% t('HarvestHoldingsRecords') %] <em>[% t('(Use OAI-PMH instead)') %]</em></li> >+ <li><a href="ilsdi.pl?service=Describe&verb=GetRecords">[% t('GetRecords') %]</a></li> >+ <li>[% t('Search') %] <em>[% t('(Use SRU instead)') %]</em></li> >+ <li>[% t('Scan') %] <em>[% t('(Use SRU instead)') %]</em></li> >+ <li><a href="ilsdi.pl?service=Describe&verb=GetAuthorityRecords">[% t('GetAuthorityRecords') %]</a></li> >+ <li>[% t('OutputRewritablePage') %] <em>[% t('(Not supported yet)') %]</em></li> >+ <li>[% t('OutputIntermediateFormat') %] <em>[% t('(Not supported yet)') %]</em></li> > </ul> >- <h2>Level 3: Elementary OPAC alternative</h2> >+ <h2>[% t('Level 3: Elementary OPAC alternative') %]</h2> > <ul> >- <li><a href="ilsdi.pl?service=Describe&verb=LookupPatron">LookupPatron</a></li> >- <li><a href="ilsdi.pl?service=Describe&verb=AuthenticatePatron">AuthenticatePatron</a></li> >- <li><a href="ilsdi.pl?service=Describe&verb=GetPatronInfo">GetPatronInfo</a></li> >- <li><a href="ilsdi.pl?service=Describe&verb=GetPatronStatus">GetPatronStatus</a></li> >- <li><a href="ilsdi.pl?service=Describe&verb=GetServices">GetServices</a></li> >- <li><a href="ilsdi.pl?service=Describe&verb=RenewLoan">RenewLoan</a></li> >- <li><a href="ilsdi.pl?service=Describe&verb=HoldTitle">HoldTitle</a></li> >- <li><a href="ilsdi.pl?service=Describe&verb=HoldItem">HoldItem</a></li> >- <li><a href="ilsdi.pl?service=Describe&verb=CancelHold">CancelHold</a></li> >- <li>RecallItem <em>(Not supported by Koha)</em></li> >- <li>CancelRecall <em>(Not supported by Koha)</em></li> >+ <li><a href="ilsdi.pl?service=Describe&verb=LookupPatron">[% t('LookupPatron') %]</a></li> >+ <li><a href="ilsdi.pl?service=Describe&verb=AuthenticatePatron">[% t('AuthenticatePatron') %]</a></li> >+ <li><a href="ilsdi.pl?service=Describe&verb=GetPatronInfo">[% t('GetPatronInfo') %]</a></li> >+ <li><a href="ilsdi.pl?service=Describe&verb=GetPatronStatus">[% t('GetPatronStatus') %]</a></li> >+ <li><a href="ilsdi.pl?service=Describe&verb=GetServices">[% t('GetServices') %]</a></li> >+ <li><a href="ilsdi.pl?service=Describe&verb=RenewLoan">[% t('RenewLoan') %]</a></li> >+ <li><a href="ilsdi.pl?service=Describe&verb=HoldTitle">[% t('HoldTitle') %]</a></li> >+ <li><a href="ilsdi.pl?service=Describe&verb=HoldItem">[% t('HoldItem') %]</a></li> >+ <li><a href="ilsdi.pl?service=Describe&verb=CancelHold">[% t('CancelHold') %]</a></li> >+ <li>[% t('RecallItem') %] <em>[% t('(Not supported by Koha)') %]</em></li> >+ <li>[% t('CancelRecall') %] <em>[% t('(Not supported by Koha)') %]</em></li> > </ul> >- <h2>Level 4: Robust/domain specific discovery platforms</h2> >+ <h2>[% t('Level 4: Robust/domain specific discovery platforms') %]</h2> > <ul> >- <li>SearchCourseReserves <em>(Not supported yet)</em></li> >- <li>Explain <em>(Not supported yet)</em></li> >+ <li>[% t('SearchCourseReserves') %] <em>[% t('(Not supported yet)') %]</em></li> >+ <li>[% t('Explain') %] <em>[% t('(Not supported yet)') %]</em></li> > </ul> > > [% END # / IF GetAvailability %] >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/maintenance.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/maintenance.tt >index b7e0f750bf..a5e829fa44 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/maintenance.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/maintenance.tt >@@ -1,6 +1,7 @@ >+[% PROCESS 'i18n.inc' %] > [% USE Koha %] > [% INCLUDE 'doc-head-open.inc' %] >-<title>[% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %]Koha online[% END %] catalog</title> >+<title>[% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %][% t('Koha online') %][% END %] [% t('catalog') %]</title> > [% INCLUDE 'doc-head-close.inc' %] > [% BLOCK cssinclude %] > <style> >@@ -30,8 +31,8 @@ > [% IF Koha.Preference( 'OpacMaintenanceNotice' ) %] > [% Koha.Preference( 'OpacMaintenanceNotice' ) %] > [% ELSE %] >- <h2>System Maintenance</h2> >- <p>The [% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %]Koha online[% END %] catalog is offline for system maintenance. We'll be back soon! If you have any questions, please contact the <a href="mailto:[% KohaAdminEmailAddress %]">site administrator</a></p> >+ <h2>[% t('System Maintenance') %]</h2> >+ <p>[% t('The') %] [% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %][% t('Koha online') %][% END %] [% t('catalog is offline for system maintenance. We\'ll be back soon! If you have any questions, please contact the') %] <a href="mailto:[% KohaAdminEmailAddress %]">[% t('site administrator') %]</a></p> > [% END %] > </div> > </div> >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/sci/sci-main.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/sci/sci-main.tt >index afb1553e1c..b049a31f8b 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/sci/sci-main.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/sci/sci-main.tt >@@ -1,3 +1,4 @@ >+[% PROCESS 'i18n.inc' %] > [% USE Asset %] > [%# Includes %] > [% USE Koha %] >@@ -5,21 +6,21 @@ > [%# Helper template functions %] > [% BLOCK error_message %] > [% IF messages.BadBarcode %] >- <span>(Barcode not found on the database, please see library staff for assistance)</span> >+ <span>[% t('(Barcode not found on the database, please see library staff for assistance)') %]</span> > [% ELSIF messages.Wrongbranch %] >- <span>(The item cannot be returned at this library, please see library staff for assistance)</span> >+ <span>[% t('(The item cannot be returned at this library, please see library staff for assistance)') %]</span> > [% ELSIF messages.withdrawn %] >- <span>(Item is withdrawn and check-in blocked by policy, please see library staff for assistance)</span> >+ <span>[% t('(Item is withdrawn and check-in blocked by policy, please see library staff for assistance)') %]</span> > [% ELSIF messages.NotIssued %] >- <span>(The book is not currently on loan, please see library staff for assistance)</span> >+ <span>[% t('(The book is not currently on loan, please see library staff for assistance)') %]</span> > [% ELSE %] >- <span>(There was a problem returning this item, please see library staff for assistance)</span> >+ <span>[% t('(There was a problem returning this item, please see library staff for assistance)') %]</span> > [% END %] > [% END %] > > [% INCLUDE 'doc-head-open.inc' %] > >-<title>[% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %]Koha [% END %] › Self check-in</title> >+<title>[% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %][% t('Koha') %] [% END %] [% t('⺠Self check-in') %]</title> > > <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> > <meta name="generator" content="Koha [% Version %]" /> <!-- leave this for stats --> >@@ -53,8 +54,8 @@ > <a class="brand" href="/cgi-bin/koha/sci/sci-main.pl"><img src="[% interface %]/[% theme %]/images/koha-logo-navbar.png" alt=""></a> > <div id="checkouthelp"> > <ul class="nav pull-right"> >- <li><a href="/cgi-bin/koha/sci/sci-main.pl" class="helpModal-trigger" role="button" data-toggle="modal"><i class="icon help"></i> Help</a></li> >- <li><a id="sci_logout" href="/cgi-bin/koha/sci/sci-main.pl?logout.x=1" class="logout">Logout</a></li> >+ <li><a href="/cgi-bin/koha/sci/sci-main.pl" class="helpModal-trigger" role="button" data-toggle="modal"><i class="icon help"></i> [% t('Help') %]</a></li> >+ <li><a id="sci_logout" href="/cgi-bin/koha/sci/sci-main.pl?logout.x=1" class="logout">[% t('Logout') %]</a></li> > </ul> > </div> > >@@ -84,69 +85,68 @@ > <div class="container-fluid"> > <div class="row-fluid"> > <div id="masthead"> >- <h1>[% LibraryName %] Self check-in</h1> >+ <h1>[% LibraryName %] [% t('Self check-in') %]</h1> > [% IF ( nopermission ) %] > [%# This is what is displayed if user doesn't have permission %] > <div class="alert"> >- <h3>Access denied</h3> >- <p>Sorry, this self check-in station has lost authentication. Please contact the administrator to resolve this problem.</p> >+ <h3>[% t('Access denied') %]</h3> >+ <p>[% t('Sorry, this self check-in station has lost authentication. Please contact the administrator to resolve this problem.') %]</p> > </div> > [% ELSIF ( different_ip ) %] > [%# This is what is displayed if user doesn't have permission %] > <div class="alert"> >- <h3>Session lost</h3> >- <p>You are accessing self check-in from a different IP address! Please log in again.</p> >+ <h3>[% t('Session lost') %]</h3> >+ <p>[% t('You are accessing self check-in from a different IP address! Please log in again.') %]</p> > </div> > [% ELSIF ( checkins ) %] > [%# We have results from a check-in attempt %] > <div id="checkins" class="sci_results_list"> > [% IF ( success && success.size > 0 || errors && errors.size > 0 ) %] >- <h3>Results</h3> >+ <h3>[% t('Results') %]</h3> > <table id="sci_bcheckins_table" class="table table-bordered table-striped dataTable no-footer" style="font-size: initial;"> > <thead> >- <th>Barcode</th> >- <th>Status</th> >+ <th>[% t('Barcode') %]</th> >+ <th>[% t('Status') %]</th> > </thead> > <tbody> > [% FOREACH success_line IN success %] >- <tr><td>[% success_line.barcode %]</td><td>Checked in</td></tr> >+ <tr><td>[% success_line.barcode %]</td><td>[% t('Checked in') %]</td></tr> > [% END %] > [% FOREACH error IN errors %] > <tr> > <td>[% error.barcode %]</td> >- <td>Not checked in [% PROCESS error_message messages=error.messages %]</td> >+ <td>[% t('Not checked in') %] [% PROCESS error_message messages=error.messages %]</td> > </tr> > [% END %] > </tbody> > </table> > <div> > <form method="post" action="#" id="finish_form"> >- <button id="sci_finish_button" type="submit" class="btn"><i class="icon finish"></i> Finish</button> >+ <button id="sci_finish_button" type="submit" class="btn"><i class="icon finish"></i> [% t('Finish') %]</button> > </form> > </div> > [% ELSE %] > <div class="alert"> >- <p>Your request included no check-ins.</p> >+ <p>[% t('Your request included no check-ins.') %]</p> > </div> > [% END %] > </div> > [% ELSE %] > [%# Prompt for barcodes %] > <div id="new_checkins" class="sci_entry"> >- <form id="scan_form" name="scan_form" >- method="post" action="/cgi-bin/koha/sci/sci-main.pl"> >+ <form id="scan_form" name="scan_form" method="post" action="/cgi-bin/koha/sci/sci-main.pl"> > <fieldset> > <div> >- <label for="barcode_input">Scan the item or enter its barcode:</label> >+ <label for="barcode_input">[% t('Scan the item or enter its barcode:') %]</label> > <input id="barcode_input" name="barcode_input" size="20" type="text" class="focus" autocomplete="off" /> > <button id="sci_append_button" type="submit" class="btn btn-default btn-sm"> >- <i class="fa fa-plus" aria-hidden="true"></i> <span>Add</span> >+ <i class="fa fa-plus" aria-hidden="true"></i> <span>[% t('Add') %]</span> > </button> > </div> > <div class="sci_input_append"> > <table id="sci_barcodes_table" class="table table-bordered table-striped dataTable no-footer" style="display: none; font-size: initial;"> > <thead> >- <th class="barcodes_column">Barcode</th> >+ <th class="barcodes_column">[% t('Barcode') %]</th> > </thead> > <tbody> > </tbody> >@@ -155,10 +155,10 @@ > <input type="hidden" name="op" value="check_in" /> > <div id="button_bar"> > <button id="sci_checkin_button" type="submit" class="btn btn-default btn-sm" style="display: none;"> >- <i class="fa fa-check-square-o" aria-hidden="true"></i> <span>Check in</span> >+ <i class="fa fa-check-square-o" aria-hidden="true"></i> <span>[% t('Check in') %]</span> > </button> > <a href="/cgi-bin/koha/sci/sci-main.pl" class="btn btn-default btn-sm" role="button" style="display: none;" id="sci_refresh_button"> >- <i class="fa fa-refresh" aria-hidden="true"></i> <span>Cancel</span> >+ <i class="fa fa-refresh" aria-hidden="true"></i> <span>[% t('Cancel') %]</span> > </a> > </div> > </fieldset> >@@ -178,16 +178,16 @@ > > <div class="modal-header"> > <button type="button" class="closebtn" data-dismiss="modal" aria-hidden="true">Ã</button> >- <h3 id="helpModalLabel">Self check-in help</h3> >+ <h3 id="helpModalLabel">[% t('Self check-in help') %]</h3> > </div> > > <div class="modal-body"> > <ul> >- <li>Scan each item or enter its barcode. A list with the entered barcodes will be displayed.</li> >- <li>Click the 'Check in' button to confirm.</li> >- <li>The operation results will be displayed for each entered barcode.</li> >- <li>The 'Finish' button is presented to start over.</li> >- <li>At any step, clicking the 'Cancel' button will erase the scanned barcodes and start over.</li> >+ <li>[% t('Scan each item or enter its barcode. A list with the entered barcodes will be displayed.') %]</li> >+ <li>[% t('Click the \'Check in\' button to confirm.') %]</li> >+ <li>[% t('The operation results will be displayed for each entered barcode.') %]</li> >+ <li>[% t('The \'Finish\' button is presented to start over.') %]</li> >+ <li>[% t('At any step, clicking the \'Cancel\' button will erase the scanned barcodes and start over.') %]</li> > </ul> > </div> > </div> <!-- /#helpModal --> >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/sco/help.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/sco/help.tt >index 0497dbdb37..803005d335 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/sco/help.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/sco/help.tt >@@ -1,7 +1,8 @@ >+[% PROCESS 'i18n.inc' %] > [% USE Asset %] > [% USE KohaDates %] > [% INCLUDE 'doc-head-open.inc' %] >-<title>[% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %]Koha [% END %] › Self checkout help</title> >+<title>[% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %][% t('Koha') %] [% END %] [% t('⺠Self checkout help') %]</title> > <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> > <meta name="generator" content="Koha [% Version %]" /> <!-- leave this for stats --> > <link rel="shortcut icon" href="[% IF ( OpacFavicon ) %][% OpacFavicon %][% ELSE %][% interface %]/[% theme %]/images/favicon.ico[% END %]" type="image/x-icon" /> >@@ -25,7 +26,7 @@ > <div class="container-fluid"> > <div class="row-fluid"> > >-<h1>Self checkout help</h1> >+<h1>[% t('Self checkout help') %]</h1> > > [% IF ( SelfCheckHelpMessage ) %] > <div id="selfcheckhelpmessage"> >@@ -33,25 +34,25 @@ > </div> > [% END %] > >-<p>If this is your first time using the self checkout system, or if the system >-is not behaving as expected, you may want to refer to this guide to get >-yourself started.</p> >+<p>[% t('If this is your first time using the self checkout system, or if the system') %] >+[% t('is not behaving as expected, you may want to refer to this guide to get') %] >+[% t('yourself started.') %]</p> > >-<h3>Step one: Enter your user id[% IF ( SelfCheckoutByLogin ) %] and password[% END %]</h3> >-<p>Enter your User ID[% IF ( SelfCheckoutByLogin ) %] and password[% END %], and click the >-submit button (or press the enter key).</p> >+<h3>[% t('Step one: Enter your user id') %][% IF ( SelfCheckoutByLogin ) %] [% t('and password') %][% END %]</h3> >+<p>[% t('Enter your User ID') %][% IF ( SelfCheckoutByLogin ) %] [% t('and password') %][% END %][% t(', and click the') %] >+[% t('submit button (or press the enter key).') %]</p> > >-<h3>Step two: Scan the barcode for each item, one at a time</h3> >-<p>Scan each item and wait for the page to reload before scanning the next item. >-The checked-out item should appear in your checkouts list. >-The Submit button only needs to be clicked if you enter the barcode manually.</p> >+<h3>[% t('Step two: Scan the barcode for each item, one at a time') %]</h3> >+<p>[% t('Scan each item and wait for the page to reload before scanning the next item.') %] >+[% t('The checked-out item should appear in your checkouts list.') %] >+[% t('The Submit button only needs to be clicked if you enter the barcode manually.') %]</p> > >-<h3>Step three: Click the 'Finish' button</h3> >-<p>If you do not click the 'Finish' button, your session will automatically expire in >-[% SelfCheckTimeout %] seconds.</p> >+<h3>[% t('Step three: Click the \'Finish\' button') %]</h3> >+<p>[% t('If you do not click the \'Finish\' button, your session will automatically expire in') %] >+[% SelfCheckTimeout %] [% t('seconds.') %]</p> > > <div class="button"> >- <a href="javascript:history.go(-1)">Return to the self-checkout</a> >+ <a href="javascript:history.go(-1)">[% t('Return to the self-checkout') %]</a> > </div> > > </div> <!-- / #showreviews --> >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/sco/printslip.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/sco/printslip.tt >index 191548a7c9..47a6c68b22 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/sco/printslip.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/sco/printslip.tt >@@ -1,7 +1,8 @@ >+[% PROCESS 'i18n.inc' %] > [% USE Asset %] > [% USE Koha %] > [% INCLUDE 'doc-head-open.inc' %] >-<title>[% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %]Koha [% END %] › Self checkout › Print Receipt for [% borrowernumber %]</title> >+<title>[% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %][% t('Koha') %] [% END %] [% t('⺠Self checkout ⺠Print Receipt for') %] [% borrowernumber %]</title> > <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> > <link rel="shortcut icon" href="[% IF ( OpacFavicon ) %][% OpacFavicon %][% ELSE %][% interface %]/[% theme %]/images/favicon.ico[% END %]" type="image/x-icon" /> > [% Asset.css("css/print.css") %] >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/sco/sco-main.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/sco/sco-main.tt >index 4900405487..6fa35b91d5 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/sco/sco-main.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/sco/sco-main.tt >@@ -1,10 +1,11 @@ >+[% PROCESS 'i18n.inc' %] > [% USE Asset %] > [% USE Koha %] > [% USE KohaDates %] > [% USE AudioAlerts %] > [% USE Price %] > [% INCLUDE 'doc-head-open.inc' %] >-<title>[% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %]Koha [% END %] › Self checkout </title> >+<title>[% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %][% t('Koha') %] [% END %] [% t('⺠Self checkout') %] </title> > <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> > <meta name="generator" content="Koha [% Version %]" /> <!-- leave this for stats --> > <link rel="shortcut icon" href="[% IF ( Koha.Preference('OpacFavicon') ) %][% Koha.Preference('OpacFavicon') %][% ELSE %][% interface %]/[% theme %]/images/favicon.ico[% END %]" type="image/x-icon" /> >@@ -33,49 +34,49 @@ > <div class="span12"> > [% END %] > >- <div id="masthead"><h1>[% LibraryName %] Self checkout system</h1></div> >+ <div id="masthead"><h1>[% LibraryName %] [% t('Self checkout system') %]</h1></div> > > [% IF ( impossible ) %]<!-- We tried to issue, but failed. --> > <div class="alert"> >- <h3>Item cannot be checked out.</h3> >- <p>Sorry, this item cannot be checked out at this station.</p> >+ <h3>[% t('Item cannot be checked out.') %]</h3> >+ <p>[% t('Sorry, this item cannot be checked out at this station.') %]</p> > [% IF ( title ) %] >- <p>Title: <em>[% title |html %]</em> </p> >+ <p>[% t('Title:') %] <em>[% title |html %]</em> </p> > [% END %] > > <p> > [% IF ( circ_error_UNKNOWN_BARCODE ) %] >- The system does not recognize this barcode. >+ [% t('The system does not recognize this barcode.') %] > [% ELSIF ( circ_error_max_loans_allowed ) %] >- You have checked out too many items and can't check out any more. >+ [% t('You have checked out too many items and can\'t check out any more.') %] > [% ELSIF ( circ_error_ISSUED_TO_ANOTHER ) %] >- This item is checked out to someone else. >+ [% t('This item is checked out to someone else.') %] > [% ELSIF ( circ_error_NO_MORE_RENEWALS ) %] >- You cannot renew this item again. >+ [% t('You cannot renew this item again.') %] > [% ELSIF ( circ_error_NOT_FOR_LOAN ) %] >- This item is not for loan. >+ [% t('This item is not for loan.') %] > [% ELSIF ( circ_error_DEBT ) %] >- You owe the library [% DEBT | $Price %] and cannot check out. >+ [% t('You owe the library') %] [% DEBT | $Price %] [% t('and cannot check out.') %] > [% ELSIF ( circ_error_WTHDRAWN ) %] >- This item has been withdrawn from the collection. >+ [% t('This item has been withdrawn from the collection.') %] > [% ELSIF ( circ_error_RESTRICTED ) %] >- This item is restricted. >+ [% t('This item is restricted.') %] > [% ELSIF ( circ_error_RESERVED ) %] >- This item is on hold for another patron. >+ [% t('This item is on hold for another patron.') %] > [% ELSIF ( circ_error_ITEMNOTSAMEBRANCH ) %] >- This item belongs to another branch. >+ [% t('This item belongs to another branch.') %] > [% ELSIF ( circ_error_EXPIRED ) %] >- Your account has expired. >+ [% t('Your account has expired.') %] > [% ELSIF ( circ_error_DEBARRED ) %] >- Your account has been suspended. >+ [% t('Your account has been suspended.') %] > [% ELSIF ( circ_error_CARD_LOST ) %] >- This card has been declared lost. >+ [% t('This card has been declared lost.') %] > [% ELSIF ( circ_error_GNA ) %] >- Your contact information seems to be incomplete. >+ [% t('Your contact information seems to be incomplete.') %] > [% ELSIF ( circ_error_INVALID_DATE ) %] >- Due date is not valid. >+ [% t('Due date is not valid.') %] > [% END %] >- Please see a member of the library staff. >+ [% t('Please see a member of the library staff.') %] > </p> > > [% IF ( returnitem && Koha.Preference('AllowSelfCheckReturns') ) %] >@@ -83,7 +84,7 @@ > <input type="hidden" name="op" value="returnbook" /> > <input type="hidden" name="patronid" value="[% patronid %]" /> > <input type="hidden" name="barcode" value="[% barcode %]" /> >- <button type="submit" name="returnbook" class="btn"><i class="return"></i> Return this item</button> >+ <button type="submit" name="returnbook" class="btn"><i class="return"></i> [% t('Return this item') %]</button> > </form> > [% END %] > >@@ -91,15 +92,15 @@ > <input type="hidden" name="op" value="" /> > <input type="hidden" name="patronid" value="[% patronid %]" /> > <input type="hidden" name="barcode" value="[% barcode %]" /> >- <input type="submit" name= "confirm" value="Return to account summary" class="btn back focus" /> >+ <input type="submit" name="confirm" value="Return to account summary" class="btn back focus" /> > </form> > </div> <!-- / .alert --> > [% END # / IF ( impossible %] > > [% IF ( confirm ) %]<!-- We need to confirm the issue.. --> >- <div class="alert"><h3>Please confirm the checkout:</h3> >+ <div class="alert"><h3>[% t('Please confirm the checkout:') %]</h3> > [% IF ( confirm_renew_issue ) %] >- <p>This item is already checked out to you.</p> >+ <p>[% t('This item is already checked out to you.') %]</p> > [% END %] > > [% IF ( renew && Koha.Preference('AllowSelfCheckReturns') ) %] >@@ -108,7 +109,7 @@ > <input type="hidden" name="patronid" value="[% patronid %]" /> > <input type="hidden" name="barcode" value="[% barcode %]" /> > <input type="hidden" name="confirmed" value="" /> >- <button type="submit" name="returnbook" class="btn"><i class="icon return"></i> Return this item</button> >+ <button type="submit" name="returnbook" class="btn"><i class="icon return"></i> [% t('Return this item') %]</button> > </form> > [% END %] > >@@ -118,7 +119,7 @@ > <input type="hidden" name="patronid" value="[% patronid %]" /> > <input type="hidden" name="barcode" value="[% barcode %]" /> > <input type="hidden" name="confirmed" value="1" /> >- <button type="submit" name="confirm" class="btn"><i class="icon renew"></i> Renew item</button> >+ <button type="submit" name="confirm" class="btn"><i class="icon renew"></i> [% t('Renew item') %]</button> > </form> > [% ELSE %] > <form action="/cgi-bin/koha/sco/sco-main.pl" name="confirmForm" class="inline" method="post"> >@@ -126,14 +127,14 @@ > <input type="hidden" name="patronid" value="[% patronid %]" /> > <input type="hidden" name="barcode" value="[% barcode %]" /> > <input type="hidden" name="confirmed" value="1" /> >- <button type="submit" class="btn"><i class="icon renew"></i> Renew item</button> >+ <button type="submit" class="btn"><i class="icon renew"></i> [% t('Renew item') %]</button> > </form> > [% END %] > > <form action="/cgi-bin/koha/sco/sco-main.pl" name="confirmForm" class="inline" method="post"> > <input type="hidden" name="op" value="" /> > <input type="hidden" name="patronid" value="[% patronid %]" /> >- <button type="submit" class="btn"><i class="icon cancel"></i> Cancel</button> >+ <button type="submit" class="btn"><i class="icon cancel"></i> [% t('Cancel') %]</button> > </form> > </div> > [% END # / IF confirm %] >@@ -141,24 +142,24 @@ > [% IF ( nopermission ) %] > <!-- This is what is displayed if user doesnt have permission --> > <div class="alert"> >- <h3>Access denied</h3> >- <p>Sorry, this self-checkout station has lost authentication. Please contact the administrator to resolve this problem.</p> >+ <h3>[% t('Access denied') %]</h3> >+ <p>[% t('Sorry, this self-checkout station has lost authentication.') %] [% t('Please contact the administrator to resolve this problem.') %]</p> > </div> > [% END %] > > [% IF ( different_ip ) %] > <!-- This is what is displayed if user doesnt have permission --> > <div class="alert"> >- <h3>Session lost</h3> >- <p>You are accessing self-checkout from a different IP address! please log in again.</p> >+ <h3>[% t('Session lost') %]</h3> >+ <p>[% t('You are accessing self-checkout from a different IP address! please log in again.') %]</p> > </div> > [% END %] > > [% IF ( invalid_username_or_password ) %] > <!-- This is what is displayed if user doesnt have permission --> > <div class="alert"> >- <h3>Record not found</h3> >- <p>Your userid was not found in the database. Please try again.</p> >+ <h3>[% t('Record not found') %]</h3> >+ <p>[% t('Your userid was not found in the database.') %] [% t('Please try again.') %]</p> > </div> > [% END %] > >@@ -167,17 +168,17 @@ > > [% IF ( patronid ) %] > [% IF ( validuser ) %] >- <div class="alert alert-info">You are logged in as [% borrowername %].</div> >+ <div class="alert alert-info">[% t('You are logged in as') %] [% borrowername %].</div> > [% INCLUDE 'opac-note.inc' %] > [% IF patron_has_hold_fee %] >- <div class="alert">A hold fee was charged to your account for collecting this item.</div> >+ <div class="alert">[% t('A hold fee was charged to your account for collecting this item.') %]</div> > [% END %] > [% END %] > > [% IF ( nouser ) %] > <div class="alert"> >- <h4>Sorry</h4> >- <p>The userid <strong>[% patronid %]</strong> was not found in the database. Please try again.</p> >+ <h4>[% t('Sorry') %]</h4> >+ <p>[% t('The userid') %] <strong>[% patronid %]</strong> [% t('was not found in the database.') %] [% t('Please try again.') %]</p> > </div> > [% END %] > [% END # / IF patronid %] >@@ -186,11 +187,11 @@ > <div id="newcheckout" class="sco_entry"> > <form id="scan_form" name="scan_form" method="post" action="/cgi-bin/koha/sco/sco-main.pl" onsubmit="return checkout_confirm('[% patronid %]');"> > <fieldset> >- <legend>Check out[% IF ( Koha.Preference('AllowSelfCheckReturns') ) %], return[% END %] or renew an item: </legend> >+ <legend>[% t('Check out') %][% IF ( Koha.Preference('AllowSelfCheckReturns') ) %][% t(', return') %][% END %] [% t('or renew an item:') %] </legend> > <div class="input-append"> >- <label for="barcode">Scan a new item or enter its barcode:</label> >+ <label for="barcode">[% t('Scan a new item or enter its barcode:') %]</label> > <input id="barcode" name="barcode" size="20" type="text" class="focus" autocomplete="off" /> >- <button type="submit" class="btn">Submit</button> >+ <button type="submit" class="btn">[% t('Submit') %]</button> > </div> > <input type="hidden" name="op" value="checkout" /> > <input type="hidden" name="patronid" value="[% patronid %]" /> >@@ -199,7 +200,7 @@ > > <div> > <form method="post" action="#" id="logout_form"> >- <button type="submit" class="btn"><i class="icon finish"></i> Finish</button> >+ <button type="submit" class="btn"><i class="icon finish"></i> [% t('Finish') %]</button> > </form> > </div> > </div> <!-- / #newcheckout --> >@@ -218,17 +219,17 @@ > <div id="borrowerdetails"> > [% IF ( issues_count ) %] > <table id="loanTable" class="table table-bordered table-striped"> >- <caption>Checkouts for [% borrowername %] <span class="count">([% issues_count %] total)</span></caption> >+ <caption>[% t('Checkouts for') %] [% borrowername %] <span class="count">([% issues_count %] [% t('total)') %]</span></caption> > <!-- ISSUES TABLE ROWS --> > <thead> > <tr> >- <th class="noshow">Checked out on</th> >- <th class="anti-the">Title</th> >- <th>Call no.</th> >- <th class="title-string">Due</th> >- <th class="nosort">Renew</th> >+ <th class="noshow">[% t('Checked out on') %]</th> >+ <th class="anti-the">[% t('Title') %]</th> >+ <th>[% t('Call no.') %]</th> >+ <th class="title-string">[% t('Due') %]</th> >+ <th class="nosort">[% t('Renew') %]</th> > [% UNLESS ( nofines ) %] >- <th>Fines</th> >+ <th>[% t('Fines') %]</th> > [% END %] > </tr> > </thead> >@@ -259,29 +260,29 @@ > <input type="hidden" name="op" value="checkout" /> > <input type="hidden" name="confirmed" value="1" /> > [% UNLESS ( ISSUE.renew ) %] >- <input type="submit" value="Renew item" name="confirm " class="btn renew" /> >+ <input type="submit" value="Renew item" name="confirm " class="btn renew" /> > [% ELSE %] > <input type="submit" value="Renew item" class="btn renew" /> > [% END %] > [% ELSE %] > [% IF ISSUE.renew_error == 'auto_renew' OR ISSUE.renew_error == 'auto_too_soon' %] >- <span>This item has been scheduled for automatic renewal and cannot be renewed</span> >+ <span>[% t('This item has been scheduled for automatic renewal and cannot be renewed') %]</span> > [% ELSIF ISSUE.renew_error == 'onsite_checkout' %] >- <span>This is a on-site checkout, it cannot be renewed.</span> >+ <span>[% t('This is a on-site checkout, it cannot be renewed.') %]</span> > [% ELSE %] >- <span>No renewals allowed</span> >+ <span>[% t('No renewals allowed') %]</span> > [% END %] > [% IF Koha.Preference('AllowSelfCheckReturns') %] > <input type="submit" value="Check in item" name="confirm" class="btn return" /> > <input type="hidden" name="op" value="returnbook" /> >- <input type="hidden" name="confirmed" value="" /> >+ <input type="hidden" name="confirmed" value="" /> > [% END %] > [% END %] > </form> > </td> > [% UNLESS ( nofines ) %] > <td> >- [% IF ( ISSUE.charges ) %]Yes[% ELSE %]No[% END %] >+ [% IF ( ISSUE.charges ) %][% t('Yes') %][% ELSE %][% t('No') %][% END %] > </td> > [% END %] > </tr> >@@ -289,27 +290,27 @@ > </tbody> > </table> > [% ELSE %] >- <h3>You currently have nothing checked out.</h3> >+ <h3>[% t('You currently have nothing checked out.') %]</h3> > [% END # / IF issues_count %] > </div> <!-- / #borrowerdetails --> > [% ELSE # IF validuser %] >- <div class="sco_entry" > >+ <div class="sco_entry"> > <form id="mainform" action="/cgi-bin/koha/sco/sco-main.pl" name="mainform" method="post"> > <fieldset class="checkout brief"> > [% IF ( Koha.Preference('SelfCheckoutByLogin') ) %] >- <legend>Log in to your account</legend> >- <label for="patronlogin">Login:</label> >+ <legend>[% t('Log in to your account') %]</legend> >+ <label for="patronlogin">[% t('Login:') %]</label> > <input type="text" id="patronlogin" class="focus" size="20" name="patronlogin" /> >- <label for="patronpw">Password:</label> >+ <label for="patronpw">[% t('Password:') %]</label> > <input type="password" id="patronpw" size="20" name="patronpw" /> > <fieldset class="action"> >- <button type="submit" class="btn">Log in</button> >+ <button type="submit" class="btn">[% t('Log in') %]</button> > </fieldset> > [% ELSE %] > <div class="input-append"> >- <label for="patronid">Please enter your card number:</label> >+ <label for="patronid">[% t('Please enter your card number:') %]</label> > <input type="text" id="patronid" class="focus" size="20" name="patronid" autocomplete="off" /> >- <button type="submit" class="btn">Submit</button> >+ <button type="submit" class="btn">[% t('Submit') %]</button> > </div> > [% END %] > >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/svc/suggestion.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/svc/suggestion.tt >index 3e62d0e6c0..fba1fa67f1 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/svc/suggestion.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/svc/suggestion.tt >@@ -1,7 +1,8 @@ >+[% PROCESS 'i18n.inc' %] > [% IF (render=='standalone') %] > [% USE Koha %] > [% INCLUDE 'doc-head-open.inc' %] >- <title>Search suggestions</title> >+ <title>[% t('Search suggestions') %]</title> > [% INCLUDE 'doc-head-close.inc' %] > [% BLOCK cssinclude %][% END %] > </head> >@@ -10,8 +11,8 @@ > > <div class="main"> > <ul class="breadcrumb"> >- <li><a href="/cgi-bin/koha/opac-main.pl">Home</a> <span class="divider">›</span></li> >- <li><a href="#">Search suggestions</a></li> >+ <li><a href="/cgi-bin/koha/opac-main.pl">[% t('Home') %]</a> <span class="divider">âº</span></li> >+ <li><a href="#">[% t('Search suggestions') %]</a></li> > </ul> > > <div class="container-fluid"> >@@ -27,18 +28,18 @@ > <div class="span12"> > [% END %] > <div id="searchsuggestions"> >- <h1 class="title">Suggestions</h1> >+ <h1 class="title">[% t('Suggestions') %]</h1> > [% END %] > > [% IF suggestions && suggestions.size %] > <div> >- <span class="suggestionlabel">Did you mean:</span> >+ <span class="suggestionlabel">[% t('Did you mean:') %]</span> > [% FOREACH suggestion IN suggestions %] > <span class="searchsuggestion"><a href="/cgi-bin/koha/opac-search.pl?q=[% suggestion.search |uri %]">[% suggestion.label |html %]</a></span> > [% END %] > </div> > [% ELSE %] >- <span class="nosuggestions">Sorry, no suggestions.</span> >+ <span class="nosuggestions">[% t('Sorry, no suggestions.') %]</span> > [% END %] > > [% IF (render=='standalone') %] >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/text/explodedterms.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/text/explodedterms.tt >index 6f394ad1cd..3fc73238f6 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/text/explodedterms.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/text/explodedterms.tt >@@ -1,8 +1,9 @@ >+[% PROCESS 'i18n.inc' %] > [%- SWITCH index -%] > [%- CASE 'su-na' -%] >-Search also for narrower subjects >+[% t('Search also for narrower subjects') %] > [%- CASE 'su-br' -%] >-Search also for broader subjects >+[% t('Search also for broader subjects') %] > [%- CASE 'su-rl' -%] >-Search also for related subjects >+[% t('Search also for related subjects') %] > [%- END -%] >-- >2.17.1
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 20988
:
76333
|
76334
|
76335
|
76336
|
76337
|
76338
|
76339
|
76340
|
76341
|
76342
|
76343
|
76344
|
76345
|
76346
|
76347
|
76348
|
76349
|
76350
|
76351
|
76352
|
76353
|
76354
|
76355
|
76356
|
76357
|
76358
|
76359
|
76360
|
76361
|
76362
|
76363
|
76364
|
76365
|
76934
|
76935