Bugzilla – Attachment 76355 Details for
Bug 20988
[OMNIBUS] Internationalization: wrap all translatable text inside t() calls
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 20988: koha-tmpl/intranet-tmpl/prog/en/modules/reports
Bug-20988-koha-tmplintranet-tmplprogenmodulesrepor.patch (text/plain), 246.49 KB, created by
Julian Maurice
on 2018-06-25 07:23:18 UTC
(
hide
)
Description:
Bug 20988: koha-tmpl/intranet-tmpl/prog/en/modules/reports
Filename:
MIME Type:
Creator:
Julian Maurice
Created:
2018-06-25 07:23:18 UTC
Size:
246.49 KB
patch
obsolete
>From 61a26cb50acf368e76dfb74046e9186dd362c950 Mon Sep 17 00:00:00 2001 >From: Julian Maurice <julian.maurice@biblibre.com> >Date: Mon, 25 Jun 2018 08:50:05 +0200 >Subject: [PATCH] Bug 20988: koha-tmpl/intranet-tmpl/prog/en/modules/reports > >--- > .../en/modules/reports/acquisitions_stats.tt | 145 +++--- > .../prog/en/modules/reports/bor_issues_top.tt | 101 ++-- > .../prog/en/modules/reports/borrowers_out.tt | 59 +-- > .../en/modules/reports/borrowers_stats.tt | 124 +++-- > .../en/modules/reports/cash_register_stats.tt | 129 ++--- > .../prog/en/modules/reports/cat_issues_top.tt | 105 ++-- > .../prog/en/modules/reports/catalogue_out.tt | 75 +-- > .../en/modules/reports/catalogue_stats.tt | 109 ++-- > .../prog/en/modules/reports/convert_report.tt | 11 +- > .../reports/csv/cash_register_stats.tt | 3 +- > .../modules/reports/csv/orders_by_budget.tt | 3 +- > .../prog/en/modules/reports/dictionary.tt | 105 ++-- > .../modules/reports/guided_reports_start.tt | 486 +++++++++--------- > .../en/modules/reports/issues_avg_stats.tt | 79 +-- > .../prog/en/modules/reports/issues_stats.tt | 183 +++---- > .../prog/en/modules/reports/itemslost.tt | 75 +-- > .../prog/en/modules/reports/itemtypes.tt | 19 +- > .../en/modules/reports/orders_by_budget.tt | 73 +-- > .../prog/en/modules/reports/reports-home.tt | 65 +-- > .../prog/en/modules/reports/reserves_stats.tt | 113 ++-- > .../prog/en/modules/reports/serials_stats.tt | 49 +- > 21 files changed, 1061 insertions(+), 1050 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/acquisitions_stats.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/reports/acquisitions_stats.tt >index 4e5c9161cf..12e1d12222 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/acquisitions_stats.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/reports/acquisitions_stats.tt >@@ -1,6 +1,7 @@ >+[% PROCESS 'i18n.inc' %] > [% SET footerjs = 1 %] > [% INCLUDE 'doc-head-open.inc' %] >-<title>Koha › Reports [% IF ( do_it ) %]› Acquisitions statistics › Results[% ELSE %]› Acquisitions statistics[% END %]</title> >+<title>[% t('Koha ⺠Reports') %] [% IF ( do_it ) %][% t('⺠Acquisitions statistics ⺠Results') %][% ELSE %][% t('⺠Acquisitions statistics') %][% END %]</title> > [% INCLUDE 'doc-head-close.inc' %] > </head> > >@@ -8,7 +9,7 @@ > [% INCLUDE 'header.inc' %] > [% INCLUDE 'cat-search.inc' %] > >-<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> › <a href="/cgi-bin/koha/reports/reports-home.pl">Reports</a> [% IF ( do_it ) %]› <a href="/cgi-bin/koha/reports/acquisitions_stats.pl">Acquisitions statistics</a> › Results[% ELSE %] › Acquisitions statistics [% END %]</div> >+<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">[% t('Home') %]</a> ⺠<a href="/cgi-bin/koha/reports/reports-home.pl">[% t('Reports') %]</a> [% IF ( do_it ) %]⺠<a href="/cgi-bin/koha/reports/acquisitions_stats.pl">[% t('Acquisitions statistics') %]</a> [% t('⺠Results') %][% ELSE %] [% t('⺠Acquisitions statistics') %] [% END %]</div> > > <div id="doc3" class="yui-t2"> > >@@ -18,24 +19,24 @@ > > [% IF ( do_it ) %] > [% FOREACH mainloo IN mainloop %] >- <h1>Acquisitions statistics </h1> >+ <h1>[% t('Acquisitions statistics') %] </h1> > [% IF ( mainloo.loopfilter.size ) %] >- <p><b>Filtered on:</b></p> >+ <p><b>[% t('Filtered on:') %]</b></p> > [% FOREACH loopfilte IN mainloo.loopfilter %] > <p> > [% SWITCH loopfilte.crit %] >- [% CASE '0' %] Placed on (from) >- [% CASE '1' %] Placed on (to) >- [% CASE '2' %] Received on (from) >- [% CASE '3' %] Received on (to) >- [% CASE '4' %] Vendor >- [% CASE '5' %] Home library >- [% CASE '6' %] Collection >- [% CASE '7' %] Item type >- [% CASE '8' %] Fund >- [% CASE '9' %] Sort1 >- [% CASE '10' %] Sort2 >- [% CASE %] Unknown filter >+ [% CASE '0' %] [% t('Placed on (from)') %] >+ [% CASE '1' %] [% t('Placed on (to)') %] >+ [% CASE '2' %] [% t('Received on (from)') %] >+ [% CASE '3' %] [% t('Received on (to)') %] >+ [% CASE '4' %] [% t('Vendor') %] >+ [% CASE '5' %] [% t('Home library') %] >+ [% CASE '6' %] [% t('Collection') %] >+ [% CASE '7' %] [% t('Item type') %] >+ [% CASE '8' %] [% t('Fund') %] >+ [% CASE '9' %] [% t('Sort1') %] >+ [% CASE '10' %] [% t('Sort2') %] >+ [% CASE %] [% t('Unknown filter') %] > [% END %] > : [% loopfilte.filter %] > </p> >@@ -43,12 +44,12 @@ > [% END %] > > <table> >- <tr > >+ <tr> > <th>[% mainloo.line %] / [% mainloo.column %]</th> > [% FOREACH loopco IN mainloo.loopcol %] > <th>[% loopco.coltitle %]</th> > [% END %] >- <th>TOTAL</th> >+ <th>[% t('TOTAL') %]</th> > </tr> > [% FOREACH loopro IN mainloo.looprow %] > <tr> >@@ -57,7 +58,7 @@ > [% FOREACH loopcel IN loopro.loopcell %] > [% IF ( loopcel.hilighted ) %]<td>[% ELSE %]<td>[% END %] > [% IF ( loopcel.value ) %][% loopcel.value %] >- [% ELSE %] >+ [% ELSE %]  > [% END %] > </td> > [% END %] >@@ -66,8 +67,8 @@ > </td> > </tr> > [% END %] >- <tr > >- <th>TOTAL</th> >+ <tr> >+ <th>[% t('TOTAL') %]</th> > [% FOREACH loopfoote IN mainloo.loopfooter %] > <th> > [% loopfoote.totalcol %] >@@ -80,68 +81,68 @@ > [% ELSE %] > <form method="post" action="/cgi-bin/koha/reports/acquisitions_stats.pl"> > <fieldset class="rows"> >- <legend>Acquisitions statistics</legend> >+ <legend>[% t('Acquisitions statistics') %]</legend> > <table> > <thead> > <tr> >- <th>Title</th> >- <th>Row</th> >- <th>Column</th> >- <th>Filter</th> >+ <th>[% t('Title') %]</th> >+ <th>[% t('Row') %]</th> >+ <th>[% t('Column') %]</th> >+ <th>[% t('Filter') %]</th> > </tr> > </thead> > <tbody> > <tr class="hilighted"> >- <td>Placed on</td> >+ <td>[% t('Placed on') %]</td> > <td><input type="radio" name="Line" value="aqbasket.closedate" /></td> > <td><input type="radio" checked="checked" name="Column" value="aqbasket.closedate" /> </td> >- <td> From <input type="text" size="10" id="from" name="Filter" value="" /> >+ <td> [% t('From') %] <input type="text" size="10" id="from" name="Filter" value="" /> > <span class="hint">[% INCLUDE 'date-format.inc' %]</span> >- To <input size="10" id="to" name="Filter" type="text" value="" /> >+ [% t('To') %] <input size="10" id="to" name="Filter" type="text" value="" /> > <span class="hint">[% INCLUDE 'date-format.inc' %]</span> > </td> > </tr> > <tr class="hilighted"> >- <td> </td> >- <td colspan="2">group by <select name="PlacedOnDisplay"> >- <option value="">None</option> >- <option value ="1">Day of week</option> >- <option value ="2">Month</option> >- <option value ="3">Year</option> >+ <td> </td> >+ <td colspan="2">[% t('group by') %] <select name="PlacedOnDisplay"> >+ <option value="">[% t('None') %]</option> >+ <option value="1">[% t('Day of week') %]</option> >+ <option value="2">[% t('Month') %]</option> >+ <option value="3">[% t('Year') %]</option> > </select> > > </td> >- <td> </td> >+ <td> </td> > </tr> > <tr> >- <td>Received on</td> >+ <td>[% t('Received on') %]</td> > <td><input type="radio" name="Line" value="aqorders.datereceived" /></td> > <td><input type="radio" name="Column" value="aqorders.datereceived" /></td> >- <td> From <input type="text" size="10" id="fromRO" name="Filter" value="" /> >+ <td> [% t('From') %] <input type="text" size="10" id="fromRO" name="Filter" value="" /> > <span class="hint">[% INCLUDE 'date-format.inc' %]</span> >- To <input type="text" size="10" id="toRO" name="Filter" value="" /> >+ [% t('To') %] <input type="text" size="10" id="toRO" name="Filter" value="" /> > <span class="hint">[% INCLUDE 'date-format.inc' %]</span> > </td> > </tr> > <tr> >- <td> </td> >- <td colspan="2">group by <select name="ReceivedOnDisplay"> >- <option value="">None</option> >- <option value ="1">Day of week</option> >- <option value ="2">Month</option> >- <option value ="3">Year</option> >+ <td> </td> >+ <td colspan="2">[% t('group by') %] <select name="ReceivedOnDisplay"> >+ <option value="">[% t('None') %]</option> >+ <option value="1">[% t('Day of week') %]</option> >+ <option value="2">[% t('Month') %]</option> >+ <option value="3">[% t('Year') %]</option> > </select> > > </td> >- <td> </td> >+ <td> </td> > </tr> > <tr class="hilighted"> >- <td>Vendor</td> >+ <td>[% t('Vendor') %]</td> > <td><input type="radio" checked="checked" name="Line" value="aqbooksellers.name" /></td> > <td><input type="radio" name="Column" value="aqbooksellers.name" /></td> > <td> > <select name="Filter"> >- <option value="">All vendors</option> >+ <option value="">[% t('All vendors') %]</option> > [% FOREACH bookseller IN booksellers %] > <option value="[% bookseller.name %]">[% bookseller.name %]</option> > [% END %] >@@ -149,12 +150,12 @@ > </td> > </tr> > <tr> >- <td>Home library</td> >+ <td>[% t('Home library') %]</td> > <td><input type="radio" name="Line" value="items.homebranch" /></td> > <td><input type="radio" name="Column" value="items.homebranch" /></td> > <td> > <select name="Filter"> >- <option value="" selected="selected">All libraries</option> >+ <option value="" selected="selected">[% t('All libraries') %]</option> > [% FOREACH branch IN branches %] > <option value="[% branch.branchcode %]">[% branch.branchname %]</option> > [% END %] >@@ -166,7 +167,7 @@ > [% IF ccode_label %] > [% ccode_label %] > [% ELSE %] >- Collection >+ [% t('Collection') %] > [% END %] > </td> > <td><input type="radio" name="Line" value="items.ccode" /></td> >@@ -174,7 +175,7 @@ > <td> > [% IF ccode_avlist.size %] > <select name="Filter"> >- <option value="" selected="selected">All</option> >+ <option value="" selected="selected">[% t('All') %]</option> > [% FOREACH ccode_av IN ccode_avlist %] > <option value="[% ccode_av.value %]">[% ccode_av.lib %]</option> > [% END %] >@@ -185,12 +186,12 @@ > </td> > </tr> > <tr> >- <td>Item type</td> >+ <td>[% t('Item type') %]</td> > <td><input type="radio" name="Line" value="biblioitems.itemtype" /></td> > <td><input type="radio" name="Column" value="biblioitems.itemtype" /></td> > <td> > <select name="Filter" size="1" id="itemtypes"> >- <option value="">All item types</option> >+ <option value="">[% t('All item types') %]</option> > [% FOREACH itemtype IN itemtypes %] > <option value="[% itemtype.itemtype %]">[% itemtype.translated_description %]</option> > [% END %] >@@ -199,12 +200,12 @@ > </tr> > > <tr> >- <td>Fund</td> >+ <td>[% t('Fund') %]</td> > <td><input type="radio" name="Line" value="aqbudgets.budget_code" /></td> > <td><input type="radio" name="Column" value="aqbudgets.budget_code" /></td> > <td> > <select name="Filter" size="1" id="budget"> >- <option value="">All funds</option> >+ <option value="">[% t('All funds') %]</option> > [% FOREACH value IN Budgets.values %] > <option value="[% value %]">[% Budgets.labels.$value %]</option> > [% END %] >@@ -214,12 +215,12 @@ > > [% IF ( hassort1 ) %] > <tr class="hilighted"> >- <td>Sort1</td> >+ <td>[% t('Sort1') %]</td> > <td><input type="radio" name="Line" value="aqorders.sort1" /></td> > <td><input type="radio" name="Column" value="aqorders.sort1" /></td> > <td> > <select name="Filter" size="1" id="sort1"> >- <option value="">All</option> >+ <option value="">[% t('All') %]</option> > [% FOREACH value IN Sort1.values %] > <option value="[% value %]">[% Sort1.labels.$value %]</option> > [% END %] >@@ -229,12 +230,12 @@ > [% END %] > [% IF ( hassort2 ) %] > [% IF ( HglghtSort2 ) %]<tr class="hilighted"> [% ELSE %]<tr>[% END %] >- <td>Sort2</td> >+ <td>[% t('Sort2') %]</td> > <td><input type="radio" name="Line" value="aqorders.sort2" /></td> > <td><input type="radio" name="Column" value="aqorders.sort2" /></td> > <td> > <select name="Filter" size="1" id="sort2"> >- <option value="">All</option> >+ <option value="">[% t('All') %]</option> > [% FOREACH value IN Sort2.values %] > <option value="[% value %]">[% Sort2.labels.$value %]</option> > [% END %] >@@ -247,38 +248,38 @@ > </fieldset> > > <fieldset class="rows"> >- <legend> Cell value </legend> >+ <legend> [% t('Cell value') %] </legend> > <ol> > <li> >- <label for="cellvalue1">Count items:</label><input type="radio" name="Cellvalue" id="cellvalue1" value="1" checked="checked" /> >+ <label for="cellvalue1">[% t('Count items:') %]</label><input type="radio" name="Cellvalue" id="cellvalue1" value="1" checked="checked" /> > </li> > <li> >- <label for="cellvalue2">Count unique biblios:</label><input type="radio" name="Cellvalue" id="cellvalue2" value="2" /> >+ <label for="cellvalue2">[% t('Count unique biblios:') %]</label><input type="radio" name="Cellvalue" id="cellvalue2" value="2" /> > </li> > <li> >- <label for="cellvalue3">Amount:</label><input type="radio" name="Cellvalue" id="cellvalue3" value="3" /> >+ <label for="cellvalue3">[% t('Amount:') %]</label><input type="radio" name="Cellvalue" id="cellvalue3" value="3" /> > </li> > <li> >- <label for="cellvalue4">Ordered amount:</label><input type="radio" name="Cellvalue" id="cellvalue4" value="4" /> >+ <label for="cellvalue4">[% t('Ordered amount:') %]</label><input type="radio" name="Cellvalue" id="cellvalue4" value="4" /> > </li> > <li> >- <label for="cellvalue5">Spent amount:</label><input type="radio" name="Cellvalue" id="cellvalue5" value="5" /> >+ <label for="cellvalue5">[% t('Spent amount:') %]</label><input type="radio" name="Cellvalue" id="cellvalue5" value="5" /> > </li> > </ol> > </fieldset> > > <fieldset class="rows"> >- <legend>Output</legend> >+ <legend>[% t('Output') %]</legend> > <ol> > <li> >- <label for="outputscreen">To screen into the browser: </label><input type="radio" checked="checked" name="output" id="outputscreen" value="screen" /> >+ <label for="outputscreen">[% t('To screen into the browser:') %] </label><input type="radio" checked="checked" name="output" id="outputscreen" value="screen" /> > </li> > <li> >- <label for="outputfile">To a file:</label> <input type="radio" name="output" value="file" id="outputfile" /> >- <label class="inline" for="basename">Named: </label> <input type="text" name="basename" id="basename" value="Export" /> >- <label class="inline" for="MIME">Into an application:</label> >+ <label for="outputfile">[% t('To a file:') %]</label> <input type="radio" name="output" value="file" id="outputfile" /> >+ <label class="inline" for="basename">[% t('Named:') %] </label> <input type="text" name="basename" id="basename" value="Export" /> >+ <label class="inline" for="MIME">[% t('Into an application:') %]</label> > <select name="MIME" id="MIME" size="1"> >- <option value="CSV">CSV</option> >+ <option value="CSV">[% t('CSV') %]</option> > </select> > <select name="sep" id="sep" size="1"> > [% FOREACH value IN CGIsepChoice.values.sort() %] >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/bor_issues_top.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/reports/bor_issues_top.tt >index fedf5dc3f7..7ad571ee97 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/bor_issues_top.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/reports/bor_issues_top.tt >@@ -1,9 +1,10 @@ >+[% PROCESS 'i18n.inc' %] > [% USE Branches %] > [% USE KohaDates %] > [% USE ItemTypes %] > [% SET footerjs = 1 %] > [% INCLUDE 'doc-head-open.inc' %] >-<title>Koha › Reports › Patrons with the most checkouts</title> >+<title>[% t('Koha ⺠Reports ⺠Patrons with the most checkouts') %]</title> > [% INCLUDE 'doc-head-close.inc' %] > </head> > >@@ -11,7 +12,7 @@ > [% INCLUDE 'header.inc' %] > [% INCLUDE 'cat-search.inc' %] > >-<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> › <a href="/cgi-bin/koha/reports/reports-home.pl">Reports</a> [% IF ( do_it ) %]› <a href="/cgi-bin/koha/reports/bor_issues_top.pl">Patrons with the most checkouts</a> › Results[% ELSE %]› Patrons with the most checkouts[% END %]</div> >+<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">[% t('Home') %]</a> ⺠<a href="/cgi-bin/koha/reports/reports-home.pl">[% t('Reports') %]</a> [% IF ( do_it ) %]⺠<a href="/cgi-bin/koha/reports/bor_issues_top.pl">[% t('Patrons with the most checkouts') %]</a> [% t('⺠Results') %][% ELSE %][% t('⺠Patrons with the most checkouts') %][% END %]</div> > > <div id="doc3" class="yui-t2"> > >@@ -21,34 +22,34 @@ > > [% IF ( do_it ) %] > [% FOREACH mainloo IN mainloop %] >- <h1>Patrons with the most checkouts</h1> >+ <h1>[% t('Patrons with the most checkouts') %]</h1> > [% IF ( mainloo.loopfilter ) %] > [% IF mainloo.loopfilter.size %] >- <p>Filtered on:</p> >+ <p>[% t('Filtered on:') %]</p> > <ul> > [% FOREACH loopfilte IN mainloo.loopfilter %] > <li> > [% SWITCH loopfilte.crit -%] > [% CASE "Issue From" -%] >- Checked out after [% loopfilte.filter | $KohaDates %] >+ [% t('Checked out after') %] [% loopfilte.filter | $KohaDates %] > [% CASE "Issue To" -%] >- Checked out before [% loopfilte.filter | $KohaDates %] >+ [% t('Checked out before') %] [% loopfilte.filter | $KohaDates %] > [% CASE "Return From" -%] >- Checked in after [% loopfilte.filter | $KohaDates %] >+ [% t('Checked in after') %] [% loopfilte.filter | $KohaDates %] > [% CASE "Return To" -%] >- Checked in before [% loopfilte.filter | $KohaDates %] >+ [% t('Checked in before') %] [% loopfilte.filter | $KohaDates %] > [% CASE "Branch" -%] >- Library is [% Branches.GetName( loopfilte.filter ) %] >+ [% t('Library is') %] [% Branches.GetName( loopfilte.filter ) %] > [% CASE "Doc Type" -%] >- Item type is [% ItemTypes.GetDescription( loopfilte.filter ) %] >+ [% t('Item type is') %] [% ItemTypes.GetDescription( loopfilte.filter ) %] > [% CASE "Bor Cat" -%] >- Patron category code is [% loopfilte.filter %] >+ [% t('Patron category code is') %] [% loopfilte.filter %] > [% CASE "Day" -%] >- Day is [% loopfilte.filter %] >+ [% t('Day is') %] [% loopfilte.filter %] > [% CASE "Month" -%] >- Month is [% loopfilte.filter %] >+ [% t('Month is') %] [% loopfilte.filter %] > [% CASE "Year" -%] >- Year is [% loopfilte.filter %] >+ [% t('Year is') %] [% loopfilte.filter %] > [% CASE # default case -%] > [% loopfilte.crit %] = [% loopfilte.filter %] > [% END -%] >@@ -60,15 +61,15 @@ > > <table> > <tr> >- <th rowspan="2">Rank</th> >+ <th rowspan="2">[% t('Rank') %]</th> > [% FOREACH loopco IN mainloo.loopcol %] > <th colspan="2">[% loopco.coltitle %]</th> > [% END %] > </tr> > <tr> > [% FOREACH loopco IN mainloo.loopcol %] >- <th>Patron</th> >- <th>Checkout count</th> >+ <th>[% t('Patron') %]</th> >+ <th>[% t('Checkout count') %]</th> > [% END %] > </tr> > [% FOREACH loopro IN mainloo.looprow %] >@@ -90,33 +91,33 @@ > </table> > [% END %] > [% ELSE %] >- <h1>Patrons with the most checkouts</h1> >+ <h1>[% t('Patrons with the most checkouts') %]</h1> > <form method="post" action="/cgi-bin/koha/reports/bor_issues_top.pl"> > <fieldset class="rows"> >- <ol><li><label for="from">Checkout date from:</label> <input type="text" readonly="readonly" size="10" id="from" name="Filter" /> >- <label class="inline" for="to">To: </label> <input readonly="readonly" size="10" id="to" name="Filter" value="" type="text" /> >+ <ol><li><label for="from">[% t('Checkout date from:') %]</label> <input type="text" readonly="readonly" size="10" id="from" name="Filter" /> >+ <label class="inline" for="to">[% t('To:') %] </label> <input readonly="readonly" size="10" id="to" name="Filter" value="" type="text" /> > <span class="hint">[% INCLUDE 'date-format.inc' %]</span></li> >- <li> <label for="fromRO">Check-in date from:</label> <input type="text" readonly="readonly" size="10" id="fromRO" name="Filter" /> >- <label class="inline" for="toRO">To: </label> <input type="text" readonly="readonly" size="10" id="toRO" name="Filter" value="" /> >+ <li> <label for="fromRO">[% t('Check-in date from:') %]</label> <input type="text" readonly="readonly" size="10" id="fromRO" name="Filter" /> >+ <label class="inline" for="toRO">[% t('To:') %] </label> <input type="text" readonly="readonly" size="10" id="toRO" name="Filter" value="" /> > <span class="hint">[% INCLUDE 'date-format.inc' %]</span></li> > <li> >- <label for="branch">Library: </label> >-<select name="Filter" id="branch"><option value="" > Any library</option> >+ <label for="branch">[% t('Library:') %] </label> >+<select name="Filter" id="branch"><option value=""> [% t('Any library') %]</option> > [% FOREACH l IN Branches.all( unfiltered => 1 ) %] >- <option value="[% l.branchcode %]" >[% l.branchname %] </option> >+ <option value="[% l.branchcode %]">[% l.branchname %] </option> > [% END %] > </select> </li> > <li> >- <label for="documenttype">Item type: </label><select name="Filter" id="documenttype"><option value="" > Any item type</option> >+ <label for="documenttype">[% t('Item type:') %] </label><select name="Filter" id="documenttype"><option value=""> [% t('Any item type') %]</option> > [% FOREACH itemtype IN itemtypes %] >- <option value="[% itemtype.itemtype %]" >[% itemtype.translated_description %] </option> >+ <option value="[% itemtype.itemtype %]">[% itemtype.translated_description %] </option> > [% END %] > </select> > </li> > <li> >- <label for="patroncategory">Patron category: </label><select name="Filter" id="patroncategory"><option value="" > Any category code</option> >+ <label for="patroncategory">[% t('Patron category:') %] </label><select name="Filter" id="patroncategory"><option value=""> [% t('Any category code') %]</option> > [% FOREACH patron_category IN patron_categories%] >- <option value="[% patron_category.categorycode %]" >[% patron_category.description %] </option> >+ <option value="[% patron_category.categorycode %]">[% patron_category.description %] </option> > [% END %] > </select> > </li> >@@ -125,42 +126,42 @@ > > <fieldset class="rows"> > <ol> >- <li><label for="numlimit">Limit to: </label> <select name="Limit" id="numlimit"> >- <option value ="5" selected="selected"> 5</option> >- <option value ="10">10</option> >- <option value ="15">15</option> >- <option value ="20">20</option> >- <option value ="">No limit</option> >+ <li><label for="numlimit">[% t('Limit to:') %] </label> <select name="Limit" id="numlimit"> >+ <option value="5" selected="selected"> [% t('5') %]</option> >+ <option value="10">[% t('10') %]</option> >+ <option value="15">[% t('15') %]</option> >+ <option value="20">[% t('20') %]</option> >+ <option value="">[% t('No limit') %]</option> > <!-- <option value ="25">25</option> > <option value ="40">40</option> > <option value ="50">50</option> > <option value ="100">100</option>--> > </select></li> >- <li><label for="criteria">By: </label> <select name="Criteria" id="criteria"> >- <option value ="" selected="selected">None</option> >- <option value ="branchcode">Library</option> >- <option value ="categorycode">Category code</option> >- <option value ="itemtype">Item type</option> >- <option value ="Day">Day</option> >- <option value ="Week">Week</option> >- <option value ="Month">Month</option> >- <option value ="Year">Year</option> >+ <li><label for="criteria">[% t('By:') %] </label> <select name="Criteria" id="criteria"> >+ <option value="" selected="selected">[% t('None') %]</option> >+ <option value="branchcode">[% t('Library') %]</option> >+ <option value="categorycode">[% t('Category code') %]</option> >+ <option value="itemtype">[% t('Item type') %]</option> >+ <option value="Day">[% t('Day') %]</option> >+ <option value="Week">[% t('Week') %]</option> >+ <option value="Month">[% t('Month') %]</option> >+ <option value="Year">[% t('Year') %]</option> > </select></li> > </ol> > </fieldset> > > <fieldset class="rows"> >- <legend>Output</legend> >- <ol><li><label for="outputscreen">To screen into the browser: </label><input type="radio" checked="checked" name="output" id="outputscreen" value="screen" /></li> >- <li><label for="outputfile">To a file: </label><input type="radio" name="output" value="file" id="outputfile" /> >- <label class="inline" for="basename">Named: </label><input type="text" name="basename" id="basename" value="Export" /> >- <label class="inline" for="MIME">Into an application: </label> >+ <legend>[% t('Output') %]</legend> >+ <ol><li><label for="outputscreen">[% t('To screen into the browser:') %] </label><input type="radio" checked="checked" name="output" id="outputscreen" value="screen" /></li> >+ <li><label for="outputfile">[% t('To a file:') %] </label><input type="radio" name="output" value="file" id="outputfile" /> >+ <label class="inline" for="basename">[% t('Named:') %] </label><input type="text" name="basename" id="basename" value="Export" /> >+ <label class="inline" for="MIME">[% t('Into an application:') %] </label> > <select name="MIME" id="MIME"> > [% FOREACH mimeloo IN mimeloop %] > <option value="[% mimeloo.type %]">[% mimeloo.type %]</option> > [% END %] > </select> >- <label class="inline" for="sep">Delimiter: </label> >+ <label class="inline" for="sep">[% t('Delimiter:') %] </label> > <select name="sep" id="sep" size="1"> > [% FOREACH value IN CGIseplist.values.sort() %] > [% IF ( value == CGIseplist.default ) %] >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/borrowers_out.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/reports/borrowers_out.tt >index ff4008fb20..3210fe1082 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/borrowers_out.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/reports/borrowers_out.tt >@@ -1,6 +1,7 @@ >+[% PROCESS 'i18n.inc' %] > [% SET footerjs = 1 %] > [% INCLUDE 'doc-head-open.inc' %] >-<title>Koha › Reports › Patrons with no checkouts</title> >+<title>[% t('Koha ⺠Reports ⺠Patrons with no checkouts') %]</title> > [% INCLUDE 'doc-head-close.inc' %] > </head> > >@@ -8,7 +9,7 @@ > [% INCLUDE 'header.inc' %] > [% INCLUDE 'cat-search.inc' %] > >-<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> › <a href="/cgi-bin/koha/reports/reports-home.pl">Reports</a> › Patrons with no checkouts</div> >+<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">[% t('Home') %]</a> ⺠<a href="/cgi-bin/koha/reports/reports-home.pl">[% t('Reports') %]</a> [% t('⺠Patrons with no checkouts') %]</div> > > <div id="doc3" class="yui-t2"> > >@@ -18,9 +19,9 @@ > > [% IF ( do_it ) %] > [% FOREACH mainloo IN mainloop %] >- <h1>Patrons with no checkouts</h1> >+ <h1>[% t('Patrons with no checkouts') %]</h1> > [% IF ( mainloo.loopfilter ) %] >- <p>Filtered on:</p> >+ <p>[% t('Filtered on:') %]</p> > [% FOREACH loopfilte IN mainloo.loopfilter %] > <p>[% IF ( loopfilte.err ) %] [% END %] [% loopfilte.crit %] =[% loopfilte.filter %][% IF ( loopfilte.err ) %] [% END %]</p> > [% END %] >@@ -28,7 +29,7 @@ > > <table> > <tr> >- <th>Num/Patrons</th> >+ <th>[% t('Num/Patrons') %]</th> > [% FOREACH loopco IN mainloo.loopcol %] > <th>[% loopco.coltitle %]</th> > [% END %] >@@ -45,53 +46,53 @@ > </table> > [% END %] > [% ELSE %] >- <h1>Patrons with no checkouts</h1> >+ <h1>[% t('Patrons with no checkouts') %]</h1> > <form method="post" action="/cgi-bin/koha/reports/borrowers_out.pl"> > <fieldset class="rows"> > <ol> >- <li><label for="patroncategory">Patron category: </label> <select name="Filter" id="patroncategory"><option value="" > Any category code</option> >+ <li><label for="patroncategory">[% t('Patron category:') %] </label> <select name="Filter" id="patroncategory"><option value=""> [% t('Any category code') %]</option> > [% FOREACH patron_category IN patron_categories %] >- <option value="[% patron_category.categorycode %]" >[% patron_category.description %] </option> >+ <option value="[% patron_category.categorycode %]">[% patron_category.description %] </option> > [% END %] > </select> > </li> >- <li><label for="to">Not checked out since: </label> <input size="10" id="to" name="Filter" value="" type="text" /> >+ <li><label for="to">[% t('Not checked out since:') %] </label> <input size="10" id="to" name="Filter" value="" type="text" /> > </li> > </ol> > </fieldset> > > <fieldset class="rows"> >- <legend>Limits</legend> >+ <legend>[% t('Limits') %]</legend> > <ol> >- <li><label for="numberlimit">Limit to: </label><select name="Limit" id="numberlimit"> >- <option value ="" selected="selected">None</option> >- <option value ="5"> 5</option> >- <option value ="10">10</option> >- <option value ="15">15</option> >- <option value ="20">20</option> >- <option value ="25">25</option> >- <option value ="40">40</option> >- <option value ="50">50</option> >- <option value ="100">100</option> >+ <li><label for="numberlimit">[% t('Limit to:') %] </label><select name="Limit" id="numberlimit"> >+ <option value="" selected="selected">[% t('None') %]</option> >+ <option value="5"> [% t('5') %]</option> >+ <option value="10">[% t('10') %]</option> >+ <option value="15">[% t('15') %]</option> >+ <option value="20">[% t('20') %]</option> >+ <option value="25">[% t('25') %]</option> >+ <option value="40">[% t('40') %]</option> >+ <option value="50">[% t('50') %]</option> >+ <option value="100">[% t('100') %]</option> > </select></li> >- <li><label for="criteria">By: </label><select name="Criteria" id="criteria"> >- <option value ="" selected="selected">None</option> >- <option value ="categorycode">Patron category</option> >- <option value ="branchcode">Library</option> >+ <li><label for="criteria">[% t('By:') %] </label><select name="Criteria" id="criteria"> >+ <option value="" selected="selected">[% t('None') %]</option> >+ <option value="categorycode">[% t('Patron category') %]</option> >+ <option value="branchcode">[% t('Library') %]</option> > </select></li> > </ol> > </fieldset> > > <fieldset class="rows"> >- <legend>Output</legend> >+ <legend>[% t('Output') %]</legend> > <ol> > <li> >- <label for="outputscreen">To screen into the browser: </label><input type="radio" checked="checked" name="output" id="outputscreen" value="screen" /> >+ <label for="outputscreen">[% t('To screen into the browser:') %] </label><input type="radio" checked="checked" name="output" id="outputscreen" value="screen" /> > </li> > <li> >- <label for="outputfile">To a file:</label> <input type="radio" name="output" value="file" id="outputfile" /> >- <label class="inline" for="basename">Named: </label><input type="text" name="basename" id="basename" value="Export" /> >- <label class="inline" for="MIME">Into an application:</label> >+ <label for="outputfile">[% t('To a file:') %]</label> <input type="radio" name="output" value="file" id="outputfile" /> >+ <label class="inline" for="basename">[% t('Named:') %] </label><input type="text" name="basename" id="basename" value="Export" /> >+ <label class="inline" for="MIME">[% t('Into an application:') %]</label> > <select name="MIME" id="MIME" size="1"> > [% FOREACH value IN CGIextChoice %] > <option value="[% value %]">[% value %]</option> >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/borrowers_stats.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/reports/borrowers_stats.tt >index 95c78f5dd1..d8b9191704 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/borrowers_stats.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/reports/borrowers_stats.tt >@@ -1,7 +1,8 @@ >+[% PROCESS 'i18n.inc' %] > [% USE Branches %] > [% SET footerjs = 1 %] > [% INCLUDE 'doc-head-open.inc' %] >-<title>Koha › Reports [% IF ( do_it ) %]› Patrons statistics › Results[% ELSE %]› Patrons statistics[% END %]</title> >+<title>[% t('Koha ⺠Reports') %] [% IF ( do_it ) %][% t('⺠Patrons statistics ⺠Results') %][% ELSE %][% t('⺠Patrons statistics') %][% END %]</title> > [% INCLUDE 'doc-head-close.inc' %] > <style type="text/css"> > .sql {display:none;} >@@ -13,7 +14,7 @@ > [% INCLUDE 'header.inc' %] > [% INCLUDE 'cat-search.inc' %] > >-<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> › <a href="/cgi-bin/koha/reports/reports-home.pl">Reports</a> › <a href="/cgi-bin/koha/reports/borrowers_stats.pl">Patrons statistics</a>[% IF ( do_it ) %] › Results[% END %]</div> >+<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">[% t('Home') %]</a> ⺠<a href="/cgi-bin/koha/reports/reports-home.pl">[% t('Reports') %]</a> ⺠<a href="/cgi-bin/koha/reports/borrowers_stats.pl">[% t('Patrons statistics') %]</a>[% IF ( do_it ) %] [% t('⺠Results') %][% END %]</div> > > <div id="doc3" class="yui-t2"> > >@@ -23,9 +24,9 @@ > > [% IF ( do_it ) %] > [% FOREACH mainloo IN mainloop %] >- <h1>Patrons statistics</h1> >+ <h1>[% t('Patrons statistics') %]</h1> > [% IF ( mainloo.loopfilter ) %] >- <p>Filtered on:</p> >+ <p>[% t('Filtered on:') %]</p> > [% FOREACH loopfilte IN mainloo.loopfilter %] > <p> > [% loopfilte.crit %] = [% loopfilte.filter %] >@@ -39,21 +40,21 @@ > <th>[% IF ( loopco.coltitle_display ) %][% loopco.coltitle_display %][% ELSE %][% loopco.coltitle %][% END %] > </th> > [% END %] >- <th>TOTAL</th> >+ <th>[% t('TOTAL') %]</th> > </tr> > [% FOREACH loopro IN mainloo.looprow %] > <tr> > <td>[% IF ( loopro.rowtitle_display ) %][% loopro.rowtitle_display %][% ELSE %][% loopro.rowtitle %][% END %] > </td> > [% FOREACH loopcel IN loopro.loopcell %] >- <td>[% IF ( loopcel.value ) %][% loopcel.value %][% ELSE %] [% END %] >+ <td>[% IF ( loopcel.value ) %][% loopcel.value %][% ELSE %] [% END %] > </td> > [% END %] > <td>[% loopro.totalrow %]</td> > </tr> > [% END %] > <tr> >- <th>TOTAL</th> >+ <th>[% t('TOTAL') %]</th> > [% FOREACH loopfoote IN mainloo.loopfooter %] > <th>[% loopfoote.totalcol %]</th> > [% END %] >@@ -64,23 +65,23 @@ > [% ELSE %] > > <form method="post" action="/cgi-bin/koha/reports/borrowers_stats.pl"> >- <fieldset class="rows"><legend>Patrons statistics</legend> >+ <fieldset class="rows"><legend>[% t('Patrons statistics') %]</legend> > <table> > <thead> > <tr> >- <th>Title</th> >- <th>Row</th> >- <th>Column</th> >- <th>Filter</th> >+ <th>[% t('Title') %]</th> >+ <th>[% t('Row') %]</th> >+ <th>[% t('Column') %]</th> >+ <th>[% t('Filter') %]</th> > </tr> > </thead> > <tbody> > <tr> >- <td>Patron category</td> >+ <td>[% t('Patron category') %]</td> > <td><input type="radio" name="Line" value="categorycode" /></td> > <td><input type="radio" name="Column" value="categorycode" /></td> > <td> >- <select name="Filter" size="1" id="catcode"> >+ <select name="Filter" size="1" id="catcode"> > <option value=""></option> > [% FOREACH patron_category IN patron_categories %] > <option value="[% patron_category.categorycode %]">[% patron_category.description %]</option> >@@ -89,27 +90,27 @@ > </td> > </tr> > <tr> >- <td>Patron status</td> >+ <td>[% t('Patron status') %]</td> > <td colspan="2"></td> >- <td ><select name="status"><option value=""> </option><option value="debarred">restricted</option><option value="gonenoadress">gone no address</option><option value="lost">lost</option></select></td> >+ <td><select name="status"><option value=""> </option><option value="debarred">[% t('restricted') %]</option><option value="gonenoadress">[% t('gone no address') %]</option><option value="lost">[% t('lost') %]</option></select></td> > </tr> > <tr> >- <td>Patron activity</td> >+ <td>[% t('Patron activity') %]</td> > <td colspan="2"><select name="period" id="period"> >- <option value="1">1</option> >- <option value="2">2</option> >- <option value="3">3</option> >+ <option value="1">[% t('1') %]</option> >+ <option value="2">[% t('2') %]</option> >+ <option value="3">[% t('3') %]</option> > </select> >- <label for="period">years of activity</label> >+ <label for="period">[% t('years of activity') %]</label> > </td> >- <td><select name="activity"><option value=""> </option><option value="active">active</option><option value="nonactive">no active</option></select></td> >+ <td><select name="activity"><option value=""> </option><option value="active">[% t('active') %]</option><option value="nonactive">[% t('no active') %]</option></select></td> > </tr> > > <tr> >- <td rowspan="2">ZIP/Postal code</td> >+ <td rowspan="2">[% t('ZIP/Postal code') %]</td> > <td><input type="radio" name="Line" value="zipcode" /></td> > <td><input type="radio" name="Column" value="zipcode" /></td> >- <td><select name="Filter" size="1" id="zipcode"> >+ <td><select name="Filter" size="1" id="zipcode"> > <option value=""> </option> > [% FOREACH ZIP_LOO IN ZIP_LOOP %] > <option value="[% ZIP_LOO.zipcode %]">[% ZIP_LOO.zipcode %]</option> >@@ -120,28 +121,28 @@ > <tr> > <td colspan="2"><select name="digits" id="digits"> > <option value=""> </option> >- <option value ="1">1</option> >- <option value ="2">2</option> >- <option value ="3">3</option> >- <option value ="4">4</option> >- <option value ="5">5</option> >- <option value ="6">6</option> >- <option value ="7">7</option> >- <option value ="8">8</option> >- <option value ="9">9</option> >- <option value ="10">10</option> >+ <option value="1">[% t('1') %]</option> >+ <option value="2">[% t('2') %]</option> >+ <option value="3">[% t('3') %]</option> >+ <option value="4">[% t('4') %]</option> >+ <option value="5">[% t('5') %]</option> >+ <option value="6">[% t('6') %]</option> >+ <option value="7">[% t('7') %]</option> >+ <option value="8">[% t('8') %]</option> >+ <option value="9">[% t('9') %]</option> >+ <option value="10">[% t('10') %]</option> > </select> >- <label for="digits">digits</label> >+ <label for="digits">[% t('digits') %]</label> > </td> >- <td> </td> >+ <td> </td> > </tr> > > <tr> >- <td>Library</td> >- <td><input type="radio" name="Line" value="branchcode" /></td> >+ <td>[% t('Library') %]</td> >+ <td><input type="radio" name="Line" value="branchcode" /></td> > <td><input type="radio" name="Column" value="branchcode" /></td> > <td> >- <select name="Filter" size="1" id="branch"> >+ <select name="Filter" size="1" id="branch"> > <option value=""></option> > [% FOREACH l IN Branches.all( unfiltered => 1 ) %] > <option value="[% l.branchcode %]">[% l.branchcode %] - [% l.branchname || 'UNKNOWN' %]</option> >@@ -150,33 +151,33 @@ > </td> > </tr> > <tr> >- <td>Date of birth</td> >+ <td>[% t('Date of birth') %]</td> > <td colspan="2"></td> >- <td><label for="from">From</label> <input type="text" size="10" id="from" name="Filter" class="datepickerfrom" /> >- <label for="to">To</label> <input size="10" id="to" name="Filter" value="" type="text" class="datepickerto" /> >+ <td><label for="from">[% t('From') %]</label> <input type="text" size="10" id="from" name="Filter" class="datepickerfrom" /> >+ <label for="to">[% t('To') %]</label> <input size="10" id="to" name="Filter" value="" type="text" class="datepickerto" /> > <span class="hint">[% INCLUDE 'date-format.inc' %]</span> > </td> > </tr> > <tr> >- <td>Gender</td> >+ <td>[% t('Gender') %]</td> > <td><input type="radio" name="Line" value="sex" /></td> > <td><input type="radio" name="Column" value="sex" /></td> > <td> > <select id="sex" size="1" name="Filter"> > <option value="" /> >- <option value="M">Men</option> >- <option value="F">Women</option> >+ <option value="M">[% t('Men') %]</option> >+ <option value="F">[% t('Women') %]</option> > </select> > </td> > </tr> > [% IF ( SORT1_LOOP ) %] > <tr> >- <td>Sort1</td> >+ <td>[% t('Sort1') %]</td> > <td><input type="radio" name="Line" value="sort1" /></td> > <td><input type="radio" name="Column" value="sort1" /></td> > <td> > <select id="sort1" size="1" name="Filter"> >- <option value=""/> >+ <option value="" /> > [% FOREACH SORT1_LOO IN SORT1_LOOP %] > <option value="[% SORT1_LOO.authorized_value %]">[% SORT1_LOO.lib %]</option> > [% END %] >@@ -188,12 +189,12 @@ > [% END %] > [% IF ( SORT2_LOOP ) %] > <tr> >- <td>Sort2</td> >+ <td>[% t('Sort2') %]</td> > <td><input type="radio" name="Line" value="sort2" /></td> > <td><input type="radio" name="Column" value="sort2" /></td> > <td> > <select id="sort2" size="1" name="Filter"> >- <option value=""/> >+ <option value="" /> > [% FOREACH SORT2_LOO IN SORT2_LOOP %] > <option value="[% SORT2_LOO.value %]">[% SORT2_LOO.value %]</option> > [% END %] >@@ -205,7 +206,7 @@ > [% END %] > [% IF ( ExtendedPatronAttributes ) %] > <tr> >- <th colspan="4">Patron attributes</th> >+ <th colspan="4">[% t('Patron attributes') %]</th> > </tr> > [% FOREACH pa_loo IN patron_attributes %] > [% IF (pa_loo.class) %] >@@ -221,26 +222,23 @@ > ([% patron_attribute.description %]) > </td> > <td> >- <input type="radio" name="Line" >- value="patron_attr.[% patron_attribute.code %]" /> >+ <input type="radio" name="Line" value="patron_attr.[% patron_attribute.code %]" /> > </td> > <td> >- <input type="radio" name="Column" >- value="patron_attr.[% patron_attribute.code %]" /> >+ <input type="radio" name="Column" value="patron_attr.[% patron_attribute.code %]" /> > </td> > <td> > [% IF ( patron_attribute.use_dropdown ) %] >- <select name="Filter_patron_attr.[% patron_attribute.code %]" > >+ <select name="Filter_patron_attr.[% patron_attribute.code %]"> > <option value="" /> > [% FOREACH auth_val_loo IN patron_attribute.auth_val_loop %] >- <option value="[% auth_val_loo.authorised_value %]" > >+ <option value="[% auth_val_loo.authorised_value %]"> > [% auth_val_loo.lib %] > </option> > [% END %] > </select> > [% ELSE %] >- <input type="text" maxlength="64" >- name="Filter_patron_attr.[% patron_attribute.code %]" /> >+ <input type="text" maxlength="64" name="Filter_patron_attr.[% patron_attribute.code %]" /> > [% END %] > </td> > </tr> >@@ -253,15 +251,15 @@ > > > <fieldset class="rows"> >- <legend>Output</legend> >+ <legend>[% t('Output') %]</legend> > <ol> > <li> >- <label for="outputscreen">To screen into the browser: </label><input type="radio" checked="checked" name="output" id="outputscreen" value="screen" /> >+ <label for="outputscreen">[% t('To screen into the browser:') %] </label><input type="radio" checked="checked" name="output" id="outputscreen" value="screen" /> > </li> > <li> >- <label for="outputfile">To a file:</label> <input type="radio" name="output" value="file" id="outputfile" /> >- <label class="inline" for="basename">Named: </label><input type="text" name="basename" id="basename" value="Export" /> >- <label class="inline" for="MIME">Into an application:</label> >+ <label for="outputfile">[% t('To a file:') %]</label> <input type="radio" name="output" value="file" id="outputfile" /> >+ <label class="inline" for="basename">[% t('Named:') %] </label><input type="text" name="basename" id="basename" value="Export" /> >+ <label class="inline" for="MIME">[% t('Into an application:') %]</label> > <select name="MIME" id="MIME" size="1"> > [% FOREACH value IN CGIextChoice %] > <option value="[% value %]">[% value %]</option> >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/cash_register_stats.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/reports/cash_register_stats.tt >index d38df2f949..2996695b23 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/cash_register_stats.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/reports/cash_register_stats.tt >@@ -1,10 +1,11 @@ >+[% PROCESS 'i18n.inc' %] > [% USE Asset %] > [% USE KohaDates %] > [% USE Price %] > [% USE ItemTypes %] > [% SET footerjs = 1 %] > [% INCLUDE 'doc-head-open.inc' %] >-<title>Koha › Reports [% IF ( do_it ) %]› Cash register statistics › Results[% ELSE %]› Cash register statistics[% END %]</title> >+<title>[% t('Koha ⺠Reports') %] [% IF ( do_it ) %][% t('⺠Cash register statistics ⺠Results') %][% ELSE %][% t('⺠Cash register statistics') %][% END %]</title> > [% INCLUDE 'doc-head-close.inc' %] > [% Asset.css("css/datatables.css") %] > </head> >@@ -14,12 +15,12 @@ > [% INCLUDE 'cat-search.inc' %] > > <div id="breadcrumbs"> >- <a href="/cgi-bin/koha/mainpage.pl">Home</a> › <a href="/cgi-bin/koha/reports/reports-home.pl">Reports</a> >- › >+ <a href="/cgi-bin/koha/mainpage.pl">[% t('Home') %]</a> ⺠<a href="/cgi-bin/koha/reports/reports-home.pl">[% t('Reports') %]</a> >+ ⺠> [% IF ( do_it ) %] >- <a href="/cgi-bin/koha/reports/cash_register_stats.pl">Cash register statistics</a> › Results >+ <a href="/cgi-bin/koha/reports/cash_register_stats.pl">[% t('Cash register statistics') %]</a> [% t('⺠Results') %] > [% ELSE %] >- Cash register statistics >+ [% t('Cash register statistics') %] > [% END %] > </div> > >@@ -29,96 +30,96 @@ > <div id="yui-main"> > <div class="yui-b"> > >- <h1>Cash register statistics</h1> >+ <h1>[% t('Cash register statistics') %]</h1> > <form method="post" action="/cgi-bin/koha/reports/cash_register_stats.pl" id="frmCashRegister"> > <fieldset class="rows"> >- <legend>Cash register statistics [% beginDate | $KohaDates %] to [% endDate | $KohaDates %]</legend> >+ <legend>[% t('Cash register statistics') %] [% beginDate | $KohaDates %] [% t('to') %] [% endDate | $KohaDates %]</legend> > <ol> > <br> > <li> >- <label for="from">From: </label> >+ <label for="from">[% t('From:') %] </label> > <input type="text" size="10" id="from" name="from" value="[% beginDate | $KohaDates %]" class="datepickerfrom" /> > <div class="hint">[% INCLUDE 'date-format.inc' %]</div> > </li> > <li> >- <label for="to">To: </label> >+ <label for="to">[% t('To:') %] </label> > <input type="text" size="10" id="to" name="to" value="[% endDate | $KohaDates %]" class="datepickerto" /> > <div class="hint">[% INCLUDE 'date-format.inc' %]</div> > </li> > > <li> >- <label for="">Transaction type:</label> >+ <label for="">[% t('Transaction type:') %]</label> > <select name="transaction_type" id="transaction_type"> > [% IF transaction_type == "ALL" %] >- <option value="ALL" selected="selected">All transactions</option> >+ <option value="ALL" selected="selected">[% t('All transactions') %]</option> > [% ELSE %] >- <option value="ALL">All transactions</option> >+ <option value="ALL">[% t('All transactions') %]</option> > [% END %] > > [% IF transaction_type == "ACT" %] >- <option value="ACT" selected="selected">All payments to the library</option> >+ <option value="ACT" selected="selected">[% t('All payments to the library') %]</option> > [% ELSE %] >- <option value="ACT">All payments to the library</option> >+ <option value="ACT">[% t('All payments to the library') %]</option> > [% END %] > > [% IF transaction_type == "C" %] >- <option value="C" selected="selected">Credit</option> >+ <option value="C" selected="selected">[% t('Credit') %]</option> > [% ELSE %] >- <option value="C">Credit</option> >+ <option value="C">[% t('Credit') %]</option> > [% END %] > > [% IF transaction_type == "CR" %] >- <option value="CR" selected="selected">Credit (item returned)</option> >+ <option value="CR" selected="selected">[% t('Credit (item returned)') %]</option> > [% ELSE %] >- <option value="CR">Credit (item returned)</option> >+ <option value="CR">[% t('Credit (item returned)') %]</option> > [% END %] > > [% IF transaction_type == "FORW" %] >- <option value="FORW" selected="selected">Write off</option> >+ <option value="FORW" selected="selected">[% t('Write off') %]</option> > [% ELSE %] >- <option value="FORW">Write off</option> >+ <option value="FORW">[% t('Write off') %]</option> > [% END %] > > [% IF transaction_type == "F" %] >- <option value="F" selected="selected">Fine</option> >+ <option value="F" selected="selected">[% t('Fine') %]</option> > [% ELSE %] >- <option value="F">Fine</option> >+ <option value="F">[% t('Fine') %]</option> > [% END %] > > [% IF transaction_type == "FU" %] >- <option value="FU" selected="selected">Accruing fine</option> >+ <option value="FU" selected="selected">[% t('Accruing fine') %]</option> > [% ELSE %] >- <option value="FU">Accruing fine</option> >+ <option value="FU">[% t('Accruing fine') %]</option> > [% END %] > > [% IF transaction_type == "PAY" %] >- <option value="PAY" selected="selected">Payment</option> >+ <option value="PAY" selected="selected">[% t('Payment') %]</option> > [% ELSE %] >- <option value="PAY">Payment</option> >+ <option value="PAY">[% t('Payment') %]</option> > [% END %] > > [% IF transaction_type == "A" %] >- <option value="A" selected="selected">Account management fee</option> >+ <option value="A" selected="selected">[% t('Account management fee') %]</option> > [% ELSE %] >- <option value="A">Account management fee</option> >+ <option value="A">[% t('Account management fee') %]</option> > [% END %] > > [% IF transaction_type == "M" %] >- <option value="M" selected="selected">Sundry</option> >+ <option value="M" selected="selected">[% t('Sundry') %]</option> > [% ELSE %] >- <option value="M">Sundry</option> >+ <option value="M">[% t('Sundry') %]</option> > [% END %] > > [% IF transaction_type == "L" %] >- <option value="L" selected="selected">Lost item</option> >+ <option value="L" selected="selected">[% t('Lost item') %]</option> > [% ELSE %] >- <option value="L">Lost item</option> >+ <option value="L">[% t('Lost item') %]</option> > [% END %] > > [% IF transaction_type == "N" %] >- <option value="N" selected="selected">New card</option> >+ <option value="N" selected="selected">[% t('New card') %]</option> > [% ELSE %] >- <option value="N">New card</option> >+ <option value="N">[% t('New card') %]</option> > [% END %] > > [% FOREACH manualinv IN manualinv_types %] >@@ -132,9 +133,9 @@ > </select> > </li> > <li> >- <label>Transaction branch</label> >+ <label>[% t('Transaction branch') %]</label> > <select name="branch" id="branch"> >- <option value="ALL">All</option> >+ <option value="ALL">[% t('All') %]</option> > [% FOREACH branchloo IN branchloop %] > [% IF ( branchloo.selected ) %] > <option value="[% branchloo.branchcode %]" selected="selected">[% branchloo.branchname %]</option> >@@ -150,16 +151,16 @@ > </fieldset> > > <fieldset class="rows"> >- <legend>Output</legend> >+ <legend>[% t('Output') %]</legend> > <ol> > <li> >- <label for="outputscreen">To screen into the browser: </label> >+ <label for="outputscreen">[% t('To screen into the browser:') %] </label> > <input type="radio" checked="checked" name="output" id="outputscreen" value="screen" /> > </li> > <li> >- <label for="outputfile">To a file:</label> >+ <label for="outputfile">[% t('To a file:') %]</label> > <input type="radio" name="output" value="file" id="outputfile" /> >- <label class="inline" for="basename">Named: </label><input type="text" name="basename" id="basename" value="Export" /> >+ <label class="inline" for="basename">[% t('Named:') %] </label><input type="text" name="basename" id="basename" value="Export" /> > > </li> > </ol> >@@ -171,21 +172,21 @@ > </form> > > [% IF ( do_it ) %] >- <div> </div> >+ <div> </div> > <table id="tbl_cash_register_stats"> > <thead> > <tr> >- <th>Manager name</th> >- <th>Patron card number</th> >- <th>Patron name</th> >- <th>Transaction branch</th> >- <th>Transaction date</th> >- <th>Transaction type</th> >- <th>Notes</th> >- <th>Amount</th> >- <th>Biblio title</th> >- <th>Barcode</th> >- <th>Item type</th> >+ <th>[% t('Manager name') %]</th> >+ <th>[% t('Patron card number') %]</th> >+ <th>[% t('Patron name') %]</th> >+ <th>[% t('Transaction branch') %]</th> >+ <th>[% t('Transaction date') %]</th> >+ <th>[% t('Transaction type') %]</th> >+ <th>[% t('Notes') %]</th> >+ <th>[% t('Amount') %]</th> >+ <th>[% t('Biblio title') %]</th> >+ <th>[% t('Barcode') %]</th> >+ <th>[% t('Item type') %]</th> > </tr> > </thead> > [% FOREACH loopresul IN loopresult %] >@@ -197,25 +198,25 @@ > <td>[% loopresul.date | $KohaDates %]</td> > <td> > [% IF loopresul.accounttype == "ACT" %] >- <span>All payments to the library</span> >+ <span>[% t('All payments to the library') %]</span> > [% ELSIF loopresul.accounttype == "C" || loopresul.accounttype == "CR" %] >- <span>Credit</span> >+ <span>[% t('Credit') %]</span> > [% ELSIF loopresul.accounttype == "FORW" || loopresul.accounttype == "W" %] >- <span>Write off</span> >+ <span>[% t('Write off') %]</span> > [% ELSIF loopresul.accounttype == "F" %] >- <span>Fine</span> >+ <span>[% t('Fine') %]</span> > [% ELSIF loopresul.accounttype == "FU" %] >- <span>Accruing fine</span> >+ <span>[% t('Accruing fine') %]</span> > [% ELSIF loopresul.accounttype == "Pay" %] >- <span>Payment</span> >+ <span>[% t('Payment') %]</span> > [% ELSIF loopresul.accounttype == "A" %] >- <span>Account management fee</span> >+ <span>[% t('Account management fee') %]</span> > [% ELSIF loopresul.accounttype == "M" %] >- <span>Sundry</span> >+ <span>[% t('Sundry') %]</span> > [% ELSIF loopresul.accounttype == "L" || loopresul.accounttype == "LR" %] >- <span>Lost item</span> >+ <span>[% t('Lost item') %]</span> > [% ELSIF loopresul.accounttype == "N" %] >- <span>New card</span> >+ <span>[% t('New card') %]</span> > [% ELSE %] > [% FOREACH manualinv IN manualinv_types %] > [% value_manualinv = manualinv.authorised_value|truncate(5, '') %] >@@ -236,9 +237,9 @@ > <tfoot> > <tr> > [% IF transaction_type == "ACT" %] >- <th colspan="7" style="text-align:right;">TOTAL</th> >+ <th colspan="7" style="text-align:right;">[% t('TOTAL') %]</th> > <th style="text-align:right;">[% total | $Price %]</th> >- <th colspan="3"> </th> >+ <th colspan="3"> </th> > [% END %] > </tr> > </tfoot> >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/cat_issues_top.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/reports/cat_issues_top.tt >index 756d6e0db8..8f8987c00a 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/cat_issues_top.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/reports/cat_issues_top.tt >@@ -1,7 +1,8 @@ >+[% PROCESS 'i18n.inc' %] > [% USE Branches %] > [% SET footerjs = 1 %] > [% INCLUDE 'doc-head-open.inc' %] >-<title>Koha › Reports › Most-circulated items[% IF ( do_it ) %] › Results[% END %]</title> >+<title>[% t('Koha ⺠Reports ⺠Most-circulated items') %][% IF ( do_it ) %] [% t('⺠Results') %][% END %]</title> > [% INCLUDE 'doc-head-close.inc' %] > </head> > >@@ -9,7 +10,7 @@ > [% INCLUDE 'header.inc' %] > [% INCLUDE 'cat-search.inc' %] > >-<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> › <a href="/cgi-bin/koha/reports/reports-home.pl">Reports</a> › [% IF ( do_it ) %]<a href="/cgi-bin/koha/reports/cat_issues_top.pl">Most-circulated items</a> › Results[% ELSE %]Most-Circulated Items[% END %]</div> >+<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">[% t('Home') %]</a> ⺠<a href="/cgi-bin/koha/reports/reports-home.pl">[% t('Reports') %]</a> ⺠[% IF ( do_it ) %]<a href="/cgi-bin/koha/reports/cat_issues_top.pl">[% t('Most-circulated items') %]</a> [% t('⺠Results') %][% ELSE %][% t('Most-Circulated Items') %][% END %]</div> > > <div id="doc3" class="yui-t2"> > >@@ -20,24 +21,24 @@ > [% IF ( do_it ) %] > > [% FOREACH mainloo IN mainloop %] >- <h1>Top [% mainloo.limit %] Most-circulated items</h1> >+ <h1>[% t('Top') %] [% mainloo.limit %] [% t('Most-circulated items') %]</h1> > [% IF ( mainloo.loopfilter ) %] >- <p>Filtered on:</p> >+ <p>[% t('Filtered on:') %]</p> > [% FOREACH loopfilte IN mainloo.loopfilter %] > <p>[% IF ( loopfilte.err ) %] [% END %] [% loopfilte.crit %] =[% loopfilte.filter |html %][% IF ( loopfilte.err ) %] [% END %]</p> > [% END %] > [% END %] > > <table> >-<tr> <th>Rank/Biblioitemnumbers</th> >+<tr> <th>[% t('Rank/Biblioitemnumbers') %]</th> > [% FOREACH loopco IN mainloo.loopcol %] > <th colspan="2">[% loopco.coltitle %]</th> > [% END %]</tr> > <tr> >- <th> </th> >+ <th> </th> > [% FOREACH loopco IN mainloo.loopcol %] >- <th>Item</th> >- <th>Count of checkouts</th> >+ <th>[% t('Item') %]</th> >+ <th>[% t('Count of checkouts') %]</th> > [% END %] > </tr> > [% FOREACH loopro IN mainloo.looprow %] >@@ -67,94 +68,94 @@ > </table> > [% END %] > [% ELSE %] >- <h1>Most-circulated items</h1> >+ <h1>[% t('Most-circulated items') %]</h1> > <form method="post" action="/cgi-bin/koha/reports/cat_issues_top.pl"> > <fieldset class="rows"> > <ol> >- <li><label for="from">Checkout date from: </label> <input type="text" size="10" id="from" name="Filter" /> >- <label for="to" class="inline">To:</label> <input size="10" id="to" name="Filter" value="" type="text" /> >+ <li><label for="from">[% t('Checkout date from:') %] </label> <input type="text" size="10" id="from" name="Filter" /> >+ <label for="to" class="inline">[% t('To:') %]</label> <input size="10" id="to" name="Filter" value="" type="text" /> > <span class="hint">[% INCLUDE 'date-format.inc' %]</span></li> >- <li><label for="fromRO">Check-in date from</label> <input type="text" size="10" id="fromRO" name="Filter" /> >- <label for="toRO" class="inline">To: </label> <input type="text" size="10" id="toRO" name="Filter" value="" /> >+ <li><label for="fromRO">[% t('Check-in date from') %]</label> <input type="text" size="10" id="fromRO" name="Filter" /> >+ <label for="toRO" class="inline">[% t('To:') %] </label> <input type="text" size="10" id="toRO" name="Filter" value="" /> > <span class="hint">[% INCLUDE 'date-format.inc' %]</span></li> > <li> >- <label for="branch">Library: </label> >- <select name="Filter" id="branch"><option value="" > Any library</option> >+ <label for="branch">[% t('Library:') %] </label> >+ <select name="Filter" id="branch"><option value=""> [% t('Any library') %]</option> > [% PROCESS options_for_libraries libraries => Branches.all() %] > </select> > </li> > <li> >- <label for="documenttype">Item type: </label><select name="Filter" id="documenttype"><option value="" > Any item type</option> >+ <label for="documenttype">[% t('Item type:') %] </label><select name="Filter" id="documenttype"><option value=""> [% t('Any item type') %]</option> > [% FOREACH itemtype IN itemtypes %] >- <option value="[% itemtype.itemtype %]" >[% itemtype.translated_description %] </option> >+ <option value="[% itemtype.itemtype %]">[% itemtype.translated_description %] </option> > [% END %] > </select> > </li> > <li> >- <label for="itemcallnumber">Call number: </label><input type="text" name="Filter" id="itemcallnumber" value="" /> >+ <label for="itemcallnumber">[% t('Call number:') %] </label><input type="text" name="Filter" id="itemcallnumber" value="" /> > </li> > <li> >- <label for="ccode">Collection: </label><select name="Filter" id="ccode"><option value="" > Any collection</option> >+ <label for="ccode">[% t('Collection:') %] </label><select name="Filter" id="ccode"><option value=""> [% t('Any collection') %]</option> > [% FOREACH ccodeloo IN ccodeloop %] >- <option value="[% ccodeloo.value %]" >[% ccodeloo.description %] </option> >+ <option value="[% ccodeloo.value %]">[% ccodeloo.description %] </option> > [% END %] > </select> > </li> > <li> >- <label for="shelvingloc">Shelving location: </label><select name="Filter" id="shelvingloc"><option value="" > Any shelving location</option> >+ <label for="shelvingloc">[% t('Shelving location:') %] </label><select name="Filter" id="shelvingloc"><option value=""> [% t('Any shelving location') %]</option> > [% FOREACH shelvinglocloo IN shelvinglocloop %] >- <option value="[% shelvinglocloo.value %]" >[% shelvinglocloo.description %] </option> >+ <option value="[% shelvinglocloo.value %]">[% shelvinglocloo.description %] </option> > [% END %] > </select> > </li> > <li> >- <label for="patroncategory">Patron category: </label><select name="Filter" id="patroncategory"><option value="" > Any category code</option> >+ <label for="patroncategory">[% t('Patron category:') %] </label><select name="Filter" id="patroncategory"><option value=""> [% t('Any category code') %]</option> > [% FOREACH patron_category IN patron_categories %] >- <option value="[% patron_category.categorycode %]" >[% patron_category.description %] </option> >+ <option value="[% patron_category.categorycode %]">[% patron_category.description %] </option> > [% END %] > </select> > </li> >- <li><label for="day">Day: </label> <input type="text" name="Filter" id="day" value="" /></li> >- <li><label for="month">Month: </label> <input type="text" name="Filter" id="month" value="" /></li> >- <li><label for="year">Year: </label> <input type="text" name="Filter" id="year" value="" /></li> >+ <li><label for="day">[% t('Day:') %] </label> <input type="text" name="Filter" id="day" value="" /></li> >+ <li><label for="month">[% t('Month:') %] </label> <input type="text" name="Filter" id="month" value="" /></li> >+ <li><label for="year">[% t('Year:') %] </label> <input type="text" name="Filter" id="year" value="" /></li> > </ol> > </fieldset> > > <fieldset class="rows"> >- <legend>Limits</legend> >- <ol><li><label for="numberlimit">Limit to:</label><select name="Limit" id="numberlimit"> >- <option value ="" selected="selected">None</option> >- <option value="5" selected="selected"> 5</option> >- <option value ="10">10</option> >- <option value ="15">15</option> >- <option value ="20">20</option> >- <option value ="25">25</option> >- <option value ="40">40</option> >- <option value ="50">50</option> >- <option value ="100">100</option> >+ <legend>[% t('Limits') %]</legend> >+ <ol><li><label for="numberlimit">[% t('Limit to:') %]</label><select name="Limit" id="numberlimit"> >+ <option value="" selected="selected">[% t('None') %]</option> >+ <option value="5" selected="selected"> [% t('5') %]</option> >+ <option value="10">[% t('10') %]</option> >+ <option value="15">[% t('15') %]</option> >+ <option value="20">[% t('20') %]</option> >+ <option value="25">[% t('25') %]</option> >+ <option value="40">[% t('40') %]</option> >+ <option value="50">[% t('50') %]</option> >+ <option value="100">[% t('100') %]</option> > </select></li> >- <li><label for="criteria">By: </label><select name="Criteria" id="criteria"> >- <option value ="" selected="selected">None</option> >- <option value ="branch">Library</option> >- <option value ="categorycode">Categorycode</option> >- <option value ="itemtype">Itemtype</option> >- <option value ="Day">Day</option> >- <option value ="Week">Week</option> >- <option value ="Month">Month</option> >- <option value ="Year">Year</option> >+ <li><label for="criteria">[% t('By:') %] </label><select name="Criteria" id="criteria"> >+ <option value="" selected="selected">[% t('None') %]</option> >+ <option value="branch">[% t('Library') %]</option> >+ <option value="categorycode">[% t('Categorycode') %]</option> >+ <option value="itemtype">[% t('Itemtype') %]</option> >+ <option value="Day">[% t('Day') %]</option> >+ <option value="Week">[% t('Week') %]</option> >+ <option value="Month">[% t('Month') %]</option> >+ <option value="Year">[% t('Year') %]</option> > </select></li></ol> > </fieldset> > > <fieldset class="rows"> >- <legend>Output</legend> >+ <legend>[% t('Output') %]</legend> > <ol> > <li> >- <label for="outputscreen">To screen into the browser: </label><input type="radio" checked="checked" name="output" id="outputscreen" value="screen" /> >+ <label for="outputscreen">[% t('To screen into the browser:') %] </label><input type="radio" checked="checked" name="output" id="outputscreen" value="screen" /> > </li> > <li> >- <label for="outputfile">To a file:</label> <input type="radio" name="output" value="file" id="outputfile" /> >- <label class="inline" for="basename">Named: </label><input type="text" name="basename" id="basename" value="Export" /> >- <label class="inline" for="MIME">Into an application:</label> >+ <label for="outputfile">[% t('To a file:') %]</label> <input type="radio" name="output" value="file" id="outputfile" /> >+ <label class="inline" for="basename">[% t('Named:') %] </label><input type="text" name="basename" id="basename" value="Export" /> >+ <label class="inline" for="MIME">[% t('Into an application:') %]</label> > <select name="MIME" id="MIME" size="1"> > [% FOREACH value IN CGIextChoice %] > <option value="[% value %]">[% value %]</option> >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/catalogue_out.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/reports/catalogue_out.tt >index aa098c34b3..f938df8e65 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/catalogue_out.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/reports/catalogue_out.tt >@@ -1,6 +1,7 @@ >+[% PROCESS 'i18n.inc' %] > [% USE Branches %] > [% INCLUDE 'doc-head-open.inc' %] >-<title>Koha › Reports › Items with no checkouts</title> >+<title>[% t('Koha ⺠Reports ⺠Items with no checkouts') %]</title> > [% INCLUDE 'doc-head-close.inc' %] > <style type="text/css"> > .sql {display: none;} >@@ -10,7 +11,7 @@ > [% INCLUDE 'header.inc' %] > [% INCLUDE 'cat-search.inc' %] > >-<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> › <a href="/cgi-bin/koha/reports/reports-home.pl">Reports</a> › Items with no checkouts</div> >+<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">[% t('Home') %]</a> ⺠<a href="/cgi-bin/koha/reports/reports-home.pl">[% t('Reports') %]</a> [% t('⺠Items with no checkouts') %]</div> > > <div id="doc3" class="yui-t2"> > <div id="bd"> >@@ -18,12 +19,12 @@ > <div class="yui-b"> > > [% IF ( do_it ) %] >- <h1>Items with no checkouts</h1> >+ <h1>[% t('Items with no checkouts') %]</h1> > [% FOREACH mainloo IN mainloop %] > [% IF ( mainloo.loopfilter ) %] >- <p>Filtered on:</p> >+ <p>[% t('Filtered on:') %]</p> > [% FOREACH loopfilte IN mainloo.loopfilter %] >- [% IF ( loopfilte.err ) %]<p class="error">Error: >+ [% IF ( loopfilte.err ) %]<p class="error">[% t('Error:') %] > [% ELSE %]<p> > [% END %] > [% IF ( loopfilte.sql ) %]<span class="sql">[% END %] >@@ -34,21 +35,21 @@ > [% END %] > > [% IF ( mainloo.looptables ) %] >- <h3><a name="summary" id="summary"></a>Summary</h3> >+ <h3><a name="summary" id="summary"></a>[% t('Summary') %]</h3> > <table id="summary_table"> >- <tr><th>Group</th><th>Call number range</th><th>Number of items displayed</th><th>Total items in group</th> >+ <tr><th>[% t('Group') %]</th><th>[% t('Call number range') %]</th><th>[% t('Number of items displayed') %]</th><th>[% t('Total items in group') %]</th> > </tr> > [% FOREACH looptable IN mainloo.looptables %] > <tr><td><a href="#table[% looptable.coltitle %]">[% looptable.coltitle %]</a></td> > <td>[% IF ( looptable.looptable_count ) %] >- [% looptable.looptable_first %] to [% looptable.looptable_last %] >+ [% looptable.looptable_first %] [% t('to') %] [% looptable.looptable_last %] > [% END %] > </td> > <td>[% looptable.looptable_count %]</td> > <td>[% looptable.coltitle_count %]</td> > </tr> > [% END %] >- <tr><th>TOTAL</th><th></th><th>[% mainloo.total_looptable_count %]</th><th>[% mainloo.total_coltitle_count %]</th> >+ <tr><th>[% t('TOTAL') %]</th><th></th><th>[% mainloo.total_looptable_count %]</th><th>[% mainloo.total_coltitle_count %]</th> > </tr> > </table> > >@@ -60,43 +61,43 @@ > <table> > <tr> > <th>#</th> >- <th>Call number</th> >- <th>Barcode</th> >- <th>Item details</th> >+ <th>[% t('Call number') %]</th> >+ <th>[% t('Barcode') %]</th> >+ <th>[% t('Item details') %]</th> > </tr> > [% IF ( looptable.looprow ) %] > [% FOREACH loopro IN looptable.looprow %] > <tr> > > <td>[% loop.count %]</td> >- <td>[% IF ( loopro.itemcallnumber ) %][% loopro.itemcallnumber %][% ELSE %]No call number[% END %]</td> >- <td>[% IF ( loopro.barcode ) %][% loopro.barcode %][% ELSE %]No barcode[% END %]</td> >- <td><p><a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% loopro.biblionumber %]">[% IF ( loopro.title ) %][% loopro.title %][% ELSE %]NO TITLE[% END %]</a> [% IF ( loopro.author ) %] by [% loopro.author %][% END %]</p> >- [% IF ( loopro.branch ) %]at [% Branches.GetName( loopro.branch ) %][% END %] >+ <td>[% IF ( loopro.itemcallnumber ) %][% loopro.itemcallnumber %][% ELSE %][% t('No call number') %][% END %]</td> >+ <td>[% IF ( loopro.barcode ) %][% loopro.barcode %][% ELSE %][% t('No barcode') %][% END %]</td> >+ <td><p><a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% loopro.biblionumber %]">[% IF ( loopro.title ) %][% loopro.title %][% ELSE %][% t('NO TITLE') %][% END %]</a> [% IF ( loopro.author ) %] [% t('by') %] [% loopro.author %][% END %]</p> >+ [% IF ( loopro.branch ) %][% t('at') %] [% Branches.GetName( loopro.branch ) %][% END %] > </td> > </tr> > [% END %] > [% ELSE %] >- <tr><td colspan="4">No items for [% looptable.coltitle %]</td> >+ <tr><td colspan="4">[% t('No items for') %] [% looptable.coltitle %]</td> > </tr> > [% END %] > </table> > [% END %] > [% END %] > [% ELSE %] >- <h1>Items with no checkouts</h1> >+ <h1>[% t('Items with no checkouts') %]</h1> > <form method="post" action="/cgi-bin/koha/reports/catalogue_out.pl"> > > <fieldset class="rows"> > <ol> >- <li><label for="branch">Library: </label> >+ <li><label for="branch">[% t('Library:') %] </label> > <select name="Filter" id="branch"> >- <option value="">Any library</option> >+ <option value="">[% t('Any library') %]</option> > [% PROCESS options_for_libraries libraries => Branches.all() %] > </select></li> > <li> >- <label for="documenttype">Item type: </label><select name="Filter" id="documenttype"> >- <option value="">Any item type</option> >+ <label for="documenttype">[% t('Item type:') %] </label><select name="Filter" id="documenttype"> >+ <option value="">[% t('Any item type') %]</option> > [% FOREACH itemtype IN itemtypes %] > <option value="[% itemtype.itemtype %]">[% itemtype.translated_description %]</option> > [% END %] >@@ -106,26 +107,26 @@ > </fieldset> > > <fieldset class="rows"> >- <legend>Limits</legend> >+ <legend>[% t('Limits') %]</legend> > <ol> > <li> >- <label for="numberlimit">Limit to: </label> >+ <label for="numberlimit">[% t('Limit to:') %] </label> > <select name="Limit" id="numberlimit"> >- <option value ="10">10</option> >- <option value ="20">20</option> >- <option value ="50">50</option> >- <option value ="100">100</option> >- <option value ="200">200</option> >- <option value ="300">300</option> >- <option value ="400">400</option> >- <option value ="500">500</option> >- <option value ="1000">1000</option> >+ <option value="10">[% t('10') %]</option> >+ <option value="20">[% t('20') %]</option> >+ <option value="50">[% t('50') %]</option> >+ <option value="100">[% t('100') %]</option> >+ <option value="200">[% t('200') %]</option> >+ <option value="300">[% t('300') %]</option> >+ <option value="400">[% t('400') %]</option> >+ <option value="500">[% t('500') %]</option> >+ <option value="1000">[% t('1000') %]</option> > </select> > </li> >- <li><label for="criteria">By: </label><select name="Criteria" id="criteria"> >- <option value ="" selected="selected">None</option> >- <option value ="homebranch">Library</option> >- <option value ="itype">Item type</option> >+ <li><label for="criteria">[% t('By:') %] </label><select name="Criteria" id="criteria"> >+ <option value="" selected="selected">[% t('None') %]</option> >+ <option value="homebranch">[% t('Library') %]</option> >+ <option value="itype">[% t('Item type') %]</option> > </select></li> > </ol> > </fieldset> >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/catalogue_stats.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/reports/catalogue_stats.tt >index f47b00e2c9..30c3566e45 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/catalogue_stats.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/reports/catalogue_stats.tt >@@ -1,7 +1,8 @@ >+[% PROCESS 'i18n.inc' %] > [% USE Branches %] > [% SET footerjs = 1 %] > [% INCLUDE 'doc-head-open.inc' %] >-<title>Koha › Reports [% IF ( do_it ) %]› Catalog statistics › Results[% ELSE %]› Catalog statistics[% END %]</title> >+<title>[% t('Koha ⺠Reports') %] [% IF ( do_it ) %][% t('⺠Catalog statistics ⺠Results') %][% ELSE %][% t('⺠Catalog statistics') %][% END %]</title> > [% INCLUDE 'doc-head-close.inc' %] > </head> > >@@ -9,7 +10,7 @@ > [% INCLUDE 'header.inc' %] > [% INCLUDE 'cat-search.inc' %] > >-<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> › <a href="/cgi-bin/koha/reports/reports-home.pl">Reports</a> [% IF ( do_it ) %]› <a href="/cgi-bin/koha/reports/catalogue_stats.pl">Catalog statistics</a> › Results[% ELSE %]› Catalog statistics[% END %]</div> >+<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">[% t('Home') %]</a> ⺠<a href="/cgi-bin/koha/reports/reports-home.pl">[% t('Reports') %]</a> [% IF ( do_it ) %]⺠<a href="/cgi-bin/koha/reports/catalogue_stats.pl">[% t('Catalog statistics') %]</a> [% t('⺠Results') %][% ELSE %][% t('⺠Catalog statistics') %][% END %]</div> > > <div id="doc3" class="yui-t2"> > >@@ -19,9 +20,9 @@ > > [% IF ( do_it ) %] > [% FOREACH mainloo IN mainloop %] >- <h1>Catalog statistics</h1> >+ <h1>[% t('Catalog statistics') %]</h1> > [% IF ( mainloo.loopfilter ) %] >- <p>Filtered on:</p> >+ <p>[% t('Filtered on:') %]</p> > [% FOREACH loopfilte IN mainloo.loopfilter %] > <p>[% loopfilte.crit %] =[% loopfilte.filter %]</p> > [% END %] >@@ -33,7 +34,7 @@ > [% FOREACH loopco IN mainloo.loopcol %] > <th>[% loopco.coltitle %]</th> > [% END %] >- <th>TOTAL</th> >+ <th>[% t('TOTAL') %]</th> > </tr> > [% FOREACH loopro IN mainloo.looprow %] > <tr> >@@ -42,7 +43,7 @@ > [% FOREACH loopcel IN loopro.loopcell %] > [% IF ( loopcel.hilighted ) %]<td>[% ELSE %]<td>[% END %] > [% IF ( loopcel.value ) %][% loopcel.value %] >- [% ELSE %] >+ [% ELSE %] > [% END %] > </td> > [% END %] >@@ -52,7 +53,7 @@ > </tr> > [% END %] > <tr> >- <th>TOTAL</th> >+ <th>[% t('TOTAL') %]</th> > [% FOREACH loopfoote IN mainloo.loopfooter %] > <th> > [% loopfoote.totalcol %] >@@ -66,39 +67,39 @@ > > <form method="post" action="/cgi-bin/koha/reports/catalogue_stats.pl"> > <fieldset class="rows"> >- <legend>Catalog statistics</legend> >+ <legend>[% t('Catalog statistics') %]</legend> > <table> > <thead> > <tr> >- <th>Title</th> >- <th>Row</th> >- <th>Column</th> >- <th>Filter</th> >+ <th>[% t('Title') %]</th> >+ <th>[% t('Row') %]</th> >+ <th>[% t('Column') %]</th> >+ <th>[% t('Filter') %]</th> > </tr> > </thead> > <tbody> > <tr> >- <td>Koha full call number</td> >+ <td>[% t('Koha full call number') %]</td> > <td><input type="radio" name="Line" value="items.itemcallnumber" /></td> > <td><input type="radio" name="Column" value="items.itemcallnumber" /></td> >- <td><label for="callnoFrom">From</label> <input type="text" name="Filter" id="callnoFrom" /> <label for="callnoTo">To</label> <input type="text" name="Filter" id="callnoTo" /></td> >+ <td><label for="callnoFrom">[% t('From') %]</label> <input type="text" name="Filter" id="callnoFrom" /> <label for="callnoTo">[% t('To') %]</label> <input type="text" name="Filter" id="callnoTo" /></td> > </tr> > <tr> >- <td> </td> >+ <td> </td> > <td colspan="2"><select name="cotedigits" id="cotedigits"> > <option value=""> </option> >- <option value ="1">1</option> >- <option value ="2">2</option> >- <option value ="3">3</option> >- <option value ="4">4</option> >- <option value ="5">5</option> >+ <option value="1">[% t('1') %]</option> >+ <option value="2">[% t('2') %]</option> >+ <option value="3">[% t('3') %]</option> >+ <option value="4">[% t('4') %]</option> >+ <option value="5">[% t('5') %]</option> > </select> >- <label for="cotedigits">characters</label> >+ <label for="cotedigits">[% t('characters') %]</label> > </td> >- <td> </td> >+ <td> </td> > </tr> > <tr> >- <td>Item type</td> >+ <td>[% t('Item type') %]</td> > <td><input type="radio" name="Line" value="[% item_itype %]" /></td> > <td><input type="radio" name="Column" value="[% item_itype %]" /></td> > <td><select name="Filter" id="[% item_itype %]"> >@@ -110,19 +111,19 @@ > </td> > </tr> > <tr> >- <td>Publisher</td> >+ <td>[% t('Publisher') %]</td> > <td><input type="radio" name="Line" value="publishercode" /></td> > <td><input type="radio" name="Column" value="publishercode" /></td> > <td><input type="text" name="Filter" /></td> > </tr> > <tr> >- <td>Publication year</td> >+ <td>[% t('Publication year') %]</td> > <td><input type="radio" name="Line" value="publicationyear" /></td> > <td><input type="radio" name="Column" value="publicationyear" /></td> >- <td><label for="pubyearFrom">From</label> <input type="text" name="Filter" id="pubYearFrom" /> <label for="pubyearTo">To</label> <input type="text" name="Filter" id="pubyearTo" /></td> >+ <td><label for="pubyearFrom">[% t('From') %]</label> <input type="text" name="Filter" id="pubYearFrom" /> <label for="pubyearTo">[% t('To') %]</label> <input type="text" name="Filter" id="pubyearTo" /></td> > </tr> > <tr> >- <td>Home library</td> >+ <td>[% t('Home library') %]</td> > <td><input type="radio" name="Line" value="items.homebranch" /></td> > <td><input type="radio" name="Column" value="items.homebranch" /></td> > <td><select name="Filter" id="branch"> >@@ -132,7 +133,7 @@ > </td> > </tr> > <tr> >- <td>Shelving location</td> >+ <td>[% t('Shelving location') %]</td> > <td><input type="radio" name="Line" value="items.location" /></td> > <td><input type="radio" name="Column" value="items.location" /></td> > <td><select name="Filter" id="location"> >@@ -144,8 +145,8 @@ > </td> > </tr> > <tr> >- <td>Collection</td> >- <td><input type="radio" name="Line" value="items.ccode" /></td> >+ <td>[% t('Collection') %]</td> >+ <td><input type="radio" name="Line" value="items.ccode" /></td> > <td><input type="radio" name="Column" value="items.ccode" /></td> > <td><select name="Filter" id="ccode"> > <option value=""> </option> >@@ -158,12 +159,12 @@ > [% IF (notforloan) %] > <tr> > <td>[% notforloan_label %]</td> >- <td><input type="radio" name="Line" value="items.notforloan" /></td> >+ <td><input type="radio" name="Line" value="items.notforloan" /></td> > <td><input type="radio" name="Column" value="items.notforloan" /></td> > <td> > [% IF (notforloan_avlist) %] > <select name="Filter" id="notforloan"> >- <option value=""> </option> >+ <option value=""> </option> > [% FOREACH av IN notforloan_avlist %] > <option value="[% av.authorised_value %]"> > [% av.lib %] >@@ -183,12 +184,12 @@ > [% IF (materials) %] > <tr> > <td>[% materials_label %]</td> >- <td><input type="radio" name="Line" value="items.materials" /></td> >+ <td><input type="radio" name="Line" value="items.materials" /></td> > <td><input type="radio" name="Column" value="items.materials" /></td> > <td> > [% IF (materials_avlist) %] > <select name="Filter" id="materials"> >- <option value=""> </option> >+ <option value=""> </option> > [% FOREACH av IN materials_avlist %] > <option value="[% av.authorised_value %]"> > [% av.lib %] >@@ -206,65 +207,65 @@ > </tr> > [% END %] > <tr> >- <td colspan="3">Filter barcode</td> >+ <td colspan="3">[% t('Filter barcode') %]</td> > <td> > <select name="Filter" id="like"> >- <option value="1">like</option> >- <option value="0">not like</option> >+ <option value="1">[% t('like') %]</option> >+ <option value="0">[% t('not like') %]</option> > </select> > <input type="text" name="Filter" id="barcode" /> >- (use * to do a fuzzy search) >+ [% t('(use * to do a fuzzy search)') %] > </td> > </tr> > <tr> >- <td>Date acquired (item)</td> >+ <td>[% t('Date acquired (item)') %]</td> > <td><input type="radio" name="Line" value="items.dateaccessioned" /></td> > <td><input type="radio" name="Column" value="items.dateaccessioned" /></td> > <td> >- <label for="acqdateFrom">From</label> >+ <label for="acqdateFrom">[% t('From') %]</label> > <input type="text" name="Filter" id="acqdateFrom" class="datepicker" /> >- <label for="acqdateTo">To</label> >+ <label for="acqdateTo">[% t('To') %]</label> > <input type="text" name="Filter" id="acqdateTo" class="datepicker" /> > </td> > </tr> > <tr id="removeddatetr"> >- <td>Date deleted (item)</td> >+ <td>[% t('Date deleted (item)') %]</td> > <td><input type="radio" name="Line" value="deleteditems.timestamp" /></td> > <td><input type="radio" name="Column" value="deleteditems.timestamp" /></td> > <td> >- <label for="deldateFrom">From</label> >+ <label for="deldateFrom">[% t('From') %]</label> > <input type="text" name="Filter" id="deldateFrom" class="datepicker" /> >- <label for="deldateTo">To</label> >- <input type="text" name="Filter" id="deldateTo" class="datepicker"/> >+ <label for="deldateTo">[% t('To') %]</label> >+ <input type="text" name="Filter" id="deldateTo" class="datepicker" /> > </td> > </tr> > </tbody> > </table><br /></fieldset> > > <fieldset class="rows"> >- <legend>Cell value</legend> >+ <legend>[% t('Cell value') %]</legend> > <ol> > <li> >- <label for="cellvalue_items">Count total items</label> >+ <label for="cellvalue_items">[% t('Count total items') %]</label> > <input type="radio" name="Cellvalue" value="items" id="cellvalue_items" checked="checked" /> > </li> > <li> >- <label for="cellvalue_biblios">Count unique biblios</label> >+ <label for="cellvalue_biblios">[% t('Count unique biblios') %]</label> > <input type="radio" name="Cellvalue" value="biblios" id="cellvalue_biblios" /> > </li> > <li> >- <label for="cellvalue_deleteditems">Count deleted items</label> >+ <label for="cellvalue_deleteditems">[% t('Count deleted items') %]</label> > <input type="radio" name="Cellvalue" value="deleteditems" id="cellvalue_deleteditems" /> > </li> > </ol> > </fieldset> > > <fieldset class="rows"> >- <legend>Output</legend> >- <ol><li><label for="outputscreen">To screen into the browser: </label><input type="radio" checked="checked" name="output" id="outputscreen" value="screen" /></li> >- <li><label for="outputfile">To a file: </label><input type="radio" name="output" value="file" id="outputfile" /> >- <label class="inline" for="basename">Named: </label><input type="text" name="basename" id="basename" value="Export" /> >- <label class="inline" for="MIME">Into an application: </label> >+ <legend>[% t('Output') %]</legend> >+ <ol><li><label for="outputscreen">[% t('To screen into the browser:') %] </label><input type="radio" checked="checked" name="output" id="outputscreen" value="screen" /></li> >+ <li><label for="outputfile">[% t('To a file:') %] </label><input type="radio" name="output" value="file" id="outputfile" /> >+ <label class="inline" for="basename">[% t('Named:') %] </label><input type="text" name="basename" id="basename" value="Export" /> >+ <label class="inline" for="MIME">[% t('Into an application:') %] </label> > <select name="MIME" id="MIME"> > [% FOREACH CGIextChoic IN CGIextChoice %] > <option value="[% CGIextChoic.type %]">[% CGIextChoic.type %]</option> >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/convert_report.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/reports/convert_report.tt >index f8395d3399..65159eec9f 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/convert_report.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/reports/convert_report.tt >@@ -1,23 +1,24 @@ >+[% PROCESS 'i18n.inc' %] > [% INCLUDE 'doc-head-open.inc' %] >- <title>Koha › Reports › Convert report</title> >+ <title>[% t('Koha ⺠Reports ⺠Convert report') %]</title> > <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> > </head> > <body id="rep_report_convert" class="rep"> > <div> > [% IF msg == 'no_report' %] >- There is no valid report for this id. >+ [% t('There is no valid report for this id.') %] > [% ELSIF msg == 'can_be_updated' %] > <div id="col1"> >- <h3>Existing SQL</h3> >+ <h3>[% t('Existing SQL') %]</h3> > <span class="show_sql">[% current_sql | html_entity %]</span> > </div> > > <div id="col2"> >- <h3>Updated SQL</h3> >+ <h3>[% t('Updated SQL') %]</h3> > <span class="show_sql">[% updated_sql | html_entity %]</span> > </div> > [% ELSE %] >- Something went wrong. >+ [% t('Something went wrong.') %] > [% END %] > </div> > </body> >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/csv/cash_register_stats.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/reports/csv/cash_register_stats.tt >index 553eaa72cd..ca88731de2 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/csv/cash_register_stats.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/reports/csv/cash_register_stats.tt >@@ -1,3 +1,4 @@ >+[% PROCESS 'i18n.inc' %] > [%- USE ItemTypes -%] > [%- INCLUDE csv_headers/reports/cash_register_stats.tt -%] > [%- INCLUDE empty_line.inc -%] >@@ -5,5 +6,5 @@ > [%- FOREACH field IN row; field IF !loop.last; ItemTypes.GetDescription(field) IF loop.last; sep IF !loop.last; END -%] > [%- INCLUDE empty_line.inc -%] > [%- END -%] >-TOTAL[%- INCLUDE empty_line.inc -%] >+[% t('TOTAL') %][%- INCLUDE empty_line.inc -%] > [%- FOREACH field IN total; field; sep IF !loop.last; END -%] >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/csv/orders_by_budget.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/reports/csv/orders_by_budget.tt >index d67ca95f25..69a9782cd6 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/csv/orders_by_budget.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/reports/csv/orders_by_budget.tt >@@ -1,8 +1,9 @@ >+[% PROCESS 'i18n.inc' %] > [%- INCLUDE csv_headers/reports/orders_by_budget.tt -%] > [%- INCLUDE empty_line.inc -%] > [%- FOREACH row IN rows -%] > [%- FOREACH field IN row; field; sep IF !loop.last; END -%] > [%- INCLUDE empty_line.inc -%] > [%- END -%] >-TOTAL[%- INCLUDE empty_line.inc -%] >+[% t('TOTAL') %][%- INCLUDE empty_line.inc -%] > [%- FOREACH field IN totalrow; field; sep IF !loop.last; END -%] >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/dictionary.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/reports/dictionary.tt >index b3958f2638..31178d64e8 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/dictionary.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/reports/dictionary.tt >@@ -1,6 +1,7 @@ >+[% PROCESS 'i18n.inc' %] > [% SET footerjs = 1 %] > [% INCLUDE 'doc-head-open.inc' %] >-<title>Koha › Reports › Guided reports › Dictionary</title> >+<title>[% t('Koha ⺠Reports ⺠Guided reports ⺠Dictionary') %]</title> > [% INCLUDE 'doc-head-close.inc' %] > <style type="text/css">fieldset.rows table { clear: none; margin: 0;}</style> > </head> >@@ -11,21 +12,21 @@ > > [%- BLOCK area_name -%] > [%- SWITCH area -%] >- [%- CASE 'CIRC' -%]Circulation >- [%- CASE 'CAT' -%]Catalog >- [%- CASE 'PAT' -%]Patrons >- [%- CASE 'ACQ' -%]Acquisitions >- [%- CASE 'ACC' -%]Accounts >+ [%- CASE 'CIRC' -%][% t('Circulation') %] >+ [%- CASE 'CAT' -%][% t('Catalog') %] >+ [%- CASE 'PAT' -%][% t('Patrons') %] >+ [%- CASE 'ACQ' -%][% t('Acquisitions') %] >+ [%- CASE 'ACC' -%][% t('Accounts') %] > [%- END -%] > [%- END -%] > >-<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> › <a href="/cgi-bin/koha/reports/reports-home.pl">Reports</a> › <a href="/cgi-bin/koha/reports/guided_reports.pl">Guided reports wizard</a> >-[% IF ( new_dictionary ) %] › <a href="/cgi-bin/koha/reports/dictionary.pl">Dictionary</a> › <strong>Name the new definition</strong> >-[% ELSIF ( step_2 ) %] › <a href="/cgi-bin/koha/reports/dictionary.pl">Dictionary</a> › <strong>Step 2: Choose the area </strong> >-[% ELSIF ( step_3 ) %] › <a href="/cgi-bin/koha/reports/dictionary.pl">Dictionary</a> › <strong>Step 3: Choose a column </strong> >-[% ELSIF ( step_4 ) %] › <a href="/cgi-bin/koha/reports/dictionary.pl">Dictionary</a> › <strong>Step 4: Specify a value </strong> >-[% ELSIF ( step_5 ) %] › <a href="/cgi-bin/koha/reports/dictionary.pl">Dictionary</a> › <strong>Step 5: Confirm definition</strong> >-[% ELSE %] › <strong> Dictionary </strong>[% END %]</div> >+<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">[% t('Home') %]</a> ⺠<a href="/cgi-bin/koha/reports/reports-home.pl">[% t('Reports') %]</a> ⺠<a href="/cgi-bin/koha/reports/guided_reports.pl">[% t('Guided reports wizard') %]</a> >+[% IF ( new_dictionary ) %] ⺠<a href="/cgi-bin/koha/reports/dictionary.pl">[% t('Dictionary') %]</a> ⺠<strong>[% t('Name the new definition') %]</strong> >+[% ELSIF ( step_2 ) %] ⺠<a href="/cgi-bin/koha/reports/dictionary.pl">[% t('Dictionary') %]</a> ⺠<strong>[% t('Step 2: Choose the area') %] </strong> >+[% ELSIF ( step_3 ) %] ⺠<a href="/cgi-bin/koha/reports/dictionary.pl">[% t('Dictionary') %]</a> ⺠<strong>[% t('Step 3: Choose a column') %] </strong> >+[% ELSIF ( step_4 ) %] ⺠<a href="/cgi-bin/koha/reports/dictionary.pl">[% t('Dictionary') %]</a> ⺠<strong>[% t('Step 4: Specify a value') %] </strong> >+[% ELSIF ( step_5 ) %] ⺠<a href="/cgi-bin/koha/reports/dictionary.pl">[% t('Dictionary') %]</a> ⺠<strong>[% t('Step 5: Confirm definition') %]</strong> >+[% ELSE %] ⺠<strong> [% t('Dictionary') %] </strong>[% END %]</div> > > <div id="doc3" class="yui-t2"> > >@@ -34,21 +35,21 @@ > <div class="yui-b"> > [% IF ( start_dictionary ) %] > <div id="toolbar"> >- <a id="newdictionary" class="btn btn-default btn-sm" href="/cgi-bin/koha/reports/dictionary.pl?phase=Add%20New%20Definition"><i class="fa fa-plus"></i> New definition</a> >+ <a id="newdictionary" class="btn btn-default btn-sm" href="/cgi-bin/koha/reports/dictionary.pl?phase=Add%20New%20Definition"><i class="fa fa-plus"></i> [% t('New definition') %]</a> > </div> > [% END %] >-<h1>Dictionary</h1> >+<h1>[% t('Dictionary') %]</h1> > [% IF ( start_dictionary ) %] >- <p>Use the dictionary to define custom criteria for reporting.</p> >+ <p>[% t('Use the dictionary to define custom criteria for reporting.') %]</p> > > [% IF ( definitions ) %] >- <h2>Current terms</h2> >+ <h2>[% t('Current terms') %]</h2> > <form action="/cgi-bin/koha/reports/dictionary.pl" method="post"> > <input type="hidden" name="phase" value="View Dictionary" /> > [% IF ( areas ) %] >- Filter by area >+ [% t('Filter by area') %] > <select name="area"> >- <option value="">All</option> >+ <option value="">[% t('All') %]</option> > [% FOREACH area IN areas %] > [%- IF ( area.selected ) -%] > <option value="[% area.id %]" selected="selected">[%- PROCESS area_name area=area.id -%]</option> >@@ -63,11 +64,11 @@ > <br /> > <table> > <tr> >- <th>Name</th> >- <th>Description</th> >- <th>Area</th> >- <th>Definition</th> >- <th>Action</th> >+ <th>[% t('Name') %]</th> >+ <th>[% t('Description') %]</th> >+ <th>[% t('Area') %]</th> >+ <th>[% t('Definition') %]</th> >+ <th>[% t('Action') %]</th> > </tr> > [% FOREACH definition IN definitions %] > <tr> >@@ -78,26 +79,26 @@ > <td class="actions"><form method="post" action="/cgi-bin/koha/reports/dictionary.pl"> > <input type="hidden" name="id" value="[% definition.id %]" /> > <input type="hidden" name="phase" value="Delete Definition" /> >- <button type="submit" name="submit" class="btn btn-default btn-xs" id="delete"><i class="fa fa-trash"></i> Delete</button> >+ <button type="submit" name="submit" class="btn btn-default btn-xs" id="delete"><i class="fa fa-trash"></i> [% t('Delete') %]</button> > </form></td> > </tr> > [% END %] > </table> > [% ELSE %] >- <div class="dialog message">There are no saved definitions. <a id="newdictionary" href="/cgi-bin/koha/reports/dictionary.pl?phase=Add%20New%20Definition">Add a definition to the dictionary.</a></div> >+ <div class="dialog message">[% t('There are no saved definitions.') %] <a id="newdictionary" href="/cgi-bin/koha/reports/dictionary.pl?phase=Add%20New%20Definition">[% t('Add a definition to the dictionary.') %]</a></div> > [% END %] > [% END %] > > [% IF ( new_dictionary ) %] >-<h3>Add new definition</h3> >+<h3>[% t('Add new definition') %]</h3> > <form action="/cgi-bin/koha/reports/dictionary.pl" method="post"> >-<fieldset class="rows"><legend>Step 1 of 5: Name the new definition</legend><ol> >+<fieldset class="rows"><legend>[% t('Step 1 of 5: Name the new definition') %]</legend><ol> > <li> >-<label for="definition_name">Definition name:</label> >+<label for="definition_name">[% t('Definition name:') %]</label> > <input type="text" id="definition_name" name="definition_name" /> > </li> > <li> >-<label for="definition_description">Definition description:</label> >+<label for="definition_description">[% t('Definition description:') %]</label> > <textarea name="definition_description" id="definition_description" rows="3" cols="20"></textarea> > </li> > </ol></fieldset> >@@ -108,16 +109,16 @@ > [% END %] > > [%- IF ( step_2 ) -%] >-<h3>Add new definition</h3> >+<h3>[% t('Add new definition') %]</h3> > <form action="/cgi-bin/koha/reports/dictionary.pl" method="post"> > <fieldset class="rows"> >- <legend>Step 2 of 5: Choose the area</legend> >+ <legend>[% t('Step 2 of 5: Choose the area') %]</legend> > <ol> > <li> > <input type="hidden" name="phase" value="New Term step 3" /> > <input type="hidden" name="definition_name" value="[% definition_name | html %]" /> > <input type="hidden" name="definition_description" value="[% definition_description | html %]" /> >- <label for="area">Select table:</label><select name="area" id="area"> >+ <label for="area">[% t('Select table:') %]</label><select name="area" id="area"> > [%- FOREACH area IN areas -%] > <option value="[%- area.id -%]">[%- PROCESS area_name area=area.id -%]</option> > [%- END -%] >@@ -130,10 +131,10 @@ > [%- END -%] > > [% IF ( step_3 ) %] >-<h3>Add new definition</h3> >+<h3>[% t('Add new definition') %]</h3> > <form action="/cgi-bin/koha/reports/dictionary.pl" method="post"> > <fieldset class="rows"> >-<legend>Step 3 of 5: Choose a column</legend> >+<legend>[% t('Step 3 of 5: Choose a column') %]</legend> > <input type="hidden" name="area" value="[% area %]" /> > <input type="hidden" name="definition_name" value="[% definition_name | html %]" /> > <input type="hidden" name="definition_description" value="[% definition_description | html %]" /> >@@ -166,10 +167,10 @@ > [% END %] > > [% IF ( step_4 ) %] >-<h3>Add new definition</h3> >+<h3>[% t('Add new definition') %]</h3> > <form action="/cgi-bin/koha/reports/dictionary.pl" method="post"> > <fieldset class="rows"> >-<legend>Step 4 of 5: Specify a value</legend> >+<legend>[% t('Step 4 of 5: Specify a value') %]</legend> > <input type="hidden" name="area" value="[% area %]" /> > <input type="hidden" name="definition_name" value="[% definition_name | html %]" /> > <input type="hidden" name="definition_description" value="[% definition_description | html %]" /> >@@ -177,9 +178,9 @@ > > [% FOREACH column IN columns %] > <input type="hidden" name="criteria_column" value="[% column.name %]" /> >-<ol><li><span class="label">Column: </span> [% column.name %]</li> >+<ol><li><span class="label">[% t('Column:') %] </span> [% column.name %]</li> > [% IF ( column.distinct ) %] >- <li><label for="[% column.name %]_value">Choose: </label> <select id="[% column.name %]_value" name="[% column.name %]_value"> >+ <li><label for="[% column.name %]_value">[% t('Choose:') %] </label> <select id="[% column.name %]_value" name="[% column.name %]_value"> > [% FOREACH value IN column.values %] > <option value="[% value.availablevalues %]">[% value.availablevalues %]</option> > [% END %] >@@ -187,22 +188,22 @@ > [% END %] > [% IF ( column.date ) %] > <li class="radio"> >- <label for="all_dates">All dates</label> >+ <label for="all_dates">[% t('All dates') %]</label> > <input type="radio" id="all_dates" name="[% column.name %]_date_type_value" value="all" checked="checked" /> >- <label for="date_range">Date range</label> >+ <label for="date_range">[% t('Date range') %]</label> > <input type="radio" id="date_range" name="[% column.name %]_date_type_value" value="range" /> > </li> > <li class="radio"> >- Start of date range >+ [% t('Start of date range') %] > <input type="text" size="10" id="from" name="[% column.name %]_start_value" value="" class="datepickerfrom" /> > <div class="hint">[% INCLUDE 'date-format.inc' %]</div> >- End of date range >+ [% t('End of date range') %] > <input type="text" size="10" id="to" name="[% column.name %]_end_value" value="" class="datepickerto" /> > <div class="hint">[% INCLUDE 'date-format.inc' %]</div> > </li> > [% END %] > [% IF ( column.text ) %] >- <li><label for="[% column.name %]_value">Search string matches: </label> <input type="text" size="13" name="[% column.name %]_value" /></li> >+ <li><label for="[% column.name %]_value">[% t('Search string matches:') %] </label> <input type="text" size="13" name="[% column.name %]_value" /></li> > [% END %] > > [% END %] >@@ -222,26 +223,26 @@ > <input type="hidden" name="definition_description" value="[% definition_description | html %]" /> > <input type="hidden" name="columnstring" value="[% columnstring %]" /> > >-<h3>Add new definition</h3> >+<h3>[% t('Add new definition') %]</h3> > > <fieldset class="rows"> >- <legend>Step 5 of 5: Confirm details</legend> >+ <legend>[% t('Step 5 of 5: Confirm details') %]</legend> > <ol> > <li> >- <span class="label">Name:</span>[%- definition_name | html -%] >+ <span class="label">[% t('Name:') %]</span>[%- definition_name | html -%] > </li> > <li> >- <span class="label">Description:</span>[%- definition_description | html -%] >+ <span class="label">[% t('Description:') %]</span>[%- definition_description | html -%] > </li> > <li> >- <span class="label">Area:</span>[%- PROCESS area_name area=area -%] >+ <span class="label">[% t('Area:') %]</span>[%- PROCESS area_name area=area -%] > </li> > <li> >- <span class="label">Data:</span> >+ <span class="label">[% t('Data:') %]</span> > <table> > <tr> >- <th>Columns</th> >- <th>Values</th> >+ <th>[% t('Columns') %]</th> >+ <th>[% t('Values') %]</th> > </tr> > [%- FOREACH criteria_loo IN criteria_loop -%] > <tr> >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/guided_reports_start.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/reports/guided_reports_start.tt >index 86c17e8893..6bd3bfcdeb 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/guided_reports_start.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/reports/guided_reports_start.tt >@@ -1,3 +1,4 @@ >+[% PROCESS 'i18n.inc' %] > [% USE Asset %] > [% USE KohaDates %] > [% USE Koha %] >@@ -5,29 +6,29 @@ > [% SET footerjs = 1 %] > [%- BLOCK area_name -%] > [%- SWITCH area -%] >- [%- CASE 'CIRC' -%]Circulation >- [%- CASE 'CAT' -%]Catalog >- [%- CASE 'PAT' -%]Patrons >- [%- CASE 'ACQ' -%]Acquisitions >- [%- CASE 'ACC' -%]Accounts >- [%- CASE 'SER' -%]Serials >+ [%- CASE 'CIRC' -%][% t('Circulation') %] >+ [%- CASE 'CAT' -%][% t('Catalog') %] >+ [%- CASE 'PAT' -%][% t('Patrons') %] >+ [%- CASE 'ACQ' -%][% t('Acquisitions') %] >+ [%- CASE 'ACC' -%][% t('Accounts') %] >+ [%- CASE 'SER' -%][% t('Serials') %] > [%- END -%] > [%- END -%] > > [% INCLUDE 'doc-head-open.inc' %] > >-<title>Koha › Reports › Guided reports wizard [%- IF ( saved1 ) -%]› Saved reports >-[%- ELSIF ( create ) -%]› Create from SQL >-[%- ELSIF ( showsql ) -%]› Saved reports › SQL view >-[%- ELSIF ( execute ) -%]› Saved reports › [% name %] Report >-[%- ELSIF ( editsql ) -%]› Saved reports › Edit SQL report >+<title>[% t('Koha ⺠Reports ⺠Guided reports wizard') %] [%- IF ( saved1 ) -%][% t('⺠Saved reports') %] >+[%- ELSIF ( create ) -%][% t('⺠Create from SQL') %] >+[%- ELSIF ( showsql ) -%][% t('⺠Saved reports ⺠SQL view') %] >+[%- ELSIF ( execute ) -%][% t('⺠Saved reports âº') %] [% name %] [% t('Report') %] >+[%- ELSIF ( editsql ) -%][% t('⺠Saved reports ⺠Edit SQL report') %] > [%- END -%] >-[%- IF ( build1 ) -%]› Build a report, step 1 of 6: Choose a module >-[%- ELSIF ( build2 ) -%]› Build a report, step 2 of 6: Pick a report type >-[%- ELSIF ( build3 ) -%]› Build a report, step 3 of 6: Select columns for display >-[%- ELSIF ( build4 ) -%]› Build a report, step 4 of 6: Select criteria to limit on >-[%- ELSIF ( build5 ) -%]› Build a report, step 5 of 6: Pick which columns to total >-[%- ELSIF ( build6 ) -%]› Build a report, step 6 of 6: Select how you want the report ordered >+[%- IF ( build1 ) -%][% t('⺠Build a report, step 1 of 6: Choose a module') %] >+[%- ELSIF ( build2 ) -%][% t('⺠Build a report, step 2 of 6: Pick a report type') %] >+[%- ELSIF ( build3 ) -%][% t('⺠Build a report, step 3 of 6: Select columns for display') %] >+[%- ELSIF ( build4 ) -%][% t('⺠Build a report, step 4 of 6: Select criteria to limit on') %] >+[%- ELSIF ( build5 ) -%][% t('⺠Build a report, step 5 of 6: Pick which columns to total') %] >+[%- ELSIF ( build6 ) -%][% t('⺠Build a report, step 6 of 6: Select how you want the report ordered') %] > [%- END -%]</title> > > [% INCLUDE 'doc-head-close.inc' %] >@@ -59,22 +60,22 @@ > [% INCLUDE 'header.inc' %] > [% INCLUDE 'circ-search.inc' %] > >-<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> >-› <a href="/cgi-bin/koha/reports/reports-home.pl">Reports</a> >-› <a href="/cgi-bin/koha/reports/guided_reports.pl">Guided reports wizard</a> >- >-[% IF ( saved1 ) %]› Saved reports >-[% ELSIF ( create ) %]› Create from SQL >-[% ELSIF ( showsql ) %]› <a href="/cgi-bin/koha/reports/guided_reports.pl?phase=Use%20saved">Saved reports</a> › SQL view >-[% ELSIF ( editsql ) %]› <a href="/cgi-bin/koha/reports/guided_reports.pl?phase=Use%20saved">Saved reports</a> › Edit SQL report >-[% ELSIF ( execute ) %]› <a href="/cgi-bin/koha/reports/guided_reports.pl?phase=Use%20saved">Saved reports</a> › <em>[% name %]</em> Report >-[% ELSIF ( build1 || build2 || build3 || build4 || build5 || build6 ) %]› <a href="/cgi-bin/koha/reports/guided_reports.pl?phase=Build%20new">Build a report</a> >- [% IF ( build1 ) %]› Step 1 of 6: Choose a module >- [% ELSIF ( build2 ) %]› Step 2 of 6: Pick a report type >- [% ELSIF ( build3 ) %]› Step 3 of 6: Select columns for display >- [% ELSIF ( build4 ) %]› Step 4 of 6: Select criteria to limit on >- [% ELSIF ( build5 ) %]› Step 5 of 6: Pick which columns to total >- [% ELSIF ( build6 ) %]› Step 6 of 6: Select how you want the report ordered >+<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">[% t('Home') %]</a> >+⺠<a href="/cgi-bin/koha/reports/reports-home.pl">[% t('Reports') %]</a> >+⺠<a href="/cgi-bin/koha/reports/guided_reports.pl">[% t('Guided reports wizard') %]</a> >+ >+[% IF ( saved1 ) %][% t('⺠Saved reports') %] >+[% ELSIF ( create ) %][% t('⺠Create from SQL') %] >+[% ELSIF ( showsql ) %]⺠<a href="/cgi-bin/koha/reports/guided_reports.pl?phase=Use%20saved">[% t('Saved reports') %]</a> [% t('⺠SQL view') %] >+[% ELSIF ( editsql ) %]⺠<a href="/cgi-bin/koha/reports/guided_reports.pl?phase=Use%20saved">[% t('Saved reports') %]</a> [% t('⺠Edit SQL report') %] >+[% ELSIF ( execute ) %]⺠<a href="/cgi-bin/koha/reports/guided_reports.pl?phase=Use%20saved">[% t('Saved reports') %]</a> ⺠<em>[% name %]</em> [% t('Report') %] >+[% ELSIF ( build1 || build2 || build3 || build4 || build5 || build6 ) %]⺠<a href="/cgi-bin/koha/reports/guided_reports.pl?phase=Build%20new">[% t('Build a report') %]</a> >+ [% IF ( build1 ) %][% t('⺠Step 1 of 6: Choose a module') %] >+ [% ELSIF ( build2 ) %][% t('⺠Step 2 of 6: Pick a report type') %] >+ [% ELSIF ( build3 ) %][% t('⺠Step 3 of 6: Select columns for display') %] >+ [% ELSIF ( build4 ) %][% t('⺠Step 4 of 6: Select criteria to limit on') %] >+ [% ELSIF ( build5 ) %][% t('⺠Step 5 of 6: Pick which columns to total') %] >+ [% ELSIF ( build6 ) %][% t('⺠Step 6 of 6: Select how you want the report ordered') %] > [% END %] > [% END %] > </div> >@@ -84,14 +85,14 @@ > <div class="modal-content"> > <div class="modal-header"> > <button type="button" class="closebtn" data-dismiss="modal" aria-hidden="true">Ã</button> >- <h3 id="update_sql_label">Update SQL</h3> >+ <h3 id="update_sql_label">[% t('Update SQL') %]</h3> > </div> > <div class="modal-body"> >- <div id="loading"> <img src="[% interface %]/[% theme %]/img/spinner-small.gif" alt="" /> Loading </div> >+ <div id="loading"> <img src="[% interface %]/[% theme %]/img/spinner-small.gif" alt="" /> [% t('Loading') %] </div> > </div> > <div class="modal-footer"> >- <a href="#" class="btn btn-default" id="update_sql_button" role="button" data-toggle="modal">Update</a> >- <button class="btn btn-default" data-dismiss="modal" aria-hidden="true">Close</button> >+ <a href="#" class="btn btn-default" id="update_sql_button" role="button" data-toggle="modal">[% t('Update') %]</a> >+ <button class="btn btn-default" data-dismiss="modal" aria-hidden="true">[% t('Close') %]</button> > </div> > </div> > </div> >@@ -104,59 +105,59 @@ > [% INCLUDE "reports-toolbar.inc" %] > > [% IF ( start ) %] >- <h2>Guided reports</h2> >- <p>Use the guided reports engine to create non standard reports. >-This feature aims to provide some middle ground between the built in >-canned reports and writing custom SQL reports.</p> >+ <h2>[% t('Guided reports') %]</h2> >+ <p>[% t('Use the guided reports engine to create non standard reports.') %] >+[% t('This feature aims to provide some middle ground between the built in') %] >+[% t('canned reports and writing custom SQL reports.') %]</p> > >- <h3>Build and run reports</h3> >+ <h3>[% t('Build and run reports') %]</h3> > [% IF ( CAN_user_reports_create_reports ) %] > <form action="/cgi-bin/koha/reports/guided_reports.pl"> > <input type="hidden" name="phase" value="Build new" /> >- <input type="submit" name="submit" value="Build new"/> >+ <input type="submit" name="submit" value="Build new" /> > </form> > [% END %] > [% IF ( CAN_user_reports_execute_reports ) %] > <form action="/cgi-bin/koha/reports/guided_reports.pl"> >- <input type="hidden" name="phase" value="Use saved"/> >- <input type="submit" name="submit" value="Use saved"/> >+ <input type="hidden" name="phase" value="Use saved" /> >+ <input type="submit" name="submit" value="Use saved" /> > </form> > [% END %] > [% IF ( CAN_user_reports_create_reports ) %] > <form action="/cgi-bin/koha/reports/guided_reports.pl"> >- <input type="hidden" name="phase" value="Create report from SQL"/> >- <input type="submit" name="submit" value="Create report from SQL"/> >+ <input type="hidden" name="phase" value="Create report from SQL" /> >+ <input type="submit" name="submit" value="Create report from SQL" /> > </form> > [% END %] >-<h3>Reports Dictionary</h3> >-<p>Use the reports dictionary to define custom criteria to use in your reports</p> >+<h3>[% t('Reports Dictionary') %]</h3> >+<p>[% t('Use the reports dictionary to define custom criteria to use in your reports') %]</p> > <form action="/cgi-bin/koha/reports/dictionary.pl"> >-<input type="hidden" name="phase" value="View Dictionary"/> >-<input type="submit" name="submit" value="View dictionary"/> >+<input type="hidden" name="phase" value="View Dictionary" /> >+<input type="submit" name="submit" value="View dictionary" /> > </form> > [% END %] > > [% IF report_converted %] > <div class="dialog message"> >- The report "[% report_converted %]" has been converted. >+ [% t('The report "') %][% report_converted %][% t('" has been converted.') %] > </div> > [% END %] > > [% IF ( saved1 ) %] >-[% IF ( savedreports ) %]<h1>Saved reports</h1> >+[% IF ( savedreports ) %]<h1>[% t('Saved reports') %]</h1> > > <div id="tabs" class="toptabs"> > <ul> >- <li><a href="#reports">All</a></li> >+ <li><a href="#reports">[% t('All') %]</a></li> > [% FOREACH group IN groups_with_subgroups %] > <li><a id="[% group.id %]" href="#reports">[% group.name %]</a></li> > [% END %] > </ul> > <div id="reports"> > <div id="subgroup_filter_block"> >- <label for="subgroup_filter">Subgroup:</label> >+ <label for="subgroup_filter">[% t('Subgroup:') %]</label> > <select id="subgroup_filter"> >- <option value="">All</option> >+ <option value="">[% t('All') %]</option> > </select> > </div> > <form action="/cgi-bin/koha/reports/guided_reports.pl" id="reports_form" method="post"> >@@ -164,23 +165,23 @@ canned reports and writing custom SQL reports.</p> > <table id="table_reports"> > <thead> > <tr> >- <th> </th> >- <th>ID</th> >- <th>Report name</th> >- <th>Type</th> >- <th>Group</th> >- <th>Subgroup</th> >- <th>Notes</th> >- <th>Author</th> >- <th class="title-string">Creation date</th> >- <th class="title-string">Last edit</th> >- <th class="title-string">Last run</th> >- <th class="report_public">Public</th> >- <th class="report_json_url">JSON URL</th> >- [% IF (usecache) %] <th>Cache expiry (seconds)</th> [% END %] >- <th>Saved results</th> >- [% IF has_obsolete_reports %]<th>Update</th>[% END %] >- <th>Actions</th> >+ <th> </th> >+ <th>[% t('ID') %]</th> >+ <th>[% t('Report name') %]</th> >+ <th>[% t('Type') %]</th> >+ <th>[% t('Group') %]</th> >+ <th>[% t('Subgroup') %]</th> >+ <th>[% t('Notes') %]</th> >+ <th>[% t('Author') %]</th> >+ <th class="title-string">[% t('Creation date') %]</th> >+ <th class="title-string">[% t('Last edit') %]</th> >+ <th class="title-string">[% t('Last run') %]</th> >+ <th class="report_public">[% t('Public') %]</th> >+ <th class="report_json_url">[% t('JSON URL') %]</th> >+ [% IF (usecache) %] <th>[% t('Cache expiry (seconds)') %]</th> [% END %] >+ <th>[% t('Saved results') %]</th> >+ [% IF has_obsolete_reports %]<th>[% t('Update') %]</th>[% END %] >+ <th>[% t('Actions') %]</th> > </tr> > </thead> > <tbody> >@@ -209,30 +210,30 @@ canned reports and writing custom SQL reports.</p> > <td><span title="[% savedreport.last_run %]">[% savedreport.last_run | $KohaDates with_hours => 1 %]</span></td> > <td class="report_public"> > [% IF (savedreport.public) %] >- Yes >+ [% t('Yes') %] > [% ELSE %] >- No >+ [% t('No') %] > [% END %] > </td> > <td class="report_json_url"> > [% IF (savedreport.public) %] >- <a href="[% OPACBaseURL %]/cgi-bin/koha/svc/report?id=[% savedreport.id | uri %]">[% OPACBaseURL %]/cgi-bin/koha/svc/report?id=[% savedreport.id | html %]</a> >+ <a href="[% OPACBaseURL %]/cgi-bin/koha/svc/report?id=[% savedreport.id | uri %]">[% OPACBaseURL %][% t('/cgi-bin/koha/svc/report?id=') %][% savedreport.id | html %]</a> > [% ELSE %] >- <a href="/cgi-bin/koha/svc/report?id=[% savedreport.id | uri %]">[% Koha.Preference('staffClientBaseURL') %]/cgi-bin/koha/svc/report?id=[% savedreport.id | html %]</a> >+ <a href="/cgi-bin/koha/svc/report?id=[% savedreport.id | uri %]">[% Koha.Preference('staffClientBaseURL') %][% t('/cgi-bin/koha/svc/report?id=') %][% savedreport.id | html %]</a> > [% END %] > </td> > [% IF (usecache) %] <td>[% savedreport.cache_expiry %]</td> [% END %] > <td> > [% FOR result IN savedreport.results %] >- <a href="/cgi-bin/koha/reports/guided_reports.pl?phase=retrieve%20results&id=[% result.id %]">[% result.date_run %]</a> >- <br/> >+ <a href="/cgi-bin/koha/reports/guided_reports.pl?phase=retrieve%20results&id=[% result.id %]">[% result.date_run %]</a> >+ <br /> > [% END %] > </td> > [% IF has_obsolete_reports %] > <td> > [% IF savedreport.seems_obsolete %] >- This report seems obsolete, it uses biblioitems.marcxml field. >- <a href="/cgi-bin/koha/svc/convert_report?report_id=[% savedreport.id %]" data-report_id="[% savedreport.id %]" class="update_sql btn btn-default btn-xs" title="Update SQL"><i class="fa fa-eye"></i> Update SQL</a> >+ [% t('This report seems obsolete, it uses biblioitems.marcxml field.') %] >+ <a href="/cgi-bin/koha/svc/convert_report?report_id=[% savedreport.id %]" data-report_id="[% savedreport.id %]" class="update_sql btn btn-default btn-xs" title="[% t('Update SQL') %]"><i class="fa fa-eye"></i> [% t('Update SQL') %]</a> > [% END %] > </td> > [% END %] >@@ -240,20 +241,16 @@ canned reports and writing custom SQL reports.</p> > <div class="dropup"> > <div class="btn-group"> > [%# There should be no space between these two buttons, it would render badly %] >- <a class="btn btn-default btn-xs" role="button" >- href="/cgi-bin/koha/reports/guided_reports.pl?reports=[% savedreport.id %]&phase=Run%20this%20report"><i >- class="fa fa-play"></i> Run</a><a >- class="btn btn-default btn-xs dropdown-toggle" id="reportactions[% savedreport.id %]" role="button" data-toggle="dropdown" >- href="#"><b class="caret"></b></a> >+ <a class="btn btn-default btn-xs" role="button" href="/cgi-bin/koha/reports/guided_reports.pl?reports=[% savedreport.id %]&phase=Run%20this%20report"><i class="fa fa-play"></i> [% t('Run') %]</a><a class="btn btn-default btn-xs dropdown-toggle" id="reportactions[% savedreport.id %]" role="button" data-toggle="dropdown" href="#"><b class="caret"></b></a> > <ul class="dropdown-menu pull-right" role="menu" aria-labelledby="reportactions[% savedreport.id %]"> >- <li><a href="/cgi-bin/koha/reports/guided_reports.pl?reports=[% savedreport.id %]&phase=Show%20SQL"><i class="fa fa-search"></i> Show</a></li> >+ <li><a href="/cgi-bin/koha/reports/guided_reports.pl?reports=[% savedreport.id %]&phase=Show%20SQL"><i class="fa fa-search"></i> [% t('Show') %]</a></li> > [% IF ( CAN_user_reports_create_reports ) %] >- <li><a href="/cgi-bin/koha/reports/guided_reports.pl?reports=[% savedreport.id %]&phase=Edit%20SQL"><i class="fa fa-pencil"></i> Edit</a></li> >- <li><a title="Duplicate this saved report" href="/cgi-bin/koha/reports/guided_reports.pl?phase=Create report from SQL&sql=[% savedreport.savedsql |uri %]&reportname=[% savedreport.report_name |uri %]&notes=[% savedreport.notes |uri %]"><i class="fa fa-copy"></i> Duplicate</a></li> >+ <li><a href="/cgi-bin/koha/reports/guided_reports.pl?reports=[% savedreport.id %]&phase=Edit%20SQL"><i class="fa fa-pencil"></i> [% t('Edit') %]</a></li> >+ <li><a title="[% t('Duplicate this saved report') %]" href="/cgi-bin/koha/reports/guided_reports.pl?phase=Create report from SQL&sql=[% savedreport.savedsql |uri %]&reportname=[% savedreport.report_name |uri %]¬es=[% savedreport.notes |uri %]"><i class="fa fa-copy"></i> [% t('Duplicate') %]</a></li> > [% END %] >- <li><a href="/cgi-bin/koha/tools/scheduler.pl?id=[% savedreport.id %]"><i class="fa fa-clock-o"></i> Schedule</a></li> >+ <li><a href="/cgi-bin/koha/tools/scheduler.pl?id=[% savedreport.id %]"><i class="fa fa-clock-o"></i> [% t('Schedule') %]</a></li> > [% IF ( CAN_user_reports_delete_reports ) %] >- <li><a class="confirmdelete" title="Delete this saved report" href="/cgi-bin/koha/reports/guided_reports.pl?reports=[% savedreport.id %]&phase=Delete%20Saved"><i class="fa fa-trash"></i> Delete</a></li> >+ <li><a class="confirmdelete" title="[% t('Delete this saved report') %]" href="/cgi-bin/koha/reports/guided_reports.pl?reports=[% savedreport.id %]&phase=Delete%20Saved"><i class="fa fa-trash"></i> [% t('Delete') %]</a></li> > [% END %] > </ul> > </div> >@@ -273,30 +270,30 @@ canned reports and writing custom SQL reports.</p> > </div> > [% ELSE %]<div class="dialog message"> > [% IF (filter_set || filters.date || filters.author || filters.keyword) %] >- <h4>No saved reports match your criteria. </h4> >+ <h4>[% t('No saved reports match your criteria.') %] </h4> > [% IF ( CAN_user_reports_create_reports ) %] > <form action="/cgi-bin/koha/reports/guided_reports.pl" method="get"> > <input type="hidden" name="phase" value="Build new" /> >- <button type="submit" class="new"><i class="fa fa-plus"></i> New guided report</button> >+ <button type="submit" class="new"><i class="fa fa-plus"></i> [% t('New guided report') %]</button> > </form> > > <form action="/cgi-bin/koha/reports/guided_reports.pl" method="get"> > <input type="hidden" name="phase" value="Create report from SQL" /> >- <button type="submit" class="new"><i class="fa fa-plus"></i> New SQL report</button> >+ <button type="submit" class="new"><i class="fa fa-plus"></i> [% t('New SQL report') %]</button> > </form> > > <form action="/cgi-bin/koha/reports/guided_reports.pl" method="get"> > <input type="hidden" name="phase" value="Use saved" /> > <input type="hidden" name="filter_set" value="1" /> > <input type="hidden" name="filter_keyword" value="" /> >- <button type="submit" class="deny"><i class="fa fa-fw fa-remove"></i> Cancel filter</button> >+ <button type="submit" class="deny"><i class="fa fa-fw fa-remove"></i> [% t('Cancel filter') %]</button> > </form> > > [% END %] > [% ELSE %] >- <h4>There are no saved reports. </h4> >+ <h4>[% t('There are no saved reports.') %] </h4> > [% IF ( CAN_user_reports_create_reports ) %] >- <a href="/cgi-bin/koha/reports/guided_reports.pl?phase=Build%20new">Build a new report?</a> >+ <a href="/cgi-bin/koha/reports/guided_reports.pl?phase=Build%20new">[% t('Build a new report?') %]</a> > [% END %] > [% END %] > </div> >@@ -307,16 +304,16 @@ canned reports and writing custom SQL reports.</p> > [% IF ( build1 ) %] > [% IF ( cache_error) %] > <div class="dialog alert"> >-<b> Please choose a cache_expiry less than 30 days </b> >+<b> [% t('Please choose a cache_expiry less than 30 days') %] </b> > </div> > [% END %] >-<h1>Build a report</h1> >+<h1>[% t('Build a report') %]</h1> > <form action="/cgi-bin/koha/reports/guided_reports.pl"> > <fieldset class="rows"> >-<legend>Step 1 of 6: Choose a module to report on,[% IF (usecache) %] Set cache expiry, [% END %] and choose report visibility </legend> >+<legend>[% t('Step 1 of 6: Choose a module to report on,') %][% IF (usecache) %] [% t('Set cache expiry,') %] [% END %] [% t('and choose report visibility') %] </legend> > <ol> > <li> >- <label for="area">Choose: </label> >+ <label for="area">[% t('Choose:') %] </label> > <select name="area" id="area"> > [%- FOREACH area IN areas -%] > <option value="[% area %]">[%- PROCESS area_name area=area -%]</option> >@@ -324,24 +321,24 @@ canned reports and writing custom SQL reports.</p> > </select> > </li> > [% IF (public) %] >- <li><label for="public">Report is public:</label><select id="public" name="public"> <option value="0">No (default)</option> <option value="1" selected="selected">Yes</option> </select></li> >+ <li><label for="public">[% t('Report is public:') %]</label><select id="public" name="public"> <option value="0">[% t('No (default)') %]</option> <option value="1" selected="selected">[% t('Yes') %]</option> </select></li> > [% ELSE %] >- <li><label for="public">Report is public:</label><select id="public" name="public"> <option value="0" selected="selected">No (default)</option> <option value="1">Yes</option> </select></li> >+ <li><label for="public">[% t('Report is public:') %]</label><select id="public" name="public"> <option value="0" selected="selected">[% t('No (default)') %]</option> <option value="1">[% t('Yes') %]</option> </select></li> > [% END %] > [% IF (usecache) %] <li> >-<label for="cache_expiry">Cache expiry:</label><input type="text" id="cache_expiry" name="cache_expiry" value="[% cache_expiry %]"></input> >+<label for="cache_expiry">[% t('Cache expiry:') %]</label><input type="text" id="cache_expiry" name="cache_expiry" value="[% cache_expiry %]"></input> > <select id="cache_expiry_units" name="cache_expiry_units"> >-<option value="seconds">Seconds (default)</option> >-<option value="minutes">Minutes</option> >-<option value="hours">Hours</option> >-<option value="days">Days</option> >+<option value="seconds">[% t('Seconds (default)') %]</option> >+<option value="minutes">[% t('Minutes') %]</option> >+<option value="hours">[% t('Hours') %]</option> >+<option value="days">[% t('Days') %]</option> > </select> > </li>[% END %] > </ol> > </fieldset> > <fieldset class="action"> > <input type="hidden" name="phase" value="Report on this Area" /> >-<input type="submit" name="submit" value="Next >>" /> >+<input type="submit" name="submit" value="Next >>" /> > > </fieldset> > </form> >@@ -349,24 +346,24 @@ canned reports and writing custom SQL reports.</p> > > > [% IF ( build2 ) %] >-<h1>Build a report</h1> >+<h1>[% t('Build a report') %]</h1> > <form action="/cgi-bin/koha/reports/guided_reports.pl" method="post"> > <input type="hidden" name="area" value="[% area %]" /> > <input type="hidden" name="public" value="[% public %]" /> > <input type="hidden" name="cache_expiry" value="[% cache_expiry %]" /> >-<fieldset class="rows"><legend>Step 2 of 6: Pick a report type</legend> >-<ol><li><label for="types">Choose: </label> >+<fieldset class="rows"><legend>[% t('Step 2 of 6: Pick a report type') %]</legend> >+<ol><li><label for="types">[% t('Choose:') %] </label> > <select id="types" name="types"> >- <option value="1">Tabular</option> >- <option value="2" disabled="disabled">Summary</option> >- <option value="3" disabled="disabled">Matrix</option> >+ <option value="1">[% t('Tabular') %]</option> >+ <option value="2" disabled="disabled">[% t('Summary') %]</option> >+ <option value="3" disabled="disabled">[% t('Matrix') %]</option> > </select> > </li></ol></fieldset> > > <fieldset class="action"> > <input type="hidden" name="phase" value="Choose this type" /> >- <input type="button" name="back" value="<< Back" class="goback" /> >- <input type="submit" name="submit" value="Next >>" /> >+ <input type="button" name="back" value="<< Back" class="goback" /> >+ <input type="submit" name="submit" value="Next >>" /> > </fieldset> > </form> > </div> >@@ -381,9 +378,9 @@ canned reports and writing custom SQL reports.</p> > [% END %] > > [% IF ( build3 ) %] >-<h1>Build a report</h1> >-<h3>Step 3 of 6: Select columns for display</h3> >-<p>Note: Be careful selecting when selecting columns. If your choice is too broad it could result in a very large report that will either not complete, or slow your system down.</p> >+<h1>[% t('Build a report') %]</h1> >+<h3>[% t('Step 3 of 6: Select columns for display') %]</h3> >+<p>[% t('Note: Be careful selecting when selecting columns. If your choice is too broad it could result in a very large report that will either not complete, or slow your system down.') %]</p> > > <form id="column_submit" action="/cgi-bin/koha/reports/guided_reports.pl" method="post"> > <input type="hidden" name="area" value="[% area %]" /> >@@ -404,7 +401,7 @@ canned reports and writing custom SQL reports.</p> > <optgroup label="[% column.table %]"> > [% ELSE %] > <option value="[% column.name %]"> >-[% IF ( column.description ) %][% column.description %] / [% column.name %] >+[% IF ( column.description ) %][% column.description %]  /  [% column.name %] > [% ELSE %] > [% column.name %] > [% END %] >@@ -414,7 +411,7 @@ canned reports and writing custom SQL reports.</p> > </optgroup> > </select></div> > <div style="width: 6.3em; float: right; margin-top: 100px"><input type="button" name="Add" value="Add" class="button" style="width:6em;" id="addColumn" /><br /> >-<input type="button" name="delete" value="<< Delete" class="button" style="width: 6em; margin: 1em 0;" id="delColumn" /></div> >+<input type="button" name="delete" value="<< Delete" class="button" style="width: 6em; margin: 1em 0;" id="delColumn" /></div> > </div> > > <div class="yui-u"> >@@ -425,8 +422,8 @@ canned reports and writing custom SQL reports.</p> > <div class="yui-g"> > <fieldset class="action"> > <input type="hidden" name="phase" value="Choose these columns" /> >- <input type="button" name="back" value="<< Back" class="goback" /> >- <input type="submit" name="submit" value="Next >>" /> >+ <input type="button" name="back" value="<< Back" class="goback" /> >+ <input type="submit" name="submit" value="Next >>" /> > </fieldset> > </div> > </form> >@@ -434,14 +431,14 @@ canned reports and writing custom SQL reports.</p> > [% END %] > > [% IF ( build4 ) %] >-<h1>Build a report</h1> >-<form action="/cgi-bin/koha/reports/guided_reports.pl" method="post" > >+<h1>[% t('Build a report') %]</h1> >+<form action="/cgi-bin/koha/reports/guided_reports.pl" method="post"> > <input type="hidden" name="area" value="[% area %]" /> > <input type="hidden" name="type" value="[% type %]" /> > <input type="hidden" name="column" value="[% column %]" /> > <input type="hidden" name="public" value="[% public %]" /> > <input type="hidden" name="cache_expiry" value="[% cache_expiry %]" /> >- <fieldset><legend>Step 4 of 6: Select criteria to limit on</legend> >+ <fieldset><legend>[% t('Step 4 of 6: Select criteria to limit on') %]</legend> > <table> > [% FOREACH criteri IN criteria %] > <tr> >@@ -457,16 +454,16 @@ canned reports and writing custom SQL reports.</p> > </tr> > [% ELSE %] > [% IF ( criteri.textrange ) %] >- <td>from >- <input type="text" size="10" id="[% criteri.from %]_value" name="[% criteri.from %]_value" value="" /> to >+ <td>[% t('from') %] >+ <input type="text" size="10" id="[% criteri.from %]_value" name="[% criteri.from %]_value" value="" /> [% t('to') %] > <input type="text" size="10" id="[% criteri.to %]_value" name="[% criteri.to %]_value" value="" /> > </td> > </tr> > [% ELSE %] > [% IF ( criteri.daterange ) %] >- <td>from >+ <td>[% t('from') %] > <input type="text" size="10" id="from_[% criteri.name %]_value" name="from_[% criteri.name %]_value" value="" class="datepickerfrom" /> >- to >+ [% t('to') %] > <input type="text" size="10" id="to_[% criteri.name %]_value" name="to_[% criteri.name %]_value" value="" class="datepickerto" /> > <span class="hint">[% INCLUDE 'date-format.inc' %]</span> > </td> >@@ -475,7 +472,7 @@ canned reports and writing custom SQL reports.</p> > <td> > <select name="[% criteri.name %]_value"> > [% FOREACH value IN criteri.values %] >- <option value="[% value.availablevalues %]">[% IF ( value.default ) %]Default[% ELSE %][% value.display_value |html %][% END %]</option> >+ <option value="[% value.availablevalues %]">[% IF ( value.default ) %][% t('Default') %][% ELSE %][% value.display_value |html %][% END %]</option> > [% END %] > </select> > </td> >@@ -488,7 +485,7 @@ canned reports and writing custom SQL reports.</p> > </fieldset> > > [% IF ( definitions ) %] >-<fieldset><legend>Dictionary definitions</legend> >+<fieldset><legend>[% t('Dictionary definitions') %]</legend> > <table> > [% FOREACH definition IN definitions %] > <tr><td><input type="checkbox" name="definition" value="[% definition.id %]" /> [% definition.name %]</td></tr> >@@ -498,15 +495,15 @@ canned reports and writing custom SQL reports.</p> > [% END %] > > <fieldset class="action"><input type="hidden" name="phase" value="Choose these criteria" /> >- <input type="button" name="back" value="<< Back" class="goback" /> >- <input type="submit" name="submit" value="Next >>" /> </fieldset> >+ <input type="button" name="back" value="<< Back" class="goback" /> >+ <input type="submit" name="submit" value="Next >>" /> </fieldset> > </form> > [% END %] > > > [% IF ( build5 ) %] >-<h1>Build a report</h1> >-<h3>Step 5 of 6: Pick which columns to total</h3> >+<h1>[% t('Build a report') %]</h1> >+<h3>[% t('Step 5 of 6: Pick which columns to total') %]</h3> > <form action="/cgi-bin/koha/reports/guided_reports.pl" method="post"> > <input type="hidden" name="area" value="[% area %]" /> > <input type="hidden" name="type" value="[% type %]" /> >@@ -530,15 +527,15 @@ canned reports and writing custom SQL reports.</p> > </table></fieldset> > > <fieldset class="action"><input type="hidden" name="phase" value="Choose these operations" /> >- <input type="button" name="back" value="<< Back" class="goback" /> >- <input type="submit" name="submit" value="Next >>" /></fieldset> >+ <input type="button" name="back" value="<< Back" class="goback" /> >+ <input type="submit" name="submit" value="Next >>" /></fieldset> > </form> > [% END %] > > > [% IF ( build6 ) %] >-<h1>Build a report</h1> >-<h3>Step 6 of 6: Choose how you want the report ordered</h3> >+<h1>[% t('Build a report') %]</h1> >+<h3>[% t('Step 6 of 6: Choose how you want the report ordered') %]</h3> > <form action="/cgi-bin/koha/reports/guided_reports.pl" method="post"> > <input type="hidden" name="area" value="[% area %]" /> > <input type="hidden" name="type" value="[% type %]" /> >@@ -569,8 +566,8 @@ canned reports and writing custom SQL reports.</p> > > > [% IF ( showreport ) %] >-<h1>Confirm custom report</h1> >-<p>Your report will be generated with the following SQL statement.</p> >+<h1>[% t('Confirm custom report') %]</h1> >+<p>[% t('Your report will be generated with the following SQL statement.') %]</p> > <p> > [% sql |html %] > </p> >@@ -580,7 +577,7 @@ canned reports and writing custom SQL reports.</p> > <input type="hidden" name="type" value="[% type %]" /> > <input type="hidden" name="public" value="[% public %]" /> > <input type="hidden" name="cache_expiry" value="[% cache_expiry %]" /> >-<p>You will need to save the report before you can execute it</p> >+<p>[% t('You will need to save the report before you can execute it') %]</p> > <fieldset class="action"><input type="hidden" name="phase" value="Save" /> > <input type="submit" name="submit" value="Save" /> </fieldset> > </form> >@@ -594,11 +591,11 @@ canned reports and writing custom SQL reports.</p> > <input type="hidden" name="public" value="[% public %]" /> > <input type="hidden" name="cache_expiry" value="[% cache_expiry %]" /> > <fieldset class="rows"> >-<legend>Save your custom report</legend> >+<legend>[% t('Save your custom report') %]</legend> > <ol> >- <li><label for="reportname" class="required">Report name: </label><input type="text" id="reportname" name="reportname" class="required" required="required" /> <span class="required">Required</span></li> >+ <li><label for="reportname" class="required">[% t('Report name:') %] </label><input type="text" id="reportname" name="reportname" class="required" required="required" /> <span class="required">[% t('Required') %]</span></li> > [% PROCESS group_and_subgroup_selection %] >- <li><label for="notes">Notes:</label> <textarea name="notes" id="notes"></textarea></li> >+ <li><label for="notes">[% t('Notes:') %]</label> <textarea name="notes" id="notes"></textarea></li> > </ol></fieldset> > <fieldset class="action"><input type="hidden" name="phase" value="Save Report" /> > <input type="submit" name="submit" value="Save report" /></fieldset> >@@ -607,59 +604,59 @@ canned reports and writing custom SQL reports.</p> > > [% IF ( warn_authval_problem ) %] > <div class="dialog alert"> >- <h3>Errors found when processing parameters for report: [% name %]</h3> >+ <h3>[% t('Errors found when processing parameters for report:') %] [% name %]</h3> > [% FOREACH problematic_authval IN problematic_authvals %] > <p> >- <strong>[% problematic_authval.name %]:</strong> The authorized value category (<strong>[% problematic_authval.authval %]</strong>) >- you selected does not exist. >+ <strong>[% problematic_authval.name %]:</strong> [% t('The authorized value category (') %]<strong>[% problematic_authval.authval %]</strong>) >+ [% t('you selected does not exist.') %] > </p> > [% END %] > <!-- Save Anyway Form --> >- <form action='/cgi-bin/koha/reports/guided_reports.pl'> >+ <form action="/cgi-bin/koha/reports/guided_reports.pl"> > <!--Every parameter the user issued is provided as a hidden field for recovery--> >- <input type='hidden' name='id' value='[% id %]' /> >- <input type='hidden' name='sql' value='[% sql %]' /> >- <input type='hidden' name='reportname' value='[% reportname %]' /> >- <input type='hidden' name='group' value='[% group %]' /> >- <input type='hidden' name='subgroup' value='[% subgroup %]' /> >- <input type='hidden' name='notes' value='[% notes %]' /> >- <input type='hidden' name='cache_expiry' value='[% cache_expiry %]' /> >- <input type='hidden' name='cache_expiry_units' value='[% cache_expiry_units %]' /> >- <input type='hidden' name='public' value='[% public %]' /> >+ <input type="hidden" name="id" value="[% id %]" /> >+ <input type="hidden" name="sql" value="[% sql %]" /> >+ <input type="hidden" name="reportname" value="[% reportname %]" /> >+ <input type="hidden" name="group" value="[% group %]" /> >+ <input type="hidden" name="subgroup" value="[% subgroup %]" /> >+ <input type="hidden" name="notes" value="[% notes %]" /> >+ <input type="hidden" name="cache_expiry" value="[% cache_expiry %]" /> >+ <input type="hidden" name="cache_expiry_units" value="[% cache_expiry_units %]" /> >+ <input type="hidden" name="public" value="[% public %]" /> > [% IF ( phase_update) %] >- <input type='hidden' name='phase' value='Update SQL' /> >- <button type="submit" name="save_anyway" value="Save anyway" class="approve"><i class="fa fa-fw fa-check"></i> Save anyway</button> >+ <input type="hidden" name="phase" value="Update SQL" /> >+ <button type="submit" name="save_anyway" value="Save anyway" class="approve"><i class="fa fa-fw fa-check"></i> [% t('Save anyway') %]</button> > [% ELSIF ( phase_save) %] >- <input type='hidden' name='area' value='[% area %]' /> >- <input type='hidden' name='phase' value='Save Report' /> >- <button type="submit" name="save_anyway" value="Save anyway" class="approve"><i class="fa fa-fw fa-check"></i> Save anyway</button> >+ <input type="hidden" name="area" value="[% area %]" /> >+ <input type="hidden" name="phase" value="Save Report" /> >+ <button type="submit" name="save_anyway" value="Save anyway" class="approve"><i class="fa fa-fw fa-check"></i> [% t('Save anyway') %]</button> > [% END %] > </form> > <!-- Go back to editing --> >- <form action='/cgi-bin/koha/reports/guided_reports.pl'> >- <button type="button" class="new goback"><i class="fa fa-fw fa-pencil"></i> Edit SQL</button> >+ <form action="/cgi-bin/koha/reports/guided_reports.pl"> >+ <button type="button" class="new goback"><i class="fa fa-fw fa-pencil"></i> [% t('Edit SQL') %]</button> > </form> > </div> > [% END %] > > [% IF ( enter_params ) %] >- <form action='/cgi-bin/koha/reports/guided_reports.pl'> >- <input type='hidden' name='reports' value="[% reports %]" /> >+ <form action="/cgi-bin/koha/reports/guided_reports.pl"> >+ <input type="hidden" name="reports" value="[% reports %]" /> > [% IF ( auth_val_error ) %] >- <input type='hidden' name='phase' value='Edit SQL' /> >+ <input type="hidden" name="phase" value="Edit SQL" /> > <div class="dialog alert"> >- <h3>Errors found when processing parameters for report: [% name %]</h3> >+ <h3>[% t('Errors found when processing parameters for report:') %] [% name %]</h3> > [% FOREACH auth_val_error IN auth_val_errors %] > <p> >- <strong>[% auth_val_error.entry %]:</strong> The authorized value category (<strong>[% auth_val_error.auth_val %]</strong>) >- you selected does not exist. >+ <strong>[% auth_val_error.entry %]:</strong> [% t('The authorized value category (') %]<strong>[% auth_val_error.auth_val %]</strong>) >+ [% t('you selected does not exist.') %] > </p> > [% END %] > </div> > <fieldset class="action"><input type="submit" value="Edit SQL" /></fieldset> > [% ELSE %] >- <input type='hidden' name='phase' value='Run this report' /> >- <h1>Enter parameters for report [% name %]:</h1> >+ <input type="hidden" name="phase" value="Run this report" /> >+ <h1>[% t('Enter parameters for report') %] [% name %]:</h1> > [% IF ( notes ) %]<p>[% notes %]</p>[% END %] > <fieldset class="rows"> > <ol> >@@ -673,7 +670,7 @@ canned reports and writing custom SQL reports.</p> > <li><label for="sql_params[% loop.count %]">[% sql_param.entry %]: </label><input id="sql_params[% loop.count %]" type="text" name="sql_params" /></li> > [% ELSE %] > <li><label for="sql_params_[% sql_param.labelid %]">[% sql_param.entry %]:</label> >- <select name="[%- sql_param.input.name -%]" tabindex="1" size="1" id="[%- sql_param.input.id -%]"> >+ <select name="[%- sql_param.input.name -%]" tabindex="1" size="1" id="[%- sql_param.input.id -%]"> > [% FOREACH value IN sql_param.input.values %] > <option value="[%- value -%]">[%- sql_param.input.labels.$value -%]</option> > [% END %] >@@ -690,20 +687,20 @@ canned reports and writing custom SQL reports.</p> > > [% IF ( execute ) %] > <h1>[% name %]</h1> >-[% IF ( notes ) %]<p><span class="label">Notes:</span> [% notes %]</p>[% END %] >-[% IF ( unlimited_total ) %]<p><span class="label">Total number of results:</span> [% unlimited_total %][% IF unlimited_total > limit %] ([% limit %] shown)[% END %].</p>[% END %] >-<div id="sql_output" style="display:none;"><span class="label">Report SQL:</span><pre>[% sql |html %]</pre></div> >+[% IF ( notes ) %]<p><span class="label">[% t('Notes:') %]</span> [% notes %]</p>[% END %] >+[% IF ( unlimited_total ) %]<p><span class="label">[% t('Total number of results:') %]</span> [% unlimited_total %][% IF unlimited_total > limit %] ([% limit %] [% t('shown)') %][% END %].</p>[% END %] >+<div id="sql_output" style="display:none;"><span class="label">[% t('Report SQL:') %]</span><pre>[% sql |html %]</pre></div> > </br> > > <form action="/cgi-bin/koha/reports/guided_reports.pl" method="get" id="limitselect"> >- <input type="hidden" name="phase" value="Run this report"/> >- <input type="hidden" name="reports" value="[% report_id %]"/> >+ <input type="hidden" name="phase" value="Run this report" /> >+ <input type="hidden" name="reports" value="[% report_id %]" /> > > [% FOREACH p IN sql_params %] >- <input type="hidden" name="sql_params" value="[% p %]"/> >+ <input type="hidden" name="sql_params" value="[% p %]" /> > [% END %] > >- <label for="limit">Rows per page: </label> >+ <label for="limit">[% t('Rows per page:') %] </label> > <select name="limit" id="limit"> > [% limits = [ 10, 20, 50, 100, 200, 300, 400, 500, 1000 ] %] > [% FOREACH l IN limits %] >@@ -725,7 +722,7 @@ canned reports and writing custom SQL reports.</p> > [% FOREACH header_ro IN header_row %] > [% IF header_ro.cell == 'itemnumber' %] > <th> >- [% header_ro.cell %] <button type="submit" data-toggle="tooltip" title="Send visible items to batch modification" class="btn btn-xs btn-default send_to_item_mod"><i class="fa fa-pencil"></i> Batch modify</button> >+ [% header_ro.cell %] <button type="submit" data-toggle="tooltip" title="[% t('Send visible items to batch modification') %]" class="btn btn-xs btn-default send_to_item_mod"><i class="fa fa-pencil"></i> [% t('Batch modify') %]</button> > </th> > [% ELSE %] > <th>[% header_ro.cell %]</th> >@@ -756,46 +753,46 @@ $(document).ready(function() { > </script> > <form action="/cgi-bin/koha/reports/guided_reports.pl" method="post" class="validated"> > <fieldset class="rows"> >-<legend>Create report from SQL</legend> >+<legend>[% t('Create report from SQL') %]</legend> > <ol> >- <li><label for="reportname" class="required">Report name:</label> >- [% IF ( reportname ) %]<input type="text" class="required" required="required" id="reportname" name="reportname" value="[% reportname | html %]" size="50"/> >- [% ELSE %]<input type="text" class="required" required="required" id="reportname" name="reportname" size="50" />[% END %] <span class="required">Required</span> >+ <li><label for="reportname" class="required">[% t('Report name:') %]</label> >+ [% IF ( reportname ) %]<input type="text" class="required" required="required" id="reportname" name="reportname" value="[% reportname | html %]" size="50" /> >+ [% ELSE %]<input type="text" class="required" required="required" id="reportname" name="reportname" size="50" />[% END %] <span class="required">[% t('Required') %]</span> > </li> > [% PROCESS group_and_subgroup_selection %] > > [% IF (public) %] >- <li><label for="public">Report is public:</label><select id="public" name="public"> <option value="0">No (default)</option> <option value="1" selected="selected">Yes</option> </select></li> >+ <li><label for="public">[% t('Report is public:') %]</label><select id="public" name="public"> <option value="0">[% t('No (default)') %]</option> <option value="1" selected="selected">[% t('Yes') %]</option> </select></li> > [% ELSE %] >- <li><label for="public">Report is public:</label><select id="public" name="public"> <option value="0" selected="selected">No (default)</option> <option value="1">Yes</option> </select></li> >+ <li><label for="public">[% t('Report is public:') %]</label><select id="public" name="public"> <option value="0" selected="selected">[% t('No (default)') %]</option> <option value="1">[% t('Yes') %]</option> </select></li> > [% END %] > [% IF (usecache) %] <li> >-<label for="cache_expiry">Cache expiry:</label><input type="text" id="cache_expiry" name="cache_expiry" value="[% cache_expiry %]"></input> >+<label for="cache_expiry">[% t('Cache expiry:') %]</label><input type="text" id="cache_expiry" name="cache_expiry" value="[% cache_expiry %]"></input> > <select id="cache_expiry_units" name="cache_expiry_units"> >-<option value="seconds" selected="selected">Seconds (default)</option> >-<option value="minutes">Minutes</option> >-<option value="hours">Hours</option> >-<option value="days">Days</option> >+<option value="seconds" selected="selected">[% t('Seconds (default)') %]</option> >+<option value="minutes">[% t('Minutes') %]</option> >+<option value="hours">[% t('Hours') %]</option> >+<option value="days">[% t('Days') %]</option> > </select> > </li>[% END %] >- <li><label for="notes">Notes:</label> <textarea id="notes" name="notes" cols="50" rows="2">[% notes %]</textarea></li> >+ <li><label for="notes">[% t('Notes:') %]</label> <textarea id="notes" name="notes" cols="50" rows="2">[% notes %]</textarea></li> > </ol> > </fieldset> > <fieldset class="rows"> >-<legend>SQL:</legend> >+<legend>[% t('SQL:') %]</legend> > <div style="margin:1em;"> >-<textarea id="sql" name="sql" class="required" required="required" cols="50" rows="10">[% sql %]</textarea> <span class="required">Required</span> >+<textarea id="sql" name="sql" class="required" required="required" cols="50" rows="10">[% sql %]</textarea> <span class="required">[% t('Required') %]</span> > </div> > </fieldset> > > <fieldset class="action"><input type="hidden" name="phase" value="Save Report" /> >-<input type="submit" name="submit" value="Save report" /> <a href="/cgi-bin/koha/reports/guided_reports.pl?phase=Use%20saved" class="cancel">Cancel</a> >+<input type="submit" name="submit" value="Save report" /> <a href="/cgi-bin/koha/reports/guided_reports.pl?phase=Use%20saved" class="cancel">[% t('Cancel') %]</a> > </fieldset> > </form> > [% END %] > > [% IF saved_results %] >-<h1>Saved report results</h1> >+<h1>[% t('Saved report results') %]</h1> > <h2>[% name %]</h2> > <p>[% notes %]</p> > <table> >@@ -813,7 +810,7 @@ $(document).ready(function() { > <fieldset class="rows"> > <legend>[% reportname %]</legend> > <ol> >- [% IF ( notes ) %]<li><span class="label">Notes:</span> [% notes %]</li>[% ELSE %][% END %] >+ [% IF ( notes ) %]<li><span class="label">[% t('Notes:') %]</span> [% notes %]</li>[% ELSE %][% END %] > <li><textarea id="sql">[% sql %]</textarea></li> > </ol> > </fieldset> >@@ -824,7 +821,7 @@ $(document).ready(function() { > </br> > <div id="report_updated"> > <div class="dialog message"> >- <p>Your report "[% reportname %]" has been saved</p> >+ <p>[% t('Your report "') %][% reportname %][% t('" has been saved') %]</p> > </div> > </div> > [% END %] >@@ -833,39 +830,39 @@ $(document).ready(function() { > [% IF ( editsql ) %] > <form action="/cgi-bin/koha/reports/guided_reports.pl" method="post" class="validated"> > <input type="hidden" name="phase" value="Update SQL" /> >-<input type="hidden" name="id" value="[% id %]"/> >+<input type="hidden" name="id" value="[% id %]" /> > <fieldset class="rows"> >-<legend>Edit SQL report</legend> >+<legend>[% t('Edit SQL report') %]</legend> > <ol> >-<li><label for="reportname" class="required">Report name: </label><input type="text" id="reportname" name="reportname" value="[% reportname | html %]" size="50" class="required" required="required" /> <span class="required">Required</span></li> >+<li><label for="reportname" class="required">[% t('Report name:') %] </label><input type="text" id="reportname" name="reportname" value="[% reportname | html %]" size="50" class="required" required="required" /> <span class="required">[% t('Required') %]</span></li> > [% PROCESS group_and_subgroup_selection %] > [% IF (public) %] >- <li><label for="public">Report is public:</label><select id="public" name="public"> <option value="0">No (default)</option> <option value="1" selected="selected">Yes</option> </select></li> >+ <li><label for="public">[% t('Report is public:') %]</label><select id="public" name="public"> <option value="0">[% t('No (default)') %]</option> <option value="1" selected="selected">[% t('Yes') %]</option> </select></li> > [% ELSE %] >- <li><label for="public">Report is public:</label><select id="public" name="public"> <option value="0" selected="selected">No (default)</option> <option value="1">Yes</option> </select></li> >+ <li><label for="public">[% t('Report is public:') %]</label><select id="public" name="public"> <option value="0" selected="selected">[% t('No (default)') %]</option> <option value="1">[% t('Yes') %]</option> </select></li> > [% END %] > [% IF (usecache) %] <li> >-<label for="cache_expiry">Cache expiry:</label><input type="text" id="cache_expiry" name="cache_expiry" value="[% cache_expiry %]"></input> >+<label for="cache_expiry">[% t('Cache expiry:') %]</label><input type="text" id="cache_expiry" name="cache_expiry" value="[% cache_expiry %]"></input> > <select id="cache_expiry_units" name="cache_expiry_units"> >-<option value="seconds">Seconds (default)</option> >-<option value="minutes">Minutes</option> >-<option value="hours">Hours</option> >-<option value="days">Days</option> >+<option value="seconds">[% t('Seconds (default)') %]</option> >+<option value="minutes">[% t('Minutes') %]</option> >+<option value="hours">[% t('Hours') %]</option> >+<option value="days">[% t('Days') %]</option> > </select> > </li>[% END %] >-<li><label for="notes">Notes:</label><textarea id="notes" name="notes" cols="50" rows="2">[% notes %]</textarea></li> >+<li><label for="notes">[% t('Notes:') %]</label><textarea id="notes" name="notes" cols="50" rows="2">[% notes %]</textarea></li> > </ol> > </fieldset> > > <fieldset class="rows"> >- <legend>SQL:</legend> >+ <legend>[% t('SQL:') %]</legend> > <div style="margin:1em;"> >- <textarea id="sql" name="sql" class="required" required="required" cols="50" rows="10">[% sql %]</textarea> <span class="required">Required</span> >+ <textarea id="sql" name="sql" class="required" required="required" cols="50" rows="10">[% sql %]</textarea> <span class="required">[% t('Required') %]</span> > </div> > </fieldset> > > <fieldset class="action"> >-<input type="submit" name="submit" value="Update SQL" /> <a href="/cgi-bin/koha/reports/guided_reports.pl?phase=Use%20saved" class="cancel">Cancel</a> >+<input type="submit" name="submit" value="Update SQL" /> <a href="/cgi-bin/koha/reports/guided_reports.pl?phase=Use%20saved" class="cancel">[% t('Cancel') %]</a> > </fieldset> > </form> > >@@ -875,17 +872,17 @@ $(document).ready(function() { > [% IF ( errors ) %] > <form action="/cgi-bin/koha/reports/guided_reports.pl" method="post"> > <div class="dialog alert"> >-<b>The following error was encountered:</b><br /> >+<b>[% t('The following error was encountered:') %]</b><br /> > [% FOREACH error IN errors %] >- [% IF ( error.sqlerr ) %]This report contains the SQL keyword <b>[% error.sqlerr %]</b>. >- <br />Use of this keyword is not allowed in Koha reports due to security and data integrity risks. Only SELECT queries are allowed. >- <br />Please return to the "Saved Reports" screen and delete this report or retry creating a new one. >- [% ELSIF ( error.queryerr ) %]The database returned the following error: <br />[% error.queryerr %]<br />Please check the log for further details. >- [% ELSIF ( error.cache_expiry ) %]Please select a cache expiry less than 30 days. >+ [% IF ( error.sqlerr ) %][% t('This report contains the SQL keyword') %] <b>[% error.sqlerr %]</b>. >+ <br />[% t('Use of this keyword is not allowed in Koha reports due to security and data integrity risks. Only SELECT queries are allowed.') %] >+ <br />[% t('Please return to the "Saved Reports" screen and delete this report or retry creating a new one.') %] >+ [% ELSIF ( error.queryerr ) %][% t('The database returned the following error:') %] <br />[% error.queryerr %]<br />[% t('Please check the log for further details.') %] >+ [% ELSIF ( error.cache_expiry ) %][% t('Please select a cache expiry less than 30 days.') %] > [% ELSE %] > [% END %] > <div id="onerror_actions"> >- <a href="#" class="button goback">Return to previous page</a> >+ <a href="#" class="button goback">[% t('Return to previous page') %]</a> > </div> > [% END %] > </div> >@@ -904,19 +901,19 @@ $(document).ready(function() { > <input type="hidden" name="phase" value="Use saved" /> > <input type="hidden" name="filter_set" value="1" /> > <fieldset class="brief"> >- <h3>Filter</h3> >+ <h3>[% t('Filter') %]</h3> > <ol> >- <li><label for="filter_date">Date:</label> <input type="text" id="filter_date" name="filter_date" size="10" value="[% filters.date %]" class="datepicker" /> >+ <li><label for="filter_date">[% t('Date:') %]</label> <input type="text" id="filter_date" name="filter_date" size="10" value="[% filters.date %]" class="datepicker" /> > <div class="hint">[% INCLUDE 'date-format.inc' %]</div> > > </li> >- <li><label for="filter_author">Author:</label> <input type="text" id="filter_author" name="filter_author" value="[% filters.author %]" size="16" /></li> >- <li><label for="filter_keyword">Keyword:</label> <input type="text" id="filter_keyword" name="filter_keyword" value="[% filters.keyword %]" size="16" /></li> >+ <li><label for="filter_author">[% t('Author:') %]</label> <input type="text" id="filter_author" name="filter_author" value="[% filters.author %]" size="16" /></li> >+ <li><label for="filter_keyword">[% t('Keyword:') %]</label> <input type="text" id="filter_keyword" name="filter_keyword" value="[% filters.keyword %]" size="16" /></li> > </ol> > </fieldset> > <fieldset class="action"> > <input type="submit" value="Apply filter" /> >- <a id="resetReportsFilter" href="/cgi-bin/koha/reports/guided_reports.pl?phase=Use%20saved&clear_filters=1">Clear</a> >+ <a id="resetReportsFilter" href="/cgi-bin/koha/reports/guided_reports.pl?phase=Use%20saved&clear_filters=1">[% t('Clear') %]</a> > </fieldset> > </form> > </div> >@@ -1185,12 +1182,11 @@ $(document).ready(function() { > > [% BLOCK group_and_subgroup_selection %] > <li id="group"> >- <label>Report group:</label> >- <input type="radio" name="select_or_create_group" >- id="select_group" checked="checked" /> >- <label for="select_group" style="float:none">Select</label> >+ <label>[% t('Report group:') %]</label> >+ <input type="radio" name="select_or_create_group" id="select_group" checked="checked" /> >+ <label for="select_group" style="float:none">[% t('Select') %]</label> > <select name="group" id="group_select"> >- <option value="">(None)</option> >+ <option value="">[% t('(None)') %]</option> > [% FOREACH group IN groups_with_subgroups %] > [% IF (group.selected) %] > <option value="[% group.id %]" selected="selected"> >@@ -1202,17 +1198,16 @@ $(document).ready(function() { > [% END %] > </select> > <input type="radio" name="select_or_create_group" id="create_group" /> >- <label for="create_group" style="float:none">or create:</label> >- <input type="text" name="group" id="group_input" title="Group code" placeholder="Code" /> >- <input type="text" name="groupdesc" id="groupdesc_input" title="Group name" placeholder="Name" /> >+ <label for="create_group" style="float:none">[% t('or create:') %]</label> >+ <input type="text" name="group" id="group_input" title="[% t('Group code') %]" placeholder="[% t('Code') %]" /> >+ <input type="text" name="groupdesc" id="groupdesc_input" title="[% t('Group name') %]" placeholder="[% t('Name') %]" /> > </li> > <li id="subgroup"> >- <label>Report subgroup:</label> >- <input type="radio" name="select_or_create_subgroup" >- id="select_subgroup" checked="checked" /> >- <label for="select_subgroup" style="float:none">Select</label> >+ <label>[% t('Report subgroup:') %]</label> >+ <input type="radio" name="select_or_create_subgroup" id="select_subgroup" checked="checked" /> >+ <label for="select_subgroup" style="float:none">[% t('Select') %]</label> > <select name="subgroup" id="subgroup_select"> >- <option value="">(None)</option> >+ <option value="">[% t('(None)') %]</option> > [% FOREACH group IN groups_with_subgroups %] > [% IF (group.selected) %] > [% FOREACH subgroup IN group.subgroups %] >@@ -1227,10 +1222,9 @@ $(document).ready(function() { > [% END %] > [% END %] > </select> >- <input type="radio" name="select_or_create_subgroup" >- id="create_subgroup" /> >- <label for="create_subgroup" style="float:none">or create</label> >- <input type="text" name="subgroup" id="subgroup_input" title="Subgroup code" placeholder="Code" /> >- <input type="text" name="subgroupdesc" id="subgroupdesc_input" title="Subgroup name" placeholder="Name" /> >+ <input type="radio" name="select_or_create_subgroup" id="create_subgroup" /> >+ <label for="create_subgroup" style="float:none">[% t('or create') %]</label> >+ <input type="text" name="subgroup" id="subgroup_input" title="[% t('Subgroup code') %]" placeholder="[% t('Code') %]" /> >+ <input type="text" name="subgroupdesc" id="subgroupdesc_input" title="[% t('Subgroup name') %]" placeholder="[% t('Name') %]" /> > </li> > [% END %] >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/issues_avg_stats.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/reports/issues_avg_stats.tt >index 32871a5cc2..b3be085464 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/issues_avg_stats.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/reports/issues_avg_stats.tt >@@ -1,7 +1,8 @@ >+[% PROCESS 'i18n.inc' %] > [% USE Branches %] > [% SET footerjs = 1 %] > [% INCLUDE 'doc-head-open.inc' %] >-<title>Koha › Reports › Average loan time</title> >+<title>[% t('Koha ⺠Reports ⺠Average loan time') %]</title> > [% INCLUDE 'doc-head-close.inc' %] > </head> > >@@ -9,7 +10,7 @@ > [% INCLUDE 'header.inc' %] > [% INCLUDE 'cat-search.inc' %] > >-<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> › <a href="/cgi-bin/koha/reports/reports-home.pl">Reports</a> [% IF ( do_it ) %]› <a href="/cgi-bin/koha/reports/issues_avg_stats.pl">Average loan time</a> › Results [% ELSE %]› Average loan time[% END %]</div> >+<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">[% t('Home') %]</a> ⺠<a href="/cgi-bin/koha/reports/reports-home.pl">[% t('Reports') %]</a> [% IF ( do_it ) %]⺠<a href="/cgi-bin/koha/reports/issues_avg_stats.pl">[% t('Average loan time') %]</a> [% t('⺠Results') %] [% ELSE %][% t('⺠Average loan time') %][% END %]</div> > > <div id="doc3" class="yui-t2"> > >@@ -19,9 +20,9 @@ > > [% IF ( do_it ) %] > [% FOREACH mainloo IN mainloop %] >- <h1>Average checkout period</h1> >+ <h1>[% t('Average checkout period') %]</h1> > [% IF ( mainloo.loopfilter ) %] >- <p>Filtered on:</p> >+ <p>[% t('Filtered on:') %]</p> > [% FOREACH loopfilte IN mainloo.loopfilter %] > <p>[% IF ( loopfilte.err ) %] [% END %] [% loopfilte.crit %] =[% loopfilte.filter %][% IF ( loopfilte.err ) %] [% END %]</p> > [% END %] >@@ -33,7 +34,7 @@ > [% FOREACH loopco IN mainloo.loopcol %] > <th>[% loopco.coltitle %]</th> > [% END %] >- <th>TOTAL</th> >+ <th>[% t('TOTAL') %]</th> > </tr> > [% FOREACH loopro IN mainloo.looprow %] > <tr> >@@ -50,7 +51,7 @@ > </tr> > [% END %] > <tr> >- <th>TOTAL</th> >+ <th>[% t('TOTAL') %]</th> > [% FOREACH loopfoote IN mainloo.loopfooter %] > <th> > [% loopfoote.totalcol %] >@@ -64,61 +65,61 @@ > > <form method="post" action="/cgi-bin/koha/reports/issues_avg_stats.pl"> > <fieldset class="rows"> >- <legend>Average checkout period statistics</legend> >+ <legend>[% t('Average checkout period statistics') %]</legend> > <table> > <thead> > <tr> >- <th>Title</th> >- <th>Row</th> >- <th>Column</th> >- <th>Filter</th> >+ <th>[% t('Title') %]</th> >+ <th>[% t('Row') %]</th> >+ <th>[% t('Column') %]</th> >+ <th>[% t('Filter') %]</th> > </tr> > </thead> > <tbody> > <tr class="hilighted"> >- <td>Checkout date</td> >+ <td>[% t('Checkout date') %]</td> > <td><input type="radio" name="Line" value="timestamp" /></td> > <td><input type="radio" name="Column" value="timestamp" /></td> >- <td > <label for="from">From</label> <input type="text" size="10" id="from" name="Filter" /> >- <label for="to">To</label> <input size="10" id="to" name="Filter" value="" type="text" /> >+ <td> <label for="from">[% t('From') %]</label> <input type="text" size="10" id="from" name="Filter" /> >+ <label for="to">[% t('To') %]</label> <input size="10" id="to" name="Filter" value="" type="text" /> > <span class="hint">[% INCLUDE 'date-format.inc' %]</span> > </td> > </tr> > <tr class="hilighted"> >- <td> </td> >- <td colspan="2">by <select name="IssueDisplay"> >+ <td> </td> >+ <td colspan="2">[% t('by') %] <select name="IssueDisplay"> > <option value=""> </option> >- <option value ="1">Day</option> >- <option value ="2">Month</option> >- <option value ="3">Year</option> >+ <option value="1">[% t('Day') %]</option> >+ <option value="2">[% t('Month') %]</option> >+ <option value="3">[% t('Year') %]</option> > </select> > > </td> > <td><!--Preparing Month and Day Selection--><input type="hidden" name="Filter" value="" /><input type="hidden" name="Filter" value="" /></td> > </tr> > <tr> >- <td>Returns</td> >+ <td>[% t('Returns') %]</td> > <td><input type="radio" name="Line" value="returndate" /></td> > <td><input type="radio" name="Column" value="returndate" /></td> >- <td > <label for="fromRO">From</label> <input type="text" size="10" id="fromRO" name="Filter" /> >- <label for="toRO">To</label> <input type="text" size="10" id="toRO" name="Filter" value="" /> >+ <td> <label for="fromRO">[% t('From') %]</label> <input type="text" size="10" id="fromRO" name="Filter" /> >+ <label for="toRO">[% t('To') %]</label> <input type="text" size="10" id="toRO" name="Filter" value="" /> > <span class="hint">[% INCLUDE 'date-format.inc' %]</span> > </td> > </tr> > <tr> >- <td> </td> >- <td colspan="2">by <select name="ReturnDisplay"> >+ <td> </td> >+ <td colspan="2">[% t('by') %] <select name="ReturnDisplay"> > <option value=""> </option> >- <option value ="1">Day</option> >- <option value ="2">Month</option> >- <option value ="3">Year</option> >+ <option value="1">[% t('Day') %]</option> >+ <option value="2">[% t('Month') %]</option> >+ <option value="3">[% t('Year') %]</option> > </select> > > </td> > <td><input type="hidden" name="Filter" value="" /><input type="hidden" name="Filter" value="" /></td> > </tr> > <tr class="hilighted"> >- <td>Patron category</td> >+ <td>[% t('Patron category') %]</td> > <td><input type="radio" name="Line" value="borrowers.categorycode" /></td> > <td><input type="radio" name="Column" value="borrowers.categorycode" /></td> > <td> >@@ -131,7 +132,7 @@ > </td> > </tr> > <tr> >- <td>Item type</td> >+ <td>[% t('Item type') %]</td> > <td><input type="radio" name="Line" value="itemtype" /></td> > <td><input type="radio" name="Column" value="itemtype" /></td> > <td> >@@ -144,7 +145,7 @@ > </td> > </tr> > <tr class="hilighted"> >- <td>Library</td> >+ <td>[% t('Library') %]</td> > <td><input type="radio" name="Line" value="branchcode" /></td> > <td><input type="radio" name="Column" value="branchcode" /></td> > <td> >@@ -156,7 +157,7 @@ > </tr> > [% IF ( hassort1 ) %] > <tr class="hilighted"> >- <td>Sort1</td> >+ <td>[% t('Sort1') %]</td> > <td><input type="radio" name="Line" value="borrowers.sort1" /></td> > <td><input type="radio" name="Column" value="borrowers.sort1" /></td> > <td> >@@ -171,7 +172,7 @@ > [% END %] > [% IF ( hassort2 ) %] > [% IF ( HglghtSort2 ) %]<tr class="hilighted"> [% ELSE %]<tr>[% END %] >- <td>Sort2</td> >+ <td>[% t('Sort2') %]</td> > <td><input type="radio" name="Line" value="borrowers.sort2" /></td> > <td><input type="radio" name="Column" value="borrowers.sort2" /></td> > <td> >@@ -189,17 +190,17 @@ > > > <fieldset class="rows"> >- <legend>Output</legend> >+ <legend>[% t('Output') %]</legend> > <ol> > <li> >- <label for="outputscreen">To screen into the browser: </label><input type="radio" checked="checked" name="output" id="outputscreen" value="screen" /> >+ <label for="outputscreen">[% t('To screen into the browser:') %] </label><input type="radio" checked="checked" name="output" id="outputscreen" value="screen" /> > </li> > <li> >- <label for="outputfile">To a file:</label> <input type="radio" name="output" value="file" id="outputfile" /> >- <label class="inline" for="basename">Named: </label><input type="text" name="basename" id="basename" value="Export" /> >- <label class="inline" for="MIME">Into an application: </label> >- <select name="MIME" size="1" id="MIME"> >- <option value="CSV">CSV</option> >+ <label for="outputfile">[% t('To a file:') %]</label> <input type="radio" name="output" value="file" id="outputfile" /> >+ <label class="inline" for="basename">[% t('Named:') %] </label><input type="text" name="basename" id="basename" value="Export" /> >+ <label class="inline" for="MIME">[% t('Into an application:') %] </label> >+ <select name="MIME" size="1" id="MIME"> >+ <option value="CSV">[% t('CSV') %]</option> > </select> > <select name="sep" id="sep" size="1"> > [% FOREACH value IN CGIsepChoice.values.sort() %] >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/issues_stats.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/reports/issues_stats.tt >index f7ff19f132..a291496d60 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/issues_stats.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/reports/issues_stats.tt >@@ -1,7 +1,8 @@ >+[% PROCESS 'i18n.inc' %] > [% USE Branches %] > [% SET footerjs = 1 %] > [% INCLUDE 'doc-head-open.inc' %] >-<title>Koha › Reports › Circulation statistics [% IF ( do_it ) %]› Results[% END %]</title> >+<title>[% t('Koha ⺠Reports ⺠Circulation statistics') %] [% IF ( do_it ) %][% t('⺠Results') %][% END %]</title> > [% INCLUDE 'doc-head-close.inc' %] > <style type="text/css"> > .sql {display:none;} >@@ -12,7 +13,7 @@ > [% INCLUDE 'header.inc' %] > [% INCLUDE 'cat-search.inc' %] > >-<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> › <a href="/cgi-bin/koha/reports/reports-home.pl">Reports</a> [% IF ( do_it ) %]› <a href="/cgi-bin/koha/reports/issues_stats.pl">Circulation statistics</a> › Results [% ELSE %]› Circulation statistics[% END %]</div> >+<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">[% t('Home') %]</a> ⺠<a href="/cgi-bin/koha/reports/reports-home.pl">[% t('Reports') %]</a> [% IF ( do_it ) %]⺠<a href="/cgi-bin/koha/reports/issues_stats.pl">[% t('Circulation statistics') %]</a> [% t('⺠Results') %] [% ELSE %][% t('⺠Circulation statistics') %][% END %]</div> > > <div id="doc3" class="yui-t2"> > >@@ -22,34 +23,34 @@ > > [% IF ( do_it ) %] > [% FOREACH mainloo IN mainloop %] >- <h1>Circulation statistics</h1> >+ <h1>[% t('Circulation statistics') %]</h1> > [% IF ( mainloo.loopfilter ) %] >- <p>Filtered on:</p> >+ <p>[% t('Filtered on:') %]</p> > <ul> > [% FOREACH loopfilte IN mainloo.loopfilter %] > [% IF ( loopfilte.err ) %] >- <li class="error">Error: >+ <li class="error">[% t('Error:') %] > [% ELSIF ( loopfilte.sql ) %] > <li class="sql"> > [% ELSE %] > <li> > [% END %] > [% SWITCH loopfilte.crit %] >- [% CASE 0 %]Period From >- [% CASE 1 %]Period To >- [% CASE 2 %]Patron Category = >- [% CASE 3 %]Item Type = >- [% CASE 4 %]Issuing library = >- [% CASE 5 %]Collection = >- [% CASE 6 %]Location = >- [% CASE 7 %]Item call number >= >- [% CASE 8 %]Item call number < >- [% CASE 9 %]Patron sort1 = >- [% CASE 10 %]Patron sort2 = >- [% CASE 11 %]Home library = >- [% CASE 12 %]Holding library = >- [% CASE 13 %]Patron library = >- [% CASE 14 %]Issuing library = >+ [% CASE 0 %][% t('Period From') %] >+ [% CASE 1 %][% t('Period To') %] >+ [% CASE 2 %][% t('Patron Category =') %] >+ [% CASE 3 %][% t('Item Type =') %] >+ [% CASE 4 %][% t('Issuing library =') %] >+ [% CASE 5 %][% t('Collection =') %] >+ [% CASE 6 %][% t('Location =') %] >+ [% CASE 7 %][% t('Item call number >=') %] >+ [% CASE 8 %][% t('Item call number <') %] >+ [% CASE 9 %][% t('Patron sort1 =') %] >+ [% CASE 10 %][% t('Patron sort2 =') %] >+ [% CASE 11 %][% t('Home library =') %] >+ [% CASE 12 %][% t('Holding library =') %] >+ [% CASE 13 %][% t('Patron library =') %] >+ [% CASE 14 %][% t('Issuing library =') %] > [% CASE %][% loopfilte.crit %] = > [% END %] > [% loopfilte.filter %] >@@ -64,7 +65,7 @@ > [% FOREACH loopco IN mainloo.loopcol %] > <th>[% loopco.coltitle_display |html %]</th> > [% END %] >- <th>TOTAL</th> >+ <th>[% t('TOTAL') %]</th> > </tr> > [% FOREACH loopro IN mainloo.looprow %] > <tr> >@@ -76,7 +77,7 @@ > </tr> > [% END %] > <tr> >- <th>TOTAL</th> >+ <th>[% t('TOTAL') %]</th> > [% FOREACH loopfoote IN mainloo.loopfooter %] > <th>[% loopfoote.totalcol %]</th> > [% END %] >@@ -88,70 +89,70 @@ > > <form method="post" action="/cgi-bin/koha/reports/issues_stats.pl"> > <fieldset class="rows"> >- <legend>Circulation statistics</legend><table> >+ <legend>[% t('Circulation statistics') %]</legend><table> > <thead> > <tr> >- <th>Title</th> >- <th>Row</th> >- <th>Column</th> >- <th>Filter</th> >+ <th>[% t('Title') %]</th> >+ <th>[% t('Row') %]</th> >+ <th>[% t('Column') %]</th> >+ <th>[% t('Filter') %]</th> > </tr> > </thead> > <tbody> > <tr> >- <td>Period</td> >+ <td>[% t('Period') %]</td> > <td><input type="radio" name="Line" value="datetime" /></td> > <td><input type="radio" name="Column" value="datetime" /></td> >- <td><label for="from">From</label> <input type="text" size="10" id="from" name="Filter" class="datepickerfrom" /> >- <label for="to">To</label> <input size="10" id="to" name="Filter" value="" type="text" class="datepickerto" /> >+ <td><label for="from">[% t('From') %]</label> <input type="text" size="10" id="from" name="Filter" class="datepickerfrom" /> >+ <label for="to">[% t('To') %]</label> <input size="10" id="to" name="Filter" value="" type="text" class="datepickerto" /> > <span class="hint">[% INCLUDE 'date-format.inc' %]</span> > </td> > </tr> > <tr> >- <td><label for="PeriodTypeSel">Type:</label><select name="PeriodTypeSel" id="PeriodTypeSel"> >- <option value ="issue">Checkout</option> >- <option value ="renew">Renewal</option> >- <option value ="return">Checkin</option> >- <option value ="localuse">Local Use</option> >+ <td><label for="PeriodTypeSel">[% t('Type:') %]</label><select name="PeriodTypeSel" id="PeriodTypeSel"> >+ <option value="issue">[% t('Checkout') %]</option> >+ <option value="renew">[% t('Renewal') %]</option> >+ <option value="return">[% t('Checkin') %]</option> >+ <option value="localuse">[% t('Local Use') %]</option> > </select></td> >- <td colspan="2"><label for="DisplayBy">group by</label> <select name="DisplayBy" id="DisplayBy"> >- <option value="">None</option> >- <option value ="4">Hour</option> >- <option value ="1">Day of week</option> >- <option value ="2">Month</option> >- <option value ="3">Year</option> >+ <td colspan="2"><label for="DisplayBy">[% t('group by') %]</label> <select name="DisplayBy" id="DisplayBy"> >+ <option value="">[% t('None') %]</option> >+ <option value="4">[% t('Hour') %]</option> >+ <option value="1">[% t('Day of week') %]</option> >+ <option value="2">[% t('Month') %]</option> >+ <option value="3">[% t('Year') %]</option> > </select> > </td> > <td> >- <label for="PeriodDaySel">Select day: </label><select name="PeriodDaySel" id="PeriodDaySel"> >- <option value =""></option> >- <option value ="Monday">Monday</option> >- <option value ="Tuesday">Tuesday</option> >- <option value ="Wednesday">Wednesday</option> >- <option value ="Thursday">Thursday</option> >- <option value ="Friday">Friday</option> >- <option value ="Saturday">Saturday</option> >- <option value ="Sunday">Sunday</option> >+ <label for="PeriodDaySel">[% t('Select day:') %] </label><select name="PeriodDaySel" id="PeriodDaySel"> >+ <option value=""></option> >+ <option value="Monday">[% t('Monday') %]</option> >+ <option value="Tuesday">[% t('Tuesday') %]</option> >+ <option value="Wednesday">[% t('Wednesday') %]</option> >+ <option value="Thursday">[% t('Thursday') %]</option> >+ <option value="Friday">[% t('Friday') %]</option> >+ <option value="Saturday">[% t('Saturday') %]</option> >+ <option value="Sunday">[% t('Sunday') %]</option> > </select> >- <label for="PeriodMonthSel">Select month:</label> <select name="PeriodMonthSel" id="PeriodMonthSel"> >- <option value =""></option> >- <option value ="January">January</option> >- <option value ="February">February</option> >- <option value ="March">March</option> >- <option value ="April">April</option> >- <option value ="May">May</option> >- <option value ="June">June</option> >- <option value ="July">July</option> >- <option value ="August">August</option> >- <option value ="September">September</option> >- <option value ="October">October</option> >- <option value ="November">November</option> >- <option value ="December">December</option> >+ <label for="PeriodMonthSel">[% t('Select month:') %]</label> <select name="PeriodMonthSel" id="PeriodMonthSel"> >+ <option value=""></option> >+ <option value="January">[% t('January') %]</option> >+ <option value="February">[% t('February') %]</option> >+ <option value="March">[% t('March') %]</option> >+ <option value="April">[% t('April') %]</option> >+ <option value="May">[% t('May') %]</option> >+ <option value="June">[% t('June') %]</option> >+ <option value="July">[% t('July') %]</option> >+ <option value="August">[% t('August') %]</option> >+ <option value="September">[% t('September') %]</option> >+ <option value="October">[% t('October') %]</option> >+ <option value="November">[% t('November') %]</option> >+ <option value="December">[% t('December') %]</option> > </select> > </td> > </tr> > <tr> >- <td>Patron category</td> >+ <td>[% t('Patron category') %]</td> > <td><input type="radio" name="Line" value="borrowers.categorycode" /></td> > <td><input type="radio" name="Column" value="borrowers.categorycode" /></td> > <td><select name="Filter" id="borcat"> >@@ -163,7 +164,7 @@ > </td> > </tr> > <tr> >- <td>Item type</td> >+ <td>[% t('Item type') %]</td> > <td><input type="radio" name="Line" value="itemtype" /></td> > <td><input type="radio" name="Column" value="itemtype" /></td> > <td><select name="Filter" id="itemtype"> >@@ -175,7 +176,7 @@ > </td> > </tr> > <tr> >- <td>Issuing library</td> >+ <td>[% t('Issuing library') %]</td> > <td><input type="radio" name="Line" value="branch" /></td> > <td><input type="radio" name="Column" value="branch" /></td> > <td><select name="Filter" id="branch"> >@@ -185,8 +186,8 @@ > </td> > </tr> > <tr> >- <td>Collection</td> >- <td><input type="radio" name="Line" value="items.ccode" /></td> >+ <td>[% t('Collection') %]</td> >+ <td><input type="radio" name="Line" value="items.ccode" /></td> > <td><input type="radio" name="Column" value="items.ccode" /></td> > <td><select name="Filter" id="ccode"> > <option value=""> </option> >@@ -197,7 +198,7 @@ > </td> > </tr> > <tr> >- <td>Shelving location</td> >+ <td>[% t('Shelving location') %]</td> > <td><input type="radio" name="Line" value="items.location" /></td> > <td><input type="radio" name="Column" value="items.location" /></td> > <td><select name="Filter" id="location"> >@@ -209,38 +210,38 @@ > </td> > </tr> > <tr> >- <td>Item call number</td> >+ <td>[% t('Item call number') %]</td> > <td></td> > <td></td> >- <td>From <input type="text" name="Filter" size="10" /> (inclusive) to <input type="text" name="Filter" size="10" /> (exclusive) </td> >+ <td>[% t('From') %] <input type="text" name="Filter" size="10" /> [% t('(inclusive) to') %] <input type="text" name="Filter" size="10" /> [% t('(exclusive)') %] </td> > </tr> > [% IF ( hassort1 ) %] >- <tr><td>Patron sort 1</td> >+ <tr><td>[% t('Patron sort 1') %]</td> > <td><input type="radio" name="Line" value="borrowers.sort1" /></td> > <td><input type="radio" name="Column" value="borrowers.sort1" /></td> > <td><select name="Filter" id="sort1"> > <option value=""> </option> > [% FOREACH Bsort IN Bsort1 %] >- <option value="[% Bsort.authorised_value %]" >[% Bsort.lib %]</option> >+ <option value="[% Bsort.authorised_value %]">[% Bsort.lib %]</option> > [% END %] > </select> > </td> > </tr> > [% END %] > [% IF ( hassort2 ) %] >- <tr><td>Patron sort 2</td> >+ <tr><td>[% t('Patron sort 2') %]</td> > <td><input type="radio" name="Line" value="borrowers.sort2" /></td> > <td><input type="radio" name="Column" value="borrowers.sort2" /></td> > <td><select name="Filter" id="sort2"> > <option value=""> </option> > [% FOREACH Bsort IN Bsort2 %] >- <option value="[% Bsort.authorised_value %]" >[% Bsort.lib %]</option> >+ <option value="[% Bsort.authorised_value %]">[% Bsort.lib %]</option> > [% END %] > </select> > </td> > </tr> > [% END %] >- <tr><td>Home library</td> >+ <tr><td>[% t('Home library') %]</td> > <td><input type="radio" name="Line" value="items.homebranch" /></td> > <td><input type="radio" name="Column" value="items.homebranch" /></td> > <td><select name="Filter" id="homebranch"> >@@ -250,7 +251,7 @@ > </td> > </tr> > >- <tr><td>Holding library</td> >+ <tr><td>[% t('Holding library') %]</td> > <td><input type="radio" name="Line" value="items.holdingbranch" /></td> > <td><input type="radio" name="Column" value="items.holdingbranch" /></td> > <td><select name="Filter" id="holdingbranch"> >@@ -260,12 +261,12 @@ > </td> > </tr> > <tr> >- <td>Patron library</td> >+ <td>[% t('Patron library') %]</td> > <td><input type="radio" name="Line" value="borrowers.branchcode" /></td> > <td><input type="radio" name="Column" value="borrowers.branchcode" /></td> > <td> > <select name="Filter" id="patronbranch"> >- <option value=""> </option> >+ <option value=""> </option> > [% FOREACH branch IN branchloop %] > <option value="[% branch.value %]"> > [% branch.branchname %] >@@ -276,7 +277,7 @@ > </tr> > [% IF (attribute_types_by_class.keys.size) %] > <tr> >- <th colspan="4">Patron attributes</th> >+ <th colspan="4">[% t('Patron attributes') %]</th> > </tr> > [% FOREACH class IN attribute_types_by_class.keys.sort %] > [% IF (class) %] >@@ -293,7 +294,7 @@ > <td> > [% IF attr_type.authorised_value_category %] > <select name="Filter_borrower_attributes.[% attr_type.code %]"> >- <option value=""> </option> >+ <option value=""> </option> > [% FOREACH av IN attr_type.authorised_values %] > <option value="[% av.authorised_value %]"> > [% av.lib %] >@@ -313,33 +314,33 @@ > </table><br /></fieldset> > > <fieldset class="rows"> >- <legend>Cell value</legend> >+ <legend>[% t('Cell value') %]</legend> > <ol> > <li> >- <label for="cellvalue1">Count total items:</label> >+ <label for="cellvalue1">[% t('Count total items:') %]</label> > <input type="radio" name="Cellvalue" value="1" id="cellvalue1" checked="checked" /> > </li> > <li> >- <label for="cellvalue3">Count unique items:</label> >+ <label for="cellvalue3">[% t('Count unique items:') %]</label> > <input type="radio" name="Cellvalue" id="cellvalue3" value="3" /> > </li> > <li> >- <label for="cellvalue5">Count unique biblios:</label> >+ <label for="cellvalue5">[% t('Count unique biblios:') %]</label> > <input type="radio" name="Cellvalue" id="cellvalue5" value="5" /> > </li> > </ol> > </fieldset> > > <fieldset class="rows"> >- <legend>Output</legend> >+ <legend>[% t('Output') %]</legend> > <ol> > <li> >- <label for="outputscreen">To screen into the browser: </label><input type="radio" checked="checked" name="output" id="outputscreen" value="screen" /> >+ <label for="outputscreen">[% t('To screen into the browser:') %] </label><input type="radio" checked="checked" name="output" id="outputscreen" value="screen" /> > </li> > <li> >- <label for="outputfile">To a file:</label> <input type="radio" name="output" value="file" id="outputfile" /> >- <label class="inline" for="basename">Named: </label><input type="text" name="basename" id="basename" value="Export" /> >- <label class="inline" for="MIME">Into an application:</label> >+ <label for="outputfile">[% t('To a file:') %]</label> <input type="radio" name="output" value="file" id="outputfile" /> >+ <label class="inline" for="basename">[% t('Named:') %] </label><input type="text" name="basename" id="basename" value="Export" /> >+ <label class="inline" for="MIME">[% t('Into an application:') %]</label> > <select name="MIME" id="MIME" size="1"> > [% FOREACH value IN CGIextChoice %] > <option value="[% value %]">[% value %]</option> >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/itemslost.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/reports/itemslost.tt >index 596e99dffa..1554be9e52 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/itemslost.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/reports/itemslost.tt >@@ -1,3 +1,4 @@ >+[% PROCESS 'i18n.inc' %] > [% USE Asset %] > [% USE AuthorisedValues %] > [% USE Branches %] >@@ -6,7 +7,7 @@ > [% USE ItemTypes %] > [% SET footerjs = 1 %] > [% INCLUDE 'doc-head-open.inc' %] >-<title>Koha › Reports › Lost items</title> >+<title>[% t('Koha ⺠Reports ⺠Lost items') %]</title> > [% INCLUDE 'doc-head-close.inc' %] > [% Asset.css("css/datatables.css") %] > </head> >@@ -15,7 +16,7 @@ > [% INCLUDE 'header.inc' %] > [% INCLUDE 'cat-search.inc' %] > >-<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> › <a href="/cgi-bin/koha/reports/reports-home.pl">Reports</a>[% IF ( get_items ) %] › <a href="/cgi-bin/koha/reports/itemslost.pl">Lost items</a> › Results[% ELSE %] › Lost items[% END %]</div> >+<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">[% t('Home') %]</a> ⺠<a href="/cgi-bin/koha/reports/reports-home.pl">[% t('Reports') %]</a>[% IF ( get_items ) %] ⺠<a href="/cgi-bin/koha/reports/itemslost.pl">[% t('Lost items') %]</a> [% t('⺠Results') %][% ELSE %] [% t('⺠Lost items') %][% END %]</div> > > <div id="doc3" class="yui-t2"> > >@@ -23,34 +24,34 @@ > <div id="yui-main"> > <div class="yui-b"> > >-<h1>Lost items</h1> >+<h1>[% t('Lost items') %]</h1> > > [% IF ( get_items ) %] > > <div class="results"> > [% IF items.count%] >- [% items.count %] lost items found >+ [% items.count %] [% t('lost items found') %] > [% ELSE %] >- No lost items found >+ [% t('No lost items found') %] > [% END %] > </div> > > [% IF items.count %] > <div class="lostitems-table_table_controls"> >- | <a href="#" class="SelectAll"><i class="fa fa-check"></i> Select all</a> | >- <a href="#" class="ClearAll"><i class="fa fa-remove"></i> Clear all</a> >+ | <a href="#" class="SelectAll"><i class="fa fa-check"></i> [% t('Select all') %]</a> | >+ <a href="#" class="ClearAll"><i class="fa fa-remove"></i> [% t('Clear all') %]</a> > <span class="itemselection_actions"> >- | Actions: >+ [% t('| Actions:') %] > [% IF csv_profiles.count %] >- <a class="itemselection_action_export"><i class="fa fa-download"></i> Export selected items</a> >- Using the following CSV profile: >+ <a class="itemselection_action_export"><i class="fa fa-download"></i> [% t('Export selected items') %]</a> >+ [% t('Using the following CSV profile:') %] > <select name="csv_profile_id" id="csv_profile_id"> > [% FOREACH csv_profile IN csv_profiles %] >- <option value="[% csv_profile.export_format_id %]">[% csv_profile.profile %]</<option> >+ <option value="[% csv_profile.export_format_id %]">[% csv_profile.profile %]<!--<option--> > [% END %] > </select> > [% ELSE %] >- <span class="itemselection_action_export" title="You should create a CSV profile for export_lost_items"><i class="fa fa-download"></i> Export selected items</a> >+ <span class="itemselection_action_export" title="[% t('You should create a CSV profile for export_lost_items') %]"><i class="fa fa-download"></i> [% t('Export selected items') %]</a> > [% END %] > </span> > </div> >@@ -59,21 +60,21 @@ > <thead> > <tr> > <th class="NoSort"></th> >- <th>Title</th> >- <th>Author</th> >- <th>Lost status</th> >- <th class="title-string">Lost on</th> >- <th>Barcode</th> >- <th>Call number</th> >- <th class="title-string">Date last seen</th> >- <th>Price</th> >- <th>Rep.price</th> >- <th>Library</th> >- <th>Item type</th> >- <th>Current location</th> >- <th>Location</th> >- <th>Not for loan status</th> >- <th>Notes</th> >+ <th>[% t('Title') %]</th> >+ <th>[% t('Author') %]</th> >+ <th>[% t('Lost status') %]</th> >+ <th class="title-string">[% t('Lost on') %]</th> >+ <th>[% t('Barcode') %]</th> >+ <th>[% t('Call number') %]</th> >+ <th class="title-string">[% t('Date last seen') %]</th> >+ <th>[% t('Price') %]</th> >+ <th>[% t('Rep.price') %]</th> >+ <th>[% t('Library') %]</th> >+ <th>[% t('Item type') %]</th> >+ <th>[% t('Current location') %]</th> >+ <th>[% t('Location') %]</th> >+ <th>[% t('Not for loan status') %]</th> >+ <th>[% t('Notes') %]</th> > </tr> > </thead> > <tbody> >@@ -112,22 +113,22 @@ > <fieldset class="rows"> > <ol> > >- <li><label for="barcodefilter">Barcode: </label><input type="text" name="barcodefilter" id="barcodefilter" size="6" /></li> >- <li><label for="branchfilter">Library: </label><select name="branchfilter" id="branchfilter"> >- <option value="">All</option> >+ <li><label for="barcodefilter">[% t('Barcode:') %] </label><input type="text" name="barcodefilter" id="barcodefilter" size="6" /></li> >+ <li><label for="branchfilter">[% t('Library:') %] </label><select name="branchfilter" id="branchfilter"> >+ <option value="">[% t('All') %]</option> > [% PROCESS options_for_libraries libraries => Branches.all() %] > </select></li> >- <li><label for="itemtypesfilter">Item type: </label><select name="itemtypesfilter" id="itemtypesfilter"> >- <option value="">All</option> >+ <li><label for="itemtypesfilter">[% t('Item type:') %] </label><select name="itemtypesfilter" id="itemtypesfilter"> >+ <option value="">[% t('All') %]</option> > [% FOREACH itemtype IN itemtypes %] > <option value="[% itemtype.itemtype %]">[% itemtype.translated_description %]</option> > [% END %] > </select></li> > > <li> >- <label for="loststatusfilter">Lost status: </label> >+ <label for="loststatusfilter">[% t('Lost status:') %] </label> > <select name="loststatusfilter" id="loststatusfilter"> >- <option value="">All</option> >+ <option value="">[% t('All') %]</option> > [% FOREACH l IN AuthorisedValues.GetDescriptionsByKohaField( kohafield => 'items.itemlost') %] > [% IF l.authorised_value == lostfilter %] > <option value="[% l.authorised_value %]" selected="selected">[% l.lib %]</option> >@@ -139,9 +140,9 @@ > </li> > > <li> >- <label for="notforloanfilter">Not for loan: </label> >+ <label for="notforloanfilter">[% t('Not for loan:') %] </label> > <select name="notforloanfilter" id="notforloanfilter"> >- <option value="">All</option> >+ <option value="">[% t('All') %]</option> > [% FOREACH n IN AuthorisedValues.GetDescriptionsByKohaField( kohafield => 'items.notforloan') %] > [% IF n.authorised_value == notforloanfilter %] > <option value="[% n.authorised_value %]" selected="selected">[% n.lib %]</option> >@@ -172,7 +173,7 @@ > [% INCLUDE 'columns_settings.inc' %] > [% Asset.js("js/table_filters.js") %] > [% Asset.js("lib/jquery/plugins/jquery.checkboxes.min.js") %] >- <script type='text/javascript'> >+ <script type="text/javascript"> > $(document).ready(function() { > var columns_settings = [% ColumnsSettings.GetColumns( 'reports', 'lostitems', 'lostitems-table', 'json' ) %]; > var lostitems_table = KohaTable("lostitems-table", { >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/itemtypes.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/reports/itemtypes.tt >index d1cb134e6d..e94569f543 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/itemtypes.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/reports/itemtypes.tt >@@ -1,9 +1,10 @@ >+[% PROCESS 'i18n.inc' %] > [% USE Asset %] > [% USE Branches %] > [% USE ItemTypes %] > [% SET footerjs = 1 %] > [% INCLUDE 'doc-head-open.inc' %] >-<title>Koha › Reports › Catalog by item types</title> >+<title>[% t('Koha ⺠Reports ⺠Catalog by item types') %]</title> > [% INCLUDE 'doc-head-close.inc' %] > [% IF ( do_it ) %] > [% Asset.css("css/datatables.css") %] >@@ -14,7 +15,7 @@ > [% INCLUDE 'header.inc' %] > [% INCLUDE 'cat-search.inc' %] > >-<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> › <a href="/cgi-bin/koha/reports/reports-home.pl">Reports</a>[% IF ( do_it ) %] › <a href="/cgi-bin/koha/reports/manager.pl?report_name=itemtypes">Catalog by item type</a> › Results[% ELSE %] › Catalog by item type[% END %]</div> >+<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">[% t('Home') %]</a> ⺠<a href="/cgi-bin/koha/reports/reports-home.pl">[% t('Reports') %]</a>[% IF ( do_it ) %] ⺠<a href="/cgi-bin/koha/reports/manager.pl?report_name=itemtypes">[% t('Catalog by item type') %]</a> [% t('⺠Results') %][% ELSE %] [% t('⺠Catalog by item type') %][% END %]</div> > > <div id="doc3" class="yui-t2"> > >@@ -24,17 +25,17 @@ > > [% IF ( do_it ) %] > [% FOREACH mainloo IN mainloop %] >- <h1>Reports on item types [% IF branch %] held at [% Branches.GetName( branch ) %][% END %]</h1> >+ <h1>[% t('Reports on item types') %] [% IF branch %] [% t('held at') %] [% Branches.GetName( branch ) %][% END %]</h1> > <table id="itemtypest"> > <thead> > <tr> >- <th>Item type</th> >- <th>Count</th> >+ <th>[% t('Item type') %]</th> >+ <th>[% t('Count') %]</th> > </tr> > </thead> > <tfoot> > <tr> >- <th>TOTAL</th> >+ <th>[% t('TOTAL') %]</th> > <th>[% mainloo.total %]</th> > </tr> > </tfoot> >@@ -49,17 +50,17 @@ > </table> > [% END %] > [% ELSE %] >- <h3>View a count of items held at your library grouped by item type</h3> >+ <h3>[% t('View a count of items held at your library grouped by item type') %]</h3> > <form method="post" action="/cgi-bin/koha/reports/manager.pl?report_name=itemtypes"> > <fieldset class="rows"> > <ol> > <li> >- <label for="value">Select a library:</label> >+ <label for="value">[% t('Select a library:') %]</label> > <select name="value" size="1" id="value"> > <option value=""></option> > [% PROCESS options_for_libraries libraries => Branches.all() %] > </select> >- <span class="tip">Select none to see all libraries</span> >+ <span class="tip">[% t('Select none to see all libraries') %]</span> > </li> > </ol> > </fieldset> >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/orders_by_budget.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/reports/orders_by_budget.tt >index edea6ad546..d28cd7bdea 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/orders_by_budget.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/reports/orders_by_budget.tt >@@ -1,8 +1,9 @@ >+[% PROCESS 'i18n.inc' %] > [% USE Asset %] > [% USE Price %] > [% SET footerjs = 1 %] > [% INCLUDE 'doc-head-open.inc' %] >-<title>Koha › Reports › Orders by fund</title> >+<title>[% t('Koha ⺠Reports ⺠Orders by fund') %]</title> > [% INCLUDE 'doc-head-close.inc' %] > </head> > <body id="rep_orders_by_budget" class="rep"> >@@ -10,7 +11,7 @@ > [% INCLUDE 'cat-search.inc' %] > > [% Asset.css("css/datatables.css") %] >-<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> › <a href="/cgi-bin/koha/reports/reports-home.pl">Reports</a>[% IF ( get_orders ) %] › <a href="/cgi-bin/koha/reports/orders_by_fund.pl">Orders by fund</a> › Results[% ELSE %] › Orders by fund[% END %]</div> >+<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">[% t('Home') %]</a> ⺠<a href="/cgi-bin/koha/reports/reports-home.pl">[% t('Reports') %]</a>[% IF ( get_orders ) %] ⺠<a href="/cgi-bin/koha/reports/orders_by_fund.pl">[% t('Orders by fund') %]</a> [% t('⺠Results') %][% ELSE %] [% t('⺠Orders by fund') %][% END %]</div> > > <div id="doc3" class="yui-t2"> > >@@ -18,38 +19,38 @@ > <div id="yui-main"> > <div class="yui-b"> > >-[% IF ( current_budget_name ) %]<h1>Orders for fund '[% current_budget_name %]'</h1> >-[% ELSE %]<h1>Orders by fund</h1> >+[% IF ( current_budget_name ) %]<h1>[% t('Orders for fund \'') %][% current_budget_name %]'</h1> >+[% ELSE %]<h1>[% t('Orders by fund') %]</h1> > [% END %] > > [% IF ( get_orders ) %] > <div class="results"> > [% IF ( total ) %] >- Orders found: [% total %] >+ [% t('Orders found:') %] [% total %] > [% ELSE %] >- No order found >+ [% t('No order found') %] > [% END %] > </div> > > [% IF ( ordersloop ) %]<table id="funds"> > <thead> > <tr> >- <th>Fund</th> >- <th>Basket</th> >- <th>Basket name</th> >- <th>Basket by</th> >- <th>Title</th> >- <th>Currency</th> >- <th>List price</th> >- <th>RRP</th> >- <th>Budgeted cost</th> >- <th>Quantity</th> >- <th>Total RRP</th> >- <th>Total cost</th> >- <th>Entry date</th> >- <th>Date received</th> >- <th>Internal note</th> >- <th>Vendor note</th> >+ <th>[% t('Fund') %]</th> >+ <th>[% t('Basket') %]</th> >+ <th>[% t('Basket name') %]</th> >+ <th>[% t('Basket by') %]</th> >+ <th>[% t('Title') %]</th> >+ <th>[% t('Currency') %]</th> >+ <th>[% t('List price') %]</th> >+ <th>[% t('RRP') %]</th> >+ <th>[% t('Budgeted cost') %]</th> >+ <th>[% t('Quantity') %]</th> >+ <th>[% t('Total RRP') %]</th> >+ <th>[% t('Total cost') %]</th> >+ <th>[% t('Entry date') %]</th> >+ <th>[% t('Date received') %]</th> >+ <th>[% t('Internal note') %]</th> >+ <th>[% t('Vendor note') %]</th> > </tr> > </thead> > <tbody> >@@ -76,17 +77,17 @@ > </tr> > [% END %] > </tbody> >- <tfoot><tr><th>TOTAL</th><th></th><th></th><th></th><th></th><th></th><th></th><th></th><th></th><th>[% total_quantity %]</th><th>[% total_rrp | $Price %]</th><th>[% total_ecost | $Price %]</th><th></th><th></th><th></th><th></th></tr></tfoot> >+ <tfoot><tr><th>[% t('TOTAL') %]</th><th></th><th></th><th></th><th></th><th></th><th></th><th></th><th></th><th>[% total_quantity %]</th><th>[% total_rrp | $Price %]</th><th>[% total_ecost | $Price %]</th><th></th><th></th><th></th><th></th></tr></tfoot> > </table> > [% END %] > [% ELSE %] > <form name="f" action="/cgi-bin/koha/reports/orders_by_fund.pl" method="post"> > <fieldset class="rows"> >- <legend>Filters</legend> >- <ol><li><label for="budgetfilter">Fund: </label> >+ <legend>[% t('Filters') %]</legend> >+ <ol><li><label for="budgetfilter">[% t('Fund:') %] </label> > <select name="budgetfilter" id="budgetfilter"> >- <option value="">All funds</option> >- <option value="activebudgets">All active funds</option> >+ <option value="">[% t('All funds') %]</option> >+ <option value="activebudgets">[% t('All active funds') %]</option> > [% FOREACH budgetsloo IN budgetsloop %] > [% IF ( budgetsloo.selected ) %] > <option value="[% budgetsloo.value %]" selected="selected"> >@@ -94,29 +95,29 @@ > [% bdgclass=budgetsloo.active? "": "b_inactive" %] > <option class="[% bdgclass %]" value="[% budgetsloo.value %]"> > [% END %] >- [% budgetsloo.description %] [% IF !budgetsloo.active %](inactive)[% END %] >+ [% budgetsloo.description %] [% IF !budgetsloo.active %][% t('(inactive)') %][% END %] > </option> > [% END %] > </select> >- <label for="showallbudgets" style="float:none;"> Show inactive:</label> >+ <label for="showallbudgets" style="float:none;">[% t(' Show inactive:') %]</label> > <input type="checkbox" id="showbudgets" /> > </li></ol> > </fieldset> > > <fieldset class="rows"> >- <legend>Output</legend> >- <ol><li><label for="outputscreen">To screen into the browser: </label><input type="radio" checked="checked" name="output" id="outputscreen" value="screen" /> </li> >- <li><label for="outputfile">To a file:</label> >+ <legend>[% t('Output') %]</legend> >+ <ol><li><label for="outputscreen">[% t('To screen into the browser:') %] </label><input type="radio" checked="checked" name="output" id="outputscreen" value="screen" /> </li> >+ <li><label for="outputfile">[% t('To a file:') %]</label> > <input type="radio" name="output" value="file" id="outputfile" /> >- <label class="inline" for="basename">Named: </label> >+ <label class="inline" for="basename">[% t('Named:') %] </label> > <input type="text" name="basename" id="basename" value="Export" /> >- <label class="inline" for="MIME">Into an application </label> >- <select id='MIME' name='MIME' size='1'> >+ <label class="inline" for="MIME">[% t('Into an application') %] </label> >+ <select id="MIME" name="MIME" size="1"> > [% FOREACH outputFormatloo IN outputFormatloop %] > <option value="[% outputFormatloo %]">[% outputFormatloo %]</option> > [% END %] > </select> >- <select id='sep' name='sep' size='1'> >+ <select id="sep" name="sep" size="1"> > [% FOREACH delimiterloo IN delimiterloop %] > [% IF delimiterloo == delimiterPreference %] > <option value="[% delimiterloo %]">[% delimiterloo %]</option> >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/reports-home.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/reports/reports-home.tt >index 3837eaa137..6c77b84439 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/reports-home.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/reports/reports-home.tt >@@ -1,13 +1,14 @@ >+[% PROCESS 'i18n.inc' %] > [% USE Koha %] > [% INCLUDE 'doc-head-open.inc' %] >-<title>Koha › Reports</title> >+<title>[% t('Koha ⺠Reports') %]</title> > [% INCLUDE 'doc-head-close.inc' %] > </head> > <body id="rep_reports-home" class="rep"> > [% INCLUDE 'header.inc' %] > [% INCLUDE 'circ-search.inc' %] > >-<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> › Reports</div> >+<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">[% t('Home') %]</a> [% t('⺠Reports') %]</div> > > <div class="main container-fluid"> > <div class="row"> >@@ -19,70 +20,70 @@ > [% IF ( CAN_user_reports_execute_reports || CAN_user_reports_create_reports ) %] > <form action="/cgi-bin/koha/reports/guided_reports.pl" method="get"> > <fieldset class="brief"> >- <h2>Guided reports</h2> >+ <h2>[% t('Guided reports') %]</h2> > <input name="phase" value="Use saved" type="hidden"> > <input name="filter_set" value="1" type="hidden"> > [% IF ( CAN_user_reports_create_reports ) %] > <p> >- <a href="/cgi-bin/koha/reports/guided_reports.pl?phase=Build%20new"><i class="fa fa-code-fork"></i> Create guided report</a> >+ <a href="/cgi-bin/koha/reports/guided_reports.pl?phase=Build%20new"><i class="fa fa-code-fork"></i> [% t('Create guided report') %]</a> > </p> > <p> >- <a href="/cgi-bin/koha/reports/guided_reports.pl?phase=Create%20report%20from%20SQL"><i class="fa fa-plus"></i> Create from SQL</a> >+ <a href="/cgi-bin/koha/reports/guided_reports.pl?phase=Create%20report%20from%20SQL"><i class="fa fa-plus"></i> [% t('Create from SQL') %]</a> > </p> > [% END %] > <p> >- <a href="/cgi-bin/koha/reports/guided_reports.pl?phase=Use%20saved"><i class="fa fa-list"></i> Use saved</a> >+ <a href="/cgi-bin/koha/reports/guided_reports.pl?phase=Use%20saved"><i class="fa fa-list"></i> [% t('Use saved') %]</a> > </p> >- <label for="filter_keyword">Search by keyword:</label> <input id="filter_keyword" name="filter_keyword" value="" size="16" type="text" /> <input value="Search" type="submit" /> >+ <label for="filter_keyword">[% t('Search by keyword:') %]</label> <input id="filter_keyword" name="filter_keyword" value="" size="16" type="text" /> <input value="Search" type="submit" /> > </fieldset> > </form> > [% END %] > >- <h5>Reports dictionary</h5> >+ <h5>[% t('Reports dictionary') %]</h5> > <ul> >- <li><a href="/cgi-bin/koha/reports/dictionary.pl?phase=View%20Dictionary">View dictionary</a></li> >+ <li><a href="/cgi-bin/koha/reports/dictionary.pl?phase=View%20Dictionary">[% t('View dictionary') %]</a></li> > </ul> > >- <h2>Statistics wizards</h2> >+ <h2>[% t('Statistics wizards') %]</h2> > <ul> >- <li><a href="/cgi-bin/koha/reports/acquisitions_stats.pl">Acquisitions</a></li> >- <li><a href="/cgi-bin/koha/reports/borrowers_stats.pl">Patrons</a></li> >- <li><a href="/cgi-bin/koha/reports/catalogue_stats.pl">Catalog</a></li> >- <li><a href="/cgi-bin/koha/reports/issues_stats.pl">Circulation</a></li> >- <li><a href="/cgi-bin/koha/reports/serials_stats.pl">Serials</a></li> >- <li><a href="/cgi-bin/koha/reports/cash_register_stats.pl">Cash register</a></li> >- <li><a href="/cgi-bin/koha/reports/reserves_stats.pl">Holds</a></li> >+ <li><a href="/cgi-bin/koha/reports/acquisitions_stats.pl">[% t('Acquisitions') %]</a></li> >+ <li><a href="/cgi-bin/koha/reports/borrowers_stats.pl">[% t('Patrons') %]</a></li> >+ <li><a href="/cgi-bin/koha/reports/catalogue_stats.pl">[% t('Catalog') %]</a></li> >+ <li><a href="/cgi-bin/koha/reports/issues_stats.pl">[% t('Circulation') %]</a></li> >+ <li><a href="/cgi-bin/koha/reports/serials_stats.pl">[% t('Serials') %]</a></li> >+ <li><a href="/cgi-bin/koha/reports/cash_register_stats.pl">[% t('Cash register') %]</a></li> >+ <li><a href="/cgi-bin/koha/reports/reserves_stats.pl">[% t('Holds') %]</a></li> > </ul> > > [% IF UseKohaPlugins %] >- <h2>Report plugins</h2> >+ <h2>[% t('Report plugins') %]</h2> > <ul> >- <li><a href="/cgi-bin/koha/plugins/plugins-home.pl?method=report">Report plugins</a></li> >+ <li><a href="/cgi-bin/koha/plugins/plugins-home.pl?method=report">[% t('Report plugins') %]</a></li> > </ul> > [% END %] > > </div> > >- <div class="col-xs-6"><h2>Top lists</h2> >+ <div class="col-xs-6"><h2>[% t('Top lists') %]</h2> > <ul> >- <li><a href="/cgi-bin/koha/reports/bor_issues_top.pl">Patrons with the most checkouts</a></li> >- <li><a href="/cgi-bin/koha/reports/cat_issues_top.pl">Most-circulated items</a></li> >+ <li><a href="/cgi-bin/koha/reports/bor_issues_top.pl">[% t('Patrons with the most checkouts') %]</a></li> >+ <li><a href="/cgi-bin/koha/reports/cat_issues_top.pl">[% t('Most-circulated items') %]</a></li> > </ul> > >- <h2>Inactive</h2> >+ <h2>[% t('Inactive') %]</h2> > <ul> >- <li><a href="/cgi-bin/koha/reports/borrowers_out.pl">Patrons who haven't checked out</a></li> >- <li><a href="/cgi-bin/koha/reports/catalogue_out.pl">Items with no checkouts</a></li> >+ <li><a href="/cgi-bin/koha/reports/borrowers_out.pl">[% t('Patrons who haven\'t checked out') %]</a></li> >+ <li><a href="/cgi-bin/koha/reports/catalogue_out.pl">[% t('Items with no checkouts') %]</a></li> > </ul> > >- <h2>Other</h2> >+ <h2>[% t('Other') %]</h2> > <ul> >- <li><a href="/cgi-bin/koha/reports/itemslost.pl">Items lost</a></li> >- <li><a href="/cgi-bin/koha/reports/orders_by_fund.pl">Orders by fund</a></li> >- <li><a href="/cgi-bin/koha/reports/manager.pl?report_name=itemtypes">Catalog by item type</a></li> >- <li><a href="/cgi-bin/koha/reports/issues_avg_stats.pl">Average loan time</a></li> >- <li><a href="http://schema.koha-community.org/" target="blank">Koha database schema</a></li> >- <li><a href="http://wiki.koha-community.org/wiki/SQL_Reports_Library" target="blank">Koha reports library</a></li> >+ <li><a href="/cgi-bin/koha/reports/itemslost.pl">[% t('Items lost') %]</a></li> >+ <li><a href="/cgi-bin/koha/reports/orders_by_fund.pl">[% t('Orders by fund') %]</a></li> >+ <li><a href="/cgi-bin/koha/reports/manager.pl?report_name=itemtypes">[% t('Catalog by item type') %]</a></li> >+ <li><a href="/cgi-bin/koha/reports/issues_avg_stats.pl">[% t('Average loan time') %]</a></li> >+ <li><a href="http://schema.koha-community.org/" target="blank">[% t('Koha database schema') %]</a></li> >+ <li><a href="http://wiki.koha-community.org/wiki/SQL_Reports_Library" target="blank">[% t('Koha reports library') %]</a></li> > </ul></div> > </div> > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/reserves_stats.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/reports/reserves_stats.tt >index 0a10c00230..64fcdf8ee1 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/reserves_stats.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/reports/reserves_stats.tt >@@ -1,7 +1,8 @@ >+[% PROCESS 'i18n.inc' %] > [% USE Branches %] > [% SET footerjs = 1 %] > [% INCLUDE 'doc-head-open.inc' %] >-<title>Koha › Reports › Holds statistics [% IF ( do_it ) %]› Results[% END %]</title> >+<title>[% t('Koha ⺠Reports ⺠Holds statistics') %] [% IF ( do_it ) %][% t('⺠Results') %][% END %]</title> > [% INCLUDE 'doc-head-close.inc' %] > <style type="text/css"> > .sql {display:none;} >@@ -12,7 +13,7 @@ > [% INCLUDE 'header.inc' %] > [% INCLUDE 'cat-search.inc' %] > >-<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> › <a href="/cgi-bin/koha/reports/reports-home.pl">Reports</a> [% IF ( do_it ) %]› <a href="/cgi-bin/koha/reports/reserves_stats.pl">Holds statistics</a> › Results [% ELSE %]› Holds statistics[% END %]</div> >+<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">[% t('Home') %]</a> ⺠<a href="/cgi-bin/koha/reports/reports-home.pl">[% t('Reports') %]</a> [% IF ( do_it ) %]⺠<a href="/cgi-bin/koha/reports/reserves_stats.pl">[% t('Holds statistics') %]</a> [% t('⺠Results') %] [% ELSE %][% t('⺠Holds statistics') %][% END %]</div> > > <div id="doc3" class="yui-t2"> > >@@ -22,12 +23,12 @@ > > [% IF ( do_it ) %] > [% IF ( mainloop ) %] >- <h1>Holds statistics</h1> >+ <h1>[% t('Holds statistics') %]</h1> > [% IF ( loopfilter ) %] >- <p>Filtered on:</p> >+ <p>[% t('Filtered on:') %]</p> > <ul> > [% FOREACH loopfilte IN loopfilter %] >- [% IF ( loopfilte.err ) %]<li class="error">Error: >+ [% IF ( loopfilte.err ) %]<li class="error">[% t('Error:') %] > [% ELSIF ( loopfilte.sql ) %]<li class="sql"> > [% ELSE %]<li> > [% END %] >@@ -45,21 +46,21 @@ > [% FOREACH loopco IN mainloo.loopcol %] > <th>[% loopco.coltitle_display |html %]</th> > [% END %] >- <th>TOTAL</th> >+ <th>[% t('TOTAL') %]</th> > </tr> > [% FOREACH loopro IN mainloo.looprow %] > <tr> > <td>[% loopro.rowtitle_display or "UNKNOWN VALUE" |html %]</td> > [% FOREACH loopcel IN loopro.loopcell %] > <td align="center"> >- [% IF ( loopcel.url_complement ) %]<a href="reserves_stats.pl?output=[% loopcel.output %]&[% loopcel.url_complement %]">[% loopcel.value %]</a>[% ELSE %][% loopcel.value %][% END %] >+ [% IF ( loopcel.url_complement ) %]<a href="reserves_stats.pl?output=[% loopcel.output %]&[% loopcel.url_complement %]">[% loopcel.value %]</a>[% ELSE %][% loopcel.value %][% END %] > </td> > [% END %] > <td align="center">[% loopro.totalrow %]</td> > </tr> > [% END %] > <tr> >- <th>TOTAL</th> >+ <th>[% t('TOTAL') %]</th> > [% FOREACH loopfoote IN mainloo.loopfooter %] > <th>[% loopfoote.totalcol %]</th> > [% END %] >@@ -72,70 +73,70 @@ > > <form method="post" action="/cgi-bin/koha/reports/reserves_stats.pl"> > <fieldset class="rows"> >- <legend>Holds statistics</legend><table> >+ <legend>[% t('Holds statistics') %]</legend><table> > <thead> > <tr> >- <th>Title</th> >- <th>Row</th> >- <th>Column</th> >- <th>Filter</th> >+ <th>[% t('Title') %]</th> >+ <th>[% t('Row') %]</th> >+ <th>[% t('Column') %]</th> >+ <th>[% t('Filter') %]</th> > </tr> > </thead> > <tbody> >- <tr > >- <td>Hold status </td> >+ <tr> >+ <td>[% t('Hold status') %] </td> > <td><input type="radio" name="Line" value="reservestatus" /></td> > <td><input type="radio" name="Column" value="reservestatus" checked="checked" /></td> > <td> >- <input type="checkbox" name="filter_reservestatus_or_1" value="1" /> Asked >- <input type="checkbox" name="filter_reservestatus_or_2" value="2" /> Processing >- <input type="checkbox" name="filter_reservestatus_or_3" value="3" /> Waiting >- <input type="checkbox" name="filter_reservestatus_or_4" value="4" /> Satisfied >- <input type="checkbox" name="filter_reservestatus_or_5" value="5" /> Cancelled >+ <input type="checkbox" name="filter_reservestatus_or_1" value="1" /> [% t('Asked') %] >+ <input type="checkbox" name="filter_reservestatus_or_2" value="2" /> [% t('Processing') %] >+ <input type="checkbox" name="filter_reservestatus_or_3" value="3" /> [% t('Waiting') %] >+ <input type="checkbox" name="filter_reservestatus_or_4" value="4" /> [% t('Satisfied') %] >+ <input type="checkbox" name="filter_reservestatus_or_5" value="5" /> [% t('Cancelled') %] > </td> > </tr> > <tr> >- <td>Hold date</td> >+ <td>[% t('Hold date') %]</td> > <td><input type="radio" name="Line" value="reservedate" /></td> > <td><input type="radio" name="Column" value="reservedate" /></td> >- <td><label for="filter_reservedate_begin">From</label> <input type="text" size="10" id="filter_reservedate_begin" name="filter_reservedate_begin" /> >- <label for="filter_reservedate_end">To</label> <input size="10" id="filter_reservedate_end" name="filter_reservedate_end" value="" type="text" /> >+ <td><label for="filter_reservedate_begin">[% t('From') %]</label> <input type="text" size="10" id="filter_reservedate_begin" name="filter_reservedate_begin" /> >+ <label for="filter_reservedate_end">[% t('To') %]</label> <input size="10" id="filter_reservedate_end" name="filter_reservedate_end" value="" type="text" /> > </td> > </tr> > <tr> >- <td>Notification date</td> >+ <td>[% t('Notification date') %]</td> > <td><input type="radio" name="Line" value="notificationdate" /></td> > <td><input type="radio" name="Column" value="notificationdate" /></td> >- <td><label for="filter_notificationdate_begin">From</label> <input type="text" size="10" id="filter_notificationdate_begin" name="filter_notificationdate_begin" /> >- <label for="filter_notificationdate_end">To</label> <input size="10" id="filter_notificationdate_end" name="filter_notificationdate_end" value="" type="text" /> >+ <td><label for="filter_notificationdate_begin">[% t('From') %]</label> <input type="text" size="10" id="filter_notificationdate_begin" name="filter_notificationdate_begin" /> >+ <label for="filter_notificationdate_end">[% t('To') %]</label> <input size="10" id="filter_notificationdate_end" name="filter_notificationdate_end" value="" type="text" /> > </td> > </tr> > <tr> >- <td>Reminder date</td> >+ <td>[% t('Reminder date') %]</td> > <td><input type="radio" name="Line" value="reminderdate" /></td> > <td><input type="radio" name="Column" value="reminderdate" /></td> >- <td><label for="filter_reminderdate_begin">From</label> <input type="text" size="10" id="filter_reminderdate_begin" name="Filter" /> >- <label for="filter_reminderdate_end">To</label> <input size="10" id="filter_reminderdate_end" name="filter_reminderdate_end" value="" type="text" /> >+ <td><label for="filter_reminderdate_begin">[% t('From') %]</label> <input type="text" size="10" id="filter_reminderdate_begin" name="Filter" /> >+ <label for="filter_reminderdate_end">[% t('To') %]</label> <input size="10" id="filter_reminderdate_end" name="filter_reminderdate_end" value="" type="text" /> > </td> > </tr> > <tr> >- <td>Waiting date</td> >+ <td>[% t('Waiting date') %]</td> > <td><input type="radio" name="Line" value="waitingdate" /></td> > <td><input type="radio" name="Column" value="waitingdate" /></td> >- <td><label for="filter_waitingdate_begin">From</label> <input type="text" size="10" id="filter_waitingdate_begin" name="filter_waitingdate_begin" /> >- <label for="filter_waitingdate_end">To</label> <input size="10" id="filter_waitingdate_end" name="filter_waitingdate_end" value="" type="text" /> >+ <td><label for="filter_waitingdate_begin">[% t('From') %]</label> <input type="text" size="10" id="filter_waitingdate_begin" name="filter_waitingdate_begin" /> >+ <label for="filter_waitingdate_end">[% t('To') %]</label> <input size="10" id="filter_waitingdate_end" name="filter_waitingdate_end" value="" type="text" /> > </td> > </tr> > <tr> >- <td>Cancellation date</td> >+ <td>[% t('Cancellation date') %]</td> > <td><input type="radio" name="Line" value="cancellationdate" /></td> > <td><input type="radio" name="Column" value="cancellationdate" /></td> >- <td><label for="filter_cancellationdate_begin">From</label> <input type="text" size="10" id="filter_cancellationdate_begin" name="filter_cancellationdate_begin" /> >- <label for="filter_cancellationdate_end">To</label> <input size="10" id="filter_cancellationdate_end" name="filter_cancellationdate_end" value="" type="text" /> >+ <td><label for="filter_cancellationdate_begin">[% t('From') %]</label> <input type="text" size="10" id="filter_cancellationdate_begin" name="filter_cancellationdate_begin" /> >+ <label for="filter_cancellationdate_end">[% t('To') %]</label> <input size="10" id="filter_cancellationdate_end" name="filter_cancellationdate_end" value="" type="text" /> > </td> > </tr> > <tr> >- <td>Patron category</td> >+ <td>[% t('Patron category') %]</td> > <td><input type="radio" name="Line" value="borrowers.categorycode" /></td> > <td><input type="radio" name="Column" value="borrowers.categorycode" /></td> > <td><select name="filter_categorycode" id="borcat"> >@@ -147,7 +148,7 @@ > </td> > </tr> > <tr> >- <td>Item type</td> >+ <td>[% t('Item type') %]</td> > <td><input type="radio" name="Line" value="items.itype" /></td> > <td><input type="radio" name="Column" value="items.itype" /></td> > <td><select name="filter_items.itype" id="itype"> >@@ -159,7 +160,7 @@ > </td> > </tr> > <tr> >- <td>Pickup library</td> >+ <td>[% t('Pickup library') %]</td> > <td><input type="radio" name="Line" value="reserves.branchcode" checked="checked" /></td> > <td><input type="radio" name="Column" value="reserves.branchcode" /></td> > <td><select name="filter_reserves.branchcode" id="resbranchcode"> >@@ -169,7 +170,7 @@ > </td> > </tr> > <tr> >- <td>Holding library</td> >+ <td>[% t('Holding library') %]</td> > <td><input type="radio" name="Line" value="items.holdingbranch" /></td> > <td><input type="radio" name="Column" value="items.holdingbranch" /></td> > <td><select name="filter_items.holdingbranch" id="holdingbranch"> >@@ -179,7 +180,7 @@ > </td> > </tr> > <tr> >- <td>Home library</td> >+ <td>[% t('Home library') %]</td> > <td><input type="radio" name="Line" value="items.homebranch" /></td> > <td><input type="radio" name="Column" value="items.homebranch" /></td> > <td><select name="filter_items.homebranch" id="homebranch"> >@@ -189,8 +190,8 @@ > </td> > </tr> > <tr> >- <td>Collection</td> >- <td><input type="radio" name="Line" value="items.ccode" /></td> >+ <td>[% t('Collection') %]</td> >+ <td><input type="radio" name="Line" value="items.ccode" /></td> > <td><input type="radio" name="Column" value="items.ccode" /></td> > <td><select name="filter_items.ccode" id="ccode"> > <option value=""> </option> >@@ -201,7 +202,7 @@ > </td> > </tr> > <tr> >- <td>Shelving location</td> >+ <td>[% t('Shelving location') %]</td> > <td><input type="radio" name="Line" value="items.location" /></td> > <td><input type="radio" name="Column" value="items.location" /></td> > <td><select name="filter_items.location" id="location"> >@@ -213,32 +214,32 @@ > </td> > </tr> > <tr> >- <td>Item call number</td> >+ <td>[% t('Item call number') %]</td> > <td></td> > <td></td> >- <td>From <input type="text" name="filter_items.itemcallnumber_begin" size="10" /> (inclusive) to <input type="text" name="filter_items.itemcallnumber_endex" size="10" /> (exclusive) </td> >+ <td>[% t('From') %] <input type="text" name="filter_items.itemcallnumber_begin" size="10" /> [% t('(inclusive) to') %] <input type="text" name="filter_items.itemcallnumber_endex" size="10" /> [% t('(exclusive)') %] </td> > </tr> > [% IF ( hassort1 ) %] >- <tr><td>Patron sort 1</td> >+ <tr><td>[% t('Patron sort 1') %]</td> > <td><input type="radio" name="Line" value="borrowers.sort1" /></td> > <td><input type="radio" name="Column" value="borrowers.sort1" /></td> > <td><select name="filter_borrowers.sort1" id="sort1"> > <option value=""> </option> > [% FOREACH Bsort IN Bsort1 %] >- [% IF ( Bsort.selected ) %]<option value="[% Bsort.authorised_value %]" selected="selected">[% Bsort.lib %]</option>[% ELSE %]<option value="[% Bsort.authorised_value %]" >[% Bsort.lib %]</option>[% END %] >+ [% IF ( Bsort.selected ) %]<option value="[% Bsort.authorised_value %]" selected="selected">[% Bsort.lib %]</option>[% ELSE %]<option value="[% Bsort.authorised_value %]">[% Bsort.lib %]</option>[% END %] > [% END %] > </select> > </td> > </tr> > [% END %] > [% IF ( hassort2 ) %] >- <tr><td>Patron sort 2</td> >+ <tr><td>[% t('Patron sort 2') %]</td> > <td><input type="radio" name="Line" value="borrowers.sort2" /></td> > <td><input type="radio" name="Column" value="borrowers.sort2" /></td> > <td><select name="filter_borrowers.sort2" id="sort2"> > <option value=""> </option> > [% FOREACH Bsort IN Bsort2 %] >- [% IF ( Bsort.selected ) %]<option value="[% Bsort.authorised_value %]" selected="selected">[% Bsort.lib %]</option>[% ELSE %]<option value="[% Bsort.authorised_value %]" >[% Bsort.lib %]</option>[% END %] >+ [% IF ( Bsort.selected ) %]<option value="[% Bsort.authorised_value %]" selected="selected">[% Bsort.lib %]</option>[% ELSE %]<option value="[% Bsort.authorised_value %]">[% Bsort.lib %]</option>[% END %] > [% END %] > </select> > </td> >@@ -247,19 +248,19 @@ > </tbody> > </table><br /></fieldset> > >-<fieldset class="rows"><legend>Cell value </legend><ol><li><label for="cellvalue1">Count holds:</label> <input type="radio" name="Cellvalue" value="1" id="cellvalue1" checked="checked" /> </li> >- <li><label for="cellvalue2">Count unique borrowers:</label> <input type="radio" name="Cellvalue" value="2" id="cellvalue2" /> </li><li><label for="cellvalue3">Count unique items:</label> <input type="radio" name="Cellvalue" id="cellvalue3" value="3" /> </li><li><label for="cellvalue4">Count unique biblios:</label> <input type="radio" name="Cellvalue" id="cellvalue4" value="4" /> </li></ol></fieldset> >+<fieldset class="rows"><legend>[% t('Cell value') %] </legend><ol><li><label for="cellvalue1">[% t('Count holds:') %]</label> <input type="radio" name="Cellvalue" value="1" id="cellvalue1" checked="checked" /> </li> >+ <li><label for="cellvalue2">[% t('Count unique borrowers:') %]</label> <input type="radio" name="Cellvalue" value="2" id="cellvalue2" /> </li><li><label for="cellvalue3">[% t('Count unique items:') %]</label> <input type="radio" name="Cellvalue" id="cellvalue3" value="3" /> </li><li><label for="cellvalue4">[% t('Count unique biblios:') %]</label> <input type="radio" name="Cellvalue" id="cellvalue4" value="4" /> </li></ol></fieldset> > > <fieldset class="rows"> >- <legend>Output</legend> >+ <legend>[% t('Output') %]</legend> > <ol> > <li> >- <label for="outputscreen">To screen into the browser: </label><input type="radio" checked="checked" name="output" id="outputscreen" value="screen" /> >+ <label for="outputscreen">[% t('To screen into the browser:') %] </label><input type="radio" checked="checked" name="output" id="outputscreen" value="screen" /> > </li> > <li> >- <label for="outputfile">To a file:</label> <input type="radio" name="output" value="file" id="outputfile" /> >- <label class="inline" for="basename">Named: </label><input type="text" name="basename" id="basename" value="Export" /> >- <label class="inline" for="MIME">Into an application:</label> >+ <label for="outputfile">[% t('To a file:') %]</label> <input type="radio" name="output" value="file" id="outputfile" /> >+ <label class="inline" for="basename">[% t('Named:') %] </label><input type="text" name="basename" id="basename" value="Export" /> >+ <label class="inline" for="MIME">[% t('Into an application:') %]</label> > <select name="MIME" id="MIME" size="1"> > [% FOREACH value IN CGIextChoice %] > <option value="[% value %]">[% value %]</option> >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/serials_stats.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/reports/serials_stats.tt >index 25af72f510..637aafd12e 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/serials_stats.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/reports/serials_stats.tt >@@ -1,9 +1,10 @@ >+[% PROCESS 'i18n.inc' %] > [% USE Asset %] > [% USE KohaDates %] > [% USE Branches %] > [% SET footerjs = 1 %] > [% INCLUDE 'doc-head-open.inc' %] >-<title>Koha › Reports › Serials subscriptions stats</title> >+<title>[% t('Koha ⺠Reports ⺠Serials subscriptions stats') %]</title> > [% INCLUDE 'doc-head-close.inc' %] > <style type="text/css"> > .sql {display: none;} >@@ -15,26 +16,26 @@ > [% INCLUDE 'header.inc' %] > [% INCLUDE 'cat-search.inc' %] > >-<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> › <a href="/cgi-bin/koha/reports/reports-home.pl">Reports</a> › Serials subscriptions stats</div> >+<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">[% t('Home') %]</a> ⺠<a href="/cgi-bin/koha/reports/reports-home.pl">[% t('Reports') %]</a> [% t('⺠Serials subscriptions stats') %]</div> > > <div id="doc3" class="yui-t2"> > <div id="bd"> > <div id="yui-main"> > <div class="yui-b"> > >- <h1>Serials subscriptions</h1> >+ <h1>[% t('Serials subscriptions') %]</h1> > [% IF ( do_it ) %] > <table id="resulttable"> > <thead> > <tr> >- <th>Vendor</th> >- <th>Title</th> >- <th>Subscription id</th> >- <th>Branch</th> >- <th>Call number</th> >- <th>Subscription begin</th> >- <th>Subscription end</th> >- <th>Expired? / Closed?</th> >+ <th>[% t('Vendor') %]</th> >+ <th>[% t('Title') %]</th> >+ <th>[% t('Subscription id') %]</th> >+ <th>[% t('Branch') %]</th> >+ <th>[% t('Call number') %]</th> >+ <th>[% t('Subscription begin') %]</th> >+ <th>[% t('Subscription end') %]</th> >+ <th>[% t('Expired? / Closed?') %]</th> > </tr> > </thead> > <tbody> >@@ -49,9 +50,9 @@ > <td><span title="[% data.enddate %]">[% data.enddate | $KohaDates %]</span></td> > <td> > [% IF data.closed %] >- Closed >+ [% t('Closed') %] > [% ELSIF data.expired %] >- Expired >+ [% t('Expired') %] > [% END %] > </td> > </tr> >@@ -68,26 +69,26 @@ > <li> > > <label for="bookseller"> >- Vendor: >+ [% t('Vendor:') %] > </label> > <select name="bookseller" id="bookseller"> >- <option value="">Any vendor</option> >+ <option value="">[% t('Any vendor') %]</option> > [% FOREACH bookseller IN booksellers %] > <option value="[% bookseller.aqbooksellerid %]">[% bookseller.name %]</option> > [% END %] > </select> > </li><li> > <label for="branchcode"> >- Library: >+ [% t('Library:') %] > </label> >- <select name="branchcode" id="branchcode"> >- <option value="">Any library</option> >+ <select name="branchcode" id="branchcode"> >+ <option value="">[% t('Any library') %]</option> > [% PROCESS options_for_libraries libraries => Branches.all() %] > </select> > > </li> > <li> >- <label for="expired">Include expired subscriptions: </label> >+ <label for="expired">[% t('Include expired subscriptions:') %] </label> > <input type="checkbox" name="expired" id="expired" /> > </li> > </ol> >@@ -95,15 +96,15 @@ > > > <fieldset class="rows"> >- <legend>Output</legend> >+ <legend>[% t('Output') %]</legend> > <ol> > <li> >- <label for="outputscreen">To screen into the browser: </label><input type="radio" checked="checked" name="output" id="outputscreen" value="screen" /> >+ <label for="outputscreen">[% t('To screen into the browser:') %] </label><input type="radio" checked="checked" name="output" id="outputscreen" value="screen" /> > </li> > <li> >- <label for="outputfile">To a file:</label> <input type="radio" name="output" value="file" id="outputfile" /> >- <label class="inline" for="basename">Named: </label><input type="text" name="basename" id="basename" value="Export" /> >- <label class="inline" for="MIME">Into an application:</label> >+ <label for="outputfile">[% t('To a file:') %]</label> <input type="radio" name="output" value="file" id="outputfile" /> >+ <label class="inline" for="basename">[% t('Named:') %] </label><input type="text" name="basename" id="basename" value="Export" /> >+ <label class="inline" for="MIME">[% t('Into an application:') %]</label> > <select name="MIME" id="MIME" size="1"> > [% FOREACH value IN CGIextChoice %] > <option value="[% value %]">[% value %]</option> >-- >2.17.1
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 20988
:
76333
|
76334
|
76335
|
76336
|
76337
|
76338
|
76339
|
76340
|
76341
|
76342
|
76343
|
76344
|
76345
|
76346
|
76347
|
76348
|
76349
|
76350
|
76351
|
76352
|
76353
|
76354
|
76355
|
76356
|
76357
|
76358
|
76359
|
76360
|
76361
|
76362
|
76363
|
76364
|
76365
|
76934
|
76935