@@ -, +, @@
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(-)
--- a/koha-tmpl/intranet-tmpl/prog/en/modules/course_reserves/add_items-step1.tt
+++ a/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' %]
-
@@ -15,9 +16,9 @@
[% IF ERROR_ITEM_NOT_FOUND %]
[% IF UNKNOWN_BARCODE %]
-
No item found with barcode [% UNKNOWN_BARCODE %]
+
[% t('No item found with barcode') %] [% UNKNOWN_BARCODE %]
[% ELSE %]
-
No item found
+
[% t('No item found') %]
[% END %]
[% END %]
@@ -26,10 +27,10 @@
- Add items: scan barcode
+ [% t('Add items: scan barcode') %]
- Item barcode:
+ [% t('Item barcode:') %]
@@ -38,7 +39,7 @@
- Cancel
+ [% t('Cancel') %]
--- a/koha-tmpl/intranet-tmpl/prog/en/modules/course_reserves/add_items-step2.tt
+++ a/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' %]
-
Koha › Course reserves › Add items
+
[% t('Koha › Course reserves › Add items') %]
[% INCLUDE 'doc-head-close.inc' %]
@@ -9,14 +10,14 @@
[% INCLUDE 'header.inc' %]
[% INCLUDE 'cat-search.inc' %]
-
+
- [% IF course_reserve %]
This course already has this item on reserve.
[% END %]
- [% IF course_item %]
Number of courses reserving this item: [% course_item.course_reserves.size %]
[% END %]
+ [% IF course_reserve %]
[% t('This course already has this item on reserve.') %]
[% END %]
+ [% IF course_item %]
[% t('Number of courses reserving this item:') %] [% course_item.course_reserves.size %]
[% END %]
--- a/koha-tmpl/intranet-tmpl/prog/en/modules/course_reserves/course-details.tt
+++ a/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' %]
-
Koha › Course reserves › Course details for [% course.course_name %]
+
[% t('Koha › Course reserves › Course details for') %] [% course.course_name %]
[% INCLUDE 'doc-head-close.inc' %]
[% Asset.css("css/datatables.css") %]
@@ -15,7 +16,7 @@
[% INCLUDE 'header.inc' %]
[% INCLUDE 'cat-search.inc' %]
-
+
@@ -24,51 +25,51 @@
[% IF CAN_user_coursereserves_add_reserves OR CAN_user_coursereserves_manage_courses OR CAN_user_coursereserves_manage_courses %]
[% END %]
- Course name [% course.course_name %]
- Term [% AuthorisedValues.GetByCode( 'TERM', course.term ) %]
- Department [% AuthorisedValues.GetByCode( 'DEPARTMENT', course.department ) %]
- Course number [% course.course_number %]
- Section [% course.section %]
- Instructors [% FOREACH i IN course.instructors %][% END %]
- Staff note [% course.staff_note %]
- Public note [% course.public_note %]
- Student count [% course.students_count %]
- Status [% IF course.enabled == 'yes' %]Active[% ELSE %]Inactive[% END %]
+ [% t('Course name') %] [% course.course_name %]
+ [% t('Term') %] [% AuthorisedValues.GetByCode( 'TERM', course.term ) %]
+ [% t('Department') %] [% AuthorisedValues.GetByCode( 'DEPARTMENT', course.department ) %]
+ [% t('Course number') %] [% course.course_number %]
+ [% t('Section') %] [% course.section %]
+ [% t('Instructors') %] [% FOREACH i IN course.instructors %][% END %]
+ [% t('Staff note') %] [% course.staff_note %]
+ [% t('Public note') %] [% course.public_note %]
+ [% t('Student count') %] [% course.students_count %]
+ [% t('Status') %] [% IF course.enabled == 'yes' %][% t('Active') %][% ELSE %][% t('Inactive') %][% END %]
[% IF course_reserves %]
- Reserves
+ [% t('Reserves') %]
- Title
- Author
- Barcode
- Call number
- [% IF item_level_itypes %]Item type [% END %]
- Collection
- Location
- Library
- Staff note
- Public note
- Link
- Other course reserves
+ [% t('Title') %]
+ [% t('Author') %]
+ [% t('Barcode') %]
+ [% t('Call number') %]
+ [% IF item_level_itypes %][% t('Item type') %] [% END %]
+ [% t('Collection') %]
+ [% t('Location') %]
+ [% t('Library') %]
+ [% t('Staff note') %]
+ [% t('Public note') %]
+ [% t('Link') %]
+ [% t('Other course reserves') %]
[% IF CAN_user_coursereserves_add_reserves || CAN_user_coursereserves_delete_reserves %]
- Actions
+ [% t('Actions') %]
[% END %]
@@ -78,7 +79,7 @@
[% cr.biblio.title %]
[% cr.biblio.author %]
- [% cr.item.barcode %]
+ [% cr.item.barcode %]
[% cr.item.itemcallnumber %]
[% IF item_level_itypes %]
@@ -89,7 +90,7 @@
[% ItemTypes.GetDescription( cr.course_item.itype ) %]
[% END %]
[% ELSE %]
- Unchanged
+ [% t('Unchanged') %]
[% IF cr.item.itype %]
([% ItemTypes.GetDescription( cr.item.itype ) %])
[% END %]
@@ -104,7 +105,7 @@
[% AuthorisedValues.GetByCode( 'CCODE', cr.course_item.ccode ) %]
[% END %]
[% ELSE %]
- Unchanged
+ [% t('Unchanged') %]
[% IF cr.item.ccode %]
([% AuthorisedValues.GetByCode( 'CCODE', cr.item.ccode ) %])
[% END %]
@@ -118,7 +119,7 @@
[% AuthorisedValues.GetByCode( 'LOC', cr.course_item.location ) %]
[% END %]
[% ELSE %]
- Unchanged
+ [% t('Unchanged') %]
[% IF cr.item.location %]
([% AuthorisedValues.GetByCode( 'LOC', cr.item.location ) %])
[% END %]
@@ -132,7 +133,7 @@
[% Branches.GetName( cr.course_item.holdingbranch ) %]
[% END %]
[% ELSE %]
- Unchanged
+ [% t('Unchanged') %]
[% IF cr.item.holdingbranch %]
([% Branches.GetName( cr.item.holdingbranch ) %])
[% END %]
@@ -153,9 +154,9 @@
[% IF (cr.item.uri) %]
- Item URI
+ [% t('Item URI') %]
[% ELSIF (cr.biblioitem.url) %]
- Record URL
+ [% t('Record URL') %]
[% END %]
@@ -176,16 +177,16 @@
[% IF CAN_user_coursereserves_add_reserves || CAN_user_coursereserves_delete_reserves %]
[% IF CAN_user_coursereserves_add_reserves %]
- Edit
+ [% t('Edit') %]
[% END %]
[% IF CAN_user_coursereserves_delete_reserves %]
[% IF cr.item.onloan %]
-
+
[% ELSE %]
-
+
[% END %]
- Remove
+ [% t('Remove') %]
[% END %]
[% END %]
--- a/koha-tmpl/intranet-tmpl/prog/en/modules/course_reserves/course-reserves.tt
+++ a/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' %]
-Koha › Course reserves
+[% t('Koha › Course reserves') %]
[% INCLUDE 'doc-head-close.inc' %]
[% Asset.css("css/datatables.css") %]
@@ -13,7 +14,7 @@
[% INCLUDE 'header.inc' %]
[% INCLUDE 'cat-search.inc' %]
-
+
@@ -22,7 +23,7 @@
[% IF CAN_user_coursereserves_add_reserves OR CAN_user_coursereserves_manage_courses OR CAN_user_coursereserves_manage_courses %]
[% END %]
@@ -48,20 +49,20 @@
-->
-
Courses
+
[% t('Courses') %]
- Name
- Dept.
- Course #
- Section
- Term
- Instructors
- Staff note
- Public note
- # of Students
- Enabled
+ [% t('Name') %]
+ [% t('Dept.') %]
+ [% t('Course #') %]
+ [% t('Section') %]
+ [% t('Term') %]
+ [% t('Instructors') %]
+ [% t('Staff note') %]
+ [% t('Public note') %]
+ [% t('# of Students') %]
+ [% t('Enabled') %]
@@ -83,9 +84,9 @@
[% c.students_count %]
[% IF c.enabled == 'yes' %]
- Yes
+ [% t('Yes') %]
[% ELSE %]
- No
+ [% t('No') %]
[% END %]
[% END %]
--- a/koha-tmpl/intranet-tmpl/prog/en/modules/course_reserves/course.tt
+++ a/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' %]
-Koha › Course reserves › [% IF course_name %] Edit [% course_name %] [% ELSE %] New course [% END %]
+[% t('Koha › Course reserves ›') %] [% IF course_name %] [% t('Edit') %] [% course_name %] [% ELSE %] [% t('New course') %] [% END %]
[% INCLUDE 'doc-head-close.inc' %]
@@ -9,7 +10,7 @@
[% INCLUDE 'header.inc' %]
[% INCLUDE 'cat-search.inc' %]
-Home ›
Course reserves › [% IF course_name %] Edit
[% course_name %] [% ELSE %] New course [% END %]
+
[% IF ( departments ) %]
@@ -20,12 +21,12 @@
[% IF course_id %] [% END %]
- [% IF course_id %]Edit course[% ELSE %]Create course[% END %]
+ [% IF course_id %][% t('Edit course') %][% ELSE %][% t('Create course') %][% END %]
- Department:
+ [% t('Department:') %]
- Select a department
+ [% t('Select a department') %]
[% FOREACH d IN departments %]
[% IF d.authorised_value == department %]
@@ -35,29 +36,29 @@
[% END %]
[% END %]
- Required
+ [% t('Required') %]
- Course number:
+ [% t('Course number:') %]
- Required
+ [% t('Required') %]
- Section:
-
+ [% t('Section:') %]
+
- Course name:
+ [% t('Course name:') %]
- Required
+ [% t('Required') %]
[% IF terms %]
- Term:
+ [% t('Term:') %]
@@ -70,41 +71,41 @@
[% END %]
[% ELSE %]
- Term:
- No TERM authorised values found! Please create one or more authorised values with the category TERM.
+ [% t('Term:') %]
+ [% t('No TERM authorised values found! Please create one or more authorised values with the category TERM.') %]
[% END %]
- Instructors:
+ [% t('Instructors:') %]
- [% FOREACH i IN instructors %]
[% i.surname %], [% i.firstname %] (
Remove )
-
[% END %]
+ [% FOREACH i IN instructors %]
[% END %]
- Instructor search:
-
+ [% t('Instructor search:') %]
+
- Staff note:
+ [% t('Staff note:') %]
[% staff_note %]
- Public note:
+ [% t('Public note:') %]
[% public_note %]
- Number of students:
+ [% t('Number of students:') %]
- Enabled?
+ [% t('Enabled?') %]
[% IF enabled == 'no' %]
[% ELSE %]
@@ -118,9 +119,9 @@
[% IF course_id %]
- Cancel
+ [% t('Cancel') %]
[% ELSE %]
- Cancel
+ [% t('Cancel') %]
[% END %]
@@ -131,11 +132,11 @@
- No DEPARTMENT authorized values found!
+ [% t('No DEPARTMENT authorized values found!') %]
[% IF ( CAN_user_parameters ) %]
- Please create one or more authorized values with the category DEPARTMENT.
+ [% t('Please') %] [% t('create one or more authorized values') %] [% 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 %]
--- a/koha-tmpl/intranet-tmpl/prog/en/modules/course_reserves/invalid-course.tt
+++ a/koha-tmpl/intranet-tmpl/prog/en/modules/course_reserves/invalid-course.tt
@@ -1,19 +1,20 @@
+[% PROCESS 'i18n.inc' %]
[% INCLUDE 'doc-head-open.inc' %]
-Koha › Course reserves
+[% t('Koha › Course reserves') %]
[% INCLUDE 'doc-head-close.inc' %]
[% INCLUDE 'header.inc' %]
[% INCLUDE 'cat-search.inc' %]
-
+
-
Invalid course!
+
[% t('Invalid course!') %]
--