Bug 35138: Fix typo in error messages

Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
This commit is contained in:
Katrin Fischer 2024-04-30 08:51:42 +00:00
parent 423a7a734c
commit fc12fe9db0
No known key found for this signature in database
GPG Key ID: 0EF6E2C03357A834
1 changed files with 2 additions and 2 deletions

View File

@ -149,7 +149,7 @@ $(document).ready(function () {
var search_field_name = $(line).find('input[data-id="search_field_name"]').val();
let already_exists = dt.data().filter((row, idx) => row[0]['@data-order'] === search_field_name);
if ( already_exists.length ) {
alert(__("SearchField '%s' already exist".format(search_field_name)));
alert(__("Search field '%s' already exists".format(search_field_name)));
return;
}
if (search_field_name.length > 0) {
@ -171,7 +171,7 @@ $(document).ready(function () {
let dt_data = dt.data();
let already_exists = dt_data.filter((row, idx) => row[1] === search_field_name);
if ( already_exists.length ) {
alert(__("Facet '%s' already exist".format(search_field_name)));
alert(__("Facet '%s' already exists".format(search_field_name)));
return;
}
if (search_field_name.length > 0) {