Browse Source

0.8.87

* fix translations #1455 #1442
pull/1465/head
lumapu 11 months ago
parent
commit
4f71ac014c
  1. 3
      src/CHANGES.md
  2. 2
      src/defines.h
  3. 4
      src/web/html/index.html
  4. 2
      src/web/html/serial.html
  5. 10
      src/web/lang.json

3
src/CHANGES.md

@ -1,5 +1,8 @@
# Development Changes
## 0.8.87 - 2024-02-25
* fix translations #1455 #1442
## 0.8.86 - 2024-02-23
* RestAPI check for parent element to be JsonObject #1449
* fix translation #1448 #1442

2
src/defines.h

@ -13,7 +13,7 @@
//-------------------------------------
#define VERSION_MAJOR 0
#define VERSION_MINOR 8
#define VERSION_PATCH 86
#define VERSION_PATCH 87
//-------------------------------------
typedef struct {

4
src/web/html/index.html

@ -70,9 +70,9 @@
var min = parseInt(up / 60) % 60;
var sec = up % 60;
var e = document.getElementById("uptime");
e.innerHTML = days + " Day";
e.innerHTML = days + " {#DAY}";
if(1 != days)
e.innerHTML += "s";
e.innerHTML += "{#S}";
e.innerHTML += ", " + ("0"+hrs).substr(-2) + ":"
+ ("0"+min).substr(-2) + ":"
+ ("0"+sec).substr(-2);

2
src/web/html/serial.html

@ -80,7 +80,7 @@
try {
return document.execCommand("copy"); // Security exception may be thrown by some browsers.
} catch (ex) {
alert("CLIPBOARD_FAILED " + ex);
alert("{#CLIPBOARD_FAILED} " + ex);
} finally {
document.body.removeChild(ta);
alert("{#COPIED_TO_CLIPBOARD}");

10
src/web/lang.json

@ -993,6 +993,16 @@
"en": "Error",
"de": "Fehler"
},
{
"token": "DAY",
"en": "day",
"de": "Tag"
},
{
"token": "S",
"en": "s",
"de": "e"
},
{
"token": "NTP_UNREACH",
"en": "NTP timeserver unreachable",

Loading…
Cancel
Save