From 51f882465925d2e7a7f643b9e2555e2bdf725aee Mon Sep 17 00:00:00 2001 From: Paramtamtam <7326800+tarampampam@users.noreply.github.com> Date: Thu, 24 Mar 2022 13:54:07 +0500 Subject: [PATCH] shuffle template fixed --- l10n/l10n.js | 2 +- templates/connection.html | 8 ++++ templates/shuffle.html | 95 ++++++++++++++++++++++++++++----------- 3 files changed, 78 insertions(+), 27 deletions(-) diff --git a/l10n/l10n.js b/l10n/l10n.js index 5949ce90..bb9391d7 100644 --- a/l10n/l10n.js +++ b/l10n/l10n.js @@ -215,7 +215,7 @@ Object.defineProperty(window, 'l10n', { if (localized !== undefined) { $el.innerText = localized; } else { - console.debug(`Unsupported l10n token detected: "${token}"`, $el); + console.debug(`Unsupported l10n token detected: "${token}" (locale "${activeLocale}")`, $el); } }); }; diff --git a/templates/connection.html b/templates/connection.html index 62394883..c9e65cb7 100644 --- a/templates/connection.html +++ b/templates/connection.html @@ -1,4 +1,8 @@ + @@ -259,4 +263,8 @@

What can I do?

})(document.createElement('script'), document.body); } + diff --git a/templates/shuffle.html b/templates/shuffle.html index be194f19..5c87722f 100644 --- a/templates/shuffle.html +++ b/templates/shuffle.html @@ -72,7 +72,10 @@
- {{ code }}: {{ message }} +
+ {{ code }}: {{ message }} + +
{{ if show_details }}