Bug 14786: Use MARC istead of ISO2709 everywhere
authorKatrin Fischer <katrin.fischer.83@web.de>
Sun, 12 Aug 2018 15:08:57 +0000 (17:08 +0200)
committerNick Clemens <nick@bywatersolutions.com>
Wed, 17 Oct 2018 13:55:19 +0000 (13:55 +0000)
This patch changes the term ISO2709 in the templates to use
MARC instead.

Test plan:
- The term was changed on the following pages in staff:
  - Advanced catalouging editor > Save to catalog
  - Patron account > Check out (Activate ExportCircHistory) > Format
  - Patron account > Check out > Help page
  - Lists > Download list
  - Acquisitions > Add order to basket > From a staged file (breadcrumbs)
  - Administration > System preferences > ExportRemoveFields
  - Cart > Download
  - Tools > Export data > Output format

Signed-off-by: Michal Denar <black23@gmail.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>

koha-tmpl/intranet-tmpl/prog/en/includes/cateditor-ui.inc
koha-tmpl/intranet-tmpl/prog/en/includes/checkouts-table.inc
koha-tmpl/intranet-tmpl/prog/en/includes/virtualshelves-toolbar.inc
koha-tmpl/intranet-tmpl/prog/en/modules/acqui/addorderiso2709.tt
koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/circulation.pref
koha-tmpl/intranet-tmpl/prog/en/modules/basket/basket.tt
koha-tmpl/intranet-tmpl/prog/en/modules/basket/downloadcart.tt
koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/editor.tt
koha-tmpl/intranet-tmpl/prog/en/modules/tools/export.tt
koha-tmpl/intranet-tmpl/prog/en/modules/virtualshelves/downloadshelf.tt

