Browse Source

improve not-translatable html containers fix

twisterarmy
d47081 2 years ago
parent
commit
62fc58253f
  1. 8
      js/interface_localization.js
  2. 16
      network.html

8
js/interface_localization.js

@ -5607,10 +5607,18 @@ polyglot.extend(wordset); @@ -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",

16
network.html

@ -59,10 +59,10 @@ @@ -59,10 +59,10 @@
<div class="wrapper">
<div class="network singleBlock">
<h2 class="selectable_theme theme_original theme_calm"><span>Network status</span></h2>
<h2 class="selectable_theme theme_original theme_calm">Network status</h2>
<div class="module">
<h2 class="selectable_theme theme_nin theme_nin_night"><span>Network status</span></h2>
<h3><span>General information</span></h3>
<h2 class="selectable_theme theme_nin theme_nin_night">Network status</h2>
<h3>General information</h3>
<ul>
<li>
<span class="network-status highlight connection-status">Updating status...</span>
@ -77,7 +77,7 @@ @@ -77,7 +77,7 @@
</li>
</ul>
<h3><span>Detailed information</span></h3>
<h3>Detailed information</h3>
<ul>
<li class="connections">
<label>Connections: </label>
@ -125,7 +125,7 @@ @@ -125,7 +125,7 @@
</li>
</ul>
<h3><span>Block chain information</span></h3>
<h3>Block chain information</h3>
<ul>
<li>
<label>Number of blocks in block chain:</label>
@ -141,7 +141,7 @@ @@ -141,7 +141,7 @@
</li>
</ul>
<h3><span>Traffic information</span></h3>
<h3>Traffic information</h3>
<ul>
<li>
<label>DHT Torrents:</label>
@ -199,7 +199,7 @@ @@ -199,7 +199,7 @@
<div class="module">
<h2 class="selectable_theme theme_nin">Configure block generation</h2>
<h3><span>Generate blocks (send promoted messages)</span></h3>
<h3>Generate blocks (send promoted messages)</h3>
<ul>
<li>
<label> Block generation </label>
@ -233,7 +233,7 @@ @@ -233,7 +233,7 @@
</li>
</ul>
<h3><span>Block generation status</span></h3>
<h3>Block generation status</h3>
<ul>
<li>
<label> Current hash rate: </label>

Loading…
Cancel
Save