mirror of https://github.com/arendst/Tasmota.git
Rename language files to fix compilation error
This commit is contained in:
parent
368d197c77
commit
50614a18b5
|
@ -2,7 +2,7 @@
|
|||
|
||||
| Feature or Sensor | minimal | lite | tasmota | knx | sensors | ir | display | Remarks
|
||||
|-----------------------|---------|-------|--------|-----|---------|----|---------|--------
|
||||
| MY_LANGUAGE en-GB | x | x | x | x | x | x | x |
|
||||
| MY_LANGUAGE en_GB | x | x | x | x | x | x | x |
|
||||
| USE_ARDUINO_OTA | - | - | - | - | - | - | - |
|
||||
| USE_DOMOTICZ | - | - | x | x | x | x | - |
|
||||
| USE_HOME_ASSISTANT | - | - | x | x | x | x | - |
|
||||
|
|
|
@ -38,67 +38,67 @@ build_flags = ${common.build_flags} ${irremoteesp_full.build_flags} -DFIRMWARE_I
|
|||
build_flags = ${common.build_flags} ${irremoteesp_full.build_flags}
|
||||
|
||||
[env:tasmota-BG]
|
||||
build_flags = ${common.build_flags} -DMY_LANGUAGE=bg-BG
|
||||
build_flags = ${common.build_flags} -DMY_LANGUAGE=bg_BG
|
||||
|
||||
[env:tasmota-BR]
|
||||
build_flags = ${common.build_flags} -DMY_LANGUAGE=pt-BR
|
||||
build_flags = ${common.build_flags} -DMY_LANGUAGE=pt_BR
|
||||
|
||||
[env:tasmota-CN]
|
||||
build_flags = ${common.build_flags} -DMY_LANGUAGE=zh-CN
|
||||
build_flags = ${common.build_flags} -DMY_LANGUAGE=zh_CN
|
||||
|
||||
[env:tasmota-CZ]
|
||||
build_flags = ${common.build_flags} -DMY_LANGUAGE=cs-CZ
|
||||
build_flags = ${common.build_flags} -DMY_LANGUAGE=cs_CZ
|
||||
|
||||
[env:tasmota-DE]
|
||||
build_flags = ${common.build_flags} -DMY_LANGUAGE=de-DE
|
||||
build_flags = ${common.build_flags} -DMY_LANGUAGE=de_DE
|
||||
|
||||
[env:tasmota-ES]
|
||||
build_flags = ${common.build_flags} -DMY_LANGUAGE=es-ES
|
||||
build_flags = ${common.build_flags} -DMY_LANGUAGE=es_ES
|
||||
|
||||
[env:tasmota-FR]
|
||||
build_flags = ${common.build_flags} -DMY_LANGUAGE=fr-FR
|
||||
build_flags = ${common.build_flags} -DMY_LANGUAGE=fr_FR
|
||||
|
||||
[env:tasmota-GR]
|
||||
build_flags = ${common.build_flags} -DMY_LANGUAGE=el-GR
|
||||
build_flags = ${common.build_flags} -DMY_LANGUAGE=el_GR
|
||||
|
||||
[env:tasmota-HE]
|
||||
build_flags = ${common.build_flags} -DMY_LANGUAGE=he-HE
|
||||
build_flags = ${common.build_flags} -DMY_LANGUAGE=he_HE
|
||||
|
||||
[env:tasmota-HU]
|
||||
build_flags = ${common.build_flags} -DMY_LANGUAGE=hu-HU
|
||||
build_flags = ${common.build_flags} -DMY_LANGUAGE=hu_HU
|
||||
|
||||
[env:tasmota-IT]
|
||||
build_flags = ${common.build_flags} -DMY_LANGUAGE=it-IT
|
||||
build_flags = ${common.build_flags} -DMY_LANGUAGE=it_IT
|
||||
|
||||
[env:tasmota-KO]
|
||||
build_flags = ${common.build_flags} -DMY_LANGUAGE=ko-KO
|
||||
build_flags = ${common.build_flags} -DMY_LANGUAGE=ko_KO
|
||||
|
||||
[env:tasmota-NL]
|
||||
build_flags = ${common.build_flags} -DMY_LANGUAGE=nl-NL
|
||||
build_flags = ${common.build_flags} -DMY_LANGUAGE=nl_NL
|
||||
|
||||
[env:tasmota-PL]
|
||||
build_flags = ${common.build_flags} -DMY_LANGUAGE=pl-PL
|
||||
build_flags = ${common.build_flags} -DMY_LANGUAGE=pl_PL
|
||||
|
||||
[env:tasmota-PT]
|
||||
build_flags = ${common.build_flags} -DMY_LANGUAGE=pt-PT
|
||||
build_flags = ${common.build_flags} -DMY_LANGUAGE=pt_PT
|
||||
|
||||
[env:tasmota-RO]
|
||||
build_flags = ${common.build_flags} -DMY_LANGUAGE=ro-RO
|
||||
build_flags = ${common.build_flags} -DMY_LANGUAGE=ro_RO
|
||||
|
||||
[env:tasmota-RU]
|
||||
build_flags = ${common.build_flags} -DMY_LANGUAGE=ru-RU
|
||||
build_flags = ${common.build_flags} -DMY_LANGUAGE=ru_RU
|
||||
|
||||
[env:tasmota-SE]
|
||||
build_flags = ${common.build_flags} -DMY_LANGUAGE=sv-SE
|
||||
build_flags = ${common.build_flags} -DMY_LANGUAGE=sv_SE
|
||||
|
||||
[env:tasmota-SK]
|
||||
build_flags = ${common.build_flags} -DMY_LANGUAGE=sk-SK
|
||||
build_flags = ${common.build_flags} -DMY_LANGUAGE=sk_SK
|
||||
|
||||
[env:tasmota-TR]
|
||||
build_flags = ${common.build_flags} -DMY_LANGUAGE=tr-TR
|
||||
build_flags = ${common.build_flags} -DMY_LANGUAGE=tr_TR
|
||||
|
||||
[env:tasmota-TW]
|
||||
build_flags = ${common.build_flags} -DMY_LANGUAGE=zh-TW
|
||||
build_flags = ${common.build_flags} -DMY_LANGUAGE=zh_TW
|
||||
|
||||
[env:tasmota-UK]
|
||||
build_flags = ${common.build_flags} -DMY_LANGUAGE=uk-UA
|
||||
build_flags = ${common.build_flags} -DMY_LANGUAGE=uk_UA
|
||||
|
|
|
@ -47,88 +47,88 @@ build_flags = ${common32.build_flags} ${irremoteesp_full.build_flags
|
|||
|
||||
[env:tasmota32-BG]
|
||||
extends = env:tasmota32
|
||||
build_flags = ${common32.build_flags} -DMY_LANGUAGE=bg-BG
|
||||
build_flags = ${common32.build_flags} -DMY_LANGUAGE=bg_BG
|
||||
|
||||
[env:tasmota32-BR]
|
||||
extends = env:tasmota32
|
||||
build_flags = ${common32.build_flags} -DMY_LANGUAGE=pt-BR
|
||||
build_flags = ${common32.build_flags} -DMY_LANGUAGE=pt_BR
|
||||
|
||||
[env:tasmota32-CN]
|
||||
extends = env:tasmota32
|
||||
build_flags = ${common32.build_flags} -DMY_LANGUAGE=zh-CN
|
||||
build_flags = ${common32.build_flags} -DMY_LANGUAGE=zh_CN
|
||||
|
||||
[env:tasmota32-CZ]
|
||||
extends = env:tasmota32
|
||||
build_flags = ${common32.build_flags} -DMY_LANGUAGE=cs-CZ
|
||||
build_flags = ${common32.build_flags} -DMY_LANGUAGE=cs_CZ
|
||||
|
||||
[env:tasmota32-DE]
|
||||
extends = env:tasmota32
|
||||
build_flags = ${common32.build_flags} -DMY_LANGUAGE=de-DE
|
||||
build_flags = ${common32.build_flags} -DMY_LANGUAGE=de_DE
|
||||
|
||||
[env:tasmota32-ES]
|
||||
extends = env:tasmota32
|
||||
build_flags = ${common32.build_flags} -DMY_LANGUAGE=es-ES
|
||||
build_flags = ${common32.build_flags} -DMY_LANGUAGE=es_ES
|
||||
|
||||
[env:tasmota32-FR]
|
||||
extends = env:tasmota32
|
||||
build_flags = ${common32.build_flags} -DMY_LANGUAGE=fr-FR
|
||||
build_flags = ${common32.build_flags} -DMY_LANGUAGE=fr_FR
|
||||
|
||||
[env:tasmota32-GR]
|
||||
extends = env:tasmota32
|
||||
build_flags = ${common32.build_flags} -DMY_LANGUAGE=el-GR
|
||||
build_flags = ${common32.build_flags} -DMY_LANGUAGE=el_GR
|
||||
|
||||
[env:tasmota32-HE]
|
||||
extends = env:tasmota32
|
||||
build_flags = ${common32.build_flags} -DMY_LANGUAGE=he-HE
|
||||
build_flags = ${common32.build_flags} -DMY_LANGUAGE=he_HE
|
||||
|
||||
[env:tasmota32-HU]
|
||||
extends = env:tasmota32
|
||||
build_flags = ${common32.build_flags} -DMY_LANGUAGE=hu-HU
|
||||
build_flags = ${common32.build_flags} -DMY_LANGUAGE=hu_HU
|
||||
|
||||
[env:tasmota32-IT]
|
||||
extends = env:tasmota32
|
||||
build_flags = ${common32.build_flags} -DMY_LANGUAGE=it-IT
|
||||
build_flags = ${common32.build_flags} -DMY_LANGUAGE=it_IT
|
||||
|
||||
[env:tasmota32-KO]
|
||||
extends = env:tasmota32
|
||||
build_flags = ${common32.build_flags} -DMY_LANGUAGE=ko-KO
|
||||
build_flags = ${common32.build_flags} -DMY_LANGUAGE=ko_KO
|
||||
|
||||
[env:tasmota32-NL]
|
||||
extends = env:tasmota32
|
||||
build_flags = ${common32.build_flags} -DMY_LANGUAGE=nl-NL
|
||||
build_flags = ${common32.build_flags} -DMY_LANGUAGE=nl_NL
|
||||
|
||||
[env:tasmota32-PL]
|
||||
extends = env:tasmota32
|
||||
build_flags = ${common32.build_flags} -DMY_LANGUAGE=pl-PL
|
||||
build_flags = ${common32.build_flags} -DMY_LANGUAGE=pl_PL
|
||||
|
||||
[env:tasmota32-PT]
|
||||
extends = env:tasmota32
|
||||
build_flags = ${common32.build_flags} -DMY_LANGUAGE=pt-PT
|
||||
build_flags = ${common32.build_flags} -DMY_LANGUAGE=pt_PT
|
||||
|
||||
[env:tasmota32-RO]
|
||||
extends = env:tasmota32
|
||||
build_flags = ${common32.build_flags} -DMY_LANGUAGE=ro-RO
|
||||
build_flags = ${common32.build_flags} -DMY_LANGUAGE=ro_RO
|
||||
|
||||
[env:tasmota32-RU]
|
||||
extends = env:tasmota32
|
||||
build_flags = ${common32.build_flags} -DMY_LANGUAGE=ru-RU
|
||||
build_flags = ${common32.build_flags} -DMY_LANGUAGE=ru_RU
|
||||
|
||||
[env:tasmota32-SE]
|
||||
extends = env:tasmota32
|
||||
build_flags = ${common32.build_flags} -DMY_LANGUAGE=sv-SE
|
||||
build_flags = ${common32.build_flags} -DMY_LANGUAGE=sv_SE
|
||||
|
||||
[env:tasmota32-SK]
|
||||
extends = env:tasmota32
|
||||
build_flags = ${common32.build_flags} -DMY_LANGUAGE=sk-SK
|
||||
build_flags = ${common32.build_flags} -DMY_LANGUAGE=sk_SK
|
||||
|
||||
[env:tasmota32-TR]
|
||||
extends = env:tasmota32
|
||||
build_flags = ${common32.build_flags} -DMY_LANGUAGE=tr-TR
|
||||
build_flags = ${common32.build_flags} -DMY_LANGUAGE=tr_TR
|
||||
|
||||
[env:tasmota32-TW]
|
||||
extends = env:tasmota32
|
||||
build_flags = ${common32.build_flags} -DMY_LANGUAGE=zh-TW
|
||||
build_flags = ${common32.build_flags} -DMY_LANGUAGE=zh_TW
|
||||
|
||||
[env:tasmota32-UK]
|
||||
extends = env:tasmota32
|
||||
build_flags = ${common32.build_flags} -DMY_LANGUAGE=uk-UA
|
||||
build_flags = ${common32.build_flags} -DMY_LANGUAGE=uk_UA
|
||||
|
|
|
@ -617,7 +617,7 @@
|
|||
#define D_ASTERISK_PWD "****"
|
||||
|
||||
#ifndef MY_LANGUAGE
|
||||
#include "language/en-GB.h"
|
||||
#include "language/en_GB.h"
|
||||
#else
|
||||
#define QUOTEME(x) QUOTEME_1(x)
|
||||
#define QUOTEME_1(x) #x
|
||||
|
@ -625,7 +625,7 @@
|
|||
#include INCLUDE_FILE(MY_LANGUAGE)
|
||||
#endif
|
||||
#ifndef LANGUAGE_LCID
|
||||
#define LANGUAGE_LCID 2057 // en-GB
|
||||
#define LANGUAGE_LCID 2057 // en_GB
|
||||
#endif
|
||||
|
||||
// Common
|
||||
|
|
|
@ -313,29 +313,29 @@
|
|||
|
||||
// -- Localization --------------------------------
|
||||
// If non selected the default en-GB will be used
|
||||
//#define MY_LANGUAGE bg-BG // Bulgarian in Bulgaria
|
||||
//#define MY_LANGUAGE cs-CZ // Czech in Czech
|
||||
//#define MY_LANGUAGE de-DE // German in Germany
|
||||
//#define MY_LANGUAGE el-GR // Greek in Greece
|
||||
//#define MY_LANGUAGE en-GB // English in Great Britain. Enabled by Default
|
||||
//#define MY_LANGUAGE es-ES // Spanish in Spain
|
||||
//#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 it-IT // Italian in Italy
|
||||
//#define MY_LANGUAGE ko-KO // Korean in Korea
|
||||
//#define MY_LANGUAGE nl-NL // Dutch in the Netherlands
|
||||
//#define MY_LANGUAGE pl-PL // Polish in Poland
|
||||
//#define MY_LANGUAGE pt-BR // Portuguese in Brazil
|
||||
//#define MY_LANGUAGE pt-PT // Portuguese in Portugal
|
||||
//#define MY_LANGUAGE ro-RO // Romanian in Romania
|
||||
//#define MY_LANGUAGE ru-RU // Russian in Russia
|
||||
//#define MY_LANGUAGE sk-SK // Slovak in Slovakia
|
||||
//#define MY_LANGUAGE sv-SE // Swedish in Sweden
|
||||
//#define MY_LANGUAGE tr-TR // Turkish in Turkey
|
||||
//#define MY_LANGUAGE uk-UA // Ukrainian in Ukraine
|
||||
//#define MY_LANGUAGE zh-CN // Chinese (Simplified) in China
|
||||
//#define MY_LANGUAGE zh-TW // Chinese (Traditional) in Taiwan
|
||||
//#define MY_LANGUAGE bg_BG // Bulgarian in Bulgaria
|
||||
//#define MY_LANGUAGE cs_CZ // Czech in Czech
|
||||
//#define MY_LANGUAGE de_DE // German in Germany
|
||||
//#define MY_LANGUAGE el_GR // Greek in Greece
|
||||
//#define MY_LANGUAGE en_GB // English in Great Britain. Enabled by Default
|
||||
//#define MY_LANGUAGE es_ES // Spanish in Spain
|
||||
//#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 it_IT // Italian in Italy
|
||||
//#define MY_LANGUAGE ko_KO // Korean in Korea
|
||||
//#define MY_LANGUAGE nl_NL // Dutch in the Netherlands
|
||||
//#define MY_LANGUAGE pl_PL // Polish in Poland
|
||||
//#define MY_LANGUAGE pt_BR // Portuguese in Brazil
|
||||
//#define MY_LANGUAGE pt_PT // Portuguese in Portugal
|
||||
//#define MY_LANGUAGE ro_RO // Romanian in Romania
|
||||
//#define MY_LANGUAGE ru_RU // Russian in Russia
|
||||
//#define MY_LANGUAGE sk_SK // Slovak in Slovakia
|
||||
//#define MY_LANGUAGE sv_SE // Swedish in Sweden
|
||||
//#define MY_LANGUAGE tr_TR // Turkish in Turkey
|
||||
//#define MY_LANGUAGE uk_UA // Ukrainian in Ukraine
|
||||
//#define MY_LANGUAGE zh_CN // Chinese (Simplified) in China
|
||||
//#define MY_LANGUAGE zh_TW // Chinese (Traditional) in Taiwan
|
||||
|
||||
// -- Wifi Config tools ---------------------------
|
||||
#define WIFI_SOFT_AP_CHANNEL 1 // Soft Access Point Channel number between 1 and 13 as used by Wifi Manager web GUI
|
||||
|
|
Loading…
Reference in New Issue