From 866ce6fb7d74d781dbaf5729041d328c820c4c11 Mon Sep 17 00:00:00 2001 From: yflory Date: Thu, 20 Feb 2020 11:43:35 +0100 Subject: [PATCH] Add translation key --- www/common/inner/access.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/www/common/inner/access.js b/www/common/inner/access.js index 9acab44ab..102fb67dc 100644 --- a/www/common/inner/access.js +++ b/www/common/inner/access.js @@ -416,7 +416,8 @@ define([ } }); - // XXX allow_removeConfirm, allow_checkbox, allow_text + // XXX allow_removeConfirm, allow_checkbox, allow_text, allow_addConfirm + Messages.allow_addConfirm = "Are you sure?"; // XXX Messages.allow_removeConfirm = "Are you sure?"; // XXX Messages.allow_checkbox = "Enable allow list"; // XXX Messages.allow_text = 'Pewpewpew'; // XXX @@ -569,7 +570,7 @@ define([ }).filter(function (x) { return x; }); nThen(function (waitFor) { - var msg = Messages.owner_addConfirm; // XXX change to use allow list here + var msg = Messages.allow_addConfirm; UI.confirm(msg, waitFor(function (yes) { if (!yes) { waitFor.abort();