Browse Source

Bug 2780 - Capitalize strings consistently (Labels templates)

Correcting capitalization in Labels templates

Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
3.8.x
Owen Leonard 12 years ago
committed by Paul Poulain
parent
commit
643c80663d
  1. 12
      koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-edit-batch.tt
  2. 30
      koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-edit-layout.tt
  3. 8
      koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-edit-profile.tt
  4. 34
      koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-edit-template.tt
  5. 6
      koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-home.tt
  6. 10
      koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-manage.tt
  7. 2
      koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-print.tt
  8. 4
      koha-tmpl/intranet-tmpl/prog/en/modules/labels/result.tt
  9. 26
      koha-tmpl/intranet-tmpl/prog/en/modules/labels/search.tt
  10. 10
      koha-tmpl/intranet-tmpl/prog/en/modules/labels/spinelabel-print.tt

12
koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-edit-batch.tt

@ -1,6 +1,6 @@
<!-- PLEASE MAINTAIN PROPER INDENTATION!!!! -->
[% INCLUDE 'doc-head-open.inc' %]
<title>Koha &rsaquo; Tools &rsaquo; Labels &rsaquo; Manage Label Batches</title>
<title>Koha &rsaquo; Tools &rsaquo; Labels &rsaquo; Manage label batches</title>
[% INCLUDE 'doc-head-close.inc' %]
[% INCLUDE 'greybox.inc' %]
<script type="text/javascript">
@ -26,9 +26,9 @@
<div id="breadcrumbs">
<a href="/cgi-bin/koha/mainpage.pl">Home</a> &rsaquo;
<a href="/cgi-bin/koha/tools/tools-home.pl">Tools</a> &rsaquo;
<a href="/cgi-bin/koha/labels/label-home.pl">Labels Home</a> &rsaquo;
<a href="/cgi-bin/koha/labels/label-manage.pl?label_element=batch">Manage Label Batches</a> &rsaquo;
Manage Batch Number [% batch_id %]
<a href="/cgi-bin/koha/labels/label-home.pl">Labels home</a> &rsaquo;
<a href="/cgi-bin/koha/labels/label-manage.pl?label_element=batch">Manage label batches</a> &rsaquo;
Manage batch number [% batch_id %]
</div>
<div id="doc3" class="yui-t2">
<div id="bd">
@ -37,14 +37,14 @@
[% INCLUDE 'labels-batches-toolbar.inc' %]
<div class="yui-g">
<div class="yui-u first" id="manage-label-batches">
<div class="hint">Current Library: [% LoginBranchname %]</div>
<div class="hint">Current library: [% LoginBranchname %]</div>
<form name="add_by_barcode" action="/cgi-bin/koha/labels/label-edit-batch.pl" method="post">
<div>
<fieldset class="rows" style="border-bottom: 0px; border: 0px;">
<ol><li>
<input type="hidden" name="op" value="add" \>
<input type="hidden" name="batch_id" value="[% batch_id %]" \>
<label for="barcode">Add by Barcode(s):
<label for="barcode">Add by barcode(s):
<br \> <span class="hint">One barcode per line.</span>
<br \> <span class="hint">Leave empty to add via item search.</span>
</label>

30
koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-edit-layout.tt

