frontend & backend update

This commit is contained in:
2023-01-16 21:47:23 +01:00
parent 1d6ff17994
commit 4cec531a25
51 changed files with 1010 additions and 571 deletions

View File

@@ -159,7 +159,7 @@ let Core = function () {
let jsCore = new Core();
function L(key) {
function L(key, defaultTranslation=null) {
let entries = window.languageEntries || {};
let [module, variable] = key.split(".");
@@ -170,5 +170,5 @@ function L(key) {
}
}
return "[" + key + "]";
return defaultTranslation || "[" + key + "]";
}