Merge pull request #2340 from Squidly271/patch-13

Fix: Allow apostrophe in swal text
This commit is contained in:
tom mortensen
2025-08-27 08:40:53 -07:00
committed by GitHub
+9
View File
@@ -985,6 +985,7 @@ function prepareEdit() {
title: "_(Primary Storage)_",
text: "_(Selected Pool is not available and cannot be used.)_",
type: 'error',
html: true,
confirmButtonText: "_(Ok)_"
});
return false;
@@ -995,6 +996,7 @@ function prepareEdit() {
title: "_(Secondary Storage)_",
text: "_(Selected Pool is not available and cannot be used.)_",
type: 'error',
html: true,
confirmButtonText: "_(Ok)_"
});
return false;
@@ -1008,6 +1010,7 @@ function prepareEdit() {
title: "_(Missing share name)_",
text: "_(Enter a name for the share)_",
type: 'error',
html: true,
confirmButtonText: "_(Ok)_"
});
return false;
@@ -1019,6 +1022,7 @@ function prepareEdit() {
title: "_(Invalid share name)_",
text: "_(Share name must be 40 characters or less)_",
type: 'error',
html: true,
confirmButtonText: "_(Ok)_"
});
return false;
@@ -1033,6 +1037,7 @@ function prepareEdit() {
title: "_(Invalid share name)_",
text: "_(Share name must begin with a letter)_",
type: 'error',
html: true,
confirmButtonText: "_(Ok)_"
});
return false;
@@ -1043,6 +1048,7 @@ function prepareEdit() {
title: "_(Invalid share name)_",
text: "_(Share name may only contain letters, digits, '.', '_', or '-')_",
type: 'error',
html: true,
confirmButtonText: "_(Ok)_"
});
return false;
@@ -1053,6 +1059,7 @@ function prepareEdit() {
title: "_(Invalid share name)_",
text: "_(Share name cannot end with '.')_",
type: 'error',
html: true,
confirmButtonText: "_(Ok)_"
});
return false;
@@ -1064,6 +1071,7 @@ function prepareEdit() {
title: "_(Invalid share name)_",
text: "_(Do not use reserved names)_",
type: 'error',
html: true,
confirmButtonText: "_(Ok)_"
});
return false;
@@ -1075,6 +1083,7 @@ function prepareEdit() {
title: "_(Invalid share name)_",
text: "_(Do not use pool names)_",
type: 'error',
html: true,
confirmButtonText: "_(Ok)_"
});
return false;