LP1991395 Bootstrap opac: headers in advanced search screens not translated
authorGarry Collum <gcollum@gmail.com>
Fri, 30 Sep 2022 14:02:46 +0000 (14:02 +0000)
committerJane Sandberg <sandbergja@gmail.com>
Sat, 1 Oct 2022 13:20:05 +0000 (06:20 -0700)
Marks the headers in Advanced Search, Numeric Search and Expert Search
for translation.

Thank you, Eva Cerninakova for pointing them all out.

Signed-off-by: Garry Collum <gcollum@gmail.com>
Signed-off-by: Jane Sandberg <sandbergja@gmail.com>
Open-ILS/src/templates-bootstrap/opac/parts/advanced/expert.tt2
Open-ILS/src/templates-bootstrap/opac/parts/advanced/numeric.tt2
Open-ILS/src/templates-bootstrap/opac/parts/advanced/search.tt2

index 243e7d0..414d0cd 100755 (executable)
@@ -1,6 +1,6 @@
 <form action="[% ctx.opac_root %]/results" method="get">
-    <h1 class="text-center">Expert Search</h1>
-            <h2 class="text-center">Search the MARC record.</h2>
+    <h1 class="text-center">[% l("Expert Search") %]</h1>
+            <h2 class="text-center">[% l("Search the MARC record.") %]</h2>
     <input type="hidden" name="_special" value="1" />
     <input id="detail" type="hidden" name="detail_record_view"
            value="[% show_detail_view %]"/>
index 0d4326a..7bc25bd 100755 (executable)
@@ -1,6 +1,6 @@
 <form action="[% ctx.opac_root %]/results" method="get">
-    <h1 class="text-center">Numeric Search</h1>
-            <h2 class="text-center">Search by a field and numeric identifier.</h2>
+    <h1 class="text-center">[% l("Numeric Search") %]</h1>
+            <h2 class="text-center">[% l("Search by a field and numeric identifier.") %]</h2>
     <input type="hidden" name="contains" value="contains" />
     <input type="hidden" name="_special" value="1" />
     <input id="detail" type="hidden" name="detail_record_view"
index 7308164..f22c7ff 100755 (executable)
@@ -5,8 +5,8 @@
 <form action="[% ctx.opac_root %]/results" method="get">
 <div id='adv_global_search' class='data_grid data_grid_center'>
     <div id='adv_search_rows' class="container">
-        <h1 class="text-center">Advanced Search</h1>
-        <h2 class="text-center">Refine your search by filling out one or more fields to search by below.</h2>
+        <h1 class="text-center">[% l("Advanced Search") %]</h1>
+        <h2 class="text-center">[% l("Refine your search by filling out one or more fields to search by below.") %]</h2>
         <div class='adv_global_input_container row'>
             <table role="presentation" id="adv_global_input_table" class="mx-auto col-12">
                 <tbody id="adv_global_tbody">
@@ -36,7 +36,7 @@
             class="btn btn-deny"><i class="fas fa-ban"></i> [% l('Clear Form') %]</a>
     </div>
     <div class="my-5">
-        <h3>Search Filters</h3>
+        <h3>[% l("Search Filters") %]</h3>
         <div>
             [% FOR adv_chunk IN search.adv_config; NEXT IF adv_chunk.adv_hide || (adv_chunk.adv_special && adv_chunk.adv_special != 'copy_location'); %]
             <div class="pt-3">