Bug 35769: Fix untranslatable strings in request.tt

This fixes some strings in the JavaScript part of the
template that were missing from the po files.

This is one way to test:
* Apply patch
* Run gulp po:update --lang <language-code>
* Compare strings changed in the patch, with strings
  appearing in <language-code>-staff-prog.po
* Translate the strings and remove "fuzzy" line
* In k-t-d, run:
  sudo koha-translate --install <language-code> --dev <instance>
* Verify that now the translated version of the template contains
  your translated strings
* Verify the translated page works correctly, no errors

Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
(cherry picked from commit 928b606083)
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
This commit is contained in:
Katrin Fischer 2024-01-12 22:52:42 +00:00 committed by Lucas Gass
parent 006f94a718
commit b40117a31b
1 changed files with 2 additions and 2 deletions

View File

@ -1725,7 +1725,7 @@
if ( selected_items.closest('tr').find(".pickup_locations").val() == '' ) {
msg = _("- Please select a pickup location for the item" + "\n")
msg = (_("- Please select a pickup location for the item") + "\n");
}
}
else {
@ -1743,7 +1743,7 @@
} else {
// Requesting next available
if( $("#pickup-next-avail").length < 1 || $("#pickup-next-avail").val() == "" || $('#pickup-next-avail').val() === null ){
msg = _("- Please select a pickup location for this hold" + "\n");
msg = (_("- Please select a pickup location for this hold") + "\n");
}
}