From 6124905d6ce7d8a61e630145e5ca25a081177b40 Mon Sep 17 00:00:00 2001 From: Julian Maurice Date: Mon, 25 Jun 2018 08:45:48 +0200 Subject: [PATCH] Bug 20988: koha-tmpl/intranet-tmpl/prog/en/modules/acqui --- .../prog/en/modules/acqui/acqui-home.tt | 59 +-- .../prog/en/modules/acqui/addorder.tt | 15 +- .../prog/en/modules/acqui/addorderiso2709.tt | 173 ++++----- .../prog/en/modules/acqui/basket.tt | 335 +++++++++--------- .../prog/en/modules/acqui/basketgroup.tt | 121 +++---- .../prog/en/modules/acqui/basketheader.tt | 61 ++-- .../prog/en/modules/acqui/booksellers.tt | 65 ++-- .../prog/en/modules/acqui/cancelorder.tt | 33 +- .../prog/en/modules/acqui/csv/lateorders.tt | 9 +- .../prog/en/modules/acqui/edi_ean.tt | 9 +- .../prog/en/modules/acqui/edifactmsgs.tt | 43 +-- .../prog/en/modules/acqui/edimsg.tt | 11 +- .../prog/en/modules/acqui/histsearch.tt | 109 +++--- .../prog/en/modules/acqui/invoice-files.tt | 43 +-- .../prog/en/modules/acqui/invoice.tt | 113 +++--- .../prog/en/modules/acqui/invoices.tt | 149 ++++---- .../prog/en/modules/acqui/lateorders.tt | 77 ++-- .../prog/en/modules/acqui/modordernotes.tt | 17 +- .../prog/en/modules/acqui/neworderbiblio.tt | 39 +- .../prog/en/modules/acqui/neworderempty.tt | 229 ++++++------ .../modules/acqui/neworderempty_duplicate.tt | 27 +- .../en/modules/acqui/newordersubscription.tt | 41 +-- .../en/modules/acqui/newordersuggestion.tt | 37 +- .../prog/en/modules/acqui/ordered.tt | 29 +- .../prog/en/modules/acqui/orderreceive.tt | 137 +++---- .../prog/en/modules/acqui/parcel.tt | 251 ++++++------- .../prog/en/modules/acqui/parcels.tt | 87 ++--- .../prog/en/modules/acqui/spent.tt | 35 +- .../prog/en/modules/acqui/supplier.tt | 217 ++++++------ .../prog/en/modules/acqui/transferorder.tt | 59 +-- .../prog/en/modules/acqui/uncertainprice.tt | 53 +-- .../prog/en/modules/acqui/z3950_search.tt | 105 +++--- 32 files changed, 1407 insertions(+), 1381 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/acqui-home.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/acqui-home.tt index 5864a2f655..03705c8efe 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/acqui-home.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/acqui-home.tt @@ -1,9 +1,10 @@ +[% PROCESS 'i18n.inc' %] [% USE Asset %] [% USE Price %] [% USE Branches %] [% SET footerjs = 1 %] [% INCLUDE 'doc-head-open.inc' %] -Koha › Acquisitions +[% t('Koha › Acquisitions') %] [% INCLUDE 'doc-head-close.inc' %] [% Asset.css("css/datatables.css") %] [% Asset.css("lib/jquery/plugins/treetable/stylesheets/jquery.treetable.css") %] @@ -13,7 +14,7 @@ [% INCLUDE 'header.inc' %] [% INCLUDE 'acquisitions-search.inc' %] - +
@@ -23,22 +24,22 @@ [% INCLUDE 'acquisitions-toolbar.inc' %] -

Acquisitions

+

[% t('Acquisitions') %]

[% INCLUDE 'budgets-active-currency.inc' hide = 'yes' %] [% UNLESS ( loop_budget ) %] [% IF ( CAN_user_acquisition_period_manage ) %] - + [% ELSE %] -
Your administrator must define a budget in Administration
+
[% t('Your administrator must define a budget in Administration') %]
[% END %] [% END %]
- Manage orders + [% t('Manage orders') %]
-

