Bug 2780 - Capitalize strings consistently (Patron cards)
authorOwen Leonard <oleonard@myacpl.org>
Tue, 3 Apr 2012 14:29:38 +0000 (10:29 -0400)
committerPaul Poulain <paul.poulain@biblibre.com>
Wed, 4 Apr 2012 15:54:35 +0000 (17:54 +0200)
Correcting Patron card creator-related includes

Signed-off-by: Jared Camins-Esakov <jcamins@cpbibliography.com>
koha-tmpl/intranet-tmpl/prog/en/includes/patroncards-batches-toolbar.inc
koha-tmpl/intranet-tmpl/prog/en/includes/patroncards-menu.inc
koha-tmpl/intranet-tmpl/prog/en/includes/patroncards-toolbar.inc

index db49c6c..226210c 100644 (file)
                         alert(_("Please select at least one card to export."));
                         return;     // no batch selected
                     }
-                    return GB_showCenter('Export Labels', "/cgi-bin/koha/patroncards/print.pl?batch_id=[% batch_id %]&" + getstr, 700, 800);
+                    return GB_showCenter('Export labels', "/cgi-bin/koha/patroncards/print.pl?batch_id=[% batch_id %]&" + getstr, 700, 800);
                 }
                 else if (mode == 'batch') {
-                    return GB_showCenter('Export Labels', "/cgi-bin/koha/patroncards/print.pl?batch_id=[% batch_id %]", 700, 800);
+                    return GB_showCenter('Export labels', "/cgi-bin/koha/patroncards/print.pl?batch_id=[% batch_id %]", 700, 800);
                 }
                 else {
                     // some pass-thru error trapping just in case...
                 id: "additems",
                 type: "link",
                 href: "#",
-                label: _("Add Item(s)"),
+                label: _("Add item(s)"),
                 container: "additemsc",
                 onclick: {fn:function(){Add()}}
             });
                 id: "removeitems",
                 type: "link",
                 href: "#",
-                label: _("Remove Item(s)"),
+                label: _("Remove item(s)"),
                 container: "removeitemsc",
                 onclick: {fn:function(){Remove()}}
             });
                 id: "deletebatch",
                 type: "link",
                 href: "#",
-                label: _("Delete Batch"),
+                label: _("Delete batch"),
                 container: "deletebatchc",
                 onclick: {fn:function(){DeleteConfirm()}}
             });
                 id: "deduplicate",
                 type: "link",
                 href: "#",
-                label: _("Remove Duplicates"),
+                label: _("Remove duplicates"),
                 container: "deduplicatec",
                 onclick: {fn:function(){DeDuplicate()}}
             });
                 id: "exportitems",
                 type: "link",
                 href: "#",
-                label: _("Export Item(s)"),
+                label: _("Export item(s)"),
                 container: "exportitemsc",
                 onclick: {fn:function(){Xport('label')}}
             });
                 id: "exportbatch",
                 type: "link",
                 href: "#",
-                label: _("Export Batch"),
+                label: _("Export batch"),
                 container: "exportbatchc",
                 onclick: {fn:function(){Xport('batch')}}
             });
         //]]>
     </script>
     <ul class="toolbar">
-        <li id="additemsc"><a id="additems" href="#">Add Item(s)</a></li>[% IF ( table_loop ) %]
-        <li id="removeitemsc"><a id="removeitems" href="#">Remove Item(s)</a></li>
-        <li id="deletebatchc"><a id="deletebatch" href="#">Delete Batch</a></li>
-        <li id="deduplicatec"><a id="deduplicate" href="#">Remove Duplicates</a></li>
-        <li id="exportitemsc"><a id="exportitems" href="#">Export Item(s)</a></li>
-        <li id="exportbatchc"><a id="exportbatch" href="#">Export Batch</a></li>[% END %]
+        <li id="additemsc"><a id="additems" href="#">Add item(s)</a></li>[% IF ( table_loop ) %]
+        <li id="removeitemsc"><a id="removeitems" href="#">Remove item(s)</a></li>
+        <li id="deletebatchc"><a id="deletebatch" href="#">Delete batch</a></li>
+        <li id="deduplicatec"><a id="deduplicate" href="#">Remove duplicates</a></li>
+        <li id="exportitemsc"><a id="exportitems" href="#">Export item(s)</a></li>
+        <li id="exportbatchc"><a id="exportbatch" href="#">Export batch</a></li>[% END %]
     </ul>
 </div>
