Bugzilla – Attachment 8812 Details for
Bug 2780
Capitalize strings consistently
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 2780 - Capitalize strings consistently (Labels)
Bug-2780---Capitalize-strings-consistently-Labels.patch (text/plain), 9.59 KB, created by
Owen Leonard
on 2012-04-03 14:26:16 UTC
(
hide
)
Description:
Bug 2780 - Capitalize strings consistently (Labels)
Filename:
MIME Type:
Creator:
Owen Leonard
Created:
2012-04-03 14:26:16 UTC
Size:
9.59 KB
patch
obsolete
>From 3ff6a8fc59a1c92444bfd390ae982410378a0401 Mon Sep 17 00:00:00 2001 >From: Owen Leonard <oleonard@myacpl.org> >Date: Tue, 3 Apr 2012 10:25:08 -0400 >Subject: [PATCH] Bug 2780 - Capitalize strings consistently (Labels) >Content-Type: text/plain; charset="utf-8" > >Correcting Labels-related includes >--- > .../prog/en/includes/labels-batches-toolbar.inc | 28 ++++++++++---------- > .../intranet-tmpl/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 1ef23ed..8786a8c 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 @@ > //]]> > </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> >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 0eb1643..b68fcae 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 @@ > <div id="navmenu"><ul id="navmenulist"> >- <li><a href="/cgi-bin/koha/labels/label-home.pl">Labels Home</a></li> >- <li><a href="/cgi-bin/koha/labels/label-manage.pl?label_element=layout">Manage Layouts</a></li> >- <li><a href="/cgi-bin/koha/labels/label-manage.pl?label_element=template">Manage Templates</a></li> >- <li><a href="/cgi-bin/koha/labels/label-manage.pl?label_element=profile">Manage Profiles</a></li> >- <li><a href="/cgi-bin/koha/labels/label-manage.pl?label_element=batch">Manage Batches</a></li> >+ <li><a href="/cgi-bin/koha/labels/label-home.pl">Labels home</a></li> >+ <li><a href="/cgi-bin/koha/labels/label-manage.pl?label_element=layout">Manage layouts</a></li> >+ <li><a href="/cgi-bin/koha/labels/label-manage.pl?label_element=template">Manage templates</a></li> >+ <li><a href="/cgi-bin/koha/labels/label-manage.pl?label_element=profile">Manage profiles</a></li> >+ <li><a href="/cgi-bin/koha/labels/label-manage.pl?label_element=batch">Manage batches</a></li> > </ul> > </div> >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 35553df..2f75b27 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 @@ > </script> > <div id="toolbar"> > <ul class="toolbar"> >- <li><a id="newlabel" href="/cgi-bin/koha/labels/label-edit-layout.pl?op=new">New Layout</a></li> >- <li><a id="newtemplate" href="/cgi-bin/koha/labels/label-edit-template.pl?op=new">New Template</a></li> >- <li><a id="newprofile" href="/cgi-bin/koha/labels/label-edit-profile.pl?op=new">New Profile</a></li> >- <li><a id="newbatch" href="/cgi-bin/koha/labels/label-edit-batch.pl?op=new">New Batch</a></li> >+ <li><a id="newlabel" href="/cgi-bin/koha/labels/label-edit-layout.pl?op=new">New layout</a></li> >+ <li><a id="newtemplate" href="/cgi-bin/koha/labels/label-edit-template.pl?op=new">New template</a></li> >+ <li><a id="newprofile" href="/cgi-bin/koha/labels/label-edit-profile.pl?op=new">New profile</a></li> >+ <li><a id="newbatch" href="/cgi-bin/koha/labels/label-edit-batch.pl?op=new">New batch</a></li> > </ul> > </div> >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 28003f9..4de8007 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({ >-- >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