Bug 13891: DataTables server-side processing - Serial recipients
[koha.git] / koha-tmpl / intranet-tmpl / prog / en / modules / serials / subscription-numberpatterns.tt
index 4ab79f4..9fca2f1 100644 (file)
       var error = 0;
       var error_msg = "";
       if(frequencyid == undefined || frequencyid == "") {
-          error_msg += _("- Frequency is not defined\n");
+          error_msg += _("- Frequency is not defined") + "\n";
           error ++;
       }
       if(firstacquidate == undefined || firstacquidate == "") {
-          error_msg += _("- First publication date is not defined\n");
+          error_msg += _("- First publication date is not defined") + "\n";
           error ++;
       }
 
       if(error){
-          alert(_("Cannot test prediction pattern for the following reason(s):\n\n")
+          alert(_("Cannot test prediction pattern for the following reason(s):") + "\n\n"
               + error_msg);
           return false;
       }
@@ -182,7 +182,7 @@ function show_blocking_subs() {
                         [% END %]
                       </select>
                     [% END %]
-                    <td>Fromatting</td>
+                    <td>Formatting</td>
                     <td>[% PROCESS numbering_select name="numbering1" value=numbering1 %]</td>
                     <td>[% PROCESS numbering_select name="numbering2" value=numbering2 %]</td>
                     <td>[% PROCESS numbering_select name="numbering3" value=numbering3 %]</td>
@@ -228,10 +228,10 @@ function show_blocking_subs() {
                   <select id="locale" name="locale">
                       <option value=""></option>
                       [% FOREACH locale IN locales %]
-                        <option value="[% locale %]">[% locale %]</option>
+                        <option value="[% locale.language %]">[% locale.description %]</option>
                       [% END %]
                     </select>
-                  <span class="hint">If empty, system locale is used</span>
+                  <span class="hint">If empty, English is used</span>
                 </li>
               </ol>
               <table>