diff --git a/.gitignore b/.gitignore index acab9ea7..bb234c45 100644 --- a/.gitignore +++ b/.gitignore @@ -7,13 +7,11 @@ bin/* data/* !data/edit.htm +!data/en.json !data/main.js -!data/edit.htm.gz !data/openhasp.ttf !data/style.css -!data/style.css.gz !data/script.js -!data/script.js.gz !data/vars.css !data/cert/ !data/cert/x509_crt_bundle.bin diff --git a/data/en.json b/data/en.json new file mode 100644 index 00000000..1dae91b3 --- /dev/null +++ b/data/en.json @@ -0,0 +1 @@ +{"en":{"language":"English","home":{"title":"Main Menu","btn":"Main Menu","nav":"Home"},"save":"Save Settings","user":"Username","pass":"Password","hasp":{"title":"HASP Design","btn":"HASP Design","theme":"UI Theme","color1":"Primairy color","color2":"Secudairy color","pages":"Start Layout","font":"Default Font","startpage":"Startup Page","startdim":"Startup Dim"},"screenshot":{"title":"Screenshot","btn":"Screenshot","nav":"Screenshot","prev":"Prev Page","next":"Next Page","refresh":"Refresh"},"info":{"title":"Information","btn":"Information","nav":"Information"},"config":{"title":"Configuration","btn":"Configuration","nav":"Settings"},"ota":{"title":"Firmware Update","btn":"Firmware Update","nav":"Firmware","submit":"Update Firmware","file":"Firmware File","url":"Firmware URL","redirect":"Follow Redirects","never":"Never","strict":"Strict","always":"Always"},"editor":{"title":"File Editor","btn":"File Editor","nav":"File Editor"},"reset":{"title":"Factory Reset","btn":"Factory Reset","warning":"Warning","message":"This process will reset all settings to the default values. The internal flash will be erased and the device is restarted. You may need to connect to the WiFi AP displayed on the panel to reconfigure the device before accessing it again.","fileloss":"ALL FILES WILL BE LOST!"},"reboot":{"title":"Rebooting...","btn":"Restart","nav":"Reboot","message":"The device is rebooting."},"about":{"credits":"Based on the previous work of the following open source developers:","copyright":"Copyright ","rights":"All rights reserved.","clause1":"Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files(the \"Software\"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and / or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:","clause2":"The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.","clause3":"THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.","mit":"MIT License","bsd":"BSD License","freebsd":"FreeBSD License","apache2":"Apache2 License"},"wifi":{"title":"Wifi Settings","btn":"Wifi Settings","ssid":"SSID"},"mqtt":{"title":"MQTT Settings","btn":"MQTT Settings","name":"Hostname","group":"Groupname","host":"Broker","port":"Port","node_t":"Node Topic","group_t":"Group Topic","broadcast_t":"Broadcast Topic","hass_t":"HA LWT Topic"},"http":{"title":"HTTP Settings","btn":"HTTP Settings"},"ftp":{"title":"FTP Settings","btn":"FTP Settings","port":"FTP Port","pasv":"Passive Port"},"gui":{"title":"Display Settings","btn":"Display Settings","antiburn":"Antiburn","calibrate":"Calibrate"},"gpio":"GPIO Settings","debug":{"title":"Debug Settings","btn":"Debug Settings","baud":"Baudrate","tele":"Tele Period","ansi":"Use ANSI codes","host":"Syslog Server","port":"Syslog Port","ietf":"IETF (RFC 5424)","bsd":"BSD (RFC 3164)","log":"Facility"},"time":{"title":"Time Settings","btn":"Time Settings","region":"Region","zone":"Timezone","tz":"Timezone","ntp":"NTP Servers"},"region":{"etc":"Etcetera ","continents":"Continents ","af":"Africa ","as":"Asia ","au":"Australia ","aq":"Antarctica ","eu":"Europe ","na":"North America ","sa":"South America ","islands":"Islands ","at":"Atlantic Ocean ","in":"Indian Ocean ","pa":"Pacific Ocean "}}} \ No newline at end of file diff --git a/data/static/edit.htm.gz b/data/static/edit.htm.gz deleted file mode 100644 index 8ddca4a7..00000000 Binary files a/data/static/edit.htm.gz and /dev/null differ diff --git a/data/static/en.json.gz b/data/static/en.json.gz deleted file mode 100644 index 69abbe80..00000000 Binary files a/data/static/en.json.gz and /dev/null differ diff --git a/data/static/fr.json.gz b/data/static/fr.json.gz deleted file mode 100644 index 84db85ac..00000000 Binary files a/data/static/fr.json.gz and /dev/null differ diff --git a/data/static/hasp.htm.gz b/data/static/hasp.htm.gz index 391bb860..c95bf775 100644 Binary files a/data/static/hasp.htm.gz and b/data/static/hasp.htm.gz differ diff --git a/data/static/main.js.gz b/data/static/main.js.gz deleted file mode 100644 index 1db00d05..00000000 Binary files a/data/static/main.js.gz and /dev/null differ diff --git a/data/static/nl.json.gz b/data/static/nl.json.gz deleted file mode 100644 index 744beee7..00000000 Binary files a/data/static/nl.json.gz and /dev/null differ diff --git a/data/static/script.js.gz b/data/static/script.js.gz deleted file mode 100644 index 0bbc6fe8..00000000 Binary files a/data/static/script.js.gz and /dev/null differ diff --git a/data/static/style.css.gz b/data/static/style.css.gz deleted file mode 100644 index 6d8a3513..00000000 Binary files a/data/static/style.css.gz and /dev/null differ