From 532490805981a362ce96bf69d0be6e82525473a6 Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Tue, 3 Apr 2012 10:29:38 -0400 Subject: [PATCH] Bug 2780 - Capitalize strings consistently (Patron cards) Correcting Patron card creator-related includes Signed-off-by: Jared Camins-Esakov --- .../includes/patroncards-batches-toolbar.inc | 28 +++++++++---------- .../prog/en/includes/patroncards-menu.inc | 12 ++++---- .../prog/en/includes/patroncards-toolbar.inc | 16 +++++------ 3 files changed, 28 insertions(+), 28 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/patroncards-batches-toolbar.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/patroncards-batches-toolbar.inc index db49c6ca2a..226210c661 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/patroncards-batches-toolbar.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/patroncards-batches-toolbar.inc @@ -73,10 +73,10 @@ 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... @@ -115,7 +115,7 @@ id: "additems", type: "link", href: "#", - label: _("Add Item(s)"), + label: _("Add item(s)"), container: "additemsc", onclick: {fn:function(){Add()}} }); @@ -124,7 +124,7 @@ id: "removeitems", type: "link", href: "#", - label: _("Remove Item(s)"), + label: _("Remove item(s)"), container: "removeitemsc", onclick: {fn:function(){Remove()}} }); @@ -133,7 +133,7 @@ id: "deletebatch", type: "link", href: "#", - label: _("Delete Batch"), + label: _("Delete batch"), container: "deletebatchc", onclick: {fn:function(){DeleteConfirm()}} }); @@ -142,7 +142,7 @@ id: "deduplicate", type: "link", href: "#", - label: _("Remove Duplicates"), + label: _("Remove duplicates"), container: "deduplicatec", onclick: {fn:function(){DeDuplicate()}} }); @@ -151,7 +151,7 @@ id: "exportitems", type: "link", href: "#", - label: _("Export Item(s)"), + label: _("Export item(s)"), container: "exportitemsc", onclick: {fn:function(){Xport('label')}} }); @@ -160,7 +160,7 @@ id: "exportbatch", type: "link", href: "#", - label: _("Export Batch"), + label: _("Export batch"), container: "exportbatchc", onclick: {fn:function(){Xport('batch')}} }); @@ -169,11 +169,11 @@ //]]> diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/patroncards-menu.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/patroncards-menu.inc index b912f3c75e..525ed1b47c 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/patroncards-menu.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/patroncards-menu.inc @@ -1,9 +1,9 @@ diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/patroncards-toolbar.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/patroncards-toolbar.inc index 65ee1ea63e..92b01f90a4 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/patroncards-toolbar.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/patroncards-toolbar.inc @@ -12,23 +12,23 @@ // 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({ -- 2.39.5