@ -25,9 +25,9 @@
<div id="breadcrumbs">
<a href="/cgi-bin/koha/mainpage.pl">Home</a> &rsaquo;
<a href="/cgi-bin/koha/tools/tools-home.pl">Tools</a> &rsaquo;
<a href="/cgi-bin/koha/labels/label-home.pl">Labels Home</a> &rsaquo;
<a href="/cgi-bin/koha/labels/label-manage.pl?label_element=layout">Manage Label Layouts</a> &rsaquo;
[% IF ( layout_id ) %]Edit[% ELSE %]Create[% END %] Label Layout
<a href="/cgi-bin/koha/labels/label-home.pl">Labels home</a> &rsaquo;
<a href="/cgi-bin/koha/labels/label-manage.pl?label_element=layout">Manage label layouts</a> &rsaquo;
[% IF ( layout_id ) %]Edit[% ELSE %]Create[% END %] Label layout
</div>
<div id="doc3" class="yui-t2">
<div id="bd">
@ -35,14 +35,14 @@
<div class="yui-b">
<form name="input" action="/cgi-bin/koha/labels/label-edit-layout.pl" method="get">
<fieldset class="rows">
<legend>[% IF ( layout_id ) %]Edit[% ELSE %]Create[% END %] Label Layout</legend>
<legend>[% IF ( layout_id ) %]Edit[% ELSE %]Create[% END %] Label layout</legend>
<ol>
<li>
<label for="layout_name">Layout Name</label>
<label for="layout_name">Layout name</label>
<input type="text" name="layout_name" id="layout_name" size="20" value="[% layout_name %]" />
</li>
<li>
<label for="barcode_type">Choose Barcode Type (encoding)</label>
<label for="barcode_type">Choose barcode type (encoding)</label>
<select name="barcode_type" id="barcode_type">
[% FOREACH barcode_type IN barcode_types %]
[% IF ( barcode_type.selected ) %]
@ -54,7 +54,7 @@
</select>
</li>
<li>
<label for="printing_type">Choose Layout Type</label>
<label for="printing_type">Choose layout type</label>
<select name="printing_type" id="printing_type">
[% FOREACH label_type IN label_types %]
[% IF ( label_type.selected ) %]
@ -67,10 +67,10 @@
</li>
<li>
<fieldset>
<legend>Bibliographic Data to Print</legend>
<legend>Bibliographic data to print</legend>
<ol>
<li class="radio">[% IF ( layout_string ) %]
<input type="radio" name="layout_choice" id="layout_choice_order" value="layout_table" checked="checked" /><label for="layout_choice_order">Choose Order Of Text Fields to Print</label>
<input type="radio" name="layout_choice" id="layout_choice_order" value="layout_table" checked="checked" /><label for="layout_choice_order">Choose order of text fields to print</label>
[% ELSE %]
<input type="radio" name="layout_choice" id="layout_choice_order" value="layout_table" /><label for="layout_choice_order">Choose Order Of Text Fields to Print</label>
[% END %]
@ -95,12 +95,12 @@
</div>
</li>
[% UNLESS ( layout_string ) %]
<li class="radio"><input type="radio" id="layout_choice_list" name="layout_choice" value="layout_string" checked="checked" /> <label for="layout_choice_list">List Fields</label></li>
<li class="radio"><input type="radio" id="layout_choice_list" name="layout_choice" value="layout_string" checked="checked" /> <label for="layout_choice_list">List fields</label></li>
[% ELSE %]
<li class="radio"><input type="radio" id="layout_choice_list" name="layout_choice" value="layout_string" /> <label for="layout_choice_list">List Fields</label></li>
[% END %]
<li> <fieldset id="layout_string" class="brief">
<label for="format_string">Data Fields</label>
<label for="format_string">Data fields</label>
<input type="text" name="format_string" id="format_string" size="80" value="[% format_string |html %]" />
<div class="hint">
<p>Enter a comma separated list of fields to print. You may include any <em>Koha field</em> or MARC subfield.</p>
@ -112,7 +112,7 @@
</fieldset>
</li>
<li>
<label for="guidebox">Draw Guide Boxes</label>
<label for="guidebox">Draw guide boxes</label>
[% IF ( guidebox ) %]
<input type="checkbox" name="guidebox" id="guidebox" value="1" checked="checked" />
[% ELSE %]
@ -120,7 +120,7 @@
[% END %]
</li>
<li>
<label for="callnum_split">Split Call Numbers</label>
<label for="callnum_split">Split call numbers</label>
[% IF ( callnum_split ) %]
<input type="checkbox" name="callnum_split" id="callnum_split" value="1" checked="checked" />
[% ELSE %]
@ -128,7 +128,7 @@
[% END %]
</li>
<li>
<label for="text_justify">Text Justification</label>
<label for="text_justify">Text justification</label>
<select name="text_justify" id="text_justify">
[% FOREACH text_justification_type IN text_justification_types %]
[% IF ( text_justification_type.selected ) %]
@ -152,7 +152,7 @@
</select>
</li>
<li>
<label for="font_size">Font Size</label>
<label for="font_size">Font size</label>
<input type="text" name="font_size" id="font_size" size="2" value="[% font_size |html %]" />
</li>
</ol>

