mirror of
https://github.com/unraid/webgui.git
synced 2026-05-24 23:29:48 -05:00
Merge pull request #2340 from Squidly271/patch-13
Fix: Allow apostrophe in swal text
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user