From ad1ebc293a97f96f66c8f468b7c1b5adda8fbfed Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Tue, 3 Apr 2012 10:25:08 -0400 Subject: [PATCH] Bug 2780 - Capitalize strings consistently (Labels) Correcting Labels-related includes Signed-off-by: Jared Camins-Esakov --- .../en/includes/labels-batches-toolbar.inc | 28 +++++++++---------- .../prog/en/includes/labels-menu.inc | 10 +++---- .../prog/en/includes/labels-new-toolbar.inc | 8 +++--- .../prog/en/includes/labels-toolbar.inc | 16 +++++------ 4 files changed, 31 insertions(+), 31 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/labels-batches-toolbar.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/labels-batches-toolbar.inc index 1ef23ed76b..8786a8ce13 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/labels-batches-toolbar.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/labels-batches-toolbar.inc @@ -79,10 +79,10 @@ alert(_("Please select at least one label to export.")); return; // no batch selected } - return GB_showCenter('Export Labels', "/cgi-bin/koha/labels/label-print.pl?batch_id=[% batch_id %]&" + getstr, 700, 800); + return GB_showCenter('Export labels', "/cgi-bin/koha/labels/label-print.pl?batch_id=[% batch_id %]&" + getstr, 700, 800); } else if (mode == 'batch') { - return GB_showCenter('Export Labels', "/cgi-bin/koha/labels/label-print.pl?batch_id=[% batch_id %]", 700, 800); + return GB_showCenter('Export labels', "/cgi-bin/koha/labels/label-print.pl?batch_id=[% batch_id %]", 700, 800); } else { // some pass-thru error trapping just in case... @@ -121,7 +121,7 @@ id: "additems", type: "link", href: "#", - label: _("Add Item(s)"), + label: _("Add item(s)"), container: "additemsc", onclick: {fn:function(){Add()}} }); @@ -130,7 +130,7 @@ id: "removeitems", type: "link", href: "#", - label: _("Remove Item(s)"), + label: _("Remove item(s)"), container: "removeitemsc", onclick: {fn:function(){Remove()}} }); @@ -139,7 +139,7 @@ id: "deletebatch", type: "link", href: "#", - label: _("Delete Batch"), + label: _("Delete batch"), container: "deletebatchc", onclick: {fn:function(){DeleteConfirm()}} }); @@ -148,7 +148,7 @@ id: "deduplicate", type: "link", href: "#", - label: _("Remove Duplicates"), + label: _("Remove duplicates"), container: "deduplicatec", onclick: {fn:function(){DeDuplicate()}} }); @@ -157,7 +157,7 @@ id: "exportitems", type: "link", href: "#", - label: _("Export Item(s)"), + label: _("Export item(s)"), container: "exportitemsc", onclick: {fn:function(){Xport('label')}} }); @@ -166,7 +166,7 @@ id: "exportbatch", type: "link", href: "#", - label: _("Export Batch"), + label: _("Export batch"), container: "exportbatchc", onclick: {fn:function(){Xport('batch')}} }); @@ -175,11 +175,11 @@ //]]> diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/labels-menu.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/labels-menu.inc index 0eb16430c7..db783105b3 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/labels-menu.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/labels-menu.inc @@ -1,8 +1,8 @@ diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/labels-new-toolbar.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/labels-new-toolbar.inc index 35553df11b..2f75b279ca 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/labels-new-toolbar.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/labels-new-toolbar.inc @@ -15,9 +15,9 @@ diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/labels-toolbar.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/labels-toolbar.inc index 28003f9378..4de8007491 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/labels-toolbar.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/labels-toolbar.inc @@ -12,23 +12,23 @@ // YUI Toolbar Functions function yuiToolbar() { var layouts = [ - {text: _("Manage Layouts"), url: "/cgi-bin/koha/labels/label-manage.pl?label_element=layout" }, - {text: _("New Layout"), url: "/cgi-bin/koha/labels/label-edit-layout.pl?op=new" } + {text: _("Manage layouts"), url: "/cgi-bin/koha/labels/label-manage.pl?label_element=layout" }, + {text: _("New layout"), url: "/cgi-bin/koha/labels/label-edit-layout.pl?op=new" } ]; var templates = [ - {text: _("Manage Templates"), url: "/cgi-bin/koha/labels/label-manage.pl?label_element=template" }, - {text: _("New Template"), url: "/cgi-bin/koha/labels/label-edit-template.pl?op=new" } + {text: _("Manage templates"), url: "/cgi-bin/koha/labels/label-manage.pl?label_element=template" }, + {text: _("New template"), url: "/cgi-bin/koha/labels/label-edit-template.pl?op=new" } ]; var profiles = [ - {text: _("Manage Profiles"), url: "/cgi-bin/koha/labels/label-manage.pl?label_element=profile" }, - {text: _("New Profile"), url: "/cgi-bin/koha/labels/label-edit-profile.pl?op=new" } + {text: _("Manage profiles"), url: "/cgi-bin/koha/labels/label-manage.pl?label_element=profile" }, + {text: _("New profile"), url: "/cgi-bin/koha/labels/label-edit-profile.pl?op=new" } ]; var batches = [ - {text: _("Manage Batches"), url: "/cgi-bin/koha/labels/label-manage.pl?label_element=batch" }, - {text: _("New Batch"), url: "/cgi-bin/koha/labels/label-edit-batch.pl?op=new" } + {text: _("Manage batches"), url: "/cgi-bin/koha/labels/label-manage.pl?label_element=batch" }, + {text: _("New batch"), url: "/cgi-bin/koha/labels/label-edit-batch.pl?op=new" } ]; new YAHOO.widget.Button({ -- 2.39.5