+

@@ -50,8 +51,8 @@
- Pending suggestions -

[% suggestions_count %] suggestions waiting. Manage suggestions.

+ [% t('Pending suggestions') %] +

[% suggestions_count %] [% t('suggestions waiting.') %] [% t('Manage suggestions') %].

@@ -61,36 +62,36 @@ [% IF ( loop_budget ) %] -

All available funds[% IF LoginBranchname %] for [% LoginBranchname %][% END %]

+

[% t('All available funds') %][% IF LoginBranchname %] [% t('for') %] [% LoginBranchname %][% END %]

- - - - - - - - - - + + + + + + + + + + - + @@ -106,7 +107,7 @@ [% END %] - + @@ -130,7 +131,7 @@ [% END %]
- Expand all - | Collapse all - | Hide inactive budgets - | Show inactive budgets + [% t('Expand all') %] + | [% t('Collapse all') %] + | [% t('Hide inactive budgets') %] + | [% t('Show inactive budgets') %]
ActiveBudget period descriptionFund codeFund nameOwnerLibraryAmountOrderedSpentTotal available[% t('Active') %][% t('Budget period description') %][% t('Fund code') %][% t('Fund name') %][% t('Owner') %][% t('Library') %][% t('Amount') %][% t('Ordered') %][% t('Spent') %][% t('Total available') %]
Total[% t('Total') %] [% loop_budge.budget_period_active %]Budget [% loop_budge.budget_period_description %] [id=[% loop_budge.budget_period_id %]][% UNLESS loop_budge.budget_period_active %] (inactive)[% END %][% t('Budget') %] [% loop_budge.budget_period_description %] [% t('[id=') %][% loop_budge.budget_period_id %]][% UNLESS loop_budge.budget_period_active %] [% t('(inactive)') %][% END %] [% IF ( CAN_user_acquisition_budget_manage ) %] [% loop_budge.budget_code %] @@ -118,7 +119,7 @@ [% IF ( loop_budge.budget_owner ) %] [% loop_budge.budget_owner.surname %], [% loop_budge.budget_owner.firstname %] [% ELSE %] -   +   [% END %] [% Branches.GetName( loop_budge.budget_branchcode ) %] - + [% IF loop_budge.budget_parent_id %] [% loop_budge.budget_ordered | $Price %] [% ELSE %] @@ -139,7 +140,7 @@ - + [% IF loop_budge.budget_parent_id %] [% loop_budge.budget_spent | $Price %] [% ELSE %] diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/addorder.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/addorder.tt index 18f5429eb4..ff72b24529 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/addorder.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/addorder.tt @@ -1,5 +1,6 @@ +[% PROCESS 'i18n.inc' %] [% INCLUDE "doc-head-open.inc" %] -Koha › Acquisition › Add order +[% t('Koha › Acquisition › Add order') %] [% INCLUDE "doc-head-close.inc" %] @@ -17,17 +18,17 @@
[% IF (budget_exceeded) %] -

Warning! Order total amount exceeds allowed budget.

+

[% t('Warning! Order total amount exceeds allowed budget.') %]

[% END %] [% IF (encumbrance_exceeded) %] -

Warning! You will exceed [% encumbrance %]% of your fund.

+

[% t('Warning! You will exceed') %] [% encumbrance %][% t('% of your fund.') %]

[% END %] [% IF (expenditure_exceeded) %] -

Warning! You will exceed maximum limit ([% expenditure %][% IF (currency) %] [% currency %][% END %]) for your fund.

+

[% t('Warning! You will exceed maximum limit (') %][% expenditure %][% IF (currency) %] [% currency %][% END %][% t(') for your fund.') %]

[% END %] -

Do you want to confirm this order?

