Bugzilla – Attachment 9070 Details for
Bug 2780
Capitalize strings consistently
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
[SIGNED-OFF]Bug 2780 - Capitalize strings consistently (virtualshelves)
SIGNED-OFFBug-2780---Capitalize-strings-consistent.patch (text/plain), 14.35 KB, created by
Paul Poulain
on 2012-04-10 08:41:05 UTC
(
hide
)
Description:
[SIGNED-OFF]Bug 2780 - Capitalize strings consistently (virtualshelves)
Filename:
MIME Type:
Creator:
Paul Poulain
Created:
2012-04-10 08:41:05 UTC
Size:
14.35 KB
patch
obsolete
>From db4af00ce1706ab16fefb97cf88b6f289a7e3883 Mon Sep 17 00:00:00 2001 >From: Katrin Fischer <Katrin.Fischer.83@web.de> >Date: Sun, 8 Apr 2012 22:50:10 +0200 >Subject: [PATCH] [SIGNED-OFF]Bug 2780 - Capitalize strings consistently > (virtualshelves) > >Signed-off-by: Paul Poulain <paul.poulain@biblibre.com> >This patch also fixes some vocabulary replacing "shelf" by "list" >--- > .../en/modules/virtualshelves/addbybiblionumber.tt | 8 ++-- > .../en/modules/virtualshelves/downloadshelf.tt | 6 ++-- > .../prog/en/modules/virtualshelves/sendshelf.tt | 2 +- > .../prog/en/modules/virtualshelves/shelves.tt | 38 ++++++++++---------- > 4 files changed, 27 insertions(+), 27 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/virtualshelves/addbybiblionumber.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/virtualshelves/addbybiblionumber.tt >index b062980..03b6005 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/virtualshelves/addbybiblionumber.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/virtualshelves/addbybiblionumber.tt >@@ -1,5 +1,5 @@ > [% INCLUDE 'doc-head-open.inc' %] >-<title>Koha › Add to List</title> >+<title>Koha › Add to list</title> > [% INCLUDE 'doc-head-close.inc' %] > <style type="text/css"> > #custom-doc { width:34.62em;*width:33.78em;min-width:450px; margin:auto; margin-top: .4em;text-align:left; } >@@ -9,7 +9,7 @@ > > [% UNLESS (authorized) %] > <p align="center"> >- [% IF (errcode==1) %]Could not make new shelf. Please check the name.<br/>[% END %] >+ [% IF (errcode==1) %]Could not create a new list. Please check the name.<br/>[% END %] > [% IF (errcode==2) %]Sorry, you do not have permission to add items to this list.<br/>[% END %] > <a href="javascript:self.close();">Close this window.</a> > </p> >@@ -44,14 +44,14 @@ > <label>Choose list</label> > <select name="shelfnumber" id="shelfnumber"> > [% IF ( privatevirtualshelves ) %] >- <optgroup label="Private Lists"> >+ <optgroup label="Private lists"> > [% FOREACH privatevirtualshelve IN privatevirtualshelves %] > <option value="[% privatevirtualshelve.shelfnumber %]">[% privatevirtualshelve.shelfname %]</option> > [% END %] > </optgroup> > [% END %] > [% IF ( publicvirtualshelves ) %] >- <optgroup label="Public Lists"> >+ <optgroup label="Public lists"> > [% FOREACH publicvirtualshelve IN publicvirtualshelves %] > <option value="[% publicvirtualshelve.shelfnumber %]">[% publicvirtualshelve.shelfname %]</option> > [% END %] >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/virtualshelves/downloadshelf.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/virtualshelves/downloadshelf.tt >index e2b1ed5..00cb335 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/virtualshelves/downloadshelf.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/virtualshelves/downloadshelf.tt >@@ -9,11 +9,11 @@ > <div id="export" class="detailtagcell"> <form method="post" action="/cgi-bin/koha/virtualshelves/downloadshelf.pl"> > <form method="post" action="/cgi-bin/koha/virtualshelves/downloadshelf.pl"> > <fieldset class="rows"> >- <legend>Download List</legend> >+ <legend>Download list</legend> > <ol><li> >- <label for="format">Format : </label> >+ <label for="format">Format: </label> > <select name="format" id="format"> >- <option value="">-- Choose Format --</option> >+ <option value="">-- Choose format --</option> > <option value="iso2709">iso2709</option> > <option value="ris">RIS</option> > <option value="bibtex">BibTex</option> >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/virtualshelves/sendshelf.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/virtualshelves/sendshelf.tt >index f307ba0..12e53ee 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/virtualshelves/sendshelf.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/virtualshelves/sendshelf.tt >@@ -33,7 +33,7 @@ Serial: [% BIBLIO_RESULT.serial %][% END %][% IF ( BIBLIO_RESULT.dewey ) %] > Dewey: [% BIBLIO_RESULT.dewey %][% END %][% IF ( BIBLIO_RESULT.classification ) %] > Classification: [% BIBLIO_RESULT.classification %][% END %][% IF ( BIBLIO_RESULT.lccn ) %] > LCCN: [% BIBLIO_RESULT.lccn %][% END %][% IF ( BIBLIO_RESULT.url ) %] >-url : [% BIBLIO_RESULT.url %][% END %][% IF ( OPACBaseURL ) %] >+URL : [% BIBLIO_RESULT.url %][% END %][% IF ( OPACBaseURL ) %] > In the online catalog: > http://[% OPACBaseURL %]/cgi-bin/koha/opac-detail.pl?biblionumber=[% BIBLIO_RESULT.biblionumber |url %][% END %] > Items : [% FOREACH ITEM_RESULT IN BIBLIO_RESULT.ITEM_RESULTS %] >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/virtualshelves/shelves.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/virtualshelves/shelves.tt >index 96b00a5..650be11 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/virtualshelves/shelves.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/virtualshelves/shelves.tt >@@ -1,5 +1,5 @@ > [% INCLUDE 'doc-head-open.inc' %] >-<title>Koha › [% IF ( viewshelf ) %]Lists › Contents of [% shelfname | html %][% ELSE %]Lists[% END %][% IF ( shelves ) %] › Create New List[% END %][% IF ( edit ) %] › Edit List [% shelfname | html %][% END %]</title> >+<title>Koha › [% IF ( viewshelf ) %]Lists › Contents of [% shelfname | html %][% ELSE %]lists[% END %][% IF ( shelves ) %] › Create new list[% END %][% IF ( edit ) %] › Edit list [% shelfname | html %][% END %]</title> > [% INCLUDE 'doc-head-close.inc' %] > <script type="text/javascript" src="[% themelang %]/lib/jquery/plugins/jquery.checkboxes.min.js"></script> > <script type="text/javascript"> >@@ -9,8 +9,8 @@ var MSG_NO_ITEM_SELECTED = _("Nothing is selected."); > > $(document).ready(function(){ > $("#addbarcode").focus(); >- $("span.clearall").html("<a id=\"CheckNone\" href=\"/cgi-bin/koha/shelves.pl\">"+_('Clear All')+"<\/a>"); >- $("span.checkall").html("<a id=\"CheckAll\" href=\"/cgi-bin/koha/shelves.pl\">"+_('Select All')+"<\/a>"); >+ $("span.clearall").html("<a id=\"CheckNone\" href=\"/cgi-bin/koha/shelves.pl\">"+_('Clear all')+"<\/a>"); >+ $("span.checkall").html("<a id=\"CheckAll\" href=\"/cgi-bin/koha/shelves.pl\">"+_('Select all')+"<\/a>"); > $("#CheckAll").click(function(){ > $(".checkboxed").checkCheckboxes(); > return false; >@@ -115,9 +115,9 @@ function placeHold () { > [% INCLUDE 'header.inc' %] > [% INCLUDE 'cat-search.inc' %] > >-<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> › <a href="/cgi-bin/koha/virtualshelves/shelves.pl">Lists</a> [% IF ( category1 ) %] › [% IF ( viewshelf || edit ) %] <a href="/cgi-bin/koha/virtualshelves/shelves.pl?display=privateshelves">Your Lists</a> [% ELSE %] Your Lists [% END %] [% ELSIF ( category2 ) %] › [% IF ( viewshelf ) %] <a href="/cgi-bin/koha/virtualshelves/shelves.pl?display=publicshelves">Public Lists</a> [% ELSE %] Public Lists [% END %] [% ELSIF ( showprivateshelves ) %] › [% IF ( viewshelf || edit ) %] <a href="/cgi-bin/koha/virtualshelves/shelves.pl?display=privateshelves">Your Lists</a> [% ELSE %] Your Lists [% END %] [% ELSIF ( showpublicshelves ) %] › [% IF ( viewshelf || edit ) %] <a href="/cgi-bin/koha/virtualshelves/shelves.pl?display=publicshelves">Public Lists</a> [% ELSE %] Public Lists [% END %] [% END %] >+<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> › <a href="/cgi-bin/koha/virtualshelves/shelves.pl">Lists</a> [% IF ( category1 ) %] › [% IF ( viewshelf || edit ) %] <a href="/cgi-bin/koha/virtualshelves/shelves.pl?display=privateshelves">Your lists</a> [% ELSE %] Your lists [% END %] [% ELSIF ( category2 ) %] › [% IF ( viewshelf ) %] <a href="/cgi-bin/koha/virtualshelves/shelves.pl?display=publicshelves">Public lists</a> [% ELSE %] Public lists [% END %] [% ELSIF ( showprivateshelves ) %] › [% IF ( viewshelf || edit ) %] <a href="/cgi-bin/koha/virtualshelves/shelves.pl?display=privateshelves">Your lists</a> [% ELSE %] Your lists [% END %] [% ELSIF ( showpublicshelves ) %] › [% IF ( viewshelf || edit ) %] <a href="/cgi-bin/koha/virtualshelves/shelves.pl?display=publicshelves">Public lists</a> [% ELSE %] Public lists [% END %] [% END %] > >-[% IF ( viewshelf ) %]› Contents of <i>[% shelfname | html %]</i>[% END %][% IF ( shelves ) %] › Create New List[% END %][% IF ( edit ) %] › Edit List <i>[% shelfname | html %]</i>[% END %]</div> >+[% IF ( viewshelf ) %]› Contents of <i>[% shelfname | html %]</i>[% END %][% IF ( shelves ) %] › Create new list[% END %][% IF ( edit ) %] › Edit list <i>[% shelfname | html %]</i>[% END %]</div> > > <div id="doc" class="yui-t7"> > <div id="bd"> >@@ -177,10 +177,10 @@ function placeHold () { > <table> > <tr> > [% IF ( itemsloop ) %]<th class="checkall"> </th>[% END %] >- [% UNLESS ( item_level_itypes ) %]<th>Item Type</th>[% END %] >+ [% UNLESS ( item_level_itypes ) %]<th>Item type</th>[% END %] > <th>Title</th> > <th>Author</th> >- <th>Date Added</th> >+ <th>Date added</th> > <th> </th> > </tr> > [% FOREACH itemsloo IN itemsloop %] >@@ -217,7 +217,7 @@ function placeHold () { > [% END %]<!-- /itemsloop --> > </table><fieldset class="action"> > [% IF ( itemsloop ) %] >- <input type="button" id="placehold" style="display:none" onclick="placeHold(); return false;" value="Place Holds" /> >+ <input type="button" id="placehold" style="display:none" onclick="placeHold(); return false;" value="Place holds" /> > [% IF ( allowremovingitems ) %]<input type="submit" value="Remove selected records" onclick="return confirm(_('Are you sure you want to remove these records from the shelf?'));" />[% END %] > <input type="submit" value="Merge selected records" onclick="return MergeItems();" /> > [% END %] >@@ -261,9 +261,9 @@ function placeHold () { > > [% IF ( shelves ) %] > <input type="hidden" name="shelves" value="1" /> >- <legend>Create a new List</legend> >+ <legend>Create a new list</legend> > <ol> >- <li><label class="required" for="addshelf">List Name:</label><input id="addshelf" type="text" name="addshelf" size="25" /></li> >+ <li><label class="required" for="addshelf">List name:</label><input id="addshelf" type="text" name="addshelf" size="25" /></li> > <li><span class="label">Owner: </span><input type="hidden" name="owner" id="owner" value="[% loggedinuser %]" />[% loggedinusername %]</li> > <li><label for="sortfield" >Sort this list by: </label> > <select name="sortfield" id="sortfield"> >@@ -282,7 +282,7 @@ function placeHold () { > <input type="hidden" name="op" value="modifsave" /> > [% IF ( showprivateshelves ) %]<input type="hidden" name="display" value="privateshelves" />[% END %] > <input type="hidden" name="shelfnumber" value="[% shelfnumber %]" /> >- <legend>Edit List <i>[% shelfname | html %]</i></legend> >+ <legend>Edit list <i>[% shelfname | html %]</i></legend> > <ol> > <li><label for="shelfname">Name: </label><input type="text" id="shelfname" name="shelfname" size="25" value="[% shelfname |html %]" /></li> > <li><label for="owner">Owner: </label><input type="hidden" id="owner" name="owner" value="[% IF ( owner ) %][% ownername %][% ELSE %][% loggedinusername %][% END %]" />[% IF ( owner ) %][% ownername %][% ELSE %][% loggedinusername %][% END %]</li> >@@ -315,8 +315,8 @@ function placeHold () { > </div> > <div class="yui-u"> > <div class="help"><ul> >- <li>A <b>Private</b> List is managed by you and can be seen only by you.</li> >- <li> A <b>Public</b> List can be seen by everybody, but managed only by you.</li> >+ <li>A <b>Private</b> list is managed by you and can be seen only by you.</li> >+ <li> A <b>Public</b> list can be seen by everybody, but managed only by you.</li> > </ul> > </div> > </div> >@@ -328,14 +328,14 @@ function placeHold () { > <div class="toptabs"> > <ul class="ui-tabs-nav"> > [% IF ( showprivateshelves ) %] >- <li id="privateshelves_tab" class="ui-tabs-selected"><a href="/cgi-bin/koha/virtualshelves/shelves.pl?display=privateshelves">Your Lists</a></li> >+ <li id="privateshelves_tab" class="ui-tabs-selected"><a href="/cgi-bin/koha/virtualshelves/shelves.pl?display=privateshelves">Your lists</a></li> > [% ELSE %] >- <li id="privateshelves_tab" class=""><a href="/cgi-bin/koha/virtualshelves/shelves.pl?display=privateshelves">Your Lists</a></li> >+ <li id="privateshelves_tab" class=""><a href="/cgi-bin/koha/virtualshelves/shelves.pl?display=privateshelves">Your lists</a></li> > [% END %] > [% IF ( showpublicshelves ) %] >- <li id="publicshelves_tab" class="ui-tabs-selected"><a href="/cgi-bin/koha/virtualshelves/shelves.pl?display=publicshelves">Public Lists</a></li> >+ <li id="publicshelves_tab" class="ui-tabs-selected"><a href="/cgi-bin/koha/virtualshelves/shelves.pl?display=publicshelves">Public lists</a></li> > [% ELSE %] >- <li id="publicshelves_tab" class=""><a href="/cgi-bin/koha/virtualshelves/shelves.pl?display=publicshelves">Public Lists</a></li> >+ <li id="publicshelves_tab" class=""><a href="/cgi-bin/koha/virtualshelves/shelves.pl?display=publicshelves">Public lists</a></li> > [% END %] > </ul> > [% IF ( showprivateshelves ) %] >@@ -375,7 +375,7 @@ function placeHold () { > <input type="hidden" name="CONFIRM-[% shelveslooppri.confirm %]" value="1" /> > <input type="submit" class="approve" value="Confirm" /> > [% ELSE %] >- <input type="submit" class="deleteshelf" onclick="return confirmDelete(_('Are you sure you want to remove this List?'));" value="Delete" /> >+ <input type="submit" class="deleteshelf" onclick="return confirmDelete(_('Are you sure you want to remove this list?'));" value="Delete" /> > [% END %] > </form> > [% ELSE %] >@@ -423,7 +423,7 @@ function placeHold () { > <input type="hidden" name="CONFIRM-[% shelvesloo.confirm %]" value="1" /> > <input type="submit" class="approve" value="Confirm" /> > [% ELSE %] >- <input type="submit" class="deleteshelf" onclick="return confirmDelete(_('Are you sure you want to remove this List?'));" value="Delete" /> >+ <input type="submit" class="deleteshelf" onclick="return confirmDelete(_('Are you sure you want to remove this list?'));" value="Delete" /> > [% END %] > </form> > [% ELSE %] >-- >1.7.5.4
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 2780
:
8804
|
8805
|
8807
|
8808
|
8810
|
8812
|
8813
|
8815
|
8817
|
8818
|
8819
|
8820
|
8821
|
8823
|
8829
|
8832
|
8840
|
8841
|
8842
|
8843
|
8844
|
8845
|
8846
|
8847
|
8848
|
8849
|
8850
|
8851
|
8852
|
8853
|
8854
|
8866
|
8870
|
8871
|
8875
|
8880
|
8882
|
8883
|
8884
|
8926
|
8928
|
8929
|
8930
|
8935
|
8954
|
8960
|
8977
|
8978
|
8979
|
8980
|
8981
|
8983
|
8984
|
8985
|
8986
|
8987
|
8988
|
8989
|
8990
|
8991
|
8992
|
8993
|
8994
|
8995
|
8996
|
9013
|
9014
|
9015
|
9016
|
9017
|
9018
|
9019
|
9020
|
9021
|
9022
|
9023
|
9024
|
9025
|
9026
|
9027
|
9028
|
9029
|
9047
|
9048
|
9052
|
9054
|
9055
|
9056
|
9057
|
9058
|
9068
|
9069
|
9070
|
9071
|
9072
|
9073
|
9089
|
9091
|
9092