Bugzilla – Attachment 76347 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/course_reserves
Bug-20988-koha-tmplintranet-tmplprogenmodulescours.patch (text/plain), 39.25 KB, created by
Julian Maurice
on 2018-06-25 07:22:36 UTC
(
hide
)
Description:
Bug 20988: koha-tmpl/intranet-tmpl/prog/en/modules/course_reserves
Filename:
MIME Type:
Creator:
Julian Maurice
Created:
2018-06-25 07:22:36 UTC
Size:
39.25 KB
patch
obsolete
>From c025f2b986a2e690d30b042ea1152b1d376df187 Mon Sep 17 00:00:00 2001 >From: Julian Maurice <julian.maurice@biblibre.com> >Date: Mon, 25 Jun 2018 08:47:27 +0200 >Subject: [PATCH] Bug 20988: > koha-tmpl/intranet-tmpl/prog/en/modules/course_reserves > >--- > .../course_reserves/add_items-step1.tt | 15 ++-- > .../course_reserves/add_items-step2.tt | 35 ++++---- > .../modules/course_reserves/course-details.tt | 81 ++++++++++--------- > .../course_reserves/course-reserves.tt | 33 ++++---- > .../prog/en/modules/course_reserves/course.tt | 59 +++++++------- > .../modules/course_reserves/invalid-course.tt | 7 +- > 6 files changed, 118 insertions(+), 112 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/course_reserves/add_items-step1.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/course_reserves/add_items-step1.tt >index 7cdc9afc8b..4e31a36bba 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/course_reserves/add_items-step1.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/course_reserves/add_items-step1.tt >@@ -1,5 +1,6 @@ >+[% PROCESS 'i18n.inc' %] > [% INCLUDE 'doc-head-open.inc' %] >-<title>Koha › Course reserves › Add items</title> >+<title>[% t('Koha ⺠Course reserves ⺠Add items') %]</title> > [% INCLUDE 'doc-head-close.inc' %] > </head> > <body id="courses_add_items_step1" class="course"> >@@ -7,7 +8,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/course_reserves/course-reserves.pl">Course reserves</a> › Add reserves for <i><a href="/cgi-bin/koha/course_reserves/course-details.pl?course_id=[% course.course_id %]">[% course.course_name %]</a></i></div> >+<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">[% t('Home') %]</a> ⺠<a href="/cgi-bin/koha/course_reserves/course-reserves.pl">[% t('Course reserves') %]</a> [% t('⺠Add reserves for') %] <i><a href="/cgi-bin/koha/course_reserves/course-details.pl?course_id=[% course.course_id %]">[% course.course_name %]</a></i></div> > > <div class="main container-fluid"> > <div class="row"> >@@ -15,9 +16,9 @@ > > [% IF ERROR_ITEM_NOT_FOUND %] > [% IF UNKNOWN_BARCODE %] >- <div class="dialog alert">No item found with barcode [% UNKNOWN_BARCODE %]</div> >+ <div class="dialog alert">[% t('No item found with barcode') %] [% UNKNOWN_BARCODE %]</div> > [% ELSE %] >- <div class="dialog alert">No item found</div> >+ <div class="dialog alert">[% t('No item found') %]</div> > [% END %] > [% END %] > >@@ -26,10 +27,10 @@ > <input type="hidden" name="action" value="lookup" /> > > <fieldset class="rows"> >- <legend>Add items: scan barcode</legend> >+ <legend>[% t('Add items: scan barcode') %]</legend> > <ol> > <li> >- <label class="required" for="barcode">Item barcode:</label> >+ <label class="required" for="barcode">[% t('Item barcode:') %]</label> > <input id="barcode" name="barcode" class="focus" type="text" /> > </li> > </ol> >@@ -38,7 +39,7 @@ > <fieldset class="action"> > <input type="submit" value="Submit" class="submit" /> > >- <a href="/cgi-bin/koha/course_reserves/course-details.pl?course_id=[% course.course_id %]" class="cancel">Cancel</a> >+ <a href="/cgi-bin/koha/course_reserves/course-details.pl?course_id=[% course.course_id %]" class="cancel">[% t('Cancel') %]</a> > </fieldset> > </form> > </div> >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/course_reserves/add_items-step2.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/course_reserves/add_items-step2.tt >index 9389d576fd..5c2c5e7836 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/course_reserves/add_items-step2.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/course_reserves/add_items-step2.tt >@@ -1,6 +1,7 @@ >+[% PROCESS 'i18n.inc' %] > [% USE Branches %] > [% INCLUDE 'doc-head-open.inc' %] >-<title>Koha › Course reserves › Add items</title> >+<title>[% t('Koha ⺠Course reserves ⺠Add items') %]</title> > [% INCLUDE 'doc-head-close.inc' %] > </head> > >@@ -9,14 +10,14 @@ > [% INCLUDE 'header.inc' %] > [% INCLUDE 'cat-search.inc' %] > >-<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> › <a href="/cgi-bin/koha/course_reserves/course-reserves.pl">Course reserves</a> › Reserve <i><a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% biblio.biblionumber %]">[% biblio.title %]</a></i> for <i><a href="/cgi-bin/koha/course_reserves/course-details.pl?course_id=[% course.course_id %]">[% course.course_name %]</a></i></div> >+<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">[% t('Home') %]</a> ⺠<a href="/cgi-bin/koha/course_reserves/course-reserves.pl">[% t('Course reserves') %]</a> [% t('⺠Reserve') %] <i><a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% biblio.biblionumber %]">[% biblio.title %]</a></i> [% t('for') %] <i><a href="/cgi-bin/koha/course_reserves/course-details.pl?course_id=[% course.course_id %]">[% course.course_name %]</a></i></div> > > <div class="main container-fluid"> > <div class="row"> > <div class="col-md-8 col-md-offset-2"> > >- [% IF course_reserve %]<div class="dialog message" id="already_on_reserve_this">This course already has this item on reserve.</div>[% END %] >- [% IF course_item %]<div class="dialog message" id="already_on_reserve">Number of courses reserving this item: [% course_item.course_reserves.size %]</div>[% END %] >+ [% IF course_reserve %]<div class="dialog message" id="already_on_reserve_this">[% t('This course already has this item on reserve.') %]</div>[% END %] >+ [% IF course_item %]<div class="dialog message" id="already_on_reserve">[% t('Number of courses reserving this item:') %] [% course_item.course_reserves.size %]</div>[% END %] > > <form method="post" action="/cgi-bin/koha/course_reserves/add_items.pl"> > <input type="hidden" name="course_id" value="[% course.course_id %]" /> >@@ -24,19 +25,19 @@ > <input type="hidden" name="action" value="add" /> > > <fieldset class="rows"> >- <legend>Add <i>[% biblio.title %]</i> to <i>[% course.course_name %]</i></legend> >+ <legend>[% t('Add') %] <i>[% biblio.title %]</i> [% t('to') %] <i>[% course.course_name %]</i></legend> > <ol> > <li> >- <span class="label">Barcode:</span> >+ <span class="label">[% t('Barcode:') %]</span> > <span id="barcode">[% item.barcode %]</span> > <input type="hidden" name="itemnumber" value="[% item.itemnumber %]" /> > </li> > > [% IF item_level_itypes %] > <li> >- <label class="required" for="itype">Item type:</label> >+ <label class="required" for="itype">[% t('Item type:') %]</label> > <select id="itype" name="itype"> >- <option value="">LEAVE UNCHANGED</option> >+ <option value="">[% t('LEAVE UNCHANGED') %]</option> > > [% FOREACH it IN itypes %] > [% IF course_item.itype && ( ( course.enabled == 'yes' && it.itemtype == item.itype ) || ( course.enabled == 'no' && it.itemtype == course_item.itype ) ) %] >@@ -50,9 +51,9 @@ > [% END %] > > <li> >- <label class="required" for="ccode">Collection code:</label> >+ <label class="required" for="ccode">[% t('Collection code:') %]</label> > <select id="ccode" name="ccode"> >- <option value="">LEAVE UNCHANGED</option> >+ <option value="">[% t('LEAVE UNCHANGED') %]</option> > > [% FOREACH c IN ccodes %] > [% IF course_item.ccode && ( ( course.enabled == 'yes' && c.authorised_value == item.ccode ) || ( course.enabled == 'no' && c.authorised_value == course_item.ccode ) ) %] >@@ -65,9 +66,9 @@ > </li> > > <li> >- <label class="required" for="location">Shelving location:</label> >+ <label class="required" for="location">[% t('Shelving location:') %]</label> > <select id="location" name="location"> >- <option value="">LEAVE UNCHANGED</option> >+ <option value="">[% t('LEAVE UNCHANGED') %]</option> > > [% FOREACH s IN locations %] > [% IF course_item.location && ( ( course.enabled == 'yes' && s.authorised_value == item.location ) || ( course.enabled == 'no' && s.authorised_value == course_item.location ) ) %] >@@ -80,9 +81,9 @@ > </li> > > <li> >- <label class="required" for="holdingbranch">Holding library:</label> >+ <label class="required" for="holdingbranch">[% t('Holding library:') %]</label> > <select id="holdingbranch" name="holdingbranch"> >- <option value="">LEAVE UNCHANGED</option> >+ <option value="">[% t('LEAVE UNCHANGED') %]</option> > [% FOREACH b IN Branches.all() %] > [% IF course_item.holdingbranch && ( ( course.enabled == 'yes' && b.branchcode == item.holdingbranch ) || ( course.enabled == 'no' && b.branchcode == course_item.holdingbranch ) ) %] > <option value="[% b.branchcode %]" selected="selected">[% b.branchname %]</option> >@@ -94,12 +95,12 @@ > </li> > > <li> >- <label for="staff_note">Staff note:</label> >+ <label for="staff_note">[% t('Staff note:') %]</label> > <textarea name="staff_note" id="staff_note">[% course_reserve.staff_note %]</textarea> > </li> > > <li> >- <label for="public_note">Public note:</label> >+ <label for="public_note">[% t('Public note:') %]</label> > <textarea name="public_note" id="public_note">[% course_reserve.public_note %]</textarea> > </li> > >@@ -109,7 +110,7 @@ > <fieldset class="action"> > <input type="submit" id="submit" value="Save" class="submit focus" /> > >- <a href="/cgi-bin/koha/course_reserves/course-details.pl?course_id=[% course.course_id %]" class="cancel">Cancel</a> >+ <a href="/cgi-bin/koha/course_reserves/course-details.pl?course_id=[% course.course_id %]" class="cancel">[% t('Cancel') %]</a> > </fieldset> > </form> > </div> >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/course_reserves/course-details.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/course_reserves/course-details.tt >index 11a495eef9..73ae2d7c50 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/course_reserves/course-details.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/course_reserves/course-details.tt >@@ -1,10 +1,11 @@ >+[% PROCESS 'i18n.inc' %] > [% USE Asset %] > [% USE AuthorisedValues %] > [% USE ItemTypes %] > [% USE Branches %] > [% SET footerjs = 1 %] > [% INCLUDE 'doc-head-open.inc' %] >-<title>Koha › Course reserves › Course details for [% course.course_name %]</title> >+<title>[% t('Koha ⺠Course reserves ⺠Course details for') %] [% course.course_name %]</title> > [% INCLUDE 'doc-head-close.inc' %] > > [% Asset.css("css/datatables.css") %] >@@ -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/course_reserves/course-reserves.pl">Course reserves</a> › Course details for <i>[% course.course_name %]</i></div> >+<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">[% t('Home') %]</a> ⺠<a href="/cgi-bin/koha/course_reserves/course-reserves.pl">[% t('Course reserves') %]</a> [% t('⺠Course details for') %] <i>[% course.course_name %]</i></div> > > <div class="main container-fluid"> > <div class="row"> >@@ -24,51 +25,51 @@ > [% IF CAN_user_coursereserves_add_reserves OR CAN_user_coursereserves_manage_courses OR CAN_user_coursereserves_manage_courses %] > <div id="toolbar"> > [% IF CAN_user_coursereserves_add_reserves %] >- <a class="btn btn-default btn-sm" id="add_items" href="/cgi-bin/koha/course_reserves/add_items.pl?course_id=[% course.course_id %]"><i class="fa fa-plus"></i> Add reserves</a> >+ <a class="btn btn-default btn-sm" id="add_items" href="/cgi-bin/koha/course_reserves/add_items.pl?course_id=[% course.course_id %]"><i class="fa fa-plus"></i> [% t('Add reserves') %]</a> > [% END %] > [% IF ( CAN_user_coursereserves_manage_courses ) %] >- <a class="btn btn-default btn-sm" id="edit_course" href="/cgi-bin/koha/course_reserves/course.pl?course_id=[% course.course_id %]"><i class="fa fa-pencil"></i> Edit course</a> >+ <a class="btn btn-default btn-sm" id="edit_course" href="/cgi-bin/koha/course_reserves/course.pl?course_id=[% course.course_id %]"><i class="fa fa-pencil"></i> [% t('Edit course') %]</a> > [% END %] > [% IF ( CAN_user_coursereserves_manage_courses ) %] >- <a class="btn btn-default btn-sm" id="delete_course" href="/cgi-bin/koha/course_reserves/mod_course.pl?course_id=[% course.course_id %]&action=del"><i class="fa fa-trash"></i> Delete course</a> >+ <a class="btn btn-default btn-sm" id="delete_course" href="/cgi-bin/koha/course_reserves/mod_course.pl?course_id=[% course.course_id %]&action=del"><i class="fa fa-trash"></i> [% t('Delete course') %]</a> > [% END %] > </div><!-- /toolbar --> > [% END %] > > <div class="rows"> > <ol> >- <li><span class="label">Course name</span> [% course.course_name %]</li> >- <li><span class="label">Term</span> [% AuthorisedValues.GetByCode( 'TERM', course.term ) %]</li> >- <li><span class="label">Department</span> [% AuthorisedValues.GetByCode( 'DEPARTMENT', course.department ) %]</li> >- <li><span class="label">Course number</span> [% course.course_number %]</li> >- <li><span class="label">Section</span> [% course.section %]</li> >- <li><span class="label">Instructors</span> [% FOREACH i IN course.instructors %]<div class="instructor"><a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% i.borrowernumber %]">[% i.firstname %] [% i.surname %]</a></div>[% END %]</li> >- <li><span class="label">Staff note</span> [% course.staff_note %]</li> >- <li><span class="label">Public note</span> [% course.public_note %]</li> >- <li><span class="label">Student count</span> [% course.students_count %]</li> >- <li><span class="label">Status</span> [% IF course.enabled == 'yes' %]Active[% ELSE %]Inactive[% END %]</li> >+ <li><span class="label">[% t('Course name') %]</span> [% course.course_name %]</li> >+ <li><span class="label">[% t('Term') %]</span> [% AuthorisedValues.GetByCode( 'TERM', course.term ) %]</li> >+ <li><span class="label">[% t('Department') %]</span> [% AuthorisedValues.GetByCode( 'DEPARTMENT', course.department ) %]</li> >+ <li><span class="label">[% t('Course number') %]</span> [% course.course_number %]</li> >+ <li><span class="label">[% t('Section') %]</span> [% course.section %]</li> >+ <li><span class="label">[% t('Instructors') %]</span> [% FOREACH i IN course.instructors %]<div class="instructor"><a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% i.borrowernumber %]">[% i.firstname %] [% i.surname %]</a></div>[% END %]</li> >+ <li><span class="label">[% t('Staff note') %]</span> [% course.staff_note %]</li> >+ <li><span class="label">[% t('Public note') %]</span> [% course.public_note %]</li> >+ <li><span class="label">[% t('Student count') %]</span> [% course.students_count %]</li> >+ <li><span class="label">[% t('Status') %]</span> [% IF course.enabled == 'yes' %][% t('Active') %][% ELSE %][% t('Inactive') %][% END %]</li> > </ol> > </div> > > [% IF course_reserves %] > <table id="course_reserves_table"> >- <caption>Reserves</caption> >+ <caption>[% t('Reserves') %]</caption> > <thead> > <tr> >- <th class="antithe">Title</th> >- <th>Author</th> >- <th>Barcode</th> >- <th>Call number</th> >- [% IF item_level_itypes %]<th>Item type</th>[% END %] >- <th>Collection</th> >- <th>Location</th> >- <th>Library</th> >- <th>Staff note</th> >- <th>Public note</th> >- <th>Link</th> >- <th class="NoSort">Other course reserves</th> >+ <th class="antithe">[% t('Title') %]</th> >+ <th>[% t('Author') %]</th> >+ <th>[% t('Barcode') %]</th> >+ <th>[% t('Call number') %]</th> >+ [% IF item_level_itypes %]<th>[% t('Item type') %]</th>[% END %] >+ <th>[% t('Collection') %]</th> >+ <th>[% t('Location') %]</th> >+ <th>[% t('Library') %]</th> >+ <th>[% t('Staff note') %]</th> >+ <th>[% t('Public note') %]</th> >+ <th>[% t('Link') %]</th> >+ <th class="NoSort">[% t('Other course reserves') %]</th> > [% IF CAN_user_coursereserves_add_reserves || CAN_user_coursereserves_delete_reserves %] >- <th class="NoSort">Actions</th> >+ <th class="NoSort">[% t('Actions') %]</th> > [% END %] > </tr> > </thead> >@@ -78,7 +79,7 @@ > <tr> > <td><a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% cr.biblio.biblionumber %]">[% cr.biblio.title %]</a></td> > <td>[% cr.biblio.author %]</td> >- <td><a href="/cgi-bin/koha/catalogue/moredetail.pl?itemnumber=[% cr.item.itemnumber %]&biblionumber=[% cr.biblio.biblionumber %]&bi=[% cr.biblioitem.biblioitemnumber %]">[% cr.item.barcode %]</a></td> >+ <td><a href="/cgi-bin/koha/catalogue/moredetail.pl?itemnumber=[% cr.item.itemnumber %]&biblionumber=[% cr.biblio.biblionumber %]&bi=[% cr.biblioitem.biblioitemnumber %]">[% cr.item.barcode %]</a></td> > <td>[% cr.item.itemcallnumber %]</td> > [% IF item_level_itypes %] > <td> >@@ -89,7 +90,7 @@ > [% ItemTypes.GetDescription( cr.course_item.itype ) %] > [% END %] > [% ELSE %] >- <i>Unchanged</i> >+ <i>[% t('Unchanged') %]</i> > [% IF cr.item.itype %] > ([% ItemTypes.GetDescription( cr.item.itype ) %]) > [% END %] >@@ -104,7 +105,7 @@ > [% AuthorisedValues.GetByCode( 'CCODE', cr.course_item.ccode ) %] > [% END %] > [% ELSE %] >- <i>Unchanged</i> >+ <i>[% t('Unchanged') %]</i> > [% IF cr.item.ccode %] > ([% AuthorisedValues.GetByCode( 'CCODE', cr.item.ccode ) %]) > [% END %] >@@ -118,7 +119,7 @@ > [% AuthorisedValues.GetByCode( 'LOC', cr.course_item.location ) %] > [% END %] > [% ELSE %] >- <i>Unchanged</i> >+ <i>[% t('Unchanged') %]</i> > [% IF cr.item.location %] > ([% AuthorisedValues.GetByCode( 'LOC', cr.item.location ) %]) > [% END %] >@@ -132,7 +133,7 @@ > [% Branches.GetName( cr.course_item.holdingbranch ) %] > [% END %] > [% ELSE %] >- <i>Unchanged</i> >+ <i>[% t('Unchanged') %]</i> > [% IF cr.item.holdingbranch %] > ([% Branches.GetName( cr.item.holdingbranch ) %]) > [% END %] >@@ -153,9 +154,9 @@ > > <td> > [% IF (cr.item.uri) %] >- <a href="[% cr.item.uri %]">Item URI</a> >+ <a href="[% cr.item.uri %]">[% t('Item URI') %]</a> > [% ELSIF (cr.biblioitem.url) %] >- <a href="[% cr.biblioitem.url %]">Record URL</a> >+ <a href="[% cr.biblioitem.url %]">[% t('Record URL') %]</a> > [% END %] > </td> > >@@ -176,16 +177,16 @@ > [% IF CAN_user_coursereserves_add_reserves || CAN_user_coursereserves_delete_reserves %] > <td class="actions"> > [% IF CAN_user_coursereserves_add_reserves %] >- <a class="btn btn-default btn-xs" href="add_items.pl?course_id=[% course.course_id %]&itemnumber=[% cr.item.itemnumber %]&action=lookup&return=[% course.course_id %]"><i class="fa fa-pencil"></i> Edit</a> >+ <a class="btn btn-default btn-xs" href="add_items.pl?course_id=[% course.course_id %]&itemnumber=[% cr.item.itemnumber %]&action=lookup&return=[% course.course_id %]"><i class="fa fa-pencil"></i> [% t('Edit') %]</a> > [% END %] > > [% IF CAN_user_coursereserves_delete_reserves %] > [% IF cr.item.onloan %] >- <a class="btn btn-default btn-xs disabled checkedout delete_item" href="#" data-toggle="tooltip" data-placement="left" title="This item is checked out"> >+ <a class="btn btn-default btn-xs disabled checkedout delete_item" href="#" data-toggle="tooltip" data-placement="left" title="[% t('This item is checked out') %]"> > [% ELSE %] >- <a class="btn btn-default btn-xs delete_item" href="course-details.pl?course_id=[% course.course_id %]&action=del_reserve&cr_id=[% cr.cr_id %]"> >+ <a class="btn btn-default btn-xs delete_item" href="course-details.pl?course_id=[% course.course_id %]&action=del_reserve&cr_id=[% cr.cr_id %]"> > [% END %] >- <i class="fa fa-trash"></i> Remove</a> >+ <i class="fa fa-trash"></i> [% t('Remove') %]</a> > [% END %] > </td> > [% END %] >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/course_reserves/course-reserves.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/course_reserves/course-reserves.tt >index 2a8528b3eb..555f021e17 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/course_reserves/course-reserves.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/course_reserves/course-reserves.tt >@@ -1,8 +1,9 @@ >+[% PROCESS 'i18n.inc' %] > [% USE Asset %] > [% USE AuthorisedValues %] > [% SET footerjs = 1 %] > [% INCLUDE 'doc-head-open.inc' %] >-<title>Koha › Course reserves</title> >+<title>[% t('Koha ⺠Course reserves') %]</title> > [% INCLUDE 'doc-head-close.inc' %] > > [% Asset.css("css/datatables.css") %] >@@ -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/course_reserves/course-reserves.pl">Course reserves</a></div> >+<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">[% t('Home') %]</a> ⺠<a href="/cgi-bin/koha/course_reserves/course-reserves.pl">[% t('Course reserves') %]</a></div> > > <div class="main container-fluid"> > <div class="row"> >@@ -22,7 +23,7 @@ > [% IF CAN_user_coursereserves_add_reserves OR CAN_user_coursereserves_manage_courses OR CAN_user_coursereserves_manage_courses %] > <div id="toolbar"> > [% IF ( CAN_user_coursereserves_manage_courses ) %] >- <a class="btn btn-default btn-sm" id="new_course" href="/cgi-bin/koha/course_reserves/course.pl"><i class="fa fa-plus"></i> New course</a> >+ <a class="btn btn-default btn-sm" id="new_course" href="/cgi-bin/koha/course_reserves/course.pl"><i class="fa fa-plus"></i> [% t('New course') %]</a> > [% END %] > </div><!-- /toolbar --> > [% END %] >@@ -48,20 +49,20 @@ > </div> > --> > >- <h1>Courses</h1> >+ <h1>[% t('Courses') %]</h1> > <table id="course_reserves_table"> > <thead> > <tr> >- <th>Name</th> >- <th>Dept.</th> >- <th>Course #</th> >- <th>Section</th> >- <th>Term</th> >- <th>Instructors</th> >- <th>Staff note</th> >- <th>Public note</th> >- <th># of Students</th> >- <th>Enabled</th> >+ <th>[% t('Name') %]</th> >+ <th>[% t('Dept.') %]</th> >+ <th>[% t('Course #') %]</th> >+ <th>[% t('Section') %]</th> >+ <th>[% t('Term') %]</th> >+ <th>[% t('Instructors') %]</th> >+ <th>[% t('Staff note') %]</th> >+ <th>[% t('Public note') %]</th> >+ <th>[% t('# of Students') %]</th> >+ <th>[% t('Enabled') %]</th> > </tr> > </thead> > >@@ -83,9 +84,9 @@ > <td>[% c.students_count %]</td> > <td> > [% IF c.enabled == 'yes' %] >- Yes >+ [% t('Yes') %] > [% ELSE %] >- No >+ [% t('No') %] > [% END %] > </td> > [% END %] >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/course_reserves/course.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/course_reserves/course.tt >index a0978c9c7e..9d688aa442 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/course_reserves/course.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/course_reserves/course.tt >@@ -1,6 +1,7 @@ >+[% PROCESS 'i18n.inc' %] > [% SET footerjs = 1 %] > [% INCLUDE 'doc-head-open.inc' %] >-<title>Koha › Course reserves › [% IF course_name %] Edit [% course_name %] [% ELSE %] New course [% END %]</title> >+<title>[% t('Koha ⺠Course reserves âº') %] [% IF course_name %] [% t('Edit') %] [% course_name %] [% ELSE %] [% t('New course') %] [% 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/course_reserves/course-reserves.pl">Course reserves</a> › [% IF course_name %] Edit <i>[% course_name %]</i> [% ELSE %] New course [% END %]</div> >+<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">[% t('Home') %]</a> ⺠<a href="/cgi-bin/koha/course_reserves/course-reserves.pl">[% t('Course reserves') %]</a> ⺠[% IF course_name %] [% t('Edit') %] <i>[% course_name %]</i> [% ELSE %] [% t('New course') %] [% END %]</div> > > [% IF ( departments ) %] > >@@ -20,12 +21,12 @@ > <form method="post" action="/cgi-bin/koha/course_reserves/mod_course.pl" class="validated"> > [% IF course_id %]<input type="hidden" name="course_id" value="[% course_id %]" />[% END %] > <fieldset class="rows"> >- <legend>[% IF course_id %]Edit course[% ELSE %]Create course[% END %]</legend> >+ <legend>[% IF course_id %][% t('Edit course') %][% ELSE %][% t('Create course') %][% END %]</legend> > <ol> > <li> >- <label class="required" for="department">Department:</label> >+ <label class="required" for="department">[% t('Department:') %]</label> > <select id="department" name="department" required="required" class="required"> >- <option value="">Select a department</option> >+ <option value="">[% t('Select a department') %]</option> > > [% FOREACH d IN departments %] > [% IF d.authorised_value == department %] >@@ -35,29 +36,29 @@ > [% END %] > [% END %] > </select> >- <span class="required">Required</span> >+ <span class="required">[% t('Required') %]</span> > </li> > > <li> >- <label class="required" for="course_number">Course number:</label> >+ <label class="required" for="course_number">[% t('Course number:') %]</label> > <input id="course_number" name="course_number" type="text" value="[% course_number %]" required="required" class="required" /> >- <span class="required">Required</span> >+ <span class="required">[% t('Required') %]</span> > </li> > > <li> >- <label for="section">Section:</label> >- <input id="section" name="section" type="text" value="[% section %]"/> >+ <label for="section">[% t('Section:') %]</label> >+ <input id="section" name="section" type="text" value="[% section %]" /> > </li> > > <li> >- <label class="required" for="course_name">Course name:</label> >+ <label class="required" for="course_name">[% t('Course name:') %]</label> > <input id="course_name" name="course_name" type="text" value="[% course_name %]" required="required" class="required" /> >- <span class="required">Required</span> >+ <span class="required">[% t('Required') %]</span> > </li> > > <li> > [% IF terms %] >- <label for="term">Term:</label> >+ <label for="term">[% t('Term:') %]</label> > <select id="term" name="term"> > <option value=""></option> > >@@ -70,41 +71,41 @@ > [% END %] > </select> > [% ELSE %] >- <span class="label">Term: </span> >- <span id="term">No TERM authorised values found! Please create one or more authorised values with the category TERM.</span> >+ <span class="label">[% t('Term:') %] </span> >+ <span id="term">[% t('No TERM authorised values found! Please create one or more authorised values with the category TERM.') %]</span> > [% END %] > </li> > > <li> >- <span class="label">Instructors:</span> >+ <span class="label">[% t('Instructors:') %]</span> > > <fieldset id="course_instructors"> >- <div id="instructors">[% FOREACH i IN instructors %]<div id="borrower_[% i.cardnumber %]">[% i.surname %], [% i.firstname %] ( <a href="#" class="removeInstructor"> Remove </a> ) >- <input type='hidden' name='instructors' value='[% i.cardnumber %]' /></div>[% END %]</div> >+ <div id="instructors">[% FOREACH i IN instructors %]<div id="borrower_[% i.cardnumber %]">[% i.surname %], [% i.firstname %] ( <a href="#" class="removeInstructor"> [% t('Remove') %] </a> ) >+ <input type="hidden" name="instructors" value="[% i.cardnumber %]" /></div>[% END %]</div> > </fieldset> > > <fieldset> >- <label for="find_instructor">Instructor search:</label> >- <input autocomplete="off" id="find_instructor" type="text" style="width:150px" class="noEnterSubmit"/> >+ <label for="find_instructor">[% t('Instructor search:') %]</label> >+ <input autocomplete="off" id="find_instructor" type="text" style="width:150px" class="noEnterSubmit" /> > <div id="find_instructor_container"></div> > </fieldset> > <li> >- <label for="staff_note">Staff note:</label> >+ <label for="staff_note">[% t('Staff note:') %]</label> > <textarea name="staff_note" id="staff_note">[% staff_note %]</textarea> > </li> > > <li> >- <label for="public_note">Public note:</label> >+ <label for="public_note">[% t('Public note:') %]</label> > <textarea name="public_note" id="public_note">[% public_note %]</textarea> > </li> > > <li> >- <label for="students_count">Number of students:</label> >+ <label for="students_count">[% t('Number of students:') %]</label> > <input id="students_count" name="students_count" type="text" value="[% students_count %]" /> > </li> > > <li> >- <label for="enabled">Enabled?</label> >+ <label for="enabled">[% t('Enabled?') %]</label> > [% IF enabled == 'no' %] > <input type="checkbox" name="enabled" id="enabled" /> > [% ELSE %] >@@ -118,9 +119,9 @@ > <input type="submit" value="Save" class="submit" /> > > [% IF course_id %] >- <a href="/cgi-bin/koha/course_reserves/course-details.pl?course_id=[% course_id %]" class="cancel">Cancel</a> >+ <a href="/cgi-bin/koha/course_reserves/course-details.pl?course_id=[% course_id %]" class="cancel">[% t('Cancel') %]</a> > [% ELSE %] >- <a href="/cgi-bin/koha/course_reserves/course-reserves.pl" class="cancel">Cancel</a> >+ <a href="/cgi-bin/koha/course_reserves/course-reserves.pl" class="cancel">[% t('Cancel') %]</a> > [% END %] > </fieldset> > </form> >@@ -131,11 +132,11 @@ > > <div class="dialog alert"> > <p> >- No DEPARTMENT authorized values found! >+ [% t('No DEPARTMENT authorized values found!') %] > [% IF ( CAN_user_parameters ) %] >- Please <a href="/cgi-bin/koha/admin/authorised_values.pl?searchfield=DEPARTMENT">create one or more authorized values</a> with the category DEPARTMENT. >+ [% t('Please') %] <a href="/cgi-bin/koha/admin/authorised_values.pl?searchfield=DEPARTMENT">[% t('create one or more authorized values') %]</a> [% t('with the category DEPARTMENT.') %] > [% ELSE %] >- An administrator must create one or more authorized values with the category DEPARTMENT. >+ [% t('An administrator must create one or more authorized values with the category DEPARTMENT.') %] > [% END %] > </p> > </div> >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/course_reserves/invalid-course.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/course_reserves/invalid-course.tt >index eb12031abf..b09e854c37 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/course_reserves/invalid-course.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/course_reserves/invalid-course.tt >@@ -1,19 +1,20 @@ >+[% PROCESS 'i18n.inc' %] > [% INCLUDE 'doc-head-open.inc' %] >-<title>Koha › Course reserves</title> >+<title>[% t('Koha ⺠Course reserves') %]</title> > [% INCLUDE 'doc-head-close.inc' %] > <body id="courses_invalid_course" class="course"> > > [% INCLUDE 'header.inc' %] > [% INCLUDE 'cat-search.inc' %] > >-<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> › <a href="/cgi-bin/koha/course_reserves/course-reserves.pl">Course reserves</a></div> >+<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">[% t('Home') %]</a> ⺠<a href="/cgi-bin/koha/course_reserves/course-reserves.pl">[% t('Course reserves') %]</a></div> > > <div class="main container-fluid"> > <div class="row"> > <div class="col-md-8 col-md-offset-2"> > > <div class="dialog alert"> >- <p>Invalid course!</p> >+ <p>[% t('Invalid course!') %]</p> > </div> > > </div> >-- >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