WLED/wled00/data/cfg_lang.js
Christian Schwinne 59025e317e
New settings es6 (merge from pbolduc fork) (#3231)
* Initial new settings page test commit

* quick poc to add chibi style helper and start to change files to es6

* add ready and loaded functions

* added missing pageloaded variable to track if loaded already called.

* More POC to dynamically add content, minimal DOM lib based on chibi

* Add simple translation for any element that has class=l10n

* simply self executing function

---------

Co-authored-by: Phil Bolduc <philbolduc@gmail.com>
2023-06-05 16:33:51 +02:00

10 lines
310 B
JavaScript

(function() {
// self executing function to ensure translations is set on page load
// so we dont have to wait for fetch/xhr request
window.translations = {
"About": "Über",
"Save": "Speichern",
"Schedules": "Zeitpläne",
"Sound Reactive": "Tonreaktiv"
};
}());