index b912f3c..525ed1b 100644 (file)
@@ -1,9 +1,9 @@
 <div id="navmenu"><ul id="navmenulist">
-       <li><a href="/cgi-bin/koha/patroncards/home.pl">Patron Card Creator Home</a></li>
-       <li><a href="/cgi-bin/koha/patroncards/manage.pl?card_element=layout">Manage Layouts</a></li>
-       <li><a href="/cgi-bin/koha/patroncards/manage.pl?card_element=template">Manage Templates</a></li>
-       <li><a href="/cgi-bin/koha/patroncards/manage.pl?card_element=profile">Manage Profiles</a></li>
-       <li><a href="/cgi-bin/koha/patroncards/manage.pl?card_element=batch">Manage Batches</a></li>
-       <li><a href="/cgi-bin/koha/patroncards/image-manage.pl">Manage Images</a></li>
+    <li><a href="/cgi-bin/koha/patroncards/home.pl">Patron card creator home</a></li>
+    <li><a href="/cgi-bin/koha/patroncards/manage.pl?card_element=layout">Manage layouts</a></li>
+    <li><a href="/cgi-bin/koha/patroncards/manage.pl?card_element=template">Manage templates</a></li>
+    <li><a href="/cgi-bin/koha/patroncards/manage.pl?card_element=profile">Manage profiles</a></li>
+    <li><a href="/cgi-bin/koha/patroncards/manage.pl?card_element=batch">Manage batches</a></li>
+    <li><a href="/cgi-bin/koha/patroncards/image-manage.pl">Manage images</a></li>
 </ul>
 </div>
index 65ee1ea..92b01f9 100644 (file)
     // YUI Toolbar Functions
     function yuiToolbar() {
         var layouts = [
-                {text: _("Manage Layouts"), url: "/cgi-bin/koha/patroncards/manage.pl?card_element=layout" },
-                {text: _("New Layout"), url: "/cgi-bin/koha/patroncards/edit-layout.pl?op=new" }
+                {text: _("Manage layouts"), url: "/cgi-bin/koha/patroncards/manage.pl?card_element=layout" },
+                {text: _("New layout"), url: "/cgi-bin/koha/patroncards/edit-layout.pl?op=new" }
         ];
 
         var templates = [
-                {text: _("Manage Templates"), url: "/cgi-bin/koha/patroncards/manage.pl?card_element=template" },
-                {text: _("New Template"), url: "/cgi-bin/koha/patroncards/edit-template.pl?op=new" }
+                {text: _("Manage templates"), url: "/cgi-bin/koha/patroncards/manage.pl?card_element=template" },
+                {text: _("New template"), url: "/cgi-bin/koha/patroncards/edit-template.pl?op=new" }
         ];
 
         var profiles = [
-                {text: _("Manage Profiles"), url: "/cgi-bin/koha/patroncards/manage.pl?card_element=profile" },
-                {text: _("New Profile"), url: "/cgi-bin/koha/patroncards/edit-profile.pl?op=new" }
+                {text: _("Manage profiles"), url: "/cgi-bin/koha/patroncards/manage.pl?card_element=profile" },
+                {text: _("New profile"), url: "/cgi-bin/koha/patroncards/edit-profile.pl?op=new" }
         ];
 
         var batches = [
-                {text: _("Manage Batches"), url: "/cgi-bin/koha/patroncards/manage.pl?card_element=batch" },
-                {text: _("New Batch"), url: "/cgi-bin/koha/patroncards/edit-batch.pl?op=new" }
+                {text: _("Manage batches"), url: "/cgi-bin/koha/patroncards/manage.pl?card_element=batch" },
+                {text: _("New batch"), url: "/cgi-bin/koha/patroncards/edit-batch.pl?op=new" }
         ];
 
         new YAHOO.widget.Button({