[Koha-patches] [PATCH] Bug 2780 - Capitalize strings consistently (Staff client cart)

Owen Leonard oleonard at myacpl.org
Wed Apr 4 16:23:18 CEST 2012


Correcting capitalization in the staff client's cart templates
---
 .../intranet-tmpl/prog/en/modules/basket/basket.tt |   24 ++++++++++----------
 .../prog/en/modules/basket/downloadcart.tt         |    2 +-
 .../prog/en/modules/basket/sendbasket.tt           |    2 +-
 .../prog/en/modules/basket/sendbasketform.tt       |    6 ++--
 4 files changed, 17 insertions(+), 17 deletions(-)

diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/basket/basket.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/basket/basket.tt
index 6041e25..b575fe9 100644
--- a/koha-tmpl/intranet-tmpl/prog/en/modules/basket/basket.tt
+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/basket/basket.tt
@@ -1,5 +1,5 @@
 [% INCLUDE 'doc-head-open.inc' %]
-<title>[% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %]Koha Online[% END %] Catalog &rsaquo; Your Cart</title>
+<title>[% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %]Koha online[% END %] Catalog &rsaquo; Your cart</title>
     [% IF ( print_basket ) %]
 
 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
@@ -77,13 +77,13 @@ function placeHold () {
 <div id="doc" class="yui-t7">
 <div class="container">
 [% UNLESS ( print_basket ) %]
-<h1>Your Cart</h1>
+<h1>Your cart</h1>
 
 <div id="toolbar">
 <ul class="toolbar">
 	<li>
 	    <span id="addchild" class="yui-button yui-link-button"><span class="first-child">
-		[% IF ( verbose ) %]<a href="basket.pl" class="brief" onclick="showLess(); return false;">Brief Display</a>[% ELSE %]<a href="basket.pl" class="detail" onclick="showMore(); return false;">More Details</a>[% END %]
+        [% IF ( verbose ) %]<a href="basket.pl" class="brief" onclick="showLess(); return false;">Brief display</a>[% ELSE %]<a href="basket.pl" class="detail" onclick="showMore(); return false;">More details</a>[% END %]
 	    </span></span>
 	</li>
 	<li>
@@ -103,12 +103,12 @@ function placeHold () {
 	</li>
 	<li>
 	    <span id="delete" class="yui-button yui-link-button"><span class="first-child">
-		<a class="empty" href="basket.pl" onclick="delBasket('popup'); return false;">Empty and Close</a>
+        <a class="empty" href="basket.pl" onclick="delBasket('popup'); return false;">Empty and close</a>
 	    </span></span>
 	</li>
 	<li>
 	    <span id="hide" class="yui-button yui-link-button"><span class="first-child">
-		<a class="hide close" href="basket.pl">Hide Window</a>
+        <a class="hide close" href="basket.pl">Hide window</a>
 	    </span></span>
 	</li>
 </ul>
@@ -116,7 +116,7 @@ function placeHold () {
         [% END %]
 
 [% IF ( verbose ) %]
-	[% UNLESS ( print_basket ) %]<p style="padding: 7px 0; border-top : 1px solid #E8E8E8;"><a id="CheckAll" href="#">Select All</a> <a id="CheckNone" href="#">Clear All</a> | <b>Selected items :</b>
+    [% UNLESS ( print_basket ) %]<p style="padding: 7px 0; border-top : 1px solid #E8E8E8;"><a id="CheckAll" href="#">Select all</a> <a id="CheckNone" href="#">Clear all</a> | <b>Selected items :</b>
 
     <a href="#" onclick="delSelRecords(); return false;">Remove</a>
 
@@ -125,7 +125,7 @@ function placeHold () {
 [% END %]
 
 [% IF ( CAN_user_reserveforothers ) %]
-     | <a href="#" onclick="placeHold(); return false;">Place Hold</a>
+     | <a href="#" onclick="placeHold(); return false;">Place hold</a>
 [% END %]
 
 </p>[% END %]
@@ -253,7 +253,7 @@ function placeHold () {
 
         [% IF ( BIBLIO_RESULT.MARCurlS ) %]
         <tr>
-            <th scope="row">url(s)</th>
+            <th scope="row">URL(s)</th>
             <td>
 	   [% FOREACH MARCurl IN BIBLIO_RESULT.MARCurlS %]
 		<p>[% IF ( MARCurl.part ) %][% MARCurl.part %]
@@ -283,8 +283,8 @@ function placeHold () {
 [% UNLESS ( print_basket ) %]
 <p style="border-top : 1px solid #E8E8E8;">
 	<form action="/cgi-bin/koha/basket/basket.pl" method="get" name="bookbag_form" id="bookbag_form">
-    <a id="CheckAll" href="#">Select All</a>
-    <a id="CheckNone" href="#">Clear All</a>
+    <a id="CheckAll" href="#">Select all</a>
+    <a id="CheckNone" href="#">Clear all</a>
     | <b>Selected items :</b>
 <a href="#" onclick="delSelRecords(); return false;">Remove</a>
 
@@ -293,7 +293,7 @@ function placeHold () {
 [% END %]
 
 [% IF ( CAN_user_reserveforothers ) %]
-     | <a href="#" onclick="placeHold(); return false;">Place Hold</a>
+     | <a href="#" onclick="placeHold(); return false;">Place hold</a>
 [% END %]
 
 
@@ -303,7 +303,7 @@ function placeHold () {
 	<thead><tr>
 	    [% UNLESS ( print_basket ) %]<th>&nbsp;</th>[% END %]
 	    <th>Title</th>
-	    <th>Item Type</th>
+        <th>Item type</th>
 	    <th>Location</th>
         </tr></thead>
 
diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/basket/downloadcart.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/basket/downloadcart.tt
index a58699c..a343bd8 100644
--- a/koha-tmpl/intranet-tmpl/prog/en/modules/basket/downloadcart.tt
+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/basket/downloadcart.tt
@@ -12,7 +12,7 @@
 	<ol><li>
 	<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/basket/sendbasket.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/basket/sendbasket.tt
index 15ef0a3..ca8f06d 100644
--- a/koha-tmpl/intranet-tmpl/prog/en/modules/basket/sendbasket.tt
+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/basket/sendbasket.tt
@@ -1,5 +1,5 @@
 <SUBJECT>
-Your Cart
+Your cart
 <END_SUBJECT>
 
 <HEADER>
diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/basket/sendbasketform.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/basket/sendbasketform.tt
index 69f01d6..9bb433e 100644
--- a/koha-tmpl/intranet-tmpl/prog/en/modules/basket/sendbasketform.tt
+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/basket/sendbasketform.tt
@@ -1,12 +1,12 @@
 [% INCLUDE 'doc-head-open.inc' %]
-<title>[% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %]Koha Online[% END %] Catalog &rsaquo;  Sending Your Cart</title>
+<title>[% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %]Koha online[% END %] Catalog &rsaquo;  Sending your cart</title>
 [% INCLUDE 'doc-head-close.inc' %]
 </head>
 <body style="padding: 1em;" id="cart_sendbasketform" class="cart">
 <div class="container">[% IF ( email_add ) %]
 
 	[% IF ( SENT ) %]
-		<h3>Message Sent</h3>
+        <h3>Message sent</h3>
 	    <p>The cart was sent to: [% email_add %]</p>
 		<p><a class="focus close" href="#">Close window</a></p>
 	[% END %]
@@ -21,7 +21,7 @@
 <fieldset class="rows"> 
 <legend>Sending your cart</legend>
 <ol>   <li>
-        <label for="email_add">Email Address:</label>
+        <label for="email_add">Email address:</label>
         <input type="text" id="email_add" name="email_add" size="43" class="focus" />
     </li>
     <li>
-- 
1.7.5.4



More information about the Koha-patches mailing list