From da183c33f337a6234b0a787e4252e7f409eeaef2 Mon Sep 17 00:00:00 2001 From: Julian Maurice Date: Mon, 25 Jun 2018 08:51:12 +0200 Subject: [PATCH] Bug 20988: koha-tmpl/intranet-tmpl/prog/en/modules/offline_circ --- .../en/modules/offline_circ/enqueue_koc.tt | 15 ++++----- .../prog/en/modules/offline_circ/list.tt | 29 ++++++++--------- .../en/modules/offline_circ/process_koc.tt | 31 ++++++++++--------- 3 files changed, 39 insertions(+), 36 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/offline_circ/enqueue_koc.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/offline_circ/enqueue_koc.tt index dee915750d..4d9f86562b 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/offline_circ/enqueue_koc.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/offline_circ/enqueue_koc.tt @@ -1,31 +1,32 @@ +[% PROCESS 'i18n.inc' %] [% INCLUDE 'doc-head-open.inc' %] -Koha › Circulation › Add offline circulations to queue +[% t('Koha › Circulation › Add offline circulations to queue') %] [% INCLUDE 'doc-head-close.inc' %] [% INCLUDE 'header.inc' %] [% INCLUDE 'circ-search.inc' %] - +
-

Koha offline circulation

-

Your file was processed.

+

[% t('Koha offline circulation') %]

+

[% t('Your file was processed.') %]

[% FOREACH message IN messages %] [% IF ( message.message ) %] [% IF ( message.ERROR_file_version ) %] -

Warning: This file is version [% message.upload_version %], but I only know how to import version [% message.current_version %]. I'll try my best.

+

[% t('Warning: This file is version') %] [% message.upload_version %][% t(', but I only know how to import version') %] [% message.current_version %][% t('. I\'ll try my best.') %]

[% END %] [% END %] [% END %] -

Upload another KOC file

+

[% t('Upload another KOC file') %]

-

View pending offline circulation actions

+

[% t('View pending offline circulation actions') %]

diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/offline_circ/list.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/offline_circ/list.tt index c5803ae91c..ae9c7e8150 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/offline_circ/list.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/offline_circ/list.tt @@ -1,7 +1,8 @@ +[% PROCESS 'i18n.inc' %] [% USE Asset %] [% SET footerjs = 1 %] [% INCLUDE "doc-head-open.inc" %] - Koha › Circulation › Offline circulation + [% t('Koha › Circulation › Offline circulation') %] [% INCLUDE "doc-head-close.inc" %] @@ -9,13 +10,13 @@ [% INCLUDE 'header.inc' %] [% INCLUDE 'circ-search.inc' %] - +
-

Offline circulation

+

[% t('Offline circulation') %]

[% IF ( pending_operations ) %] @@ -25,12 +26,12 @@ - - - - - - + + + + + + @@ -41,11 +42,11 @@
 DateActionBarcodeCard numberAmount [% t('Date') %][% t('Action') %][% t('Barcode') %][% t('Card number') %][% t('Amount') %]
[% SWITCH ( operation.action ) -%] [% CASE "issue" -%] - Check out + [% t('Check out') %] [% CASE "return" -%] - Check in + [% t('Check in') %] [% CASE "payment" -%] - Payment + [% t('Payment') %] [% CASE # default case -%] [% operation.action %] [% END -%] @@ -72,7 +73,7 @@
-

For the selected operations: +

[% t('For the selected operations:') %]

@@ -80,7 +81,7 @@ [% ELSE %] -

There are no pending offline operations.

+

[% t('There are no pending offline operations.') %]

[% END %] diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/offline_circ/process_koc.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/offline_circ/process_koc.tt index b7f50e6b29..1f95f660ee 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/offline_circ/process_koc.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/offline_circ/process_koc.tt @@ -1,7 +1,8 @@ +[% PROCESS 'i18n.inc' %] [% USE Asset %] [% SET footerjs = 1 %] [% INCLUDE 'doc-head-open.inc' %] -Koha › Circulation › Offline circulation file upload +[% t('Koha › Circulation › Offline circulation file upload') %] [% INCLUDE 'doc-head-close.inc' %] @@ -9,41 +10,41 @@ [% INCLUDE 'header.inc' %] [% INCLUDE 'circ-search.inc' %] - +
[% IF ( transactions_loaded ) %] -

Koha offline circulation

-

Your data was processed. Here are the results:

+

[% t('Koha offline circulation') %]

+

[% t('Your data was processed. Here are the results:') %]

[% FOREACH message IN messages %] [% IF ( message.message ) %]
- [% IF ( message.ERROR_file_version ) %]

Warning: This file is version [% message.upload_version %], but I only know how to import version [% message.current_version %]. I'll try my best.

[% END %] + [% IF ( message.ERROR_file_version ) %]

[% t('Warning: This file is version') %] [% message.upload_version %][% t(', but I only know how to import version') %] [% message.current_version %][% t('. I\'ll try my best.') %]

[% END %]
[% END %] - [% IF ( message.ERROR_no_borrower_from_item ) %]

Warning: Unable to determine patron from item barcode ([% message.badbarcode %]). Cannot check in.

[% END %] - [% IF ( message.issue ) %]

Checked out [% message.title |html %] ([% message.barcode %]) to [% message.firstname %] [% message.surname %] ([% message.cardnumber %]): [% message.datetime %]

[% END %] - [% IF ( message.renew ) %]

Renewed [% message.title |html %] ([% message.barcode %]) for [% message.firstname %] [% message.surname %] ([% message.cardnumber %]): [% message.datetime %]

[% END %] - [% IF ( message.return ) %]

Checked in [% message.title |html %] ([% message.barcode %]) from [% message.firstname %] [% message.surname %] ([% message.cardnumber %]): [% message.datetime %]

[% END %] - [% IF ( message.payment ) %]

Accepted payment ([% message.amount %]) from [% message.firstname %] [% message.surname %] ([% message.cardnumber %]): [% message.datetime %]

[% END %] + [% IF ( message.ERROR_no_borrower_from_item ) %]

[% t('Warning: Unable to determine patron from item barcode (') %][% message.badbarcode %][% t('). Cannot check in.') %]

[% END %] + [% IF ( message.issue ) %]

[% t('Checked out') %] [% message.title |html %] ([% message.barcode %][% t(') to') %] [% message.firstname %] [% message.surname %] ([% message.cardnumber %]): [% message.datetime %]

[% END %] + [% IF ( message.renew ) %]

[% t('Renewed') %] [% message.title |html %] ([% message.barcode %][% t(') for') %] [% message.firstname %] [% message.surname %] ([% message.cardnumber %]): [% message.datetime %]

[% END %] + [% IF ( message.return ) %]

[% t('Checked in') %] [% message.title |html %] ([% message.barcode %][% t(') from') %] [% message.firstname %] [% message.surname %] ([% message.cardnumber %]): [% message.datetime %]

[% END %] + [% IF ( message.payment ) %]

[% t('Accepted payment (') %][% message.amount %][% t(') from') %] [% message.firstname %] [% message.surname %] ([% message.cardnumber %]): [% message.datetime %]

[% END %] [% END %] [% ELSE %] -

Upload offline circulation data

+

[% t('Upload offline circulation data') %]

-
  1. +
    1. - Required + [% t('Required') %]
- +
@@ -58,7 +59,7 @@ - + [% END %] -- 2.17.1