8
koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-edit-profile.tt

@ -43,15 +43,15 @@
<a href="/cgi-bin/koha/mainpage.pl">Home</a> &rsaquo;
<a href="/cgi-bin/koha/tools/tools-home.pl">Tools</a> &rsaquo;
<a href="/cgi-bin/koha/labels/label-home.pl">Labels</a> &rsaquo;
<a href="/cgi-bin/koha/labels/label-manage.pl?label_element=profile">Printer Profiles</a> &rsaquo;
Edit Printer Profile
<a href="/cgi-bin/koha/labels/label-manage.pl?label_element=profile">Printer profiles</a> &rsaquo;
Edit printer profile
</div>
<div id="doc3" class="yui-t2">
<div id="bd">
<div id="yui-main">
<div class="yui-b">
<div class="yui-g">
<h3>Edit Printer Profile</h3>
<h3>Edit printer profile</h3>
<div class="yui-g first">
<form name="input" action="/cgi-bin/koha/labels/label-edit-profile.pl" method="get">
<fieldset class="rows"><legend>Profile settings</legend>
@ -76,7 +76,7 @@
[% IF ( label_template ) %]
<label for="template_name">Template name:</label> [% label_template %]
[% ELSE %]
<span class="label">Template name:</span> Profile Unassigned
<span class="label">Template name:</span> Profile unassigned
[% END %]
</li>
<li>

34
koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-edit-template.tt

@ -43,8 +43,8 @@
<a href="/cgi-bin/koha/mainpage.pl">Home</a>&rsaquo;
<a href="/cgi-bin/koha/tools/tools-home.pl">Tools</a>&rsaquo;
<a href="/cgi-bin/koha/labels/label-home.pl">Labels</a>&rsaquo;
<a href="/cgi-bin/koha/labels/label-manage.pl?label_element=template">Label Templates</a>&rsaquo;
Edit Label Template
<a href="/cgi-bin/koha/labels/label-manage.pl?label_element=template">Label templates</a>&rsaquo;
Edit label template
</div>
<div id="doc3" class="yui-t2">
<div id="bd">
@ -52,7 +52,7 @@
<div class="yui-b">
<form name="input" action="/cgi-bin/koha/labels/label-edit-template.pl" method="get">
<div class="yui-g">
<h3>Edit Label Template</h3>
<h3>Edit label template</h3>
<div class="yui-u first">
<fieldset class="rows">
<ol>
@ -60,11 +60,11 @@
<span class="label">Template ID:</span>[% IF ( template_id ) %][% template_id %][% ELSE %]N/A[% END %]
</li>
<li>
<label for="template_code">Template Code:</label>
<label for="template_code">Template code:</label>
<input type="text" size="30" maxlength="43" name="template_code" id="template_code" value="[% template_code %]" />
</li>
<li>
<label for="template_desc">Template Description:</label>
<label for="template_desc">Template description:</label>
<textarea cols="30" rows="3" id="template_desc" name="template_desc">[% template_desc %]</textarea>
</li>
<li>
@ -84,19 +84,19 @@
</select>
</li>
<li>
<label for="page_height">Page Height:</label>
<label for="page_height">Page height:</label>
<input type="text" size="4" name="page_height" id="page_height" value="[% page_height %]" />
</li>
<li>
<label for="page_width">Page Width:</label>
<label for="page_width">Page width:</label>
<input type="text" size="4" name="page_width" id="page_width" value="[% page_width %]" />
</li>
<li>
<label for="label_width">Label Width:</label>
<label for="label_width">Label width:</label>
<input type="text" size="4" name="label_width" id="label_width" value="[% label_width %]" />
</li>
<li>
<label for="label_height">Label Height:</label>
<label for="label_height">Label height:</label>
<input type="text" size="4" name="label_height" id="label_height" value="[% label_height %]" />
</li>
@ -106,35 +106,35 @@
<div class="yui-u">
<fieldset class="rows">
<ol><li>
<label for="top_margin">Top Page Margin:</label>
<label for="top_margin">Top page margin:</label>
<input type="text" size="4" name="top_margin" id="top_margin" value="[% top_margin %]" />
</li>
<li>
<label for="left_margin">Left Page Margin:</label>
<label for="left_margin">Left page margin:</label>
<input type="text" size="4" name="left_margin" id="left_margin" value="[% left_margin %]" />
</li>
<li>
<label for="top_text_margin">Top Text Margin:</label>
<label for="top_text_margin">Top text margin:</label>
<input type="text" size="4" name="top_text_margin" id="top_text_margin" value="[% top_text_margin %]" />
</li>
<li>
<label for="left_text_margin">Left Text Margin:</label>
<label for="left_text_margin">Left text margin:</label>
<input type="text" size="4" name="left_text_margin" id="left_text_margin" value="[% left_text_margin %]" />
</li>
<li>
<label for="cols">Number of Columns:</label>
<label for="cols">Number of columns:</label>
<input type="text" size="4" name="cols" id="cols" value="[% cols %]" />
</li>
<li>
<label for="rows">Number of Rows:</label>
<label for="rows">Number of rows:</label>
<input type="text" size="4" name="rows" id="rows" value="[% rows %]" />
</li>
<li>
<label for="col_gap">Gap between Columns:</label>
<label for="col_gap">Gap between columns:</label>
<input type="text" size="4" name="col_gap" id="col_gap" value="[% col_gap %]" />
</li>
<li>
<label for="row_gap">Gap between Rows:</label>
<label for="row_gap">Gap between rows:</label>
<input type="text" size="4" name="row_gap" id="row_gap" value="[% row_gap %]" />
</li>

