Update Hebrew language file

Add Hebrew language file (#3960)
This commit is contained in:
Theo Arends 2018-10-03 13:55:07 +02:00
parent 93460c6498
commit 1707c73264
5 changed files with 31 additions and 4 deletions

View File

@ -25,6 +25,7 @@ env_default = sonoff
;env_default = sonoff-ES ;env_default = sonoff-ES
;env_default = sonoff-FR ;env_default = sonoff-FR
;env_default = sonoff-GR ;env_default = sonoff-GR
;env_default = sonoff-HE
;env_default = sonoff-HU ;env_default = sonoff-HU
;env_default = sonoff-IT ;env_default = sonoff-IT
;env_default = sonoff-NL ;env_default = sonoff-NL
@ -294,6 +295,20 @@ upload_resetmethod = ${common.upload_resetmethod}
upload_speed = ${common.upload_speed} upload_speed = ${common.upload_speed}
extra_scripts = ${common.extra_scripts} extra_scripts = ${common.extra_scripts}
[env:sonoff-HE]
platform = ${common.platform}
framework = ${common.framework}
board = ${common.board}
board_build.flash_mode = ${common.board_build.flash_mode}
board_build.f_cpu = ${common.board_build.f_cpu}
build_unflags = ${common.build_unflags}
build_flags = ${common.build_flags} -DMY_LANGUAGE=he-HE
monitor_speed = ${common.monitor_speed}
upload_port = ${common.upload_port}
upload_resetmethod = ${common.upload_resetmethod}
upload_speed = ${common.upload_speed}
extra_scripts = ${common.extra_scripts}
[env:sonoff-HU] [env:sonoff-HU]
platform = ${common.platform} platform = ${common.platform}
framework = ${common.framework} framework = ${common.framework}

View File

@ -2,7 +2,8 @@
* Remove support for MQTT Client based on esp-mqtt-arduino by #define MQTT_LIBRARY_TYPE MQTT_ESPMQTTARDUINO * Remove support for MQTT Client based on esp-mqtt-arduino by #define MQTT_LIBRARY_TYPE MQTT_ESPMQTTARDUINO
* Add support for MQTT Client based on lwmqtt to be selected by #define MQTT_LIBRARY_TYPE MQTT_ARDUINOMQTT * Add support for MQTT Client based on lwmqtt to be selected by #define MQTT_LIBRARY_TYPE MQTT_ARDUINOMQTT
* Change MQTT_ARDUINOMQTT command timeout from 1 to 10 seconds * Change MQTT_ARDUINOMQTT command timeout from 1 to 10 seconds
* * Add Hebrew language file (#3960)
*
* 6.2.1.10 20180930 * 6.2.1.10 20180930
* Add command RGBWWTable to support color calibration (#3933) * Add command RGBWWTable to support color calibration (#3933)
* Add support for Michael Haustein ESP Switch * Add support for Michael Haustein ESP Switch

View File

@ -32,7 +32,7 @@
\*********************************************************************/ \*********************************************************************/
//#define LANGUAGE_MODULE_NAME // Enable to display "Module Generic" (ie Spanish), Disable to display "Generic Module" (ie English) //#define LANGUAGE_MODULE_NAME // Enable to display "Module Generic" (ie Spanish), Disable to display "Generic Module" (ie English)
// https://www.science.co.il/language/Locale-codes.php
#define LANGUAGE_LCID 2057 #define LANGUAGE_LCID 2057
// HTML (ISO 639-1) Language Code // HTML (ISO 639-1) Language Code
#define D_HTML_LANGUAGE "en" #define D_HTML_LANGUAGE "en"
@ -169,7 +169,7 @@
#define D_UV_INDEX_4 "Danger" #define D_UV_INDEX_4 "Danger"
#define D_UV_INDEX_5 "BurnL1/2" #define D_UV_INDEX_5 "BurnL1/2"
#define D_UV_INDEX_6 "BurnL3" #define D_UV_INDEX_6 "BurnL3"
#define D_UV_INDEX_7 "OoR" #define D_UV_INDEX_7 "OoR" // Out of Range
#define D_UV_LEVEL "UV Level" #define D_UV_LEVEL "UV Level"
#define D_UV_POWER "UV Power" #define D_UV_POWER "UV Power"
#define D_VERSION "Version" #define D_VERSION "Version"

View File

@ -1,7 +1,7 @@
/* /*
he-HE.h - localization for Hebrew - Israel for Sonoff-Tasmota he-HE.h - localization for Hebrew - Israel for Sonoff-Tasmota
Copyright (C) 2018 Yuval Mejahez Copyright (C) 2018 Yuval Mejahez
This program is free software: you can redistribute it and/or modify This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by it under the terms of the GNU General Public License as published by
@ -163,7 +163,15 @@
#define D_USER "משתמש" #define D_USER "משתמש"
#define D_UTC_TIME "UTC" #define D_UTC_TIME "UTC"
#define D_UV_INDEX "UV אינדקס" #define D_UV_INDEX "UV אינדקס"
#define D_UV_INDEX_1 "Low"
#define D_UV_INDEX_2 "Mid"
#define D_UV_INDEX_3 "High"
#define D_UV_INDEX_4 "Danger"
#define D_UV_INDEX_5 "BurnL1/2"
#define D_UV_INDEX_6 "BurnL3"
#define D_UV_INDEX_7 "OoR" // Out of Range
#define D_UV_LEVEL "UV רמת" #define D_UV_LEVEL "UV רמת"
#define D_UV_POWER "UV Power"
#define D_VERSION "גרסה" #define D_VERSION "גרסה"
#define D_VOLTAGE "מתח" #define D_VOLTAGE "מתח"
#define D_WARMLIGHT "חום" #define D_WARMLIGHT "חום"
@ -493,6 +501,7 @@
#define D_UNIT_AMPERE "A" #define D_UNIT_AMPERE "A"
#define D_UNIT_CENTIMETER "cm" #define D_UNIT_CENTIMETER "cm"
#define D_UNIT_HOUR "Hr" #define D_UNIT_HOUR "Hr"
#define D_UNIT_INCREMENTS "inc"
#define D_UNIT_KILOOHM "kOhm" #define D_UNIT_KILOOHM "kOhm"
#define D_UNIT_KILOWATTHOUR "kWh" #define D_UNIT_KILOWATTHOUR "kWh"
#define D_UNIT_LUX "lx" #define D_UNIT_LUX "lx"
@ -514,6 +523,7 @@
#define D_UNIT_WATT "W" #define D_UNIT_WATT "W"
#define D_UNIT_WATTHOUR "Wh" #define D_UNIT_WATTHOUR "Wh"
#define D_UNIT_HERTZ "Hz" #define D_UNIT_HERTZ "Hz"
#define D_UNIT_WATT_METER_QUADRAT "W/m²"
// Log message prefix // Log message prefix
#define D_LOG_APPLICATION "APP: " // Application #define D_LOG_APPLICATION "APP: " // Application

View File

@ -196,6 +196,7 @@
//#define MY_LANGUAGE en-GB // English in Great Britain. Enabled by Default //#define MY_LANGUAGE en-GB // English in Great Britain. Enabled by Default
//#define MY_LANGUAGE es-AR // Spanish in Argentina //#define MY_LANGUAGE es-AR // Spanish in Argentina
//#define MY_LANGUAGE fr-FR // French in France //#define MY_LANGUAGE fr-FR // French in France
//#define MY_LANGUAGE he-HE // Hebrew in Israel
//#define MY_LANGUAGE hu-HU // Hungarian in Hungary //#define MY_LANGUAGE hu-HU // Hungarian in Hungary
//#define MY_LANGUAGE it-IT // Italian in Italy //#define MY_LANGUAGE it-IT // Italian in Italy
//#define MY_LANGUAGE nl-NL // Dutch in the Netherlands //#define MY_LANGUAGE nl-NL // Dutch in the Netherlands