From 62fc58253f653f62dc944b841bc58f45e27253bd Mon Sep 17 00:00:00 2001 From: d47081 Date: Sun, 4 Sep 2022 23:29:46 +0300 Subject: [PATCH] improve not-translatable html containers fix --- js/interface_localization.js | 8 ++++++++ network.html | 16 ++++++++-------- 2 files changed, 16 insertions(+), 8 deletions(-) diff --git a/js/interface_localization.js b/js/interface_localization.js index a5f98b1..087923b 100644 --- a/js/interface_localization.js +++ b/js/interface_localization.js @@ -5607,10 +5607,18 @@ polyglot.extend(wordset); var fixedLabels = [ // common text containers + "a", + "span", "title", "button", "option", "textarea", + "h1", + "h2", + "h3", + "h4", + "h5", + "h6", // An easy way to include new items in translation is to add the "label" class ".label", diff --git a/network.html b/network.html index 7cf9c13..8849aa4 100644 --- a/network.html +++ b/network.html @@ -59,10 +59,10 @@
-

Network status

+

Network status

-

Network status

-

General information

+

Network status

+

General information

  • Updating status... @@ -77,7 +77,7 @@
-

Detailed information

+

Detailed information

  • @@ -125,7 +125,7 @@
-

Block chain information

+

Block chain information

  • @@ -141,7 +141,7 @@
-

Traffic information

+

Traffic information

  • @@ -199,7 +199,7 @@

    Configure block generation

    -

    Generate blocks (send promoted messages)

    +

    Generate blocks (send promoted messages)

    • @@ -233,7 +233,7 @@
    -

    Block generation status

    +

    Block generation status