6
koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-home.tt

@ -1,5 +1,5 @@
[% INCLUDE 'doc-head-open.inc' %]
<title>Koha &rsaquo; Tools &rsaquo; Labels Home</title>
<title>Koha &rsaquo; Tools &rsaquo; Labels home</title>
[% INCLUDE 'doc-head-close.inc' %]
<link rel="stylesheet" type="text/css" href="[% themelang %]/css/label.css" />
</head>
@ -9,7 +9,7 @@
<div id="breadcrumbs">
<a href="/cgi-bin/koha/mainpage.pl">Home</a>&rsaquo;
<a href="/cgi-bin/koha/tools/tools-home.pl">Tools</a>&rsaquo;
Labels Home
Labels home
</div>
<div id="doc3" class="yui-t2">
<div id="bd">
@ -22,7 +22,7 @@
<div class="lci_01"></div>
<div class="lci_02"></div>
<div class="lci_03"></div>
<h2>Welcome to Koha's Label Creator Module</h2>
<h2>Welcome to Koha's label creator module</h2>
<p>The Label Creator allow you to use layouts and templates which you design to print a nearly unlimited variety of labels including barcodes. Here are some of the features of the Label Creator module:</p>
<ul>
<li>Customize label layouts</li>

10
koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-manage.tt

