Web interface spelling fixes and improvements

Also make the popup message for pasting characters change plurality
depending on the amount of characters.
This commit is contained in:
Owen D'Aprile
2021-02-07 14:18:52 -05:00
parent c9ee9b2e6a
commit cc909352b4
3 changed files with 14 additions and 8 deletions

View File

@@ -123,7 +123,7 @@ export function Gpio() {
`;
} else if (item.type === "output") {
let controls = [];
let confirm = (item.confirm ? "Are you sure to act this control?" : "");
let confirm = (item.confirm ? "Are you sure you want to perform this action?" : "");
if (item.scheme["switch"]) {
controls.push(`
<td><div class="switch-box">