Bug 11648 - Use word item instead of copy - opac bootstrap
Sometimes, the word copy/copies is use to speak about item/items. It would be better to use only item because translation of the word copy depends on context, it should be used only when speaking about copy like in "copy and paste". This patch replaces copy/copies in opac bootstrap theme. Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de> Signed-off-by: Galen Charlton <gmc@esilibrary.com>
This commit is contained in:
parent
3273f82350
commit
18456ea5fc
8 changed files with 20 additions and 20 deletions
|
@ -149,7 +149,7 @@
|
|||
[% END %]
|
||||
</table>
|
||||
[% ELSE %]
|
||||
<p>No copies available.</p>
|
||||
<p>No items available.</p>
|
||||
[% END %]
|
||||
</div> <!-- / #catalogue_detail_biblio -->
|
||||
</div> <!-- / #usermarcdetail -->
|
||||
|
|
|
@ -73,7 +73,7 @@ function fetch_availability( prod, $tr ) {
|
|||
function ( data ) {
|
||||
if ( data.error ) return;
|
||||
|
||||
$availability_summary.html( '<span class="label">' + _("Availability:") + ' </span> ' + '<span class="available"><b>' + _("Copies available:") + ' </b>' + data.copiesAvailable + " " + _("out of") + ' ' + data.copiesOwned + '</span>' );
|
||||
$availability_summary.html( '<span class="label">' + _("Availability:") + ' </span> ' + '<span class="available"><b>' + _("Items available:") + ' </b>' + data.copiesAvailable + " " + _("out of") + ' ' + data.copiesOwned + '</span>' );
|
||||
|
||||
if ( data.numberOfHolds ) {
|
||||
$availability_summary.find( '.available' ).append( ', ' + _("waiting holds:") + ' <strong>' + data.numberOfHolds + '</strong>' );
|
||||
|
|
|
@ -232,14 +232,14 @@
|
|||
[% IF ( OPACItemHolds ) %]
|
||||
<!-- ITEM HOLDS -->
|
||||
<li class="lradio">
|
||||
<label class="radio inline" for="reqany_[% bibitemloo.biblionumber %]">Next available copy</label>
|
||||
<label class="radio inline" for="reqany_[% bibitemloo.biblionumber %]">Next available item</label>
|
||||
[% UNLESS ( bibitemloo.holdable ) %]
|
||||
<input type="radio" name="reqtype_[% bibitemloo.biblionumber %]" id="reqany_[% bibitemloo.biblionumber %]" class="selectany" value="Any" disabled="disabled" />
|
||||
[% ELSE %]
|
||||
<input type="radio" name="reqtype_[% bibitemloo.biblionumber %]" id="reqany_[% bibitemloo.biblionumber %]" class="selectany" value="Any" checked="checked" />
|
||||
[% END %]
|
||||
|
||||
<label class="radio inline" for="reqspecific_[% bibitemloo.biblionumber %]">A specific copy</label>
|
||||
<label class="radio inline" for="reqspecific_[% bibitemloo.biblionumber %]">A specific item</label>
|
||||
[% UNLESS ( bibitemloo.holdable ) %]
|
||||
<input type="radio" name="reqtype_[% bibitemloo.biblionumber %]" id="reqspecific_[% bibitemloo.biblionumber %]" class="selectspecific" disabled="disabled" value="Specific" />
|
||||
[% ELSE %]
|
||||
|
@ -251,7 +251,7 @@
|
|||
|
||||
[% IF ( OPACItemHolds ) %]
|
||||
<table class="copiesrow table table-bordered table-striped" id="copiesrow_[% bibitemloo.biblionumber %]">
|
||||
<caption>Select a specific copy:</caption>
|
||||
<caption>Select a specific item:</caption>
|
||||
<tr>
|
||||
<th>Copy number</th>
|
||||
[% IF ( item_level_itypes ) %]
|
||||
|
@ -370,9 +370,9 @@
|
|||
[% INCLUDE 'calendar.inc' %]
|
||||
<script type="text/javascript">
|
||||
// <![CDATA[
|
||||
var MSG_NO_COPY_SELECTED = _("Expecting a specific copy selection.");
|
||||
var MSG_NO_ITEM_SELECTED = _("Expecting a specific item selection.");
|
||||
var ForceHoldNotesReasons=new Array(
|
||||
_("This title consists of multiple volumes/parts. Please indicate which part you need. Clicking on specific copy information may be helpful."),
|
||||
_("This title consists of multiple volumes/parts. Please indicate which part you need. Clicking on specific item information may be helpful."),
|
||||
"*** Add a new reason above this line ***" );
|
||||
// NOTE: Do not renumber reasons; this will affect use of existing ones.
|
||||
|
||||
|
@ -452,7 +452,7 @@
|
|||
// Find the selected copy
|
||||
var item = $(".checkitem_" + biblioNum + ":checked");
|
||||
if ($(item).size() == 0) {
|
||||
alert(MSG_NO_COPY_SELECTED);
|
||||
alert(MSG_NO_ITEM_SELECTED);
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
@ -531,7 +531,7 @@
|
|||
});
|
||||
|
||||
if (badBib) {
|
||||
alert(MSG_NO_COPY_SELECTED);
|
||||
alert(MSG_NO_ITEM_SELECTED);
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
|
@ -202,7 +202,7 @@ href="/cgi-bin/koha/opac-rss.pl?[% query_cgi %][% limit_cgi |html %]" />
|
|||
[% END %]
|
||||
<p class="availability">
|
||||
[% IF ( GROUP_RESULT.available_items_loop ) %]
|
||||
<span class="available"><strong>Copies available at:</strong>
|
||||
<span class="available"><strong>Items available at:</strong>
|
||||
[% FOREACH available_items_loo IN GROUP_RESULT.available_items_loop %]
|
||||
[% IF ( available_items_loo.branchname ) %][% available_items_loo.branchname %][% END %]
|
||||
[% IF ( OPACItemsResultsDisplay ) %]
|
||||
|
|
|
@ -348,7 +348,7 @@
|
|||
<span class="results_summary">
|
||||
<span class="label">Availability:</span>
|
||||
[% IF ( SEARCH_RESULT.available_items_loop.size() ) %]
|
||||
<span class="available"><strong>Copies available:</strong>
|
||||
<span class="available"><strong>Items available:</strong>
|
||||
[% FOREACH available_items_loo IN SEARCH_RESULT.available_items_loop %]
|
||||
[% IF available_items_loo.this_branch %]
|
||||
<span class="highlight-row-results">
|
||||
|
|
|
@ -1042,12 +1042,12 @@
|
|||
</xsl:for-each>
|
||||
(<xsl:value-of select="$AlternateHoldingsCount"/>)
|
||||
</xsl:when>
|
||||
<xsl:otherwise>No copies available </xsl:otherwise>
|
||||
<xsl:otherwise>No items available </xsl:otherwise>
|
||||
</xsl:choose>
|
||||
</xsl:when>
|
||||
<xsl:when test="count(key('item-by-status', 'available'))>0">
|
||||
<span class="available">
|
||||
<b><xsl:text>Copies available for loan: </xsl:text></b>
|
||||
<b><xsl:text>Items available for loan: </xsl:text></b>
|
||||
<xsl:variable name="available_items"
|
||||
select="key('item-by-status', 'available')"/>
|
||||
<xsl:choose>
|
||||
|
@ -1079,7 +1079,7 @@
|
|||
<xsl:choose>
|
||||
<xsl:when test="count(key('item-by-status', 'reference'))>0">
|
||||
<span class="available">
|
||||
<b><xsl:text>Copies available for reference: </xsl:text></b>
|
||||
<b><xsl:text>Items available for reference: </xsl:text></b>
|
||||
<xsl:variable name="reference_items" select="key('item-by-status', 'reference')"/>
|
||||
<xsl:for-each select="$reference_items[generate-id() = generate-id(key('item-by-status-and-branch', concat(items:status, ' ', items:homebranch))[1])]">
|
||||
<xsl:if test="$singleBranchMode=0">
|
||||
|
|
|
@ -773,12 +773,12 @@
|
|||
<span class="results_summary">
|
||||
<span class="label">Availability: </span>
|
||||
<xsl:choose>
|
||||
<xsl:when test="count(key('item-by-status', 'available'))=0 and count(key('item-by-status', 'reference'))=0">No copies available
|
||||
<xsl:when test="count(key('item-by-status', 'available'))=0 and count(key('item-by-status', 'reference'))=0">No items available
|
||||
</xsl:when>
|
||||
|
||||
<xsl:when test="count(key('item-by-status', 'available'))>0">
|
||||
<span class="available">
|
||||
<b><xsl:text>Copies available for loan: </xsl:text></b>
|
||||
<b><xsl:text>Items available for loan: </xsl:text></b>
|
||||
<xsl:variable name="available_items" select="key('item-by-status', 'available')"/>
|
||||
<xsl:choose>
|
||||
<xsl:when test="$singleBranchMode=1">
|
||||
|
@ -810,7 +810,7 @@
|
|||
<xsl:choose>
|
||||
<xsl:when test="count(key('item-by-status', 'reference'))>0">
|
||||
<span class="available">
|
||||
<b><xsl:text>Copies available for reference: </xsl:text></b>
|
||||
<b><xsl:text>Items available for reference: </xsl:text></b>
|
||||
<xsl:variable name="reference_items"
|
||||
select="key('item-by-status', 'reference')"/>
|
||||
<xsl:for-each select="$reference_items[generate-id() = generate-id(key('item-by-status-and-branch', concat(items:status, ' ', items:homebranch))[1])]">
|
||||
|
|
|
@ -133,11 +133,11 @@
|
|||
</xsl:for-each>
|
||||
</xsl:when>
|
||||
<xsl:when test="count(key('item-by-status', 'available'))=0 and count(key('item-by-status', 'reference'))=0">
|
||||
No copies available
|
||||
No items available
|
||||
</xsl:when>
|
||||
<xsl:when test="count(key('item-by-status', 'available'))>0">
|
||||
<span class="available">
|
||||
<b><xsl:text>Copies available for loan: </xsl:text></b>
|
||||
<b><xsl:text>Items available for loan: </xsl:text></b>
|
||||
<xsl:variable name="available_items" select="key('item-by-status', 'available')"/>
|
||||
<xsl:choose>
|
||||
<xsl:when test="$singleBranchMode=1">
|
||||
|
@ -174,7 +174,7 @@
|
|||
<xsl:choose>
|
||||
<xsl:when test="count(key('item-by-status', 'reference'))>0">
|
||||
<span class="available">
|
||||
<b><xsl:text>Copies available for reference: </xsl:text></b>
|
||||
<b><xsl:text>Items available for reference: </xsl:text></b>
|
||||
<xsl:variable name="reference_items"
|
||||
select="key('item-by-status', 'reference')"/>
|
||||
<xsl:for-each select="$reference_items[generate-id() = generate-id(key('item-by-status-and-branch', concat(items:status, ' ', items:homebranch))[1])]">
|
||||
|
|
Loading…
Reference in a new issue