@ -1,5 +1,5 @@
[% INCLUDE 'doc-head-open.inc' %]
<title>Koha &rsaquo; Tools &rsaquo; Labels &rsaquo; Manage Label Elements</title>
<title>Koha &rsaquo; Tools &rsaquo; Labels &rsaquo; Manage label elements</title>
[% INCLUDE 'doc-head-close.inc' %]
[% INCLUDE 'greybox.inc' %]
<script type="text/javascript">
@ -85,8 +85,8 @@
<div id="breadcrumbs">
<a href="/cgi-bin/koha/mainpage.pl">Home</a> &rsaquo;
<a href="/cgi-bin/koha/tools/tools-home.pl">Tools</a> &rsaquo;
<a href="/cgi-bin/koha/labels/label-home.pl">Labels Home</a> &rsaquo;
Manage Label [% label_element_title %]
<a href="/cgi-bin/koha/labels/label-home.pl">Labels home</a> &rsaquo;
Manage label [% label_element_title %]
</div>
<div id="doc3" class="yui-t2">
<div id="bd">
@ -95,7 +95,7 @@
[% INCLUDE 'labels-toolbar.inc' %]
<div class="yui-gc">
<div class="yui-u first" id="manage-label-layouts">
<div class="hint">Current Library: [% LoginBranchname %]</div>
<div class="hint">Current library: [% LoginBranchname %]</div>
[% IF ( table_loop ) %]
<form name="layouts" action="/cgi-bin/koha/label-manage.pl?label_element=[% label_element %]">
<h2>Currently Available [% label_element_title %]</h2>
@ -130,7 +130,7 @@
</form>
[% ELSE %]
<div class="dialog message">
<h4>There Are No [% label_element_title %] Currently Available.</h4>
<h4>There are no [% label_element_title %] currently available.</h4>
<p>Use the toolbar above to create a new [% label_element %].</p></div>
[% END %]
</div>

2
koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-print.tt

@ -1,5 +1,5 @@
[% INCLUDE 'doc-head-open.inc' %]
<title>Koha &rsaquo; Tools &rsaquo; Labels &rsaquo; Label Printing/Exporting</title>
<title>Koha &rsaquo; Tools &rsaquo; Labels &rsaquo; Label Printing/exporting</title>
[% INCLUDE 'doc-head-close.inc' %]
<script type="text/javascript">
//<![CDATA[

4
koha-tmpl/intranet-tmpl/prog/en/modules/labels/result.tt

@ -1,5 +1,5 @@
[% INCLUDE 'doc-head-open.inc' %]
<title>Koha &rsaquo; Barcodes and Labels &rsaquo; Search Results</title>
<title>Koha &rsaquo; Barcodes and labels &rsaquo; Search results</title>
[% INCLUDE 'doc-head-close.inc' %]
<style type="text/css">#custom-doc { width:46.23em;*width:45.04em;min-width:700px; margin:auto;margin-top: .4em; text-align:left; }</style>
<script type="text/javascript" src="[% themelang %]/lib/jquery/plugins/jquery.checkboxes.min.js"></script>
@ -67,7 +67,7 @@
</div>
<form name="resultform" class="checkboxed" action="">
<p><a id="CheckAll" href="#">Select All</a> <a id="CheckNone" href="#">Clear All</a> | <input type="button" value="Add checked" onclick="add_item('checked',[% batch_id %],'[% type %]'); return false;" />
<p><a id="CheckAll" href="#">Select all</a> <a id="CheckNone" href="#">Clear all</a> | <input type="button" value="Add checked" onclick="add_item('checked',[% batch_id %],'[% type %]'); return false;" />
<input type="button" class="close" value="Done" /></p>
<div id="label-search-results">

26
koha-tmpl/intranet-tmpl/prog/en/modules/labels/search.tt