- - +

[% t('Do you want to confirm this order?') %]

+ +
[% END %] diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/addorderiso2709.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/addorderiso2709.tt index 2d54193db2..5364902b37 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/addorderiso2709.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/addorderiso2709.tt @@ -1,13 +1,14 @@ +[% PROCESS 'i18n.inc' %] [% USE Asset %] [% USE KohaDates %] [% USE Branches %] [% SET footerjs = 1 %] [% INCLUDE 'doc-head-open.inc' %] -Koha › Acquisitions › Order staged MARC records +<title>[% t('Koha › Acquisitions › Order staged MARC records') %] [% IF ( batch_details ) %] - › Batch [% import_batch_id %] + [% t('› Batch') %] [% import_batch_id %] [% ELSE %] - › Batch list + [% t('› Batch list') %] [% END %] [% Asset.css("css/datatables.css") %] @@ -18,41 +19,41 @@ [% INCLUDE 'header.inc' %] [% INCLUDE 'acquisitions-search.inc' %] -
+
[% IF ( allmatch ) %]
-

No records imported

- No record have been imported because they all match an existing record in your catalog.
You'll have to treat them individually. +

[% t('No records imported') %]

+ [% t('No record have been imported because they all match an existing record in your catalog.') %]
[% t('You\'ll have to treat them individually.') %]
[% END %] [% IF ( batch_details ) %] -

Add orders from [% comments %] - ([% file_name %] staged on [% upload_timestamp | $KohaDates with_hours => 1 %]) +

[% t('Add orders from') %] [% comments %] + ([% file_name %] [% t('staged on') %] [% upload_timestamp | $KohaDates with_hours => 1 %])

