Bugzilla – Attachment 25741 Details for
Bug 11648
Use word item instead of copy
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 11648 - Use word item instead of copy - opac prog
Bug-11648---Use-word-item-instead-of-copy---opac-p.patch (text/plain), 12.67 KB, created by
Kyle M Hall
on 2014-02-28 18:19:36 UTC
(
hide
)
Description:
Bug 11648 - Use word item instead of copy - opac prog
Filename:
MIME Type:
Creator:
Kyle M Hall
Created:
2014-02-28 18:19:36 UTC
Size:
12.67 KB
patch
obsolete
>From 6e731d8a141f1bf28851a397f9862061c33acf24 Mon Sep 17 00:00:00 2001 >From: Fridolin Somers <fridolin.somers@biblibre.com> >Date: Fri, 31 Jan 2014 14:23:03 +0100 >Subject: [PATCH] Bug 11648 - Use word item instead of copy - opac prog > >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 prog theme. > >Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> >--- > .../opac-tmpl/prog/en/modules/opac-MARCdetail.tt | 2 +- > .../prog/en/modules/opac-overdrive-search.tt | 2 +- > .../opac-tmpl/prog/en/modules/opac-reserve.tt | 14 +++++++------- > .../prog/en/modules/opac-results-grouped.tt | 2 +- > .../opac-tmpl/prog/en/modules/opac-results.tt | 2 +- > .../prog/en/xslt/MARC21slim2OPACResults.xsl | 6 +++--- > .../prog/en/xslt/NORMARCslim2OPACResults.xsl | 6 +++--- > .../prog/en/xslt/UNIMARCslim2OPACResults.xsl | 6 +++--- > 8 files changed, 20 insertions(+), 20 deletions(-) > >diff --git a/koha-tmpl/opac-tmpl/prog/en/modules/opac-MARCdetail.tt b/koha-tmpl/opac-tmpl/prog/en/modules/opac-MARCdetail.tt >index 6e57f08..a47a58f 100644 >--- a/koha-tmpl/opac-tmpl/prog/en/modules/opac-MARCdetail.tt >+++ b/koha-tmpl/opac-tmpl/prog/en/modules/opac-MARCdetail.tt >@@ -195,7 +195,7 @@ $(document).ready(function(){ > </tr> > [% END %] > </table>[% ELSE %] >- <p>No copies available.</p> >+ <p>No items available.</p> > [% END %] > </div> > </div> >diff --git a/koha-tmpl/opac-tmpl/prog/en/modules/opac-overdrive-search.tt b/koha-tmpl/opac-tmpl/prog/en/modules/opac-overdrive-search.tt >index 5956448..2114c2a 100644 >--- a/koha-tmpl/opac-tmpl/prog/en/modules/opac-overdrive-search.tt >+++ b/koha-tmpl/opac-tmpl/prog/en/modules/opac-overdrive-search.tt >@@ -19,7 +19,7 @@ function fetch_availability( prod, $tr ) { > function ( data ) { > if ( data.error ) return; > >- $availability_summary.html( '<span class="label">' + _("Copies available:") + ' </span><span class="available"><strong>' + data.copiesAvailable + '</strong> ' + _("out of") + ' ' + data.copiesOwned + '</span>' ); >+ $availability_summary.html( '<span class="label">' + _("Items available:") + ' </span><span class="available"><strong>' + data.copiesAvailable + '</strong> ' + _("out of") + ' ' + data.copiesOwned + '</span>' ); > > if ( data.numberOfHolds ) { > $availability_summary.find( '.available' ).append( ', ' + _("waiting holds:") + ' <strong>' + data.numberOfHolds + '</strong>' ); >diff --git a/koha-tmpl/opac-tmpl/prog/en/modules/opac-reserve.tt b/koha-tmpl/opac-tmpl/prog/en/modules/opac-reserve.tt >index 4f1882d..0932d20 100644 >--- a/koha-tmpl/opac-tmpl/prog/en/modules/opac-reserve.tt >+++ b/koha-tmpl/opac-tmpl/prog/en/modules/opac-reserve.tt >@@ -5,9 +5,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. > > function prefixOf (s, tok) { >@@ -89,7 +89,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; > } > } >@@ -169,7 +169,7 @@ > }); > > if (badBib) { >- alert(MSG_NO_COPY_SELECTED); >+ alert(MSG_NO_ITEM_SELECTED); > return false; > } > >@@ -442,7 +442,7 @@ > /> > [% END %] > >- <label for="reqany_[% bibitemloo.biblionumber %]">Next available copy</label> >+ <label for="reqany_[% bibitemloo.biblionumber %]">Next available item</label> > [% UNLESS ( bibitemloo.holdable ) %] > <input type="radio" name="reqtype_[% bibitemloo.biblionumber %]" > id="reqspecific_[% bibitemloo.biblionumber %]" >@@ -457,7 +457,7 @@ > value="Specific" > /> > [% END %] >- <label for="reqspecific_[% bibitemloo.biblionumber %]">A specific copy</label> >+ <label for="reqspecific_[% bibitemloo.biblionumber %]">A specific item</label> > </li> > > [% END %] >@@ -467,7 +467,7 @@ > [% IF ( bibitemloo.holdable ) %] > > <table class="copiesrow" 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 ) %] >diff --git a/koha-tmpl/opac-tmpl/prog/en/modules/opac-results-grouped.tt b/koha-tmpl/opac-tmpl/prog/en/modules/opac-results-grouped.tt >index 2010cee..14faf58 100644 >--- a/koha-tmpl/opac-tmpl/prog/en/modules/opac-results-grouped.tt >+++ b/koha-tmpl/opac-tmpl/prog/en/modules/opac-results-grouped.tt >@@ -246,7 +246,7 @@ function highlightOn() { > [% IF ( GROUP_RESULT.searchhighlightblob ) %]<p class="searchhighlightblob">[% GROUP_RESULT.searchhighlightblob %]</p>[% 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 ) %] >diff --git a/koha-tmpl/opac-tmpl/prog/en/modules/opac-results.tt b/koha-tmpl/opac-tmpl/prog/en/modules/opac-results.tt >index 9235b2b..4e264d4 100644 >--- a/koha-tmpl/opac-tmpl/prog/en/modules/opac-results.tt >+++ b/koha-tmpl/opac-tmpl/prog/en/modules/opac-results.tt >@@ -560,7 +560,7 @@ $(document).ready(function(){ > <span class="results_summary availability"> > <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">[% ELSE %]<span>[% END %] > [% IF ( singleBranchMode ) %] >diff --git a/koha-tmpl/opac-tmpl/prog/en/xslt/MARC21slim2OPACResults.xsl b/koha-tmpl/opac-tmpl/prog/en/xslt/MARC21slim2OPACResults.xsl >index 24ffa85..520c717 100644 >--- a/koha-tmpl/opac-tmpl/prog/en/xslt/MARC21slim2OPACResults.xsl >+++ b/koha-tmpl/opac-tmpl/prog/en/xslt/MARC21slim2OPACResults.xsl >@@ -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"> >diff --git a/koha-tmpl/opac-tmpl/prog/en/xslt/NORMARCslim2OPACResults.xsl b/koha-tmpl/opac-tmpl/prog/en/xslt/NORMARCslim2OPACResults.xsl >index 5f4b533..64560fd 100644 >--- a/koha-tmpl/opac-tmpl/prog/en/xslt/NORMARCslim2OPACResults.xsl >+++ b/koha-tmpl/opac-tmpl/prog/en/xslt/NORMARCslim2OPACResults.xsl >@@ -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])]"> >diff --git a/koha-tmpl/opac-tmpl/prog/en/xslt/UNIMARCslim2OPACResults.xsl b/koha-tmpl/opac-tmpl/prog/en/xslt/UNIMARCslim2OPACResults.xsl >index 9dde821..0becec1 100644 >--- a/koha-tmpl/opac-tmpl/prog/en/xslt/UNIMARCslim2OPACResults.xsl >+++ b/koha-tmpl/opac-tmpl/prog/en/xslt/UNIMARCslim2OPACResults.xsl >@@ -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])]"> >-- >1.7.2.5
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 11648
:
24938
|
24939
|
24940
|
25739
|
25740
|
25741
|
26154
|
26155
|
26156