@ -29,11 +29,11 @@ to add to Batch [% batch_id %]
[% IF ( selected ) %]<option value="au" selected="selected">Author</option>
[% ELSE %]<option value="au">Author</option>[% END %]
[% IF ( selected ) %]<option value="yr" selected="selected">Publication Date</option>
[% ELSE %]<option value="yr">Publication Date</option>[% END %]
[% IF ( selected ) %]<option value="yr" selected="selected">Publication date</option>
[% ELSE %]<option value="yr">Publication date</option>[% END %]
[% IF ( selected ) %]<option value="sn" selected="selected">Standard Number</option>
[% ELSE %]<option value="sn">Standard Number</option>[% END %]
[% IF ( selected ) %]<option value="sn" selected="selected">Standard number</option>
[% ELSE %]<option value="sn">Standard number</option>[% END %]
[% IF ( selected ) %]<option value="nb" selected="selected">ISBN</option>
[% ELSE %]<option value="nb">ISBN</option>[% END %]
@ -41,8 +41,8 @@ to add to Batch [% batch_id %]
[% IF ( selected ) %]<option value="ns" selected="selected">ISSN</option>
[% ELSE %]<option value="ns">ISSN</option>[% END %]
[% IF ( selected ) %]<option value="lcn,phr" selected="selected">Call Number</option>
[% ELSE %]<option value="lcn,phr">Call Number</option>[% END %]
[% IF ( selected ) %]<option value="lcn,phr" selected="selected">Call number</option>
[% ELSE %]<option value="lcn,phr">Call number</option>[% END %]
[% IF ( selected ) %]<option value="su" selected="selected">Subject</option>
[% ELSE %]<option value="su">Subject</option>[% END %]
@ -52,17 +52,17 @@ to add to Batch [% batch_id %]
[% ELSE %]
<option value="ti" selected="selected">Title</option>[% END %]
[% IF ( selected ) %]<option value="ti,phr" selected="selected">Title Phrase</option>
[% ELSE %]<option value="ti,phr">Title Phrase</option>[% END %]
[% IF ( selected ) %]<option value="ti,phr" selected="selected">Title phrase</option>
[% ELSE %]<option value="ti,phr">Title phrase</option>[% END %]
[% IF ( selected ) %]<option value="se" selected="selected">Series Title</option>
[% ELSE %]<option value="se">Series Title</option>[% END %]
[% IF ( selected ) %]<option value="se" selected="selected">Series title</option>
[% ELSE %]<option value="se">Series title</option>[% END %]
[% IF ( selected ) %]<option value="bc" selected="selected">Barcode</option>
[% ELSE %]<option value="bc">Barcode</option>[% END %]
[% IF ( selected ) %]<option value="acqdate" selected="selected">Acquisition Date</option>
[% ELSE %]<option value="acqdate">Acquisition Date</option>[% END %]
[% IF ( selected ) %]<option value="acqdate" selected="selected">Acquisition date</option>
[% ELSE %]<option value="acqdate">Acquisition date</option>[% END %]
</select>
<input type="text" size="30" id="ccl_textbox" name="ccl_textbox" class="focus" title="Enter search terms" value=""/>
@ -74,7 +74,7 @@ to add to Batch [% batch_id %]
[% IF ( sort_by_loop ) %]
<fieldset><legend>Sort by: </legend>
<p><select id="sort_by" name="sort_by">
<option value="">Field-weighted, Relevance Ranked</option>
<option value="">Field-weighted, relevance ranked</option>
[% FOREACH sort_by_loo IN sort_by_loop %]
[% IF ( sort_by_loo.selected ) %]<option value="[% sort_by_loo.value %]" selected="selected">[% sort_by_loo.label %]</option>[% ELSE %]<option value="[% sort_by_loo.value %]">[% sort_by_loo.label %]</option>[% END %]

10
koha-tmpl/intranet-tmpl/prog/en/modules/labels/spinelabel-print.tt

@ -6,9 +6,9 @@
<html lang="[% lang %]" xml:lang="[% lang %]" xmlns="http://www.w3.org/1999/xhtml">
[% END %]
<head>
<title>Koha &rsaquo; Tools &rsaquo; Spine Labels</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" type="text/css" href="[% themelang %]/css/spinelabel.css" />
<title>Koha &rsaquo; Tools &rsaquo; Spine labels</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" type="text/css" href="[% themelang %]/css/spinelabel.css" />
<style type="text/css">
@media print {
@ -19,7 +19,7 @@
[% IF ( BarcodeNotFound ) %]
<body id="labels_spinelabel-print" class="tools labels">
<p>The barcode [% Barcode %] was not found.</p>
<p><a href="spinelabel-home.pl">Return To Spine Label Printer</a></p>
<p><a href="spinelabel-home.pl">Return to spine label printer</a></p>
</body>
[% ELSE %]
[% IF ( autoprint ) %]
@ -31,7 +31,7 @@
[% content %]
</span>
<span id="print_button" class="noprint">
<button onclick="window.print()">Print This Label</button>
<button onclick="window.print()">Print this label</button>
</span>
</body>
[% END %]

Loading…
Cancel
Save