- Select all + [% t('Select all') %] | - Clear all + [% t('Clear all') %] | - +
- + @@ -88,7 +89,7 @@ [% biblio.citation %] - ( MARC | Card | Add order ) + ( [% t('MARC') %] | [% t('Card') %] | [% t('Add order') %] )
@@ -96,49 +97,49 @@
  • [% IF ( biblio_lis.overlay_status == 'no_match' ) %] - No match + [% t('No match') %] [% ELSIF ( biblio_lis.overlay_status == 'match_applied' ) %] - Match applied + [% t('Match applied') %] [% ELSIF ( biblio_lis.overlay_status == 'auto_match' ) %] - Match found + [% t('Match found') %] [% ELSE %] [% biblio_lis.overlay_status %] [% END %] [% IF ( biblio.match_biblionumber ) %] - Matches biblio [% biblio.match_biblionumber %] (score = [% biblio.match_score %]): [% biblio.match_citation %] + [% t('Matches biblio') %] [% biblio.match_biblionumber %] [% t('(score =') %] [% biblio.match_score %]): [% biblio.match_citation %] [% END %]
  • - +
  • - +
  • - + % - (If empty, discount rate from vendor will be used) + [% t('(If empty, discount rate from vendor will be used)') %]
  • - + [% IF ( close ) %] [% Budget_name %] [% ELSE %]
  • - +
  • - [% IF biblio.item_error %]Item records could not be processed because the number of item fields was uneven.[% END %] + [% IF biblio.item_error %][% t('Item records could not be processed because the number of item fields was uneven.') %][% END %] [% FOREACH item IN biblio.iteminfos %]
    - Item Record [% item.item_id %] + [% t('Item Record') %] [% item.item_id %]
    1. - [% FOREACH l IN libraries %] [% IF l.branchcode == item.homebranch %] @@ -173,7 +174,7 @@
    2. -
    3. [% FOREACH l IN libraries %] [% IF l.branchcode == item.holdingbranch %] @@ -183,7 +184,7 @@ [% END %]
    4. -
    5. [% FOREACH itypeloo IN itypeloop %] [% IF ( itypeloo.itemtype ) == ( item.itype ) %] @@ -194,9 +195,9 @@
    6. -
    7. -
    8. -
    9. +
    10. +
    11. -
    12. [% FOREACH ccodeloo IN ccodeloop %] [% IF ( ccodeloo.code ) == (item.ccode) %][% ELSE %][% END %] [% END %]
    13. -
    14. [% FOREACH n IN notforloanloop %] [% IF n.code == item.notforloan %] @@ -221,10 +222,10 @@ [% END %]
    15. -
    16. -
    17. -
    18. +
    19. +
    20. -
    21. -
    22. -
    23. +
    24. +
    25. +
    [% END %] @@ -245,13 +246,13 @@
    @@ -259,14 +260,14 @@ [% END %]
    -

    Item information

    -

    Import all the checked items in the basket with the following parameters:

    +

    [% t('Item information') %]

    +

    [% t('Import all the checked items in the basket with the following parameters:') %]

    [% IF ( items ) %]
    - Item + [% t('Item') %] [% IF ( NoACQframework ) %] -
    No ACQ framework, using default. You should create a framework with code ACQ, the items framework would be used
    +
    [% t('No ACQ framework, using default. You should create a framework with code ACQ, the items framework would be used') %]
    [% END %] [% FOREACH item IN items %]
    @@ -298,7 +299,7 @@ - [% IF ( iteminformatio.mandatory ) %] Required[% END %] + [% IF ( iteminformatio.mandatory ) %] [% t('Required') %][% END %]
    [% END %] @@ -309,9 +310,9 @@ [% END %]
    -

    Import all the checked items in the basket with the following accounting details (used only if no information is filled for the item):

    +

    [% t('Import all the checked items in the basket with the following accounting details (used only if no information is filled for the item):') %]

    - Accounting details + [% t('Accounting details') %]
    1. @@ -319,11 +320,11 @@
    2. [% IF ( close ) %] - Fund: + [% t('Fund:') %] [% Budget_name %] [% ELSE %]
    3. - +
    4. - + - +
    5. [% END %]
    6. - +
    7. - +
    8. -
      The 2 following fields are available for your own usage. They can be useful for statistical purposes
      - +
      [% t('The 2 following fields are available for your own usage. They can be useful for statistical purposes') %]
      +
    9. - +
    @@ -372,21 +373,21 @@
    - Cancel + [% t('Cancel') %]
    [% ELSE %]
    -

    Choose the file to add to the basket

    +

    [% t('Choose the file to add to the basket') %]

    - - - - - - + + + + + + @@ -396,24 +397,24 @@ - + [% END %] diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/basket.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/basket.tt index e9a94f8701..6825298486 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/basket.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/basket.tt @@ -1,10 +1,11 @@ +[% PROCESS 'i18n.inc' %] [% USE Asset %] [% BLOCK csv_export %]
    - Export as CSV + [% t('Export as CSV') %]
    File nameCommentsStatusStaged# Bibs [% t('File name') %][% t('Comments') %][% t('Status') %][% t('Staged') %][% t('# Bibs') %] 
    [% batch_lis.comments %] [% IF ( batch_lis.import_status == 'cleaned' ) %] - Cleaned + [% t('Cleaned') %] [% ELSIF ( batch_lis.import_status == 'imported' ) %] - Imported + [% t('Imported') %] [% ELSIF ( batch_lis.import_status == 'importing' ) %] - Importing + [% t('Importing') %] [% ELSIF ( batch_lis.import_status == 'reverted' ) %] - Reverted + [% t('Reverted') %] [% ELSIF ( batch_lis.import_status == 'reverting' ) %] - Reverting + [% t('Reverting') %] [% ELSIF ( batch_lis.import_status == 'staged' ) %] - Staged + [% t('Staged') %] [% ELSE %] [% batch_lis.import_status %] [% END %] [% batch_lis.staged_date | $KohaDates with_hours => 1 %] [% batch_lis.num_records %]Add orders[% t('Add orders') %]