From 0022631910890fab1e2eccd29e54c52854d9eb5d Mon Sep 17 00:00:00 2001 From: Julian Maurice Date: Mon, 25 Jun 2018 08:47:53 +0200 Subject: [PATCH] Bug 20988: koha-tmpl/intranet-tmpl/prog/en/modules/labels --- .../en/modules/labels/label-bib-search.tt | 11 +-- .../en/modules/labels/label-edit-batch.tt | 79 +++++++++--------- .../en/modules/labels/label-edit-layout.tt | 81 ++++++++++--------- .../en/modules/labels/label-edit-profile.tt | 55 ++++++------- .../en/modules/labels/label-edit-template.tt | 63 ++++++++------- .../prog/en/modules/labels/label-home.tt | 9 ++- .../prog/en/modules/labels/label-manage.tt | 79 +++++++++--------- .../prog/en/modules/labels/label-print.tt | 45 ++++++----- .../prog/en/modules/labels/result.tt | 47 +++++------ .../prog/en/modules/labels/search.tt | 73 ++++++++--------- .../prog/en/modules/labels/spinelabel-home.tt | 9 ++- .../en/modules/labels/spinelabel-print.tt | 9 ++- 12 files changed, 286 insertions(+), 274 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-bib-search.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-bib-search.tt index 131f085e35..956ce1cabb 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-bib-search.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-bib-search.tt @@ -1,21 +1,22 @@ -[% INCLUDE 'doc-head-open.inc' %]Koha › Tools › Labels ›: Search[% INCLUDE 'doc-head-close.inc' %] +[% PROCESS 'i18n.inc' %] +[% INCLUDE 'doc-head-open.inc' %][% t('Koha › Tools › Labels ›: Search') %][% INCLUDE 'doc-head-close.inc' %]
-

Search

+

[% t('Search') %]

-

Search on

+

[% t('Search on') %]

- + [% category %]

- + diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-edit-batch.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-edit-batch.tt index 178151edcd..c1b513b456 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-edit-batch.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-edit-batch.tt @@ -1,7 +1,8 @@ +[% PROCESS 'i18n.inc' %] [% USE Asset %] [% USE ItemTypes %] [% INCLUDE 'doc-head-open.inc' %] - Koha › Tools › Label creator › Batches › [% IF batch_id %]Edit ([% batch_id %])[% ELSE %]New[% END %] + [% t('Koha › Tools › Label creator › Batches ›') %] [% IF batch_id %][% t('Edit (') %][% batch_id %])[% ELSE %][% t('New') %][% END %] [% INCLUDE 'doc-head-close.inc' %] [% INCLUDE 'greybox.inc' %] [% Asset.css("css/datatables.css") %] @@ -176,14 +177,14 @@ [% INCLUDE 'header.inc' %] [% INCLUDE 'cat-search.inc' %]

@@ -195,30 +196,30 @@ [% BLOCK xlate_errtype %] [% SWITCH errtype %] [% CASE 'ITEM_NOT_REMOVED' %] - Item(s) not removed from batch [% batch_id %]. + [% t('Item(s) not removed from batch') %] [% batch_id %]. [% CASE 'BATCH_NOT_DELETED' %] - Batch [% batch_id %] was not deleted. + [% t('Batch') %] [% batch_id %] [% t('was not deleted.') %] [% CASE 'ITEM_NOT_ADDED' %] - Item(s) not added to batch [% batch_id %]. + [% t('Item(s) not added to batch') %] [% batch_id %]. [% CASE 'BRANCH_NOT_SET' %] - Library is not set, please set your library before adding items to a batch. + [% t('Library is not set, please set your library before adding items to a batch.') %] [% CASE 'BATCH_NOT_DEDUP' %] - Batch [% batch_id %] not fully de-duplicated. + [% t('Batch') %] [% batch_id %] [% t('not fully de-duplicated.') %] [% CASE %] - Unknown error type [% errtype %]. + [% t('Unknown error type') %] [% errtype %]. [% END %] [% END %]
- WARNING: An error was encountered: [% PROCESS xlate_errtype %] Please have your system administrator check the error log for details. + [% t('WARNING:') %] [% t('An error was encountered:') %] [% PROCESS xlate_errtype %] [% t('Please have your system administrator check the error log for details.') %]
[% ELSIF ( duplicate_message ) %]
- Duplicate item(s) removed from batch number [% batch_id %]: [% duplicate_count %] + [% t('Duplicate item(s) removed from batch number') %] [% batch_id %]: [% duplicate_count %]
[% END %]
-
Current library: [% LoginBranchname %]
+
[% t('Current library:') %] [% LoginBranchname %]
@@ -227,15 +228,15 @@
  • - -
    + +
    - +
  • -
  • @@ -243,16 +244,16 @@
    [% IF ( table_loop ) %]
    -

    Items in batch number [% batch_id %]

    +

    [% t('Items in batch number') %] [% batch_id %]

    [% FOREACH table_loo IN table_loop %] [% IF ( table_loo.header_fields ) %] @@ -261,17 +262,17 @@ [% FOREACH header_field IN table_loo.header_fields %] [% SWITCH header_field.field_label -%] [% CASE "Label number" -%] - + [% CASE "Summary" -%] - + [% CASE "Item type" %] - + [% CASE "Call number" %] - + [% CASE "Barcode" %] - + [% CASE "Select" -%] - + [% CASE %] [% END -%] @@ -284,8 +285,8 @@ [% FOREACH text_field IN table_loo.text_fields %] [% IF ( text_field.select_field ) %] [% ELSE %] @@ -306,8 +307,8 @@ [% ELSE %]
    -

    There are no items in this batch yet

    -

    Add items by using the text area above or leave empty to add via item search.

    +

    [% t('There are no items in this batch yet') %]

    +

    [% t('Add items by using the text area above or leave empty to add via item search.') %]

    [% END %] diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-edit-layout.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-edit-layout.tt index 402ea9e24c..2169661810 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-edit-layout.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-edit-layout.tt @@ -1,14 +1,15 @@ +[% PROCESS 'i18n.inc' %] [% BLOCK translate_label_types %] [% SWITCH type %] -[% CASE 'BIB' %]Biblio -[% CASE 'BARBIB' %]Barcode/Biblio -[% CASE 'BIBBAR' %]Biblio/Barcode -[% CASE 'ALT' %]Alternating -[% CASE 'BAR' %]Barcode +[% CASE 'BIB' %][% t('Biblio') %] +[% CASE 'BARBIB' %][% t('Barcode/Biblio') %] +[% CASE 'BIBBAR' %][% t('Biblio/Barcode') %] +[% CASE 'ALT' %][% t('Alternating') %] +[% CASE 'BAR' %][% t('Barcode') %] [% END %] [% END %] [% INCLUDE 'doc-head-open.inc' %] - Koha › Tools › Label creator › Layouts › [% IF ( layout_id ) %]Edit ([% layout_id %])[% ELSE %]New[% END %] + [% t('Koha › Tools › Label creator › Layouts ›') %] [% IF ( layout_id ) %][% t('Edit (') %][% layout_id %])[% ELSE %][% t('New') %][% END %] [% INCLUDE 'doc-head-close.inc' %]
    Label number[% t('Label number') %]Summary[% t('Summary') %]Item type[% t('Item type') %]Call number[% t('Call number') %]Barcode[% t('Barcode') %]Select[% t('Select') %][% header_field.field_label %] - Delete - Export + [% t('Delete') %] + [% t('Export') %]