Skip to content

Commit

Permalink
Merge pull request #7 from NJbubo/localisation
Browse files Browse the repository at this point in the history
Added Hungarian translation
  • Loading branch information
jeremypoulter authored Sep 12, 2023
2 parents e05134b + c206948 commit 9482cb9
Show file tree
Hide file tree
Showing 5 changed files with 526 additions and 10 deletions.
1 change: 1 addition & 0 deletions src/lib/i18n.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import { get } from 'svelte/store'
register("en", () => import("./i18n/en.json"))
register("fr", () => import("./i18n/fr.json"))
register("es", () => import("./i18n/es.json"))
register("hu", () => import("./i18n/hu.json"))

let locale = "en"
if ( get(uisettings_store).lang != undefined ) {
Expand Down
8 changes: 4 additions & 4 deletions src/lib/i18n/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@
"status-divert-smoothed": "Smoothed Current",
"status-shaper-houseload": "House Load",
"status-shaper-error": "Shaper: Live Power Load data has not been updated in time, EVSE has been disabled",
"wizard-reload": "Quitting wizard. Seems we couldn't get the new ip adress. Redirecting to hostname. When pressing OK, it will redirect in few seconds to ",
"wizard-reload": "Quitting wizard. Seems we couldn't get the new ip address. Redirecting to hostname. When pressing OK, it will redirect in few seconds to ",
"wizard-reload2": "If you're not in a browser window, clicking the link below will copy the link to your clipboard. You can then paste it in your browser",
"clients": {
"manual": "manual",
Expand All @@ -113,7 +113,7 @@
"default": "default"
},
"units": {
"kwh": "kwh",
"kwh": "kWh",
"A": "A",
"V": "V",
"W": "W",
Expand Down Expand Up @@ -314,7 +314,7 @@
"date": "Date",
"usebrowsertime": "Local time",
"ntpserver": "NTP Server",
"ntpserver-desc": "NTP server adress",
"ntpserver-desc": "NTP server address",
"settimefrom": "Set time from",
"ntp": "NTP",
"manual": "Manual",
Expand Down Expand Up @@ -438,7 +438,7 @@
},
"contype": "Connection Type",
"httppush": "HTTP Push",
"httppush-desc-1": "To update manually vehicule data, send HTTP POST request to:",
"httppush-desc-1": "To update manually vehicle data, send HTTP POST request to:",
"httppush-desc-2": "containing json data in body:",
"help-1": "The Tesla login may break from time-to-time as Tesla change their login API, hopefully OpenEVSE will be able to resolve the issue on our server, but should the login fail you can use a 3rd Party app to generate the appropriate tokens.",
"help-2": "These can be entered in the `Advanced` section as an alternative method of logging in.",
Expand Down
2 changes: 1 addition & 1 deletion src/lib/i18n/es.json
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@
"default": "predeterminado"
},
"units": {
"kwh": "kwh",
"kwh": "kWh",
"A": "A",
"V": "V",
"W": "W",
Expand Down
12 changes: 7 additions & 5 deletions src/lib/i18n/fr.json
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@
"status-tile-setpoint": "consigne",
"status-tile-shaper": "Délestage",
"status-tile-selfprod": "Production",
"status-tile-divert-available": "Production Avl",
"status-tile-battery": "batterie",
"status-tile-range": "portée",
"status-tile-remaining": "restant",
Expand Down Expand Up @@ -112,7 +113,7 @@
"default": "défaut"
},
"units": {
"kwh": "kwh",
"kwh": "kWh",
"A": "A",
"V": "V",
"W": "W",
Expand Down Expand Up @@ -182,10 +183,10 @@
"error": "Erreur",
"error-vent": "Ventilation requise",
"error-diode": "Echec Test Diode",
"error-relay": "Relai défaillant",
"error-gfi": "Défaillance GFCI",
"error-gfitest": "Echec Test GFCI",
"error-ground": "Echec Test prise de Terre",
"error-relay": "Relai défaillant",
"error-temp": "Surchauffe",
"error-current": "Surintensité",
"sleeping": "Désactivé - En Veille",
Expand Down Expand Up @@ -220,8 +221,8 @@
},
"mode": "Mode",
"ssid": "SSID",
"signal": "Signal",
"channel": "Canal",
"signal": "Signal",
"change": "Changer de réseau",
"ip": "Adresse IP",
"mac": "Adresse Mac",
Expand Down Expand Up @@ -430,9 +431,10 @@
"range": "Portée Batterie",
"timeleft": "Temps restant (100%)",
"mode": {
"none": "Aucun/HTTP",
"none": "Aucun",
"tesla": "Tesla",
"mqtt": "MQTT"
"mqtt": "MQTT",
"http": "HTTP"
},
"contype": "Type de Connection",
"httppush": "HTTP Push",
Expand Down
Loading

0 comments on commit 9482cb9

Please sign in to comment.