index 501dd0d..5bf7472 100644 (file)
@@ -259,7 +259,7 @@ require( [ 'koha-backend', 'search', 'macros', 'marc-editor', 'marc-record', 'pr
             }
         },
         'iso2709': {
-            saveLabel: _("Save as ISO2709 (.mrc) file"),
+            saveLabel: _("Save as MARC (.mrc) file"),
             save: function( id, record, done ) {
                 saveAs( new Blob( [record.toISO2709()], { 'type': 'application/octet-stream;charset=utf-8' } ), 'record.mrc' );
 
index f9265dc..d78e001 100644 (file)
@@ -54,8 +54,8 @@
                     <fieldset>
                         <label for="issues-table-output-format"><b>Export checkouts using format:</b></label>
                         <select name="issues-table-output-format" id="issues-table-output-format">
-                            <option value="iso2709_995">ISO2709 with items</option>
-                            <option value="iso2709">ISO2709 without items</option>
+                            <option value="iso2709_995">MARC with items</option>
+                            <option value="iso2709">MARC without items</option>
                             [% IF csv_profiles.size %]
                                 <option value="csv">CSV</option>
                             [% END %]
@@ -68,7 +68,7 @@
                                 [% END %]
                             </select>
                         [% END %]
-                       <label for="export_remove_fields">Don't export fields:</label> <input type="text" id="export_remove_fields" name="export_remove_fields" value="[% Koha.Preference('ExportRemoveFields') | html %]" title="Use for iso2709 exports" />
+                       <label for="export_remove_fields">Don't export fields:</label> <input type="text" id="export_remove_fields" name="export_remove_fields" value="[% Koha.Preference('ExportRemoveFields') | html %]" title="Use for MARC exports" />
                         <input type="hidden" name="op" value="export" />
                         <input type="hidden" id="output_format" name="output_format" value="iso2709" />
                         <input type="hidden" id="dont_export_item" name="dont_export_item" value="0" />
index 8d2df29..831534c 100644 (file)
@@ -17,7 +17,7 @@
         <div class="btn-group">
             <button class="btn btn-default btn-sm dropdown-toggle" data-toggle="dropdown"><i class="fa fa-download"></i> Download list <span class="caret"></span></button>
                 <ul class="dropdown-menu">
-                    <li><a href="/cgi-bin/koha/virtualshelves/downloadshelf.pl?format=iso2709&amp;shelfid=[% shelf.shelfnumber | html %]">iso2709</a></li>
+                    <li><a href="/cgi-bin/koha/virtualshelves/downloadshelf.pl?format=iso2709&amp;shelfid=[% shelf.shelfnumber | html %]">MARC</a></li>
                     <li><a href="/cgi-bin/koha/virtualshelves/downloadshelf.pl?format=ris&amp;shelfid=[% shelf.shelfnumber | html %]">RIS</a></li>
                     <li><a href="/cgi-bin/koha/virtualshelves/downloadshelf.pl?format=bibtex&amp;shelfid=[% shelf.shelfnumber | html %]">BibTex</a></li>
                     [% FOREACH csv_profile IN csv_profiles %]
index 3431a06..50d8773 100644 (file)
@@ -19,8 +19,7 @@
 <body id="acq_addorderiso2709" class="acq">
 [% INCLUDE 'header.inc' %]
 [% INCLUDE 'acquisitions-search.inc' %]
-<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> &rsaquo; <a href="/cgi-bin/koha/acqui/acqui-home.pl">Acquisitions</a> &rsaquo; <a href="/cgi-bin/koha/acqui/supplier.pl?booksellerid=[% booksellerid | html %]">[% booksellername | html %]</a> &rsaquo; <a href="/cgi-bin/koha/acqui/basket.pl?basketno=[% basketno | html %]">Basket [% basketno | html %]</a> &rsaquo;  Add orders from iso2709 file</div>
-
+<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> &rsaquo; <a href="/cgi-bin/koha/acqui/acqui-home.pl">Acquisitions</a> &rsaquo; <a href="/cgi-bin/koha/acqui/supplier.pl?booksellerid=[% booksellerid | html %]">[% booksellername | html %]</a> &rsaquo; <a href="/cgi-bin/koha/acqui/basket.pl?basketno=[% basketno | html %]">Basket [% basketno | html %]</a> &rsaquo; Add orders from MARC file</div>
     <div class="container-fluid">
         <div class="row">
             <div class="col-sm-6 col-sm-offset-3 col-md-8 col-md-offset-2">
index 980bdf0..2407b6c 100644 (file)
@@ -136,7 +136,7 @@ Circulation:
                   no: "Don't show"
             - the export patron checkout history options.
         -
-            - The following fields should be excluded from the patron checkout history CSV or iso2709 export
+            - The following fields should be excluded from the patron checkout history CSV or MARC (ISO 2709) export
             - pref: ExportRemoveFields
             - (separate fields with space, e.g. 100a 200b 300c)
         -
index 7db0450..52dcec3 100644 (file)
@@ -50,7 +50,7 @@
                         <div class="btn-group">
                             <a class="btn btn-default btn-sm dropdown-toggle" data-toggle="dropdown" href="#" id="downloadcart"><i class="fa fa-download"></i> Download <span class="caret"></span> </a>
                             <ul class="dropdown-menu">
-                                <li><a href="/cgi-bin/koha/basket/downloadcart.pl?format=iso2709&amp;bib_list=[% bib_list | html %]">iso2709</a></li>
+                                <li><a href="/cgi-bin/koha/basket/downloadcart.pl?format=iso2709&amp;bib_list=[% bib_list | html %]">MARC</a></li>
                                 <li><a href="/cgi-bin/koha/basket/downloadcart.pl?format=ris&amp;bib_list=[% bib_list | html %]">RIS</a></li>
                                 <li><a href="/cgi-bin/koha/basket/downloadcart.pl?format=bibtex&amp;bib_list=[% bib_list | html %]">BibTex</a></li>
                             [% FOREACH csv_profile IN csv_profiles %]
index 53ea190..b01aca4 100644 (file)
@@ -13,7 +13,7 @@
        <label for="format">Format:</label>
         <select name="format" id="format">
         <option value="">-- Choose format --</option>
-           <option value="iso2709">iso2709</option>
+        <option value="iso2709">MARC</option>
            <option value="ris">RIS</option>
            <option value="bibtex">BibTex</option>
            [% FOREACH csv_profile IN csv_profiles %]
index 503552f..c80943d 100644 (file)
@@ -42,7 +42,7 @@
             <ul class="dropdown-menu" id="save-dropdown">
             </ul>
         </div>
-        <button class="btn btn-default btn-sm" id="import-records" title="Import an ISO2709 or MARCXML record"><i class="fa fa-download"></i> <span>Import record...</span></button>
+        <button class="btn btn-default btn-sm" id="import-records" title="Import an MARC (ISO 2709) or MARCXML record"><i class="fa fa-download"></i> <span>Import record...</span></button>
         <button class="btn btn-default btn-sm" id="open-macros" title="Run and edit macros"><i class="fa fa-play"></i> <span>Macros...</span></button>
         <div class="btn-group">
             <button class="btn btn-default btn-sm dropdown-toggle" data-toggle="dropdown"><i class="fa fa-cog"></i> Settings <span class="caret"></span></button>
index 74b772e..5878d40 100644 (file)
         <ol><li>
             <label for="output_format">File format: </label>
             <select id="output_format" name="output_format">
-                <option value="iso2709">marc</option>
-                <option value="xml">xml</option>
+                <option value="iso2709">MARC</option>
+                <option value="xml">XML</option>
                 [% IF csv_profiles %]
-                    <option value="csv">csv</option>
+                    <option value="csv">CSV</option>
                 [% ELSE %]
-                    <option value="csv" disabled data-toggle="tooltip" data-placement="left" title="You must create a CSV profile for MARC exports to use this option.">csv</option>
+                    <option value="csv" disabled data-toggle="tooltip" data-placement="left" title="You must create a CSV profile for MARC exports to use this option.">CSV</option>
                 [% END %]
             </select>
         </li>
index be9fd86..577eafe 100644 (file)
@@ -30,7 +30,7 @@
     <label for="format">Format: </label>
         <select name="format" id="format">
         <option value="">-- Choose format --</option>
-           <option value="iso2709">iso2709</option>
+        <option value="iso2709">MARC</option>
            <option value="ris">RIS</option>
            <option value="bibtex">BibTex</option>
            [% FOREACH csv_profile IN csv_profiles %]