arendst / Tasmota

Alternative firmware for ESP8266 and ESP32 based devices with easy configuration using webUI, OTA updates, automation using timers or rules, expandability and entirely local control over MQTT, HTTP, Serial or KNX. Full documentation at
https://tasmota.github.io/docs
GNU General Public License v3.0
22.22k stars 4.81k forks source link

Translation for Polish language #1044

Closed roblad closed 7 years ago

roblad commented 7 years ago

I am attaching Polish language pl-PL for adding to source if you could.

pl-PL.h

--------------CODE start---------------- / pl-PL.h - localization for Polish without fonetick - Poland for Sonoff-Tasmota Copyright (C) 2017 Theo Arends (translated by roblad - Robert L.) 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 the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/. /

ifndef _LANGUAGE_PL_PLH

define _LANGUAGE_PL_PLH

/* ATTENTION *****\ *

// "2017-03-07T11:08:02" - ISO8601:2004

define D_YEAR_MONTH_SEPARATOR "-"

define D_MONTH_DAY_SEPARATOR "-"

define D_DATE_TIME_SEPARATOR "T"

define D_HOUR_MINUTE_SEPARATOR ":"

define D_MINUTE_SECOND_SEPARATOR ":"

define D_DAY3LIST "PonWtoSroCzwPiaSobNie"

define D_MONTH3LIST "StyLutMarKwiMajCzeLipSieWrzPazLisGru"

// Non JSON decimal separator

define D_DECIMAL_SEPARATOR ","

// Common

define D_ABORTED "Anulowany"

define D_ACTIVE "Aktywny"

define D_ADDRESS "Addres"

define D_ADMIN "Admin"

define D_AIR_QUALITY "Jakosc powietrza"

define D_AIRQUALITY "JakPowietrza"

define D_AP "AP" // Access Point

define D_APMAC_ADDRESS "APMac"

define D_APPENDED "Dolaczony"

define D_AS "jak"

define D_AUTO "AUTO"

define D_BAUDRATE "Szybkosc transmisji"

define D_BLINK "Miganie"

define D_BLINKOFF "MiganieWyl"

define D_BOOTVERSION "Uruchomienie"

define D_BOOT_COUNT "Licznik uruchomienia"

define D_BOOTCOUNT "LiczUruchomienia"

define D_BRIGHTLIGHT "Jasny"

define D_BUILDDATETIME "ZbudowanoDataCzas"

define D_BUTTON "Przycisk"

define D_CELSIUS "Celciusza"

define D_CODE "kod" // Button code

define D_COLDLIGHT "Zimny"

define D_COMMAND "Komenda"

define D_CONNECTED "Polaczony"

define D_COREVERSION "Wersja"

define D_COUNT "Licz"

define D_COUNTER "Licznik"

define D_CURRENT "Biezacy" // As in Voltage and Current

define D_DATA "Data"

define D_DARKLIGHT "Ciemny"

define D_DEBUG "Debug"

define D_DISABLED "Zablokowany"

define D_DNS_SERVER "DNS Server"

define D_DNSSERVER "DNSServer"

define D_DONE "Wykonane"

define D_DST_TIME "DST"

define D_EMPTY "Pusty"

define D_EMULATION "Emulacja"

define D_ENABLED "Otwarty"

define D_ENDDST "KoniecDST" // End Daylight Savings Time

define D_ERASE "Nadpisz"

define D_ERROR "Blad"

define D_EVERY "Kazdy"

define D_FAHRENHEIT "Farenheita"

define D_FAILED "Bledny"

define D_FALLBACK "Awaryjny"

define D_FALLBACK_TOPIC "Przyczyna awarii"

define D_FALLBACKTOPIC "AwariaPrzyczyna"

define D_FALSE "Falsz"

define D_FILE "Plik"

define D_FLASHMODE "FlashMode"

define D_FLASHSIZE "FlashWielkosc"

define D_FREE_MEMORY "Wolna pamiec"

define D_FREEMEMORY "Wolne"

define D_FROM "z"

define D_GATEWAY "Gateway"

define D_GROUP "Grupa"

define D_HEAPSIZE "Stos"

define D_HIGH "Wysoki"

define D_HOST "Serwer"

define D_HOSTNAME "Nazwa serwera"

define D_HUMIDITY "Wilgotnosc"

define D_ILLUMINANCE "Oswietlenie"

define D_IMMEDIATE "Natychmiastowe" // Button immediate

define D_INDEX "Indeks"

define D_INFO "Informacja"

define D_INITIALIZED "Zainicjowany"

define D_IP_ADDRESS "Adres IP"

define D_LIGHT "Swiatlo"

define D_LOCAL_TIME "Lokalny"

define D_LOW "Niski"

define D_LWT "LWT"

define D_MAC "Mac"

define D_MASK "Maska"

define D_MODULE "Modul"

define D_MQTT "MQTT"

define D_MULTI_PRESS "wielokrotne-nacisniecie"

define D_NO "No"

define D_NOISE "Halas"

define D_NONE "Brak"

define D_OFF "Wylaczony"

define D_OFFLINE "Nieaktywny"

define D_OK "Ok"

define D_ON "Wlaczony"

define D_ONLINE "Aktywny"

define D_OR "lub"

define D_PASSWORD "Haslo"

define D_PERIOD "Okres"

define D_PORT "Port"

define D_POWER_FACTOR "Wspolczynik mocy"

define D_POWERFACTOR "Wspolczynik"

define D_POWERUSAGE "Moc"

define D_PRESSURE "Cisnienie"

define D_PRESSUREATSEALEVEL "Cisnienie na poziomie morza"

define D_PROGRAM_FLASH_SIZE "Wielkosc Programu Flash"

define D_PROGRAMFLASHSIZE "ProgramFlashSize"

define D_PROGRAM_SIZE "Wielkosc programu"

define D_PROGRAMSIZE "ProgramSize"

define D_PROJECT "Projekt"

define D_RECEIVED "Otrzymany"

define D_RESTART "Restart"

define D_RESTARTING "Restartowanie"

define D_RESTART_REASON "Przyczyna Restartu"

define D_RESTARTREASON "RestartReason"

define D_RESTORE "Przywracanie"

define D_RETAINED "zachowane"

define D_SAVE "Zapisz"

define D_SAVEADDRESS "AdresZapisu"

define D_SAVECOUNT "LicznikZapisu"

define D_SAVESTATE "StanZapisu"

define D_SDKVERSION "SDK"

define D_SELECTED "wybrany"

define D_SENSOR "Czujnik"

define D_SERIAL "Serial"

define D_BYTES "Baitow"

define D_SSID "SSId"

define D_START "Start"

define D_STARTED "Wystartowany"

define D_STARTDST "StartDST" // Start Daylight Savings Time

define D_STD_TIME "STD"

define D_STOP "Stop"

define D_SUBNET_MASK "Subnet Mask"

define D_SUBNETMASK "Subnetmask"

define D_SUBSCRIBE_TO "Subskrybuj do"

define D_SUCCESSFUL "Powodzenie"

define D_SWITCH "Przelacznik"

define D_SYNC "Sync"

define D_SYS "Sys" // Sys log

define D_TEMPERATURE "Temperatura"

define D_TEMPERATURE_UNIT "JednTemp"

define D_TIME "Czas"

define D_TO "do"

define D_TODAY "Dzisiaj"

define D_TOGGLE "Przelacz"

define D_TOPIC "Temat"

define D_TOTAL "Suma"

define D_TRANSMIT "Transmituj"

define D_TRUE "Prawda"

define D_TYPE "Typ"

define D_UNKNOWN "Nieznany"

define D_UPGRADE "aktualizacja"

define D_UPLOAD "Wgraj"

define D_UPTIME "Uptime"

define D_UTC_TIME "UTC"

define D_USER "Uzytkownik"

define D_VCC "Vcc"

define D_VERSION "Wersja"

define D_VOLTAGE "Napiecie"

define D_WARMLIGHT "Nagrzanie"

define D_WEB "Web" // Web log

define D_WEB_SERVER "Web Server"

define D_WIFI "Wifi"

define D_WRONG "Bledny"

define D_YESTERDAY "Wczoraj"

// settings.ino

define D_SAVED_TO_FLASH_AT "Zapisane do pamieci flash w"

define D_LOADED_FROM_FLASH_AT "Wczytane z pamieci flash z"

define D_USE_DEFAULTS "Uzyj domyslne"

define D_ERASED_SECTOR "Nadpisany sector"

// sonoff.ino

define D_LEVEL_10 "poziom 1-0"

define D_LEVEL_01 "poziom 0-1"

define D_SERIAL_LOGGING_DISABLED "Port szeregowy logowanie wylaczone"

define D_SYSLOG_LOGGING_REENABLED "Logowanie Syslog wznowione"

define D_SET_BAUDRATE_TO "Ustaw szybkosc transmisji na"

define D_RECEIVED_TOPIC "Otrzymany temat"

define D_DATA_SIZE "Wielkosc danych"

define D_ANALOG_INPUT0 "Analog0"

define D_FINGERPRINT "Weryfikuj TLS fingerprint..."

define D_TLS_CONNECT_FAILED_TO "TLS polaczenie bledne do"

define D_RETRY_IN "Sprobuj ponownie"

define D_VERIFIED "Zweryfikowano"

define D_INSECURE "Nieprawidlowe polaczenie z powodu nieprawidlowego Odcisku palca"

define D_CONNECT_FAILED_TO "Nie udalo sie nawiazac polaczenia"

// support.ino

define D_OSWATCH "osWatch"

define D_BLOCKED_LOOP "Petla zablokowana"

define D_WPS_FAILED_WITH_STATUS "WPSconfig bledny ze statusem"

define D_ACTIVE_FOR_1_MINUTE "aktywny 1 minute"

define D_FAILED_TO_START "nie udalo sie uruchomic"

define D_PATCH_ISSUE_2186 "Blad patcha 2186"

define D_CONNECTING_TO_AP "Laczenie do AP"

define D_IN_MODE "w trybie"

define D_CONNECT_FAILED_NO_IP_ADDRESS "Polaczenie nie powiodlo sie, poniewaz nie otrzymano adresu IP"

define D_CONNECT_FAILED_AP_NOT_REACHED "Polaczenie nie powiodlo sie jako AP nie mozna osiagnac"

define D_CONNECT_FAILED_WRONG_PASSWORD "Polaczenie nie powiodlo sie z nieprawidlowym haslem dostepu AP"

define D_CONNECT_FAILED_AP_TIMEOUT "Nie udalo sie nawiazac polaczenia, limit czasu AP przekroczony"

define D_ATTEMPTING_CONNECTION "Proba polaczenia..."

define D_CHECKING_CONNECTION "Sprawdzanie polaczenia..."

define D_QUERY_DONE "Wykonano zapytanie. Znaleziono uslugi MQTT"

define D_MQTT_SERVICE_FOUND "Usluga MQTT została znaleziona"

define D_I2CSCAN_DEVICES_FOUND_AT "Znaleziono urządzenie(a) na"

define D_FOUND_AT "znalezione w"

define D_I2CSCAN_UNKNOWN_ERROR_AT "Nieznany blad w"

define D_I2CSCAN_NO_DEVICES_FOUND "Nie znaleziono urzadzen"

define D_SYSLOG_HOST_NOT_FOUND "Syslog Host nie znaleziony"

// webserver.ino

define D_MINIMAL_FIRMWARE_PLEASE_UPGRADE "Oprogramowanie MINIMAL - prosze uaktualnic"

define D_WEBSERVER_ACTIVE_ON "Aktywny serwer Web"

define D_WITH_IP_ADDRESS "z IP adresem"

define D_WEBSERVER_STOPPED "Web serwer zatrzymany"

define D_FILE_NOT_FOUND "Plik nie odnaleziony"

define D_REDIRECTED "Przekierowano do wlasnego portalu"

define D_WIFIMANAGER_SET_ACCESSPOINT_AND_STATION "Menedzer Wifi ustawia punkt dostepowy i zachowuje stacje"

define D_WIFIMANAGER_SET_ACCESSPOINT "Menedzer sieci Wi-Fi Access Point"

define D_TRYING_TO_CONNECT "Probuje polaczyc urzadzenie z siecia"

define D_RESTART_IN "Zrestartuj"

define D_SECONDS "sekund"

define D_DEVICE_WILL_RESTART "Urzadzenie zrestartuje sie za kilka sekund"

define D_BUTTON_TOGGLE "Przełaczenie"

define D_CONFIGURATION "Konfiguracja"

define D_INFORMATION "Informacja"

define D_FIRMWARE_UPGRADE "Uaktualnienie Firmwaru "

define D_CONSOLE "Konsola"

define D_CONFIRM_RESTART "Potwierdz Restart"

define D_CONFIGURE_MODULE "Konfiguruj modul"

define D_CONFIGURE_WIFI "Konfiguruj WiFi"

define D_CONFIGURE_MQTT "Konfiguruj MQTT"

define D_CONFIGURE_DOMOTICZ "Konfiguruj Domoticz"

define D_CONFIGURE_LOGGING "Konfiguruj Logowanie"

define D_CONFIGURE_OTHER "Konfiguruj Inne"

define D_CONFIRM_RESET_CONFIGURATION "Potwierdz Reset Konfiguracji"

define D_RESET_CONFIGURATION "Reset Konfiguracji"

define D_BACKUP_CONFIGURATION "Backup Konfiguracji"

define D_RESTORE_CONFIGURATION "Przywrrocenie Konfiguracji"

define D_MAIN_MENU "Menu Glowne"

define D_MODULE_PARAMETERS "Parametery Modulu"

define D_MODULE_TYPE "Typ Modulu"

define D_GPIO "GPIO"

define D_SERIAL_IN "Serial In"

define D_SERIAL_OUT "Serial Out"

define D_WIFI_PARAMETERS "Wifi parametry"

define D_SCAN_FOR_WIFI_NETWORKS "Skanuj sieci wifi"

define D_SCAN_DONE "Skan wykonany"

define D_NO_NETWORKS_FOUND "Nie znaleziono sieci"

define D_REFRESH_TO_SCAN_AGAIN "Odswiez, aby ponownie zeskanowac"

define D_DUPLICATE_ACCESSPOINT "Duplikuj AccessPoint"

define D_SKIPPING_LOW_QUALITY "Pominieto z powodu niskiej jakości sygnalu"

define D_RSSI "RSSI"

define D_WEP "WEP"

define D_WPA_PSK "WPA PSK"

define D_WPA2_PSK "WPA2 PSK"

define D_AP1_SSID "AP1 SSId"

define D_AP1_PASSWORD "AP1 Password"

define D_AP2_SSID "AP2 SSId"

define D_AP2_PASSWORD "AP2 Password"

define D_MQTT_PARAMETERS "Parametery MQTT"

define D_CLIENT "Client"

define D_FULL_TOPIC "Full Topic"

define D_LOGGING_PARAMETERS "Parametery Logowanie "

define D_LOG_LEVEL "log level"

define D_MORE_DEBUG "More debug"

define D_SYSLOG_HOST "Syslog host"

define D_SYSLOG_PORT "Syslog port"

define D_TELEMETRY_PERIOD "Okres telemetrii"

define D_OTHER_PARAMETERS "Inne parametery"

define D_WEB_ADMIN_PASSWORD "Haslo Web Admin"

define D_MQTT_ENABLE "MQTT aktywne"

define D_FRIENDLY_NAME "Przyjazna Nazwa"

define D_BELKIN_WEMO "Belkin WeMo"

define D_HUE_BRIDGE "Hue Bridge"

define D_SINGLE_DEVICE "single device"

define D_MULTI_DEVICE "multi device"

define D_SAVE_CONFIGURATION "Zapisz konfiguracje"

define D_CONFIGURATION_SAVED "Konfiguracja zapisana"

define D_CONFIGURATION_RESET "Konfiguracja zresetowana"

define D_PROGRAM_VERSION "Wersja Programu"

define D_BUILD_DATE_AND_TIME "Zbudowane Data i Czas"

define D_CORE_AND_SDK_VERSION "Core/SDK Wersja"

define D_FLASH_WRITE_COUNT "Liczba zapisywanych plików Flash"

define D_MAC_ADDRESS "MAC Address"

define D_MQTT_HOST "Host MQTT"

define D_MQTT_PORT "Port MQTT"

define D_MQTT_CLIENT "Klient MQTT"

define D_MQTT_USER "Uzytkownik MQTT"

define D_MQTT_TOPIC "Temat MQTT"

define D_MQTT_GROUP_TOPIC "MQTT Temat grupy"

define D_MQTT_FULL_TOPIC "MQTT Pelna nazwa tematu"

define D_MDNS_DISCOVERY "mDNS Wykrywanie"

define D_MDNS_ADVERTISE "mDNS Rozglaszanie"

define D_ESP_CHIP_ID "ESP Chip Id"

define D_FLASH_CHIP_ID "Flash Chip Id"

define D_FLASH_CHIP_SIZE "Flash Wielkosc"

define D_FREE_PROGRAM_SPACE "Wolne miejsce Programu"

define D_UPGRADE_BY_WEBSERVER "Aktualizacja poprzez serwer web"

define D_OTA_URL "OTA Url"

define D_START_UPGRADE "Start upgrade"

define D_UPGRADE_BY_FILE_UPLOAD "Aktualizacja poprzez wgranie pliku"

define D_UPLOAD_STARTED "Wgrywanie wystartowane"

define D_UPGRADE_STARTED "Aktualizacja wystartowana"

define D_UPLOAD_DONE "Wgrywanie zakonczone"

define D_UPLOAD_ERR_1 "Nie wybrano pliku"

define D_UPLOAD_ERR_2 "Niewystarczajaca ilosc miejsca"

define D_UPLOAD_ERR_3 "Bajt magiczny nie jest 0xE9"

define D_UPLOAD_ERR_4 "Rozmiar programu jest większy niż rzeczywisty rozmiar pamięci flash"

define D_UPLOAD_ERR_5 "Wgrywanie, bufor niezgodności stanu porównywanych bitów"

define D_UPLOAD_ERR_6 "Wgrywanie bledne. Uruchomiono logowanie poziom 3"

define D_UPLOAD_ERR_7 "Wgrywanie przerwane"

define D_UPLOAD_ERR_8 "Bledny plik"

define D_UPLOAD_ERR_9 "Plik jest za duzy"

define D_UPLOAD_ERROR_CODE "Wgrywanie error code"

define D_ENTER_COMMAND "Wprowadz polecenie"

define D_ENABLE_WEBLOG_FOR_RESPONSE "Wlacz web logowanie 2, jesli oczekiwana iest odpowiedz"

define D_NEED_USER_AND_PASSWORD "Wymagany uzytkownik=&password="

// xdrv_domoticz.ino

define D_DOMOTICZ_PARAMETERS "Parametry Domoticz"

define D_DOMOTICZ_IDX "Idx"

define D_DOMOTICZ_KEY_IDX "Key idx"

define D_DOMOTICZ_SWITCH_IDX "Przelacznik idx"

define D_DOMOTICZ_SENSOR_IDX "Sensor idx"

define DOMOTICZ_SENSORS_MAX_STRING_LENGTH 14

define D_DOMOTICZ_TEMP "Temp"

define D_DOMOTICZ_TEMP_HUM "Temp,Wilg"

define D_DOMOTICZ_TEMP_HUM_BARO "Temp,Wilg,Cisn"

define D_DOMOTICZ_POWER_ENERGY "Moc,Energia"

define D_DOMOTICZ_ILLUMINANCE "Oswietlenie"

define D_DOMOTICZ_COUNT "Licznik"

define D_DOMOTICZ_VOLTAGE "Napiecie"

define D_DOMOTICZ_CURRENT "Prad"

define D_DOMOTICZ_UPDATE_TIMER "Zaktualizuj czasomierz"

// xdrv_ir-send.ino

define D_INVALID_JSON "Invalid JSON"

define D_PROTOCOL_NOT_SUPPORTED "Protokol nie jest obslugiwany"

define D_IR_PROTOCOL "PROTOCOL"

define D_IR_BITS "BITS"

define D_IR_DATA "DATA"

define D_IRHVAC_VENDOR "VENDOR"

define D_IRHVAC_POWER "POWER"

define D_IRHVAC_MODE "MODE"

define D_IRHVAC_FANSPEED "FANSPEED"

define D_IRHVAC_TEMP "TEMP"

define D_IRRECEIVED "IrReceived"

// xdrv_snfbridge.ino

define D_RFRECEIVED "RfReceived"

define D_START_LEARNING "Zacznij nauke"

define D_SET_TO_DEFAULT "Ustaw domyslne"

define D_DEFAULT_SENT "Domyslne wyslane"

define D_LEARNED_SENT "Wyuczone wyslane"

define D_LEARNING_ACTIVE "Wyuczone aktywne"

define D_LEARN_FAILED "Uczenie niepowodzenie"

define D_LEARNED "Wyuczone"

// xdrv_wemohue.ino

define D_MULTICAST_DISABLED "Multicast jest wylaczony"

define D_MULTICAST_REJOINED "Multicast (re)dolaczony"

define D_MULTICAST_JOIN_FAILED "Multicast nie powiodlo sie"

define D_FAILED_TO_SEND_RESPONSE "Nie udalo sie wyslac odpowiedzi"

define D_WEMO "WeMo"

define D_WEMO_BASIC_EVENT "WeMo podstawowe zdarzenie"

define D_WEMO_EVENT_SERVICE "WeMo zdarzenie service"

define D_WEMO_SETUP "WeMo setup"

define D_RESPONSE_SENT "Odpowiedz wyslana"

define D_HUE "Hue"

define D_HUE_BRIDGE_SETUP "Hue setup"

define D_HUE_API_NOT_IMPLEMENTED "Hue API nie zaimplementowane"

define D_HUE_API "Hue API"

define D_HUE_POST_ARGS "Hue POST args"

define D_3_RESPONSE_PACKETS_SENT "3 pakiety odpowiedzi wysylane"

// xsns_dht.ino

define D_TIMEOUT_WAITING_FOR "Trwa oczekiwanie"

define D_START_SIGNAL_LOW "sygnał startowy niski"

define D_START_SIGNAL_HIGH "sygnał startowy wysoki"

define D_PULSE "pulse"

define D_CHECKSUM_FAILURE "Bledna suma kontrolmna"

// xsns_ds18b20.ino

define D_SENSOR_BUSY "Czujnik DS18x20 zajety"

define D_SENSOR_CRC_ERROR "Czujnik DS18x20 blad CRC"

// xsns_hlw8012.ino

define D_MAXPOWERREACHED "MaksMocOsiagnieta"

define D_MAXPOWERREACHEDRETRY "MaksMocOsiagnietaPonowienie"

define D_POWERMONITOR "MonitorMocy"

define D_ENERGYMONITOR "MonitorEnergii"

define D_MAXENERGYREACHED "MaksEnergiaOsiagnieta"

define D_ENERGY_TODAY "Energia Dzisiaj"

define D_ENERGY_YESTERDAY "Energia Wczoraj"

define D_ENERGY_TOTAL "Energia suma"

// xsns_sht1x.ino

define D_SENSOR_DID_NOT_ACK_COMMAND "Czujnik nie otrzymal komendy ACK"

define D_SHT1X_FOUND "SHT1X znaleziony"

// sonoff_template.h // Max string length is 8 characters including suffixes

define D_SENSOR_NONE "Brak"

define D_SENSOR_DHT11 "DHT11"

define D_SENSOR_AM2301 "AM2301"

define D_SENSOR_DHT22 "DHT22"

define D_SENSOR_DS18X20 "DS18x20"

define D_SENSOR_I2C_SCL "I2C SCL"

define D_SENSOR_I2C_SDA "I2C SDA"

define D_SENSOR_WS2812 "WS2812"

define D_SENSOR_IRSEND "IRsend"

define D_SENSOR_SWITCH "Przelacznik" // Suffix "1"

define D_SENSOR_BUTTON "Przycisk" // Suffix "1"

define D_SENSOR_RELAY "Przekaznik" // Suffix "1i"

define D_SENSOR_LED "Led" // Suffix "1i"

define D_SENSOR_PWM "PWM" // Suffix "1"

define D_SENSOR_COUNTER "Licznik" // Suffix "1"

define D_SENSOR_IRRECV "IRrecv"

define D_SENSOR_SPI_CS "SPI CS"

define D_SENSOR_SPI_DC "SPI DC"

define D_SENSOR_BACKLIGHT "BLight"

// Units

define D_UNIT_AMPERE "A"

define D_UNIT_HOUR "Godz"

define D_UNIT_KILOWATTHOUR "kWh"

define D_UNIT_LUX "lx"

define D_UNIT_MICROSECOND "us"

define D_UNIT_MILLIAMPERE "mA"

define D_UNIT_MILLISECOND "ms"

define D_UNIT_MINUTE "Min"

define D_UNIT_PRESSURE "hPa"

define D_UNIT_SECOND "sec"

define D_UNIT_SECTORS "sectory"

define D_UNIT_VOLT "V"

define D_UNIT_WATT "W"

define D_UNIT_WATTHOUR "Wh"

// Log message prefix

define D_LOG_APPLICATION "APP: "

define D_LOG_BRIDGE "BRG: "

define D_LOG_CONFIG "CFG: "

define D_LOG_COMMAND "CMD: "

define D_LOG_DHT "DHT: "

define D_LOG_DOMOTICZ "DOM: "

define D_LOG_DSB "DSB: "

define D_LOG_HTTP "HTP: "

define D_LOG_I2C "I2C: "

define D_LOG_IRR "IRR: "

define D_LOG_LOG "LOG: "

define D_LOG_MODULE "MOD: "

define D_LOG_MDNS "DNS: "

define D_LOG_MQTT "MQT: "

define D_LOG_OTHER "OTH: "

define D_LOG_RESULT "RSL: "

define D_LOG_SERIAL "SER: "

define D_LOG_SHT1 "SHT: "

define D_LOG_UPLOAD "UPL: "

define D_LOG_UPNP "UPP: "

define D_LOG_WIFI "WIF: "

// Result

define D_RSLT_RESULT "REZULTAD"

define D_RSLT_INFO "INFO"

define D_RSLT_STATE "STAN"

define D_RSLT_SENSOR "SENSOR"

define D_RSLT_UPTIME "UPTIME"

define D_RSLT_MARGINS "MARGINES"

define D_RSLT_WARNING "OSTRZEZENIE"

define D_RSLT_ENERGY "ENERGIA"

// Commands

define D_CMND_MQTTHOST "MqttHost"

define D_CMND_MQTTPORT "MqttPort"

define D_CMND_MQTTRETRY "MqttRetry"

define D_CMND_STATETEXT "StateText"

define D_CMND_MQTTFINGERPRINT "MqttFingerprint"

define D_CMND_MQTTCLIENT "MqttClient"

define D_CMND_MQTTUSER "MqttUser"

define D_CMND_MQTTPASSWORD "MqttPassword"

define D_CMND_FULLTOPIC "FullTopic"

define D_CMND_PREFIX "Prefix"

define PRFX_MAX_STRING_LENGTH 5

define D_CMND "cmnd"

define D_STAT "stat"

define D_TELE "tele"

define D_CMND_GROUPTOPIC "GroupTopic"

define D_CMND_TOPIC "Topic"

define D_CMND_BUTTONTOPIC "ButtonTopic"

define D_CMND_SWITCHTOPIC "SwitchTopic"

define D_CMND_BUTTONRETAIN "ButtonRetain"

define D_CMND_SWITCHRETAIN "SwitchRetain"

define D_CMND_POWERRETAIN "PowerRetain"

define D_CMND_SENSORRETAIN "SensorRetain"

define D_CMND_BACKLOG "Backlog"

define D_CMND_DELAY "Delay"

define D_CMND_STATUS "Status"

define D_STATUS1_PARAMETER "PRM"

define D_STATUS2_FIRMWARE "FWR"

define D_STATUS3_LOGGING "LOG"

define D_STATUS4_MEMORY "MEM"

define D_STATUS5_NETWORK "NET"

define D_STATUS6_MQTT "MQT"

define D_STATUS7_TIME "TIM"

define D_STATUS8_POWER "PWR"

define D_STATUS9_MARGIN "PTH"

define D_STATUS10_SENSOR "SNS"

define D_STATUS11_STATUS "STS"

define D_CMND_POWER "Power"

define D_RSLT_POWER "POWER"

define D_CMND_POWERONSTATE "PowerOnState"

define D_CMND_PULSETIME "PulseTime"

define D_CMND_BLINKTIME "BlinkTime"

define D_CMND_BLINKCOUNT "BlinkCount"

define D_CMND_SAVEDATA "SaveData"

define D_CMND_SETOPTION "SetOption"

define D_CMND_TEMPERATURE_RESOLUTION "TempRes"

define D_CMND_HUMIDITY_RESOLUTION "HumRes"

define D_CMND_PRESSURE_RESOLUTION "PressRes"

define D_CMND_POWER_RESOLUTION "WattRes"

define D_CMND_VOLTAGE_RESOLUTION "VoltRes"

define D_CMND_ENERGY_RESOLUTION "EnergyRes"

define D_CMND_MODULE "Module"

define D_CMND_MODULES "Modules"

define D_CMND_GPIO "GPIO"

define D_NOT_SUPPORTED "Not supported"

define D_CMND_GPIOS "GPIOs"

define D_CMND_PWM "PWM"

define D_CMND_PWMFREQUENCY "PWMFrequency"

define D_CMND_PWMRANGE "PWMRange"

define D_CMND_COUNTER "Counter"

define D_CMND_COUNTERTYPE "CounterType"

define D_CMND_COUNTERDEBOUNCE "CounterDebounce"

define D_CMND_SLEEP "Sleep"

define D_CMND_UPLOAD "Upload"

define D_CMND_UPGRADE "Upgrade"

define D_ONE_OR_GT "1 or >%s to upgrade"

define D_CMND_OTAURL "OtaUrl"

define D_CMND_SERIALLOG "SerialLog"

define D_CMND_SYSLOG "SysLog"

define D_CMND_LOGHOST "LogHost"

define D_CMND_LOGPORT "LogPort"

define D_CMND_IPADDRESS "IPAddress"

define D_CMND_NTPSERVER "NtpServer"

define D_CMND_AP "Ap"

define D_CMND_SSID "SSId"

define D_CMND_PASSWORD "Password"

define D_CMND_HOSTNAME "Hostname"

define D_CMND_WIFICONFIG "WifiConfig"

define WCFG_MAX_STRING_LENGTH 12

define D_WCFG_0_RESTART "Restart"

define D_WCFG_1_SMARTCONFIG "SmartConfig"

define D_WCFG_2_WIFIMANAGER "WifiManager"

define D_WCFG_3_WPSCONFIG "WPSConfig"

define D_WCFG_4_RETRY "Retry"

define D_WCFG_5_WAIT "Wait"

define D_CMND_FRIENDLYNAME "FriendlyName"

define D_CMND_SWITCHMODE "SwitchMode"

define D_CMND_WEBSERVER "Webserver"

define D_WEBSERVER_MODE "WebServerMode"

define D_ACTIVE_FOR "Active for"

define D_ON_DEVICE "on"

define D_CMND_WEBPASSWORD "WebPassword"

define D_CMND_WEBLOG "WebLog"

define D_CMND_EMULATION "Emulation"

define D_CMND_TELEPERIOD "TelePeriod"

define D_CMND_RESTART "Restart"

define D_ONE_TO_RESTART "1 to restart"

define D_CMND_RESET "Reset"

define D_RESET_AND_RESTARTING "Reset and Restarting"

define D_ONE_TO_RESET "1 to reset"

define D_CMND_TIMEZONE "Timezone"

define D_CMND_ALTITUDE "Altitude"

define D_CMND_LEDPOWER "LedPower"

define D_CMND_LEDSTATE "LedState"

define D_CMND_CFGDUMP "CfgDump"

define D_CMND_I2CSCAN "I2CScan"

define D_CMND_EXCEPTION "Exception"

// Commands xdrv_domoticz.ino

define D_CMND_DOMOTICZ "Domoticz"

define D_CMND_IDX "Idx"

define D_CMND_KEYIDX "KeyIdx"

define D_CMND_SWITCHIDX "SwitchIdx"

define D_CMND_SENSORIDX "SensorIdx"

define D_CMND_UPDATETIMER "UpdateTimer"

// Commands xdrv_ir_send.ino

define D_CMND_IRSEND "IRSend"

define D_CMND_IRHVAC "IRHVAC"

// Commands xdrv_snfbridge.ino

define D_CMND_RFKEY "RfKey"

define D_CMND_RFDEFAULT "RfDefault"

// Commands xdrv_snfled.ino

define D_CMND_COLOR "Color"

define D_CMND_COLORTEMPERATURE "CT"

define D_CMND_DIMMER "Dimmer"

define D_CMND_LEDTABLE "LedTable"

define D_CMND_FADE "Fade"

define D_CMND_SPEED "Speed"

define D_CMND_WAKEUPDURATION "WakeUpDuration"

define D_CMND_WAKEUP "Wakeup"

// Commands xdrv_ws2812.ino

define D_CMND_PIXELS "Pixels"

define D_CMND_LED "Led"

define D_CMND_WIDTH "Width"

define D_CMND_SCHEME "Scheme"

// Commands xsns_hlw8012.ino

define D_CMND_POWERLOW "PowerLow"

define D_CMND_POWERHIGH "PowerHigh"

define D_CMND_VOLTAGELOW "VoltageLow"

define D_CMND_VOLTAGEHIGH "VoltageHigh"

define D_CMND_CURRENTLOW "CurrentLow"

define D_CMND_CURRENTHIGH "CurrentHigh"

define D_CMND_ENERGYRESET "EnergyReset"

define D_CMND_HLWPCAL "HlwPcal"

define D_CMND_HLWPSET "HlwPset"

define D_CMND_HLWUCAL "HlwUcal"

define D_CMND_HLWUSET "HlwUset"

define D_CMND_HLWICAL "HlwIcal"

define D_CMND_HLWISET "HlwIset"

define D_CMND_MAXPOWER "MaxPower"

define D_CMND_MAXPOWERHOLD "MaxPowerHold"

define D_CMND_MAXPOWERWINDOW "MaxPowerWindow"

define D_CMND_SAFEPOWER "SafePower"

define D_CMND_SAFEPOWERHOLD "SafePowerHold"

define D_CMND_SAFEPOWERWINDOW "SafePowerWindow"

define D_CMND_MAXENERGY "MaxEnergy"

define D_CMND_MAXENERGYSTART "MaxEnergyStart"

endif // `_LANGUAGE_PL_PLH

--------------CODE end----------------

arendst commented 7 years ago

Thnx! Will be in next (pre)release.

arendst commented 7 years ago

Pls try to shorten some strings being to long as compilation currently fails.

I suggest you compile your version and solve the strings which are too long. A quick review showed that the strings at line 456 - 474 need to be 8 characters at most.

roblad commented 7 years ago

I do not know what changes are needed for adding PL language where and which files some changes need to be done. And I do not know if there is 8 char needed in any variable or to some.

roblad commented 7 years ago

I have only

sonoff\sonoff_template.h:141:1: error: initializer-string for array of chars is too long [-fpermissive]

arendst commented 7 years ago

If you use platformio then look in the platformio.ini file how the dutch or german version is selected.

If you use arduino ide make change in file user_config.h at the top where you can find the dutch and german defines too.

About the 8 character see my previous answer about the offending line numbers.

roblad commented 7 years ago

I changed betwen 456-574 it not help

my platformio.ini added

; Sonoff multiple DS18x20-PL [env:sonoff-ds18x20-PL] platform = espressif8266 framework = arduino ; board = esp01_1m board = esp07 board_flash_mode = dout build_flags = -Wl,-Tesp8266.flash.1m0.ld -DMQTT_MAX_PACKET_SIZE=707 -DUSE_DS18x20 -DMESSZ=600 -DMY_LANGUAGE=pl-PL lib_deps = PubSubClient, NeoPixelBus, IRremoteESP8266, ArduinoJSON, OneWire

// -- Localization -------------------------------- //#define MY_LANGUAGE en-GB // Enabled by Default //#define MY_LANGUAGE nl-NL //#define MY_LANGUAGE de-DE

define MY_LANGUAGE pl-PL

ERRORS

Project Sonoff-Tasmota api upload-arduino.php arduino version 2.3.0 version 2.4.0-rc1 boards.txt platform.txt version 2.4.0-rc2 espupload.py conf platformio.ini sonoff_template.h sonoff.h user_config_override.h user_config.h lib ArduinoJson IRremoteESP8266 NeoPixelBus_by_Makuna OneWire PubSubClient readme.txt pio sonoff .gitattributes .gitignore .travis.yml ctags.tmp esp8266.flash.1m0.ld firmware.bin firmware.elf LICENSE.txt platformio.ini README.md

Project Sonoff-Tasmota api upload-arduino.php arduino version 2.3.0 version 2.4.0-rc1 boards.txt platform.txt version 2.4.0-rc2 espupload.py conf platformio.ini sonoff_template.h sonoff.h user_config_override.h user_config.h lib ArduinoJson IRremoteESP8266 NeoPixelBus_by_Makuna OneWire PubSubClient readme.txt pio sonoff .gitattributes .gitignore .travis.yml ctags.tmp esp8266.flash.1m0.ld firmware.bin firmware.elf LICENSE.txt platformio.ini README.md 103 104 105 106 107 108 ; Serial Monitor options monitor_baud = 115200

; *** Upload Serial reset method for Wemos and NodeMCU ;upload_resetmethod = nodemcu

6.6 s platformio run | |-- v1.0 |-- v5.8.3 |-- v1.0 |-- v1.1.0 | |-- v1.0 |-- | |-- v1.0

|-- v1.0 Compiling .pioenvs\sonoff-ds18x20-PL\src\sonoff.ino.o Compiling .pioenvs\sonoff-ds18x20-PL\FrameworkArduino\Stream.o Compiling .pioenvs\sonoff-ds18x20-PL\FrameworkArduino\StreamString.o Compiling .pioenvs\sonoff-ds18x20-PL\FrameworkArduino\Tone.o In file included from E:/Sonoff-Tasmota/sonoff/sonoff.ino:35:0: sonoff\sonoff_template.h:141:1: error: initializer-string for array of chars is too long [-fpermissive] }; ^ sonoff\sonoff_template.h:141:1: error: initializer-string for array of chars is too long [-fpermissive] sonoff\sonoff_template.h:141:1: error: initializer-string for array of chars is too long [-fpermissive] sonoff\sonoff_template.h:141:1: error: initializer-string for array of chars is too long [-fpermissive] sonoff\sonoff_template.h:141:1: error: initializer-string for array of chars is too long [-fpermissive] sonoff\sonoff_template.h:141:1: error: initializer-string for array of chars is too long [-fpermissive] sonoff\sonoff_template.h:141:1: error: initializer-string for array of chars is too long [-fpermissive] sonoff\sonoff_template.h:141:1: error: initializer-string for array of chars is too long [-fpermissive] sonoff\sonoff_template.h:141:1: error: initializer-string for array of chars is too long [-fpermissive] sonoff\sonoff_template.h:141:1: error: initializer-string for array of chars is too long [-fpermissive] sonoff\sonoff_template.h:141:1: error: initializer-string for array of chars is too long [-fpermissive] sonoff\sonoff_template.h:141:1: error: initializer-string for array of chars is too long [-fpermissive] sonoff\sonoff_template.h:141:1: error: initializer-string for array of chars is too long [-fpermissive] sonoff\sonoff_template.h:141:1: error: initializer-string for array of chars is too long [-fpermissive] sonoff\sonoff_template.h:141:1: error: initializer-string for array of chars is too long [-fpermissive] sonoff\sonoff_template.h:141:1: error: initializer-string for array of chars is too long [-fpermissive] sonoff\sonoff_template.h:141:1: error: initializer-string for array of chars is too long [-fpermissive] sonoff\sonoff_template.h:141:1: error: initializer-string for array of chars is too long [-fpermissive] sonoff\sonoff_template.h:141:1: error: initializer-string for array of chars is too long [-fpermissive] sonoff\sonoff_template.h:141:1: error: initializer-string for array of chars is too long [-fpermissive] sonoff\sonoff_template.h:141:1: error: initializer-string for array of chars is too long [-fpermissive] sonoff\sonoff_template.h:141:1: error: initializer-string for array of chars is too long [-fpermissive] sonoff\sonoff_template.h:141:1: error: initializer-string for array of chars is too long [-fpermissive] sonoff\sonoff_template.h:141:1: error: initializer-string for array of chars is too long [-fpermissive] Compiling .pioenvs\sonoff-ds18x20-PL\FrameworkArduino\Updater.o Compiling .pioenvs\sonoff-ds18x20-PL\FrameworkArduino\WMath.o Compiling .pioenvs\sonoff-ds18x20-PL\FrameworkArduino\WString.o Compiling .pioenvs\sonoff-ds18x20-PL\FrameworkArduino\abi.o E:/Sonoff-Tasmota/sonoff/xdrv_domoticz.ino:57:22: error: initializer-string for array of chars is too long [-fpermissive] D_DOMOTICZ_CURRENT }; ^ Compiling .pioenvs\sonoff-ds18x20-PL\FrameworkArduino\base64.o Compiling .pioenvs\sonoff-ds18x20-PL\FrameworkArduino\cbuf.o Compiling .pioenvs\sonoff-ds18x20-PL\FrameworkArduino\cont.o *** [.pioenvs\sonoff-ds18x20-PL\src\sonoff.ino.o] Error 1 Compiling .pioenvs\sonoff-ds18x20-PL\FrameworkArduino\cont_util.o [ERROR] Took 4.80 seconds

[SUMMARY] Environment sonoff [SKIP] Environment sonoff-NL [SKIP] Environment sonoff-DE [SKIP] Environment sonoff-minimal [SKIP] Environment sonoff-ds18x20 [SKIP] Environment sonoff-ds18x20-PL [ERROR] [ERROR] Took 4.80 seconds

Linter Severity Provider Description Line PIO Buildplatformio.ini0001:1 LFUTF-8INIgit+ master565 files19:52

arendst commented 7 years ago

Ah the ones with a prefix of 1i can only be 6 characters long to make a total of 8 characters

roblad commented 7 years ago

I have changed as you sugested is better but not well

Project Sonoff-Tasmota api upload-arduino.php arduino version 2.3.0 version 2.4.0-rc1 boards.txt platform.txt version 2.4.0-rc2 espupload.py conf platformio.ini sonoff_template.h sonoff.h user_config_override.h user_config.h lib ArduinoJson IRremoteESP8266 NeoPixelBus_by_Makuna OneWire PubSubClient readme.txt pio sonoff .gitattributes .gitignore .travis.yml ctags.tmp esp8266.flash.1m0.ld firmware.bin firmware.elf LICENSE.txt platformio.ini README.md platformio.ini PlatformIO Home

11.4 s platformio run Compiling .pioenvs\sonoff-PL\FrameworkArduino\core_esp8266_wiring_shift.o Compiling .pioenvs\sonoff-PL\FrameworkArduino\debug.o Compiling .pioenvs\sonoff-PL\FrameworkArduino\heap.o E:/Sonoff-Tasmota/sonoff/xdrv_domoticz.ino:57:22: error: initializer-string for array of chars is too long [-fpermissive] D_DOMOTICZ_CURRENT }; ^ Compiling .pioenvs\sonoff-PL\FrameworkArduino\libb64\cdecode.o

Compiling .pioenvs\sonoff-PL\FrameworkArduino\libb64\cencode.o Compiling .pioenvs\sonoff-PL\FrameworkArduino\libc_replacements.o *** [.pioenvs\sonoff-PL\src\sonoff.ino.o] Error 1 [ERROR] Took 6.65 seconds

[SUMMARY] Environment sonoff [SKIP] Environment sonoff-NL [SKIP] Environment sonoff-DE [SKIP] Environment sonoff-minimal [SKIP] Environment sonoff-ds18x20 [SKIP] Environment sonoff-ds18x20-PL [SKIP] Environment sonoff-PL [ERROR] [ERROR] Took 6.65 seconds

Linter Severity Provider Description Line PIO BuildPlatformIO Home git+ master565 files20:17

arendst commented 7 years ago

I think D_DOMOTICZ_TEMP_HUM_BARO is 1 character too long.

roblad commented 7 years ago

OK, comiled

CODE

/*
  pl-PL.h - localization for Polish without fonetick - Poland for Sonoff-Tasmota
  Copyright (C) 2017  Theo Arends (translated by roblad - Robert L.)
  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
  the Free Software Foundation, either version 3 of the License, or
  (at your option) any later version.
  This program is distributed in the hope that it will be useful,
  but WITHOUT ANY WARRANTY; without even the implied warranty of
  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  GNU General Public License for more details.
  You should have received a copy of the GNU General Public License
  along with this program.  If not, see <http://www.gnu.org/licenses/>.
*/

#ifndef _LANGUAGE_PL_PL_H_
#define _LANGUAGE_PL_PL_H_

/*************************** ATTENTION *******************************\
 *
 * Due to memory constraints only UTF-8 is supported.
 * To save code space keep text as short as possible.
 * Time and Date provided by SDK can not be localized (yet).
 * Use online command StateText to translate ON, OFF, HOLD and TOGGLE.
 * Use online command Prefix to translate cmnd, stat and tele.
 *
\*********************************************************************/

// "2017-03-07T11:08:02" - ISO8601:2004
#define D_YEAR_MONTH_SEPARATOR "-"
#define D_MONTH_DAY_SEPARATOR "-"
#define D_DATE_TIME_SEPARATOR "T"
#define D_HOUR_MINUTE_SEPARATOR ":"
#define D_MINUTE_SECOND_SEPARATOR ":"

#define D_DAY3LIST "PonWtoSroCzwPiaSobNie"
#define D_MONTH3LIST "StyLutMarKwiMajCzeLipSieWrzPazLisGru"

// Non JSON decimal separator
#define D_DECIMAL_SEPARATOR ","

// Common
#define D_ABORTED "Anulowany"
#define D_ACTIVE "Aktywny"
#define D_ADDRESS "Addres"
#define D_ADMIN "Admin"
#define D_AIR_QUALITY "Jakosc powietrza"
#define D_AIRQUALITY "JakPowietrza"
#define D_AP "AP"                    // Access Point
#define D_APMAC_ADDRESS "APMac"
#define D_APPENDED "Dolaczony"
#define D_AS "jak"
#define D_AUTO "AUTO"
#define D_BAUDRATE "Szybkosc transmisji"
#define D_BLINK "Miganie"
#define D_BLINKOFF "MiganieWyl"
#define D_BOOTVERSION "Uruchomienie"
#define D_BOOT_COUNT "Licznik uruchomienia"
#define D_BOOTCOUNT "LiczUruchomienia"
#define D_BRIGHTLIGHT "Jasny"
#define D_BUILDDATETIME "ZbudowanoDataCzas"
#define D_BUTTON "Przycisk"
#define D_CELSIUS "Celciusza"
#define D_CODE "kod"                // Button code
#define D_COLDLIGHT "Zimny"
#define D_COMMAND "Komenda"
#define D_CONNECTED "Polaczony"
#define D_COREVERSION "Wersja"
#define D_COUNT "Licz"
#define D_COUNTER "Licznik"
#define D_CURRENT "Biezacy"          // As in Voltage and Current
#define D_DATA "Data"
#define D_DARKLIGHT "Ciemny"
#define D_DEBUG "Debug"
#define D_DISABLED "Zablokowany"
#define D_DNS_SERVER "DNS Server"
#define D_DNSSERVER "DNSServer"
#define D_DONE "Wykonane"
#define D_DST_TIME "DST"
#define D_EMPTY "Pusty"
#define D_EMULATION "Emulacja"
#define D_ENABLED "Otwarty"
#define D_ENDDST "KoniecDST"           // End Daylight Savings Time
#define D_ERASE "Nadpisz"
#define D_ERROR "Blad"
#define D_EVERY "Kazdy"
#define D_FAHRENHEIT "Farenheita"
#define D_FAILED "Bledny"
#define D_FALLBACK "Awaryjny"
#define D_FALLBACK_TOPIC "Przyczyna awarii"
#define D_FALLBACKTOPIC "AwariaPrzyczyna"
#define D_FALSE "Falsz"
#define D_FILE "Plik"
#define D_FLASHMODE "FlashMode"
#define D_FLASHSIZE "FlashWielkosc"
#define D_FREE_MEMORY "Wolna pamiec"
#define D_FREEMEMORY "Wolne"
#define D_FROM "z"
#define D_GATEWAY "Gateway"
#define D_GROUP "Grupa"
#define D_HEAPSIZE "Stos"
#define D_HIGH "Wysoki"
#define D_HOST "Serwer"
#define D_HOSTNAME "Nazwa serwera"
#define D_HUMIDITY "Wilgotnosc"
#define D_ILLUMINANCE "Oswietlenie"
#define D_IMMEDIATE "Natychmiastowe"      // Button immediate
#define D_INDEX "Indeks"
#define D_INFO "Informacja"
#define D_INITIALIZED "Zainicjowany"
#define D_IP_ADDRESS "Adres IP"
#define D_LIGHT "Swiatlo"
#define D_LOCAL_TIME "Lokalny"
#define D_LOW "Niski"
#define D_LWT "LWT"
#define D_MAC "Mac"
#define D_MASK "Maska"
#define D_MODULE "Modul"
#define D_MQTT "MQTT"
#define D_MULTI_PRESS "wielokrotne-nacisniecie"
#define D_NO "No"
#define D_NOISE "Halas"
#define D_NONE "Brak"
#define D_OFF "Wylaczony"
#define D_OFFLINE "Nieaktywny"
#define D_OK "Ok"
#define D_ON "Wlaczony"
#define D_ONLINE "Aktywny"
#define D_OR "lub"
#define D_PASSWORD "Haslo"
#define D_PERIOD "Okres"
#define D_PORT "Port"
#define D_POWER_FACTOR "Wspolczynik mocy"
#define D_POWERFACTOR "Wspolczynik"
#define D_POWERUSAGE "Moc"
#define D_PRESSURE "Cisnienie"
#define D_PRESSUREATSEALEVEL "Cisnienie na poziomie morza"
#define D_PROGRAM_FLASH_SIZE "Wielkosc Programu Flash"
#define D_PROGRAMFLASHSIZE "ProgramFlashSize"
#define D_PROGRAM_SIZE "Wielkosc programu"
#define D_PROGRAMSIZE "ProgramSize"
#define D_PROJECT "Projekt"
#define D_RECEIVED "Otrzymany"
#define D_RESTART "Restart"
#define D_RESTARTING "Restartowanie"
#define D_RESTART_REASON "Przyczyna Restartu"
#define D_RESTARTREASON "RestartReason"
#define D_RESTORE "Przywracanie"
#define D_RETAINED "zachowane"
#define D_SAVE "Zapisz"
#define D_SAVEADDRESS "AdresZapisu"
#define D_SAVECOUNT "LicznikZapisu"
#define D_SAVESTATE "StanZapisu"
#define D_SDKVERSION "SDK"
#define D_SELECTED "wybrany"
#define D_SENSOR "Czujnik"
#define D_SERIAL "Serial"
#define D_BYTES "Baitow"
#define D_SSID "SSId"
#define D_START "Start"
#define D_STARTED "Wystartowany"
#define D_STARTDST "StartDST"        // Start Daylight Savings Time
#define D_STD_TIME "STD"
#define D_STOP "Stop"
#define D_SUBNET_MASK "Subnet Mask"
#define D_SUBNETMASK "Subnetmask"
#define D_SUBSCRIBE_TO "Subskrybuj do"
#define D_SUCCESSFUL "Powodzenie"
#define D_SWITCH "Przelacznik"
#define D_SYNC "Sync"
#define D_SYS "Sys"                  // Sys log
#define D_TEMPERATURE "Temperatura"
#define D_TEMPERATURE_UNIT "JednTemp"
#define D_TIME "Czas"
#define D_TO "do"
#define D_TODAY "Dzisiaj"
#define D_TOGGLE "Przelacz"
#define D_TOPIC "Temat"
#define D_TOTAL "Suma"
#define D_TRANSMIT "Transmituj"
#define D_TRUE "Prawda"
#define D_TYPE "Typ"
#define D_UNKNOWN "Nieznany"
#define D_UPGRADE "aktualizacja"
#define D_UPLOAD "Wgraj"
#define D_UPTIME "Uptime"
#define D_UTC_TIME "UTC"
#define D_USER "Uzytkownik"
#define D_VCC "Vcc"
#define D_VERSION "Wersja"
#define D_VOLTAGE "Napiecie"
#define D_WARMLIGHT "Nagrzanie"
#define D_WEB "Web"                  // Web log
#define D_WEB_SERVER "Web Server"
#define D_WIFI "Wifi"
#define D_WRONG "Bledny"
#define D_YESTERDAY "Wczoraj"

// settings.ino
#define D_SAVED_TO_FLASH_AT "Zapisane do pamieci flash w"
#define D_LOADED_FROM_FLASH_AT "Wczytane z pamieci flash z"
#define D_USE_DEFAULTS "Uzyj domyslne"
#define D_ERASED_SECTOR "Nadpisany sector"

// sonoff.ino
#define D_LEVEL_10 "poziom 1-0"
#define D_LEVEL_01 "poziom 0-1"
#define D_SERIAL_LOGGING_DISABLED "Port szeregowy logowanie wylaczone"
#define D_SYSLOG_LOGGING_REENABLED "Logowanie Syslog wznowione"

#define D_SET_BAUDRATE_TO "Ustaw szybkosc transmisji na"
#define D_RECEIVED_TOPIC "Otrzymany temat"
#define D_DATA_SIZE "Wielkosc danych"
#define D_ANALOG_INPUT0 "Analog0"

#define D_FINGERPRINT "Weryfikuj TLS fingerprint..."
#define D_TLS_CONNECT_FAILED_TO "TLS polaczenie bledne do"
#define D_RETRY_IN "Sprobuj ponownie"
#define D_VERIFIED "Zweryfikowano"
#define D_INSECURE "Nieprawidlowe polaczenie z powodu nieprawidlowego Odcisku palca"
#define D_CONNECT_FAILED_TO "Nie udalo sie nawiazac polaczenia"

// support.ino
#define D_OSWATCH "osWatch"
#define D_BLOCKED_LOOP "Petla zablokowana"
#define D_WPS_FAILED_WITH_STATUS "WPSconfig bledny ze statusem"
#define D_ACTIVE_FOR_1_MINUTE "aktywny 1 minute"
#define D_FAILED_TO_START "nie udalo sie uruchomic"
#define D_PATCH_ISSUE_2186 "Blad patcha 2186"
#define D_CONNECTING_TO_AP "Laczenie do AP"
#define D_IN_MODE "w trybie"
#define D_CONNECT_FAILED_NO_IP_ADDRESS "Polaczenie nie powiodlo sie, poniewaz nie otrzymano adresu IP"
#define D_CONNECT_FAILED_AP_NOT_REACHED "Polaczenie nie powiodlo sie jako AP nie mozna osiagnac"
#define D_CONNECT_FAILED_WRONG_PASSWORD "Polaczenie nie powiodlo sie z nieprawidlowym haslem dostepu AP"
#define D_CONNECT_FAILED_AP_TIMEOUT "Nie udalo sie nawiazac polaczenia, limit czasu AP przekroczony"
#define D_ATTEMPTING_CONNECTION "Proba polaczenia..."
#define D_CHECKING_CONNECTION "Sprawdzanie polaczenia..."
#define D_QUERY_DONE "Wykonano zapytanie. Znaleziono uslugi MQTT"
#define D_MQTT_SERVICE_FOUND "Usluga MQTT została znaleziona"
#define D_I2CSCAN_DEVICES_FOUND_AT "Znaleziono urządzenie(a) na"
#define D_FOUND_AT "znalezione w"
#define D_I2CSCAN_UNKNOWN_ERROR_AT "Nieznany blad w"
#define D_I2CSCAN_NO_DEVICES_FOUND "Nie znaleziono urzadzen"
#define D_SYSLOG_HOST_NOT_FOUND "Syslog Host nie znaleziony"
// webserver.ino
#define D_MINIMAL_FIRMWARE_PLEASE_UPGRADE "Oprogramowanie MINIMAL - prosze uaktualnic"
#define D_WEBSERVER_ACTIVE_ON "Aktywny serwer Web"
#define D_WITH_IP_ADDRESS "z IP adresem"
#define D_WEBSERVER_STOPPED "Web serwer zatrzymany"
#define D_FILE_NOT_FOUND "Plik nie odnaleziony"
#define D_REDIRECTED "Przekierowano do wlasnego portalu"
#define D_WIFIMANAGER_SET_ACCESSPOINT_AND_STATION "Menedzer Wifi ustawia punkt dostepowy i zachowuje stacje"
#define D_WIFIMANAGER_SET_ACCESSPOINT "Menedzer sieci Wi-Fi Access Point"
#define D_TRYING_TO_CONNECT "Probuje polaczyc urzadzenie z siecia"

#define D_RESTART_IN "Zrestartuj"
#define D_SECONDS "sekund"
#define D_DEVICE_WILL_RESTART "Urzadzenie zrestartuje sie za kilka sekund"
#define D_BUTTON_TOGGLE "Przełaczenie"
#define D_CONFIGURATION "Konfiguracja"
#define D_INFORMATION "Informacja"
#define D_FIRMWARE_UPGRADE "Uaktualnienie Firmwaru "
#define D_CONSOLE "Konsola"
#define D_CONFIRM_RESTART "Potwierdz Restart"

#define D_CONFIGURE_MODULE "Konfiguruj modul"
#define D_CONFIGURE_WIFI "Konfiguruj WiFi"
#define D_CONFIGURE_MQTT "Konfiguruj MQTT"
#define D_CONFIGURE_DOMOTICZ "Konfiguruj Domoticz"
#define D_CONFIGURE_LOGGING "Konfiguruj Logowanie"
#define D_CONFIGURE_OTHER "Konfiguruj Inne"
#define D_CONFIRM_RESET_CONFIGURATION "Potwierdz Reset Konfiguracji"
#define D_RESET_CONFIGURATION "Reset Konfiguracji"
#define D_BACKUP_CONFIGURATION "Backup Konfiguracji"
#define D_RESTORE_CONFIGURATION "Przywrrocenie Konfiguracji"
#define D_MAIN_MENU "Menu Glowne"

#define D_MODULE_PARAMETERS "Parametery Modulu"
#define D_MODULE_TYPE "Typ Modulu"
#define D_GPIO "GPIO"
#define D_SERIAL_IN "Serial In"
#define D_SERIAL_OUT "Serial Out"

#define D_WIFI_PARAMETERS "Wifi parametry"
#define D_SCAN_FOR_WIFI_NETWORKS "Skanuj sieci wifi"
#define D_SCAN_DONE "Skan wykonany"
#define D_NO_NETWORKS_FOUND "Nie znaleziono sieci"
#define D_REFRESH_TO_SCAN_AGAIN "Odswiez, aby ponownie zeskanowac"
#define D_DUPLICATE_ACCESSPOINT "Duplikuj AccessPoint"
#define D_SKIPPING_LOW_QUALITY "Pominieto z powodu niskiej jakości sygnalu"
#define D_RSSI "RSSI"
#define D_WEP "WEP"
#define D_WPA_PSK "WPA PSK"
#define D_WPA2_PSK "WPA2 PSK"
#define D_AP1_SSID "AP1 SSId"
#define D_AP1_PASSWORD "AP1 Password"
#define D_AP2_SSID "AP2 SSId"
#define D_AP2_PASSWORD "AP2 Password"

#define D_MQTT_PARAMETERS "Parametery MQTT"
#define D_CLIENT "Client"
#define D_FULL_TOPIC "Full Topic"

#define D_LOGGING_PARAMETERS "Parametery Logowanie "
#define D_LOG_LEVEL "log level"
#define D_MORE_DEBUG "More debug"
#define D_SYSLOG_HOST "Syslog host"
#define D_SYSLOG_PORT "Syslog port"
#define D_TELEMETRY_PERIOD "Okres telemetrii"

#define D_OTHER_PARAMETERS "Inne parametery"
#define D_WEB_ADMIN_PASSWORD "Haslo Web Admin"
#define D_MQTT_ENABLE "MQTT aktywne"
#define D_FRIENDLY_NAME "Przyjazna Nazwa"
#define D_BELKIN_WEMO "Belkin WeMo"
#define D_HUE_BRIDGE "Hue Bridge"
#define D_SINGLE_DEVICE "single device"
#define D_MULTI_DEVICE "multi device"

#define D_SAVE_CONFIGURATION "Zapisz konfiguracje"
#define D_CONFIGURATION_SAVED "Konfiguracja zapisana"
#define D_CONFIGURATION_RESET "Konfiguracja zresetowana"

#define D_PROGRAM_VERSION "Wersja Programu"
#define D_BUILD_DATE_AND_TIME "Zbudowane Data i Czas"
#define D_CORE_AND_SDK_VERSION "Core/SDK Wersja"
#define D_FLASH_WRITE_COUNT "Liczba zapisywanych plików Flash"
#define D_MAC_ADDRESS "MAC Address"
#define D_MQTT_HOST "Host MQTT"
#define D_MQTT_PORT "Port MQTT"
#define D_MQTT_CLIENT "Klient MQTT"
#define D_MQTT_USER "Uzytkownik MQTT"
#define D_MQTT_TOPIC "Temat MQTT"
#define D_MQTT_GROUP_TOPIC "MQTT Temat grupy"
#define D_MQTT_FULL_TOPIC "MQTT Pelna nazwa tematu"
#define D_MDNS_DISCOVERY "mDNS Wykrywanie"
#define D_MDNS_ADVERTISE "mDNS Rozglaszanie"
#define D_ESP_CHIP_ID "ESP Chip Id"
#define D_FLASH_CHIP_ID "Flash Chip Id"
#define D_FLASH_CHIP_SIZE "Flash Wielkosc"
#define D_FREE_PROGRAM_SPACE "Wolne miejsce Programu"

#define D_UPGRADE_BY_WEBSERVER "Aktualizacja poprzez serwer web"
#define D_OTA_URL "OTA Url"
#define D_START_UPGRADE "Start upgrade"
#define D_UPGRADE_BY_FILE_UPLOAD "Aktualizacja poprzez wgranie pliku"
#define D_UPLOAD_STARTED "Wgrywanie wystartowane"
#define D_UPGRADE_STARTED "Aktualizacja wystartowana"
#define D_UPLOAD_DONE "Wgrywanie zakonczone"
#define D_UPLOAD_ERR_1 "Nie wybrano pliku"
#define D_UPLOAD_ERR_2 "Niewystarczajaca ilosc miejsca"
#define D_UPLOAD_ERR_3 "Bajt magiczny nie jest 0xE9"
#define D_UPLOAD_ERR_4 "Rozmiar programu jest większy niż rzeczywisty rozmiar pamięci flash"
#define D_UPLOAD_ERR_5 "Wgrywanie, bufor niezgodności stanu porównywanych bitów"
#define D_UPLOAD_ERR_6 "Wgrywanie bledne. Uruchomiono logowanie poziom 3"
#define D_UPLOAD_ERR_7 "Wgrywanie przerwane"
#define D_UPLOAD_ERR_8 "Bledny plik"
#define D_UPLOAD_ERR_9 "Plik jest za duzy"
#define D_UPLOAD_ERROR_CODE "Wgrywanie error code"

#define D_ENTER_COMMAND "Wprowadz polecenie"
#define D_ENABLE_WEBLOG_FOR_RESPONSE "Wlacz web logowanie 2, jesli oczekiwana iest odpowiedz"
#define D_NEED_USER_AND_PASSWORD "Wymagany uzytkownik=<username>&password=<password>"

// xdrv_domoticz.ino
#define D_DOMOTICZ_PARAMETERS "Parametry Domoticz"
#define D_DOMOTICZ_IDX "Idx"
#define D_DOMOTICZ_KEY_IDX "Key idx"
#define D_DOMOTICZ_SWITCH_IDX "Przelacznik idx"
#define D_DOMOTICZ_SENSOR_IDX "Sensor idx"
  #define DOMOTICZ_SENSORS_MAX_STRING_LENGTH 14
  #define D_DOMOTICZ_TEMP "Temp"
  #define D_DOMOTICZ_TEMP_HUM "Temp,Wilg"
  #define D_DOMOTICZ_TEMP_HUM_BARO "Temp,Wilg,Cis"
  #define D_DOMOTICZ_POWER_ENERGY "Moc,Energia"
  #define D_DOMOTICZ_ILLUMINANCE "Oswietl."
  #define D_DOMOTICZ_COUNT "Licznik"
  #define D_DOMOTICZ_VOLTAGE "Napiecie"
  #define D_DOMOTICZ_CURRENT "Prad"
#define D_DOMOTICZ_UPDATE_TIMER "Zaktualizuj czasomierz"

// xdrv_ir-send.ino
#define D_INVALID_JSON "Invalid JSON"
#define D_PROTOCOL_NOT_SUPPORTED "Protokol nie jest obslugiwany"
#define D_IR_PROTOCOL "PROTOCOL"
#define D_IR_BITS "BITS"
#define D_IR_DATA "DATA"
#define D_IRHVAC_VENDOR "VENDOR"
#define D_IRHVAC_POWER "POWER"
#define D_IRHVAC_MODE "MODE"
#define D_IRHVAC_FANSPEED "FANSPEED"
#define D_IRHVAC_TEMP "TEMP"
#define D_IRRECEIVED "IrReceived"

// xdrv_snfbridge.ino
#define D_RFRECEIVED "RfReceived"
#define D_START_LEARNING "Zacznij nauke"
#define D_SET_TO_DEFAULT "Ustaw domyslne"
#define D_DEFAULT_SENT "Domyslne wyslane"
#define D_LEARNED_SENT "Wyuczone wyslane"
#define D_LEARNING_ACTIVE "Wyuczone aktywne"
#define D_LEARN_FAILED "Uczenie niepowodzenie"
#define D_LEARNED "Wyuczone"

// xdrv_wemohue.ino
#define D_MULTICAST_DISABLED "Multicast jest wylaczony"
#define D_MULTICAST_REJOINED "Multicast (re)dolaczony"
#define D_MULTICAST_JOIN_FAILED "Multicast nie powiodlo sie"
#define D_FAILED_TO_SEND_RESPONSE "Nie udalo sie wyslac odpowiedzi"

#define D_WEMO "WeMo"
#define D_WEMO_BASIC_EVENT "WeMo podstawowe zdarzenie"
#define D_WEMO_EVENT_SERVICE "WeMo zdarzenie service"
#define D_WEMO_SETUP "WeMo setup"
#define D_RESPONSE_SENT "Odpowiedz wyslana"

#define D_HUE "Hue"
#define D_HUE_BRIDGE_SETUP "Hue setup"
#define D_HUE_API_NOT_IMPLEMENTED "Hue API nie zaimplementowane"
#define D_HUE_API "Hue API"
#define D_HUE_POST_ARGS "Hue POST args"
#define D_3_RESPONSE_PACKETS_SENT "3 pakiety odpowiedzi wysylane"

// xsns_dht.ino
#define D_TIMEOUT_WAITING_FOR "Trwa oczekiwanie"
#define D_START_SIGNAL_LOW "sygnał startowy niski"
#define D_START_SIGNAL_HIGH "sygnał startowy wysoki"
#define D_PULSE "pulse"
#define D_CHECKSUM_FAILURE "Bledna suma kontrolmna"

// xsns_ds18b20.ino
#define D_SENSOR_BUSY "Czujnik DS18x20 zajety"
#define D_SENSOR_CRC_ERROR "Czujnik DS18x20 blad CRC"

// xsns_hlw8012.ino
#define D_MAXPOWERREACHED "MaksMocOsiagnieta"
#define D_MAXPOWERREACHEDRETRY "MaksMocOsiagnietaPonowienie"
#define D_POWERMONITOR "MonitorMocy"
#define D_ENERGYMONITOR "MonitorEnergii"
#define D_MAXENERGYREACHED "MaksEnergiaOsiagnieta"
#define D_ENERGY_TODAY "Energia Dzisiaj"
#define D_ENERGY_YESTERDAY "Energia Wczoraj"
#define D_ENERGY_TOTAL "Energia suma"

// xsns_sht1x.ino
#define D_SENSOR_DID_NOT_ACK_COMMAND "Czujnik nie otrzymal komendy ACK"
#define D_SHT1X_FOUND "SHT1X znaleziony"

// sonoff_template.h
// Max string length is 8 characters including suffixes
#define D_SENSOR_NONE     "Brak"
#define D_SENSOR_DHT11    "DHT11"
#define D_SENSOR_AM2301   "AM2301"
#define D_SENSOR_DHT22    "DHT22"
#define D_SENSOR_DS18X20  "DS18x20"
#define D_SENSOR_I2C_SCL  "I2C SCL"
#define D_SENSOR_I2C_SDA  "I2C SDA"
#define D_SENSOR_WS2812   "WS2812"
#define D_SENSOR_IRSEND   "IRsend"
#define D_SENSOR_SWITCH   "Przela"   // Suffix "1"
#define D_SENSOR_BUTTON   "Przyci"   // Suffix "1"
#define D_SENSOR_RELAY    "Przeka"    // Suffix "1i"
#define D_SENSOR_LED      "Led"      // Suffix "1i"
#define D_SENSOR_PWM      "PWM"      // Suffix "1"
#define D_SENSOR_COUNTER  "Liczni"  // Suffix "1"
#define D_SENSOR_IRRECV   "IRrecv"
#define D_SENSOR_SPI_CS   "SPI CS"
#define D_SENSOR_SPI_DC   "SPI DC"
#define D_SENSOR_BACKLIGHT "BLight"

// Units
#define D_UNIT_AMPERE "A"
#define D_UNIT_HOUR "Godz"
#define D_UNIT_KILOWATTHOUR "kWh"
#define D_UNIT_LUX "lx"
#define D_UNIT_MICROSECOND "us"
#define D_UNIT_MILLIAMPERE "mA"
#define D_UNIT_MILLISECOND "ms"
#define D_UNIT_MINUTE "Min"
#define D_UNIT_PRESSURE "hPa"
#define D_UNIT_SECOND "sec"
#define D_UNIT_SECTORS "sectory"
#define D_UNIT_VOLT "V"
#define D_UNIT_WATT "W"
#define D_UNIT_WATTHOUR "Wh"

// Log message prefix
#define D_LOG_APPLICATION "APP: "
#define D_LOG_BRIDGE "BRG: "
#define D_LOG_CONFIG "CFG: "
#define D_LOG_COMMAND "CMD: "
#define D_LOG_DHT "DHT: "
#define D_LOG_DOMOTICZ "DOM: "
#define D_LOG_DSB "DSB: "
#define D_LOG_HTTP "HTP: "
#define D_LOG_I2C "I2C: "
#define D_LOG_IRR "IRR: "
#define D_LOG_LOG "LOG: "
#define D_LOG_MODULE "MOD: "
#define D_LOG_MDNS "DNS: "
#define D_LOG_MQTT "MQT: "
#define D_LOG_OTHER "OTH: "
#define D_LOG_RESULT "RSL: "
#define D_LOG_SERIAL "SER: "
#define D_LOG_SHT1 "SHT: "
#define D_LOG_UPLOAD "UPL: "
#define D_LOG_UPNP "UPP: "
#define D_LOG_WIFI "WIF: "

// Result
#define D_RSLT_RESULT "REZULTAD"
#define D_RSLT_INFO "INFO"
#define D_RSLT_STATE "STAN"
#define D_RSLT_SENSOR "SENSOR"
#define D_RSLT_UPTIME "UPTIME"
#define D_RSLT_MARGINS "MARGINES"
#define D_RSLT_WARNING "OSTRZEZENIE"
#define D_RSLT_ENERGY "ENERGIA"

// Commands
#define D_CMND_MQTTHOST "MqttHost"
#define D_CMND_MQTTPORT "MqttPort"
#define D_CMND_MQTTRETRY "MqttRetry"
#define D_CMND_STATETEXT "StateText"
#define D_CMND_MQTTFINGERPRINT "MqttFingerprint"
#define D_CMND_MQTTCLIENT "MqttClient"
#define D_CMND_MQTTUSER "MqttUser"
#define D_CMND_MQTTPASSWORD "MqttPassword"
#define D_CMND_FULLTOPIC "FullTopic"
#define D_CMND_PREFIX "Prefix"
  #define PRFX_MAX_STRING_LENGTH 5
  #define D_CMND "cmnd"
  #define D_STAT "stat"
  #define D_TELE "tele"
#define D_CMND_GROUPTOPIC "GroupTopic"
#define D_CMND_TOPIC "Topic"
#define D_CMND_BUTTONTOPIC "ButtonTopic"
#define D_CMND_SWITCHTOPIC "SwitchTopic"
#define D_CMND_BUTTONRETAIN "ButtonRetain"
#define D_CMND_SWITCHRETAIN "SwitchRetain"
#define D_CMND_POWERRETAIN "PowerRetain"
#define D_CMND_SENSORRETAIN "SensorRetain"
#define D_CMND_BACKLOG "Backlog"
#define D_CMND_DELAY "Delay"
#define D_CMND_STATUS "Status"
  #define D_STATUS1_PARAMETER "PRM"
  #define D_STATUS2_FIRMWARE "FWR"
  #define D_STATUS3_LOGGING "LOG"
  #define D_STATUS4_MEMORY "MEM"
  #define D_STATUS5_NETWORK "NET"
  #define D_STATUS6_MQTT "MQT"
  #define D_STATUS7_TIME "TIM"
  #define D_STATUS8_POWER "PWR"
  #define D_STATUS9_MARGIN "PTH"
  #define D_STATUS10_SENSOR "SNS"
  #define D_STATUS11_STATUS "STS"
#define D_CMND_POWER "Power"
  #define D_RSLT_POWER "POWER"
#define D_CMND_POWERONSTATE "PowerOnState"
#define D_CMND_PULSETIME "PulseTime"
#define D_CMND_BLINKTIME "BlinkTime"
#define D_CMND_BLINKCOUNT "BlinkCount"
#define D_CMND_SAVEDATA "SaveData"
#define D_CMND_SETOPTION "SetOption"
#define D_CMND_TEMPERATURE_RESOLUTION "TempRes"
#define D_CMND_HUMIDITY_RESOLUTION "HumRes"
#define D_CMND_PRESSURE_RESOLUTION "PressRes"
#define D_CMND_POWER_RESOLUTION "WattRes"
#define D_CMND_VOLTAGE_RESOLUTION "VoltRes"
#define D_CMND_ENERGY_RESOLUTION "EnergyRes"
#define D_CMND_MODULE "Module"
#define D_CMND_MODULES "Modules"
#define D_CMND_GPIO "GPIO"
  #define D_NOT_SUPPORTED "Not supported"
#define D_CMND_GPIOS "GPIOs"
#define D_CMND_PWM "PWM"
#define D_CMND_PWMFREQUENCY "PWMFrequency"
#define D_CMND_PWMRANGE "PWMRange"
#define D_CMND_COUNTER "Counter"
#define D_CMND_COUNTERTYPE "CounterType"
#define D_CMND_COUNTERDEBOUNCE "CounterDebounce"
#define D_CMND_SLEEP "Sleep"
#define D_CMND_UPLOAD "Upload"
#define D_CMND_UPGRADE "Upgrade"
  #define D_ONE_OR_GT "1 or >%s to upgrade"
#define D_CMND_OTAURL "OtaUrl"
#define D_CMND_SERIALLOG "SerialLog"
#define D_CMND_SYSLOG "SysLog"
#define D_CMND_LOGHOST "LogHost"
#define D_CMND_LOGPORT "LogPort"
#define D_CMND_IPADDRESS "IPAddress"
#define D_CMND_NTPSERVER "NtpServer"
#define D_CMND_AP "Ap"
#define D_CMND_SSID "SSId"
#define D_CMND_PASSWORD "Password"
#define D_CMND_HOSTNAME "Hostname"
#define D_CMND_WIFICONFIG "WifiConfig"
  #define WCFG_MAX_STRING_LENGTH 12
  #define D_WCFG_0_RESTART "Restart"
  #define D_WCFG_1_SMARTCONFIG "SmartConfig"
  #define D_WCFG_2_WIFIMANAGER "WifiManager"
  #define D_WCFG_3_WPSCONFIG "WPSConfig"
  #define D_WCFG_4_RETRY "Retry"
  #define D_WCFG_5_WAIT "Wait"
#define D_CMND_FRIENDLYNAME "FriendlyName"
#define D_CMND_SWITCHMODE "SwitchMode"
#define D_CMND_WEBSERVER "Webserver"
  #define D_WEBSERVER_MODE "WebServerMode"
  #define D_ACTIVE_FOR "Active for"
  #define D_ON_DEVICE "on"
#define D_CMND_WEBPASSWORD "WebPassword"
#define D_CMND_WEBLOG "WebLog"
#define D_CMND_EMULATION "Emulation"
#define D_CMND_TELEPERIOD "TelePeriod"
#define D_CMND_RESTART "Restart"
  #define D_ONE_TO_RESTART "1 to restart"
#define D_CMND_RESET "Reset"
  #define D_RESET_AND_RESTARTING "Reset and Restarting"
  #define D_ONE_TO_RESET "1 to reset"
#define D_CMND_TIMEZONE "Timezone"
#define D_CMND_ALTITUDE "Altitude"
#define D_CMND_LEDPOWER "LedPower"
#define D_CMND_LEDSTATE "LedState"
#define D_CMND_CFGDUMP "CfgDump"
#define D_CMND_I2CSCAN "I2CScan"
#define D_CMND_EXCEPTION "Exception"

// Commands xdrv_domoticz.ino
#define D_CMND_DOMOTICZ "Domoticz"
#define D_CMND_IDX "Idx"
#define D_CMND_KEYIDX "KeyIdx"
#define D_CMND_SWITCHIDX "SwitchIdx"
#define D_CMND_SENSORIDX "SensorIdx"
#define D_CMND_UPDATETIMER "UpdateTimer"

// Commands xdrv_ir_send.ino
#define D_CMND_IRSEND "IRSend"
#define D_CMND_IRHVAC "IRHVAC"

// Commands xdrv_snfbridge.ino
#define D_CMND_RFKEY "RfKey"
#define D_CMND_RFDEFAULT "RfDefault"

// Commands xdrv_snfled.ino
#define D_CMND_COLOR "Color"
#define D_CMND_COLORTEMPERATURE "CT"
#define D_CMND_DIMMER "Dimmer"
#define D_CMND_LEDTABLE "LedTable"
#define D_CMND_FADE "Fade"
#define D_CMND_SPEED "Speed"
#define D_CMND_WAKEUPDURATION "WakeUpDuration"
#define D_CMND_WAKEUP "Wakeup"

// Commands xdrv_ws2812.ino
#define D_CMND_PIXELS "Pixels"
#define D_CMND_LED "Led"
#define D_CMND_WIDTH "Width"
#define D_CMND_SCHEME "Scheme"

// Commands xsns_hlw8012.ino
#define D_CMND_POWERLOW "PowerLow"
#define D_CMND_POWERHIGH "PowerHigh"
#define D_CMND_VOLTAGELOW "VoltageLow"
#define D_CMND_VOLTAGEHIGH "VoltageHigh"
#define D_CMND_CURRENTLOW "CurrentLow"
#define D_CMND_CURRENTHIGH "CurrentHigh"
#define D_CMND_ENERGYRESET "EnergyReset"
#define D_CMND_HLWPCAL "HlwPcal"
#define D_CMND_HLWPSET "HlwPset"
#define D_CMND_HLWUCAL "HlwUcal"
#define D_CMND_HLWUSET "HlwUset"
#define D_CMND_HLWICAL "HlwIcal"
#define D_CMND_HLWISET "HlwIset"
#define D_CMND_MAXPOWER "MaxPower"
#define D_CMND_MAXPOWERHOLD "MaxPowerHold"
#define D_CMND_MAXPOWERWINDOW "MaxPowerWindow"
#define D_CMND_SAFEPOWER "SafePower"
#define D_CMND_SAFEPOWERHOLD "SafePowerHold"
#define D_CMND_SAFEPOWERWINDOW "SafePowerWindow"
#define D_CMND_MAXENERGY "MaxEnergy"
#define D_CMND_MAXENERGYSTART "MaxEnergyStart"

#endif  // _LANGUAGE_PL_PL_H_
roblad commented 7 years ago

my platformio.ini I had to use sonoff-ds18x20-PL as additional section for DS compilation

; PlatformIO Project Configuration File
;
;   Build options: build flags, source filter, extra scripting
;   Upload options: custom port, speed and extra flags
;   Library options: dependencies, extra library storages
;
; Please visit documentation for the other options and examples
; http://docs.platformio.org/en/stable/projectconf.html

[platformio]
src_dir = sonoff

; *** Uncomment one of the lines below to build/upload only one environment
;env_default = sonoff
;env_default = sonoff-NL
;env_default = sonoff-DE
;env_default = sonoff-PL
; env_default = sonoff-minimal
;env_default = sonoff-ds18x20
env_default = sonoff-ds18x20-PL

; *** Sonoff et al
[env:sonoff]
platform = espressif8266
framework = arduino
;board = esp01_1m
board = esp07
board_flash_mode = dout
build_flags = -Wl,-Tesp8266.flash.1m0.ld -DMQTT_MAX_PACKET_SIZE=512
lib_deps = PubSubClient, NeoPixelBus, IRremoteESP8266, ArduinoJSON

; *** Serial Monitor options
monitor_baud = 115200

; *** Upload Serial reset method for Wemos and NodeMCU
;upload_resetmethod = nodemcu

; *** Upload file to OTA server using SCP
;upload_port = user@host:/path
;extra_scripts = pio/sftp-uploader.py

; *** Upload file to OTA server using HTTP
;upload_port = domus1:80/api/upload-arduino.php
;extra_scripts = pio/http-uploader.py

; *** Sonoff et al
[env:sonoff-NL]
platform = espressif8266
framework = arduino
;board = esp01_1m
board = esp07
board_flash_mode = dout
build_flags = -Wl,-Tesp8266.flash.1m0.ld -DMQTT_MAX_PACKET_SIZE=512 -DMY_LANGUAGE=nl-NL
lib_deps = PubSubClient, NeoPixelBus, IRremoteESP8266, ArduinoJSON

; *** Serial Monitor options
monitor_baud = 115200

; *** Upload Serial reset method for Wemos and NodeMCU
;upload_resetmethod = nodemcu

; *** Upload file to OTA server using SCP
;upload_port = user@host:/path
;extra_scripts = pio/sftp-uploader.py

; *** Upload file to OTA server using HTTP
;upload_port = domus1:80/api/upload-arduino.php
;extra_scripts = pio/http-uploader.py

; *** Sonoff et al
[env:sonoff-DE]
platform = espressif8266
framework = arduino
;board = esp01_1m
board = esp07
board_flash_mode = dout
build_flags = -Wl,-Tesp8266.flash.1m0.ld -DMQTT_MAX_PACKET_SIZE=512 -DMY_LANGUAGE=de-DE
lib_deps = PubSubClient, NeoPixelBus, IRremoteESP8266, ArduinoJSON

; *** Serial Monitor options
monitor_baud = 115200

; *** Upload Serial reset method for Wemos and NodeMCU
;upload_resetmethod = nodemcu

; *** Upload file to OTA server using SCP
;upload_port = user@host:/path
;extra_scripts = pio/sftp-uploader.py

; *** Upload file to OTA server using HTTP
;upload_port = domus1:80/api/upload-arduino.php
;extra_scripts = pio/http-uploader.py

; *** Sonoff et al
[env:sonoff-PL]
platform = espressif8266
framework = arduino
;board = esp01_1m
board = esp07
board_flash_mode = dout
build_flags = -Wl,-Tesp8266.flash.1m0.ld -DMQTT_MAX_PACKET_SIZE=512 -DMY_LANGUAGE=pl-PL
lib_deps = PubSubClient, NeoPixelBus, IRremoteESP8266, ArduinoJSON

; *** Serial Monitor options
monitor_baud = 115200

; *** Upload Serial reset method for Wemos and NodeMCU
;upload_resetmethod = nodemcu

; *** Upload file to OTA server using SCP
;upload_port = user@host:/path
;extra_scripts = pio/sftp-uploader.py

; *** Upload file to OTA server using HTTP
;upload_port = domus1:80/api/upload-arduino.php
;extra_scripts = pio/http-uploader.py

; Sonoff minimal
[env:sonoff-minimal] ; Placeholder to be configured
platform = espressif8266
framework = arduino
;board = esp01_1m
board = esp07
board_flash_mode = dout
build_flags = -Wl,-Tesp8266.flash.1m0.ld -DMQTT_MAX_PACKET_SIZE=512 -DBE_MINIMAL
lib_deps = PubSubClient, NeoPixelBus, IRremoteESP8266, ArduinoJSON

; Serial Monitor options
monitor_baud = 115200

; *** Upload Serial reset method for Wemos and NodeMCU
;upload_resetmethod = nodemcu

; *** Upload file to OTA server using SCP
;upload_port = user@host:/path
;extra_scripts = pio/sftp-uploader.py

; *** Upload file to OTA server using HTTP
;upload_port = domus1:80/api/upload-arduino.php
;extra_scripts = pio/http-uploader.py

; Sonoff multiple DS18x20
[env:sonoff-ds18x20]
platform = espressif8266
framework = arduino
; board = esp01_1m
board = esp07
board_flash_mode = dout
build_flags = -Wl,-Tesp8266.flash.1m0.ld -DMQTT_MAX_PACKET_SIZE=707 -DUSE_DS18x20 -DMESSZ=600
lib_deps = PubSubClient, NeoPixelBus, IRremoteESP8266, ArduinoJSON, OneWire

; Sonoff multiple DS18x20-PL
[env:sonoff-ds18x20-PL]
platform = espressif8266
framework = arduino
; board = esp01_1m
board = esp07
board_flash_mode = dout
build_flags = -Wl,-Tesp8266.flash.1m0.ld -DMQTT_MAX_PACKET_SIZE=707 -DUSE_DS18x20 -DMESSZ=600 -DMY_LANGUAGE=pl-PL
lib_deps = PubSubClient, NeoPixelBus, IRremoteESP8266, ArduinoJSON, OneWire

; Serial Monitor options
monitor_baud = 115200

; *** Upload Serial reset method for Wemos and NodeMCU
;upload_resetmethod = nodemcu

; *** Upload file to OTA server using SCP
;upload_port = user@host:/path
;extra_scripts = pio/sftp-uploader.py

; *** Upload file to OTA server using HTTP
;upload_port = domus1:80/api/upload-arduino.php
;extra_scripts = pio/http-uploader.py
roblad commented 7 years ago

Could you add in this release also one more device just after SUPLA1 - it is modyfication of SUPLA1 I had 30 devices and will be more :-)

TASMOTA_RLPB

 { "TasSupla-RLPB",   // RL_PB_TASMOTA hardware (ESP8266)

     GPIO_USER,        // GPIO00 D3 Wemos Button Shield
     0,        // GPIO01 TX Serial RXD
     GPIO_USER,        // GPIO02 D4 Wemos DHT Shield
     0,        // GPIO03 RX Serial TXD and Optional sensor
     GPIO_USER,        // GPIO04 D2 Wemos I2C SDA
     GPIO_REL1,        // GPIO05 D1 Wemos I2C SCL / Wemos Relay Shield (0 = Off, 1 = On) / Wemos WS2812B RGB led Shield
     0, 0, 0, 0, 0, 0, // Flash connection
     GPIO_USER,        // GPIO12 D6
     GPIO_REL2,        // GPIO13 D7
     GPIO_USER,        // GPIO14 D5
     0,        // GPIO15 D8
     GPIO_LED1,        // GPIO16 D0 Wemos Wake
     GPIO_ADC0         // ADC0   A0 Analog input
  },
maciejtarmas commented 7 years ago

Some quick and dirty spelling, grammar, capitalization and misc. corrections. Haven't gone through all of this, mind you.

#define D_ADDRESS "Addres"

define D_ADDRESS "Adres"

#define D_CELSIUS "Celciusza"

define D_CELSIUS "Celsiusza"

#define D_FAHRENHEIT "Farenheita"

define D_FAHRENHEIT "Fahrenheita"

#define D_NO "No"

define D_NO "Nie"

#define D_POWERFACTOR "Wspolczynik"

define D_POWERFACTOR "WspolczynikMocy"

#define D_RESTART_REASON "Przyczyna Restartu"

define D_RESTART_REASON "Przyczyna restartu"

#define D_RESTARTREASON "RestartReason"

define D_RESTARTREASON "PrzyczynaRestartu"

#define D_RETAINED "zachowane"

define D_RETAINED "Zachowane"

#define D_SELECTED "wybrany"

define D_SELECTED "Wybrany"

#define D_BYTES "Baitow"

define D_BYTES "Bajtow"

#define D_STARTED "Wystartowany"

define D_STARTED "Uruchomiony"

#define D_SUBNET_MASK "Subnet Mask"

define D_SUBNET_MASK "Maska podsieci"

#define D_SUBNETMASK "Subnetmask"

define D_SUBNETMASK "MaskaPodsieci"

#define D_TRANSMIT "Transmituj"

define D_TRANSMIT "Wyslij"

#define D_UPGRADE "aktualizacja"

define D_UPGRADE "Aktualizacja"

#define D_VCC "Vcc"

define D_VCC "VCC"

#define D_USE_DEFAULTS "Uzyj domyslne"

define D_USE_DEFAULTS "Uzyj domyslnych"

#define D_ERASED_SECTOR "Nadpisany sector"

define D_ERASED_SECTOR "Wymazany sektor"

#define D_SERIAL_LOGGING_DISABLED "Port szeregowy logowanie wylaczone"

define D_SERIAL_LOGGING_DISABLED "Wylaczony dziennik na porcie szeregowym"

#define D_SYSLOG_LOGGING_REENABLED "Logowanie Syslog wznowione"

define D_SYSLOG_LOGGING_REENABLED "Wznowiono zapis do Syslog"

#define D_FINGERPRINT "Weryfikuj TLS fingerprint..."

define D_FINGERPRINT "Weryfikuj odcisk TLS..."

#define D_TLS_CONNECT_FAILED_TO "TLS polaczenie bledne do"

define D_TLS_CONNECT_FAILED_TO "Nieudane polaczenie TLS do"

#define D_INSECURE "Nieprawidlowe polaczenie z powodu nieprawidlowego Odcisku palca"

define D_INSECURE "Nieprawidlowe polaczenie z powodu blednego odcisku TLS"

#define D_WPS_FAILED_WITH_STATUS "WPSconfig bledny ze statusem"

define D_WPS_FAILED_WITH_STATUS "Blad WPSconfig ze statusem"

#define D_PATCH_ISSUE_2186 "Blad patcha 2186"

define D_PATCH_ISSUE_2186 "Blad latki 2186"

#define D_CONNECTING_TO_AP "Laczenie do AP"

define D_CONNECTING_TO_AP "Laczenie z AP"

#define D_WITH_IP_ADDRESS "z IP adresem"

define D_WITH_IP_ADDRESS "z adresem IP"

#define D_WEBSERVER_STOPPED "Web serwer zatrzymany"

define D_WEBSERVER_STOPPED "Serwer Web zatrzymany"

#define D_BUTTON_TOGGLE "Przełaczenie"

define D_BUTTON_TOGGLE "Przelaczenie"

#define D_FIRMWARE_UPGRADE "Uaktualnienie Firmwaru "

define D_FIRMWARE_UPGRADE "Uaktualnienie oprogramowania"

#define D_CONFIRM_RESTART "Potwierdz Restart"

define D_CONFIRM_RESTART "Potwierdz restart"

#define D_CONFIGURE_LOGGING "Konfiguruj Logowanie"

define D_CONFIGURE_LOGGING "Konfiguruj zapis dziennika"

#define D_CONFIGURE_OTHER "Konfiguruj Inne"

define D_CONFIGURE_OTHER "Konfiguruj inne"

#define D_CONFIRM_RESET_CONFIGURATION "Potwierdz Reset Konfiguracji"

define D_CONFIRM_RESET_CONFIGURATION "Potwierdz reset ustawien"

#define D_RESET_CONFIGURATION "Reset Konfiguracji"

define D_RESET_CONFIGURATION "Reset ustawien"

#define D_BACKUP_CONFIGURATION "Backup Konfiguracji"

define D_BACKUP_CONFIGURATION "Kopia ustawien"

#define D_RESTORE_CONFIGURATION "Przywrrocenie Konfiguracji"

define D_RESTORE_CONFIGURATION "Przywrocenie ustawien"

#define D_MAIN_MENU "Menu Glowne"

define D_MAIN_MENU "Menu glowne"

#define D_MODULE_PARAMETERS "Parametery Modulu"

define D_MODULE_PARAMETERS "Parametery modulu"

#define D_MODULE_TYPE "Typ Modulu"

define D_MODULE_TYPE "Typ modulu"

#define D_WIFI_PARAMETERS "Wifi parametry"

define D_WIFI_PARAMETERS "Parametry WiFi"

#define D_SCAN_FOR_WIFI_NETWORKS "Skanuj sieci wifi"

define D_SCAN_FOR_WIFI_NETWORKS "Skanuj sieci WiFi"

#define D_REFRESH_TO_SCAN_AGAIN "Odswiez, aby ponownie zeskanowac"

define D_REFRESH_TO_SCAN_AGAIN "Odswiez aby ponownie zeskanowac"

#define D_DUPLICATE_ACCESSPOINT "Duplikuj AccessPoint"

define D_DUPLICATE_ACCESSPOINT "Kopiuj AP"

#define D_AP1_SSID "AP1 SSId"

define D_AP1_SSID "AP1 SSID"

#define D_AP1_PASSWORD "AP1 Password"

define D_AP1_PASSWORD "Haslo AP2"

#define D_AP1_SSID "AP2 SSId"

define D_AP1_SSID "AP2 SSID"

#define D_AP1_PASSWORD "AP2 Password"

define D_AP1_PASSWORD "Haslo AP2"

#define D_CLIENT "Client"

define D_CLIENT "Klient"

#define D_FULL_TOPIC "Full Topic"

define D_FULL_TOPIC "Pelny temat"

#define D_LOGGING_PARAMETERS "Parametery Logowanie "

define D_LOGGING_PARAMETERS "Opcje dziennika"

#define D_LOG_LEVEL "log level"

define D_LOG_LEVEL "poziom dziennika"

#define D_MORE_DEBUG "More debug"

define D_MORE_DEBUG "Wiecej informacji debugujacych"

#define D_WEB_ADMIN_PASSWORD "Haslo Web Admin"

define D_WEB_ADMIN_PASSWORD "Haslo administratora Web"

#define D_FRIENDLY_NAME "Przyjazna Nazwa"

define D_FRIENDLY_NAME "Przyjazna nazwa"

#define D_SAVE_CONFIGURATION "Zapisz konfiguracje"

define D_SAVE_CONFIGURATION "Zapisz ustawienia"

#define D_CONFIGURATION_SAVED "Konfiguracja zapisana"

define D_CONFIGURATION_SAVED "Ustawienia zapisane"

#define D_CONFIGURATION_RESET "Konfiguracja zresetowana"

define D_CONFIGURATION_RESET "Ustawienia zresetowane"

#define D_PROGRAM_VERSION "Wersja Programu"

define D_PROGRAM_VERSION "Wersja programu"

#define D_BUILD_DATE_AND_TIME "Zbudowane Data i Czas"

define D_BUILD_DATE_AND_TIME "Dzien i godzina kompilacji"

#define D_CORE_AND_SDK_VERSION "Core/SDK Wersja"

define D_CORE_AND_SDK_VERSION "Wersja Core/SDK"

#define D_FLASH_WRITE_COUNT "Liczba zapisywanych plików Flash"

define D_FLASH_WRITE_COUNT "Liczba zapisow do pamieci"

#define D_MAC_ADDRESS "MAC Address"

define D_MAC_ADDRESS "Adres Mac"

#define D_MQTT_GROUP_TOPIC "MQTT Temat grupy"

define D_MQTT_GROUP_TOPIC "Temat grupy MQTT"

#define D_MQTT_FULL_TOPIC "MQTT Pelna nazwa tematu"

define D_MQTT_FULL_TOPIC "Pelny temat MQTT"

#define D_MDNS_DISCOVERY "mDNS Wykrywanie"

define D_MDNS_DISCOVERY "Wykrywanie mDNS"

#define D_MDNS_ADVERTISE "mDNS Rozglaszanie"

define D_MDNS_ADVERTISE "Rozglaszanie mDNS"

#define D_ESP_CHIP_ID "ESP Chip Id"

define D_ESP_CHIP_ID "ID kosci ESP"

#define D_FLASH_CHIP_ID "Flash Chip Id"

define D_FLASH_CHIP_ID "ID kosci flash"

#define D_FLASH_CHIP_SIZE "Flash Wielkosc"

define D_FLASH_CHIP_SIZE "Rozmiar flash"

#define D_FREE_PROGRAM_SPACE "Wolne miejsce Programu"

define D_FREE_PROGRAM_SPACE "Wolne miejsce programu"

#define D_UPGRADE_BY_WEBSERVER "Aktualizacja poprzez serwer web"

define D_UPGRADE_BY_WEBSERVER "Aktualizacja z serwera Web"

#define D_OTA_URL "OTA Url"

define D_OTA_URL "URL OTA"

#define D_START_UPGRADE "Start upgrade"

define D_START_UPGRADE "Zacznij aktualizacje"

#define D_UPLOAD_STARTED "Wgrywanie wystartowane"

define D_UPLOAD_STARTED "Wgrywanie rozpoczete"

#define D_UPGRADE_STARTED "Aktualizacja wystartowana"

define D_UPGRADE_STARTED "Aktualizacja rozpoczeta"

#define D_UPLOAD_ERR_3 "Bajt magiczny nie jest 0xE9"

define D_UPLOAD_ERR_3 "Magiczny bajt jest inny niz 0xE9"

#define D_UPLOAD_ERR_4 "Rozmiar programu jest większy niż rzeczywisty rozmiar pamięci flash"

define D_UPLOAD_ERR_4 "Rozmiar programu jest wiekszy niz rzeczywisty rozmiar pamieci flash"

#define D_UPLOAD_ERR_5 "Wgrywanie, bufor niezgodności stanu porównywanych bitów"

define D_UPLOAD_ERR_5 "Wgrywanie, bufor niezgodnosci stanu porownywanych bitow"

#define D_UPLOAD_ERR_6 "Wgrywanie bledne. Uruchomiono logowanie poziom 3"

define D_UPLOAD_ERR_6 "Blad wgrywania. Uruchomiono zapis do dziennika na poziomie 3"

#define D_UPLOAD_ERROR_CODE "Wgrywanie error code"

define D_UPLOAD_ERROR_CODE "Blad wgrywania"

#define D_ENABLE_WEBLOG_FOR_RESPONSE "Wlacz web logowanie 2, jesli oczekiwana iest odpowiedz"

define D_ENABLE_WEBLOG_FOR_RESPONSE "Wlacz poziom 2 zapisu Weblog, jesli oczekiwana jest odpowiedz"

#define D_NEED_USER_AND_PASSWORD "Wymagany uzytkownik=<username>&password=<password>"

define D_NEED_USER_AND_PASSWORD "Wymagany uzytkownik=<username>&haslo=<password>"

roblad commented 7 years ago

looks better :-)

maciejtarmas commented 7 years ago

Thanks :)

I'll give it some more polishing (pun intended) some time next week.

roblad commented 7 years ago

please attach full file after correction Theo will include to next release.

roblad commented 7 years ago

Ok, I have changed according your correction LATEST CODE pl-PL.h

/*
  pl-PL.h - localization for Polish without fonetick - Poland for Sonoff-Tasmota
  Copyright (C) 2017  Theo Arends (translated by roblad - Robert L.)
  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
  the Free Software Foundation, either version 3 of the License, or
  (at your option) any later version.
  This program is distributed in the hope that it will be useful,
  but WITHOUT ANY WARRANTY; without even the implied warranty of
  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  GNU General Public License for more details.
  You should have received a copy of the GNU General Public License
  along with this program.  If not, see <http://www.gnu.org/licenses/>.
*/

#ifndef _LANGUAGE_PL_PL_H_
#define _LANGUAGE_PL_PL_H_

/*************************** ATTENTION *******************************\
 *
 * Due to memory constraints only UTF-8 is supported.
 * To save code space keep text as short as possible.
 * Time and Date provided by SDK can not be localized (yet).
 * Use online command StateText to translate ON, OFF, HOLD and TOGGLE.
 * Use online command Prefix to translate cmnd, stat and tele.
 *
\*********************************************************************/

// "2017-03-07T11:08:02" - ISO8601:2004
#define D_YEAR_MONTH_SEPARATOR "-"
#define D_MONTH_DAY_SEPARATOR "-"
#define D_DATE_TIME_SEPARATOR "T"
#define D_HOUR_MINUTE_SEPARATOR ":"
#define D_MINUTE_SECOND_SEPARATOR ":"

#define D_DAY3LIST "PonWtoSroCzwPiaSobNie"
#define D_MONTH3LIST "StyLutMarKwiMajCzeLipSieWrzPazLisGru"

// Non JSON decimal separator
#define D_DECIMAL_SEPARATOR ","

// Common
#define D_ABORTED "Anulowany"
#define D_ACTIVE "Aktywny"
#define D_ADDRESS "Adres"
#define D_ADMIN "Admin"
#define D_AIR_QUALITY "Jakosc powietrza"
#define D_AIRQUALITY "JakPowietrza"
#define D_AP "AP"                    // Access Point
#define D_APMAC_ADDRESS "APMac"
#define D_APPENDED "Dolaczony"
#define D_AS "jak"
#define D_AUTO "AUTO"
#define D_BAUDRATE "Szybkosc transmisji"
#define D_BLINK "Miganie"
#define D_BLINKOFF "MiganieWyl"
#define D_BOOTVERSION "Uruchomienie"
#define D_BOOT_COUNT "Licznik uruchomienia"
#define D_BOOTCOUNT "LiczUruchomienia"
#define D_BRIGHTLIGHT "Jasny"
#define D_BUILDDATETIME "ZbudowanoDataCzas"
#define D_BUTTON "Przycisk"
#define D_CELSIUS "Celsiusza"
#define D_CODE "kod"                // Button code
#define D_COLDLIGHT "Zimny"
#define D_COMMAND "Komenda"
#define D_CONNECTED "Polaczony"
#define D_COREVERSION "Wersja"
#define D_COUNT "Licz"
#define D_COUNTER "Licznik"
#define D_CURRENT "Biezacy"          // As in Voltage and Current
#define D_DATA "Data"
#define D_DARKLIGHT "Ciemny"
#define D_DEBUG "Debug"
#define D_DISABLED "Zablokowany"
#define D_DNS_SERVER "DNS Server"
#define D_DNSSERVER "DNSServer"
#define D_DONE "Wykonane"
#define D_DST_TIME "DST"
#define D_EMPTY "Pusty"
#define D_EMULATION "Emulacja"
#define D_ENABLED "Otwarty"
#define D_ENDDST "KoniecDST"           // End Daylight Savings Time
#define D_ERASE "Nadpisz"
#define D_ERROR "Blad"
#define D_EVERY "Kazdy"
#define D_FAHRENHEIT "Fahrenheita"
#define D_FAILED "Bledny"
#define D_FALLBACK "Awaryjny"
#define D_FALLBACK_TOPIC "Przyczyna awarii"
#define D_FALLBACKTOPIC "AwariaPrzyczyna"
#define D_FALSE "Falsz"
#define D_FILE "Plik"
#define D_FLASHMODE "FlashMode"
#define D_FLASHSIZE "FlashWielkosc"
#define D_FREE_MEMORY "Wolna pamiec"
#define D_FREEMEMORY "Wolne"
#define D_FROM "z"
#define D_GATEWAY "Gateway"
#define D_GROUP "Grupa"
#define D_HEAPSIZE "Stos"
#define D_HIGH "Wysoki"
#define D_HOST "Serwer"
#define D_HOSTNAME "Nazwa serwera"
#define D_HUMIDITY "Wilgotnosc"
#define D_ILLUMINANCE "Oswietlenie"
#define D_IMMEDIATE "Natychmiastowe"      // Button immediate
#define D_INDEX "Indeks"
#define D_INFO "Informacja"
#define D_INITIALIZED "Zainicjowany"
#define D_IP_ADDRESS "Adres IP"
#define D_LIGHT "Swiatlo"
#define D_LOCAL_TIME "Lokalny"
#define D_LOW "Niski"
#define D_LWT "LWT"
#define D_MAC "Mac"
#define D_MASK "Maska"
#define D_MODULE "Modul"
#define D_MQTT "MQTT"
#define D_MULTI_PRESS "wielokrotne-nacisniecie"
#define D_NO "Nie"
#define D_NOISE "Halas"
#define D_NONE "Brak"
#define D_OFF "Wylaczony"
#define D_OFFLINE "Nieaktywny"
#define D_OK "Ok"
#define D_ON "Wlaczony"
#define D_ONLINE "Aktywny"
#define D_OR "lub"
#define D_PASSWORD "Haslo"
#define D_PERIOD "Okres"
#define D_PORT "Port"
#define D_POWER_FACTOR "Wspolczynik mocy"
#define D_POWERFACTOR "WspolczynikMocy"
#define D_POWERUSAGE "Moc"
#define D_PRESSURE "Cisnienie"
#define D_PRESSUREATSEALEVEL "Cisnienie na poziomie morza"
#define D_PROGRAM_FLASH_SIZE "Wielkosc Programu Flash"
#define D_PROGRAMFLASHSIZE "ProgramFlashSize"
#define D_PROGRAM_SIZE "Wielkosc programu"
#define D_PROGRAMSIZE "ProgramSize"
#define D_PROJECT "Projekt"
#define D_RECEIVED "Otrzymany"
#define D_RESTART "Restart"
#define D_RESTARTING "Restartowanie"
#define D_RESTART_REASON "Przyczyna restartu"
#define D_RESTARTREASON "PrzyczynaRestartu"
#define D_RESTORE "Przywracanie"
#define D_RETAINED "Zachowane"
#define D_SAVE "Zapisz"
#define D_SAVEADDRESS "AdresZapisu"
#define D_SAVECOUNT "LicznikZapisu"
#define D_SAVESTATE "StanZapisu"
#define D_SDKVERSION "SDK"
#define D_SELECTED "Wybrany"
#define D_SENSOR "Czujnik"
#define D_SERIAL "Serial"
#define D_BYTES "Bajtow"
#define D_SSID "SSId"
#define D_START "Start"
#define D_STARTED "Uruchomiony"
#define D_STARTDST "StartDST"        // Start Daylight Savings Time
#define D_STD_TIME "STD"
#define D_STOP "Stop"
#define D_SUBNET_MASK "Maska podsieci"
#define D_SUBNETMASK "MaskaPodsieci"
#define D_SUBSCRIBE_TO "Subskrybuj do"
#define D_SUCCESSFUL "Powodzenie"
#define D_SWITCH "Przelacznik"
#define D_SYNC "Sync"
#define D_SYS "Sys"                  // Sys log
#define D_TEMPERATURE "Temperatura"
#define D_TEMPERATURE_UNIT "JednTemp"
#define D_TIME "Czas"
#define D_TO "do"
#define D_TODAY "Dzisiaj"
#define D_TOGGLE "Przelacz"
#define D_TOPIC "Temat"
#define D_TOTAL "Suma"
#define D_TRANSMIT "Wyslij"
#define D_TRUE "Prawda"
#define D_TYPE "Typ"
#define D_UNKNOWN "Nieznany"
#define D_UPGRADE "Aktualizacja"
#define D_UPLOAD "Wgraj"
#define D_UPTIME "Uptime"
#define D_UTC_TIME "UTC"
#define D_USER "Uzytkownik"
#define D_VCC "VCC"
#define D_VERSION "Wersja"
#define D_VOLTAGE "Napiecie"
#define D_WARMLIGHT "Nagrzanie"
#define D_WEB "Web"                  // Web log
#define D_WEB_SERVER "Web Server"
#define D_WIFI "Wifi"
#define D_WRONG "Bledny"
#define D_YESTERDAY "Wczoraj"

// settings.ino
#define D_SAVED_TO_FLASH_AT "Zapisane do pamieci flash w"
#define D_LOADED_FROM_FLASH_AT "Wczytane z pamieci flash z"
#define D_USE_DEFAULTS "Uzyj domyslnych"
#define D_ERASED_SECTOR "Wymazany sektor"

// sonoff.ino
#define D_LEVEL_10 "poziom 1-0"
#define D_LEVEL_01 "poziom 0-1"
#define D_SERIAL_LOGGING_DISABLED "Wylaczony dziennik na porcie szeregowym"
#define D_SYSLOG_LOGGING_REENABLED "Wznowiono zapis do Syslog"

#define D_SET_BAUDRATE_TO "Ustaw szybkosc transmisji na"
#define D_RECEIVED_TOPIC "Otrzymany temat"
#define D_DATA_SIZE "Wielkosc danych"
#define D_ANALOG_INPUT0 "Analog0"

#define D_FINGERPRINT "Weryfikuj odcisk TLS..."
#define D_TLS_CONNECT_FAILED_TO "Nieudane polaczenie TLS do"
#define D_RETRY_IN "Sprobuj ponownie"
#define D_VERIFIED "Zweryfikowano"
#define D_INSECURE "Nieprawidlowe polaczenie z powodu blednego odcisku TLS"
#define D_CONNECT_FAILED_TO "Nie udalo sie nawiazac polaczenia"

// support.ino
#define D_OSWATCH "osWatch"
#define D_BLOCKED_LOOP "Petla zablokowana"
#define D_WPS_FAILED_WITH_STATUS "Blad WPSconfig ze statusem"
#define D_ACTIVE_FOR_1_MINUTE "aktywny 1 minute"
#define D_FAILED_TO_START "nie udalo sie uruchomic"
#define D_PATCH_ISSUE_2186 "Blad latki 2186"
#define D_CONNECTING_TO_AP "Laczenie z AP"
#define D_IN_MODE "w trybie"
#define D_CONNECT_FAILED_NO_IP_ADDRESS "Polaczenie nie powiodlo sie, poniewaz nie otrzymano adresu IP"
#define D_CONNECT_FAILED_AP_NOT_REACHED "Polaczenie nie powiodlo sie jako AP nie mozna osiagnac"
#define D_CONNECT_FAILED_WRONG_PASSWORD "Polaczenie nie powiodlo sie z nieprawidlowym haslem dostepu AP"
#define D_CONNECT_FAILED_AP_TIMEOUT "Nie udalo sie nawiazac polaczenia, limit czasu AP przekroczony"
#define D_ATTEMPTING_CONNECTION "Proba polaczenia..."
#define D_CHECKING_CONNECTION "Sprawdzanie polaczenia..."
#define D_QUERY_DONE "Wykonano zapytanie. Znaleziono uslugi MQTT"
#define D_MQTT_SERVICE_FOUND "Usluga MQTT została znaleziona"
#define D_I2CSCAN_DEVICES_FOUND_AT "Znaleziono urządzenie(a) na"
#define D_FOUND_AT "znalezione w"
#define D_I2CSCAN_UNKNOWN_ERROR_AT "Nieznany blad w"
#define D_I2CSCAN_NO_DEVICES_FOUND "Nie znaleziono urzadzen"
#define D_SYSLOG_HOST_NOT_FOUND "Syslog Host nie znaleziony"
// webserver.ino
#define D_MINIMAL_FIRMWARE_PLEASE_UPGRADE "Oprogramowanie MINIMAL - prosze uaktualnic"
#define D_WEBSERVER_ACTIVE_ON "Aktywny serwer Web"
#define D_WITH_IP_ADDRESS "z adresem IP"
#define D_WEBSERVER_STOPPED "Serwer Web zatrzymany"
#define D_FILE_NOT_FOUND "Plik nie odnaleziony"
#define D_REDIRECTED "Przekierowano do wlasnego portalu"
#define D_WIFIMANAGER_SET_ACCESSPOINT_AND_STATION "Menedzer Wifi ustawia punkt dostepowy i zachowuje stacje"
#define D_WIFIMANAGER_SET_ACCESSPOINT "Menedzer sieci Wi-Fi Access Point"
#define D_TRYING_TO_CONNECT "Probuje polaczyc urzadzenie z siecia"

#define D_RESTART_IN "Zrestartuj"
#define D_SECONDS "sekund"
#define D_DEVICE_WILL_RESTART "Urzadzenie zrestartuje sie za kilka sekund"
#define D_BUTTON_TOGGLE "Przelaczenie"
#define D_CONFIGURATION "Konfiguracja"
#define D_INFORMATION "Informacja"
#define D_FIRMWARE_UPGRADE "Uaktualnienie oprogramowania"
#define D_CONSOLE "Konsola"
#define D_CONFIRM_RESTART "Potwierdz restart"

#define D_CONFIGURE_MODULE "Konfiguruj modul"
#define D_CONFIGURE_WIFI "Konfiguruj WiFi"
#define D_CONFIGURE_MQTT "Konfiguruj MQTT"
#define D_CONFIGURE_DOMOTICZ "Konfiguruj Domoticz"
#define D_CONFIGURE_LOGGING "Konfiguruj zapis dziennika"
#define D_CONFIGURE_OTHER "Konfiguruj inne"
#define D_CONFIRM_RESET_CONFIGURATION "Potwierdz reset ustawien"
#define D_RESET_CONFIGURATION "Reset ustawien"
#define D_BACKUP_CONFIGURATION "Kopia ustawien"
#define D_RESTORE_CONFIGURATION "Przywrocenie ustawien"
#define D_MAIN_MENU "Menu glowne"

#define D_MODULE_PARAMETERS "Parametery modulu"
#define D_MODULE_TYPE "Typ modulu"
#define D_GPIO "GPIO"
#define D_SERIAL_IN "Serial In"
#define D_SERIAL_OUT "Serial Out"

#define D_WIFI_PARAMETERS "Parametry WiFi"
#define D_SCAN_FOR_WIFI_NETWORKS "Skanuj sieci WiFi"
#define D_SCAN_DONE "Skan wykonany"
#define D_NO_NETWORKS_FOUND "Nie znaleziono sieci"
#define D_REFRESH_TO_SCAN_AGAIN "Odswiez aby ponownie zeskanowac"
#define D_DUPLICATE_ACCESSPOINT "Kopiuj AP"
#define D_SKIPPING_LOW_QUALITY "Pominieto z powodu niskiej jakości sygnalu"
#define D_RSSI "RSSI"
#define D_WEP "WEP"
#define D_WPA_PSK "WPA PSK"
#define D_WPA2_PSK "WPA2 PSK"
#define D_AP1_SSID "AP1 SSID"
#define D_AP1_PASSWORD "Haslo AP1"
#define D_AP2_SSID "AP2 SSID"
#define D_AP2_PASSWORD "Haslo AP2"

#define D_MQTT_PARAMETERS "Parametery MQTT"
#define D_CLIENT "Klient"
#define D_FULL_TOPIC "Pelny temat"

#define D_LOGGING_PARAMETERS "Opcje dziennika"
#define D_LOG_LEVEL "poziom dziennika"
#define D_MORE_DEBUG "Wiecej informacji debugujacych"
#define D_SYSLOG_HOST "Syslog host"
#define D_SYSLOG_PORT "Syslog port"
#define D_TELEMETRY_PERIOD "Okres telemetrii"

#define D_OTHER_PARAMETERS "Inne parametery"
#define D_WEB_ADMIN_PASSWORD "Haslo administratora Web"
#define D_MQTT_ENABLE "MQTT aktywne"
#define D_FRIENDLY_NAME "Przyjazna nazwa"
#define D_BELKIN_WEMO "Belkin WeMo"
#define D_HUE_BRIDGE "Hue Bridge"
#define D_SINGLE_DEVICE "single device"
#define D_MULTI_DEVICE "multi device"

#define D_SAVE_CONFIGURATION "Zapisz ustawienia"
#define D_CONFIGURATION_SAVED "Ustawienia zapisane"
#define D_CONFIGURATION_RESET "Ustawienia zresetowane"

#define D_PROGRAM_VERSION "Wersja programu"
#define D_BUILD_DATE_AND_TIME "Dzien i godzina kompilacji"
#define D_CORE_AND_SDK_VERSION "Wersja Core/SDK"
#define D_FLASH_WRITE_COUNT "Liczba zapisow do pamieci"
#define D_MAC_ADDRESS "Adres Mac"
#define D_MQTT_HOST "Host MQTT"
#define D_MQTT_PORT "Port MQTT"
#define D_MQTT_CLIENT "Klient MQTT"
#define D_MQTT_USER "Uzytkownik MQTT"
#define D_MQTT_TOPIC "Temat MQTT"
#define D_MQTT_GROUP_TOPIC "Temat grupy MQTT"
#define D_MQTT_FULL_TOPIC "Pelny temat MQTT"
#define D_MDNS_DISCOVERY "Wykrywanie mDNS"
#define D_MDNS_ADVERTISE "Rozglaszanie mDNS"
#define D_ESP_CHIP_ID "ID ukladu ESP"
#define D_FLASH_CHIP_ID "ID ukladu pamieci flash"
#define D_FLASH_CHIP_SIZE "Rozmiar flash"
#define D_FREE_PROGRAM_SPACE "Wolne miejsce programu"

#define D_UPGRADE_BY_WEBSERVER "Aktualizacja z serwera Web"
#define D_OTA_URL "URL OTA"
#define D_START_UPGRADE "Zacznij aktualizacje"
#define D_UPGRADE_BY_FILE_UPLOAD "Aktualizacja poprzez wgranie pliku"
#define D_UPLOAD_STARTED "Wgrywanie rozpoczete"
#define D_UPGRADE_STARTED "Aktualizacja rozpoczeta"
#define D_UPLOAD_DONE "Wgrywanie zakonczone"
#define D_UPLOAD_ERR_1 "Nie wybrano pliku"
#define D_UPLOAD_ERR_2 "Niewystarczajaca ilosc miejsca"
#define D_UPLOAD_ERR_3 "Magiczny bajt jest inny niz 0xE9"
#define D_UPLOAD_ERR_4 "Rozmiar programu jest wiekszy niz rzeczywisty rozmiar pamieci flash"
#define D_UPLOAD_ERR_5 "Wgrywanie, bufor niezgodnosci stanu porownywanych bitow"
#define D_UPLOAD_ERR_6 "Blad wgrywania. Uruchomiono zapis do dziennika na poziomie 3"
#define D_UPLOAD_ERR_7 "Wgrywanie przerwane"
#define D_UPLOAD_ERR_8 "Bledny plik"
#define D_UPLOAD_ERR_9 "Plik jest za duzy"
#define D_UPLOAD_ERROR_CODE "Blad wgrywania"

#define D_ENTER_COMMAND "Wprowadz polecenie"
#define D_ENABLE_WEBLOG_FOR_RESPONSE "Wlacz poziom 2 zapisu Weblog, jesli oczekiwana jest odpowiedz"
#define D_NEED_USER_AND_PASSWORD "Wymagany uzytkownik=<username>&haslo=<password>"

// xdrv_domoticz.ino
#define D_DOMOTICZ_PARAMETERS "Parametry Domoticz"
#define D_DOMOTICZ_IDX "Idx"
#define D_DOMOTICZ_KEY_IDX "Key idx"
#define D_DOMOTICZ_SWITCH_IDX "Przelacznik idx"
#define D_DOMOTICZ_SENSOR_IDX "Sensor idx"
  #define DOMOTICZ_SENSORS_MAX_STRING_LENGTH 14
  #define D_DOMOTICZ_TEMP "Temp"
  #define D_DOMOTICZ_TEMP_HUM "Temp,Wilg"
  #define D_DOMOTICZ_TEMP_HUM_BARO "Temp,Wilg,Cis"
  #define D_DOMOTICZ_POWER_ENERGY "Moc,Energia"
  #define D_DOMOTICZ_ILLUMINANCE "Oswietl."
  #define D_DOMOTICZ_COUNT "Licznik"
  #define D_DOMOTICZ_VOLTAGE "Napiecie"
  #define D_DOMOTICZ_CURRENT "Prad"
#define D_DOMOTICZ_UPDATE_TIMER "Zaktualizuj czasomierz"

// xdrv_ir-send.ino
#define D_INVALID_JSON "Invalid JSON"
#define D_PROTOCOL_NOT_SUPPORTED "Protokol nie jest obslugiwany"
#define D_IR_PROTOCOL "PROTOCOL"
#define D_IR_BITS "BITS"
#define D_IR_DATA "DATA"
#define D_IRHVAC_VENDOR "VENDOR"
#define D_IRHVAC_POWER "POWER"
#define D_IRHVAC_MODE "MODE"
#define D_IRHVAC_FANSPEED "FANSPEED"
#define D_IRHVAC_TEMP "TEMP"
#define D_IRRECEIVED "IrReceived"

// xdrv_snfbridge.ino
#define D_RFRECEIVED "RfReceived"
#define D_START_LEARNING "Zacznij nauke"
#define D_SET_TO_DEFAULT "Ustaw domyslne"
#define D_DEFAULT_SENT "Domyslne wyslane"
#define D_LEARNED_SENT "Wyuczone wyslane"
#define D_LEARNING_ACTIVE "Wyuczone aktywne"
#define D_LEARN_FAILED "Uczenie niepowodzenie"
#define D_LEARNED "Wyuczone"

// xdrv_wemohue.ino
#define D_MULTICAST_DISABLED "Multicast jest wylaczony"
#define D_MULTICAST_REJOINED "Multicast (re)dolaczony"
#define D_MULTICAST_JOIN_FAILED "Multicast nie powiodlo sie"
#define D_FAILED_TO_SEND_RESPONSE "Nie udalo sie wyslac odpowiedzi"

#define D_WEMO "WeMo"
#define D_WEMO_BASIC_EVENT "WeMo podstawowe zdarzenie"
#define D_WEMO_EVENT_SERVICE "WeMo zdarzenie service"
#define D_WEMO_SETUP "WeMo setup"
#define D_RESPONSE_SENT "Odpowiedz wyslana"

#define D_HUE "Hue"
#define D_HUE_BRIDGE_SETUP "Hue setup"
#define D_HUE_API_NOT_IMPLEMENTED "Hue API nie zaimplementowane"
#define D_HUE_API "Hue API"
#define D_HUE_POST_ARGS "Hue POST args"
#define D_3_RESPONSE_PACKETS_SENT "3 pakiety odpowiedzi wysylane"

// xsns_dht.ino
#define D_TIMEOUT_WAITING_FOR "Trwa oczekiwanie"
#define D_START_SIGNAL_LOW "sygnał startowy niski"
#define D_START_SIGNAL_HIGH "sygnał startowy wysoki"
#define D_PULSE "pulse"
#define D_CHECKSUM_FAILURE "Bledna suma kontrolmna"

// xsns_ds18b20.ino
#define D_SENSOR_BUSY "Czujnik DS18x20 zajety"
#define D_SENSOR_CRC_ERROR "Czujnik DS18x20 blad CRC"

// xsns_hlw8012.ino
#define D_MAXPOWERREACHED "MaksMocOsiagnieta"
#define D_MAXPOWERREACHEDRETRY "MaksMocOsiagnietaPonowienie"
#define D_POWERMONITOR "MonitorMocy"
#define D_ENERGYMONITOR "MonitorEnergii"
#define D_MAXENERGYREACHED "MaksEnergiaOsiagnieta"
#define D_ENERGY_TODAY "Energia Dzisiaj"
#define D_ENERGY_YESTERDAY "Energia Wczoraj"
#define D_ENERGY_TOTAL "Energia suma"

// xsns_sht1x.ino
#define D_SENSOR_DID_NOT_ACK_COMMAND "Czujnik nie otrzymal komendy ACK"
#define D_SHT1X_FOUND "SHT1X znaleziony"

// sonoff_template.h
// Max string length is 8 characters including suffixes
#define D_SENSOR_NONE     "Brak"
#define D_SENSOR_DHT11    "DHT11"
#define D_SENSOR_AM2301   "AM2301"
#define D_SENSOR_DHT22    "DHT22"
#define D_SENSOR_DS18X20  "DS18x20"
#define D_SENSOR_I2C_SCL  "I2C SCL"
#define D_SENSOR_I2C_SDA  "I2C SDA"
#define D_SENSOR_WS2812   "WS2812"
#define D_SENSOR_IRSEND   "IRsend"
#define D_SENSOR_SWITCH   "Przela"   // Suffix "1"
#define D_SENSOR_BUTTON   "Przyci"   // Suffix "1"
#define D_SENSOR_RELAY    "Przeka"    // Suffix "1i"
#define D_SENSOR_LED      "Led"      // Suffix "1i"
#define D_SENSOR_PWM      "PWM"      // Suffix "1"
#define D_SENSOR_COUNTER  "Liczni"  // Suffix "1"
#define D_SENSOR_IRRECV   "IRrecv"
#define D_SENSOR_SPI_CS   "SPI CS"
#define D_SENSOR_SPI_DC   "SPI DC"
#define D_SENSOR_BACKLIGHT "BLight"

// Units
#define D_UNIT_AMPERE "A"
#define D_UNIT_HOUR "Godz"
#define D_UNIT_KILOWATTHOUR "kWh"
#define D_UNIT_LUX "lx"
#define D_UNIT_MICROSECOND "us"
#define D_UNIT_MILLIAMPERE "mA"
#define D_UNIT_MILLISECOND "ms"
#define D_UNIT_MINUTE "Min"
#define D_UNIT_PRESSURE "hPa"
#define D_UNIT_SECOND "sec"
#define D_UNIT_SECTORS "sektory"
#define D_UNIT_VOLT "V"
#define D_UNIT_WATT "W"
#define D_UNIT_WATTHOUR "Wh"

// Log message prefix
#define D_LOG_APPLICATION "APP: "
#define D_LOG_BRIDGE "BRG: "
#define D_LOG_CONFIG "CFG: "
#define D_LOG_COMMAND "CMD: "
#define D_LOG_DHT "DHT: "
#define D_LOG_DOMOTICZ "DOM: "
#define D_LOG_DSB "DSB: "
#define D_LOG_HTTP "HTP: "
#define D_LOG_I2C "I2C: "
#define D_LOG_IRR "IRR: "
#define D_LOG_LOG "LOG: "
#define D_LOG_MODULE "MOD: "
#define D_LOG_MDNS "DNS: "
#define D_LOG_MQTT "MQT: "
#define D_LOG_OTHER "OTH: "
#define D_LOG_RESULT "RSL: "
#define D_LOG_SERIAL "SER: "
#define D_LOG_SHT1 "SHT: "
#define D_LOG_UPLOAD "UPL: "
#define D_LOG_UPNP "UPP: "
#define D_LOG_WIFI "WIF: "

// Result
#define D_RSLT_RESULT "REZULTAD"
#define D_RSLT_INFO "INFO"
#define D_RSLT_STATE "STAN"
#define D_RSLT_SENSOR "SENSOR"
#define D_RSLT_UPTIME "UPTIME"
#define D_RSLT_MARGINS "MARGINES"
#define D_RSLT_WARNING "OSTRZEZENIE"
#define D_RSLT_ENERGY "ENERGIA"

// Commands
#define D_CMND_MQTTHOST "MqttHost"
#define D_CMND_MQTTPORT "MqttPort"
#define D_CMND_MQTTRETRY "MqttRetry"
#define D_CMND_STATETEXT "StateText"
#define D_CMND_MQTTFINGERPRINT "MqttFingerprint"
#define D_CMND_MQTTCLIENT "MqttClient"
#define D_CMND_MQTTUSER "MqttUser"
#define D_CMND_MQTTPASSWORD "MqttPassword"
#define D_CMND_FULLTOPIC "FullTopic"
#define D_CMND_PREFIX "Prefix"
  #define PRFX_MAX_STRING_LENGTH 5
  #define D_CMND "cmnd"
  #define D_STAT "stat"
  #define D_TELE "tele"
#define D_CMND_GROUPTOPIC "GroupTopic"
#define D_CMND_TOPIC "Topic"
#define D_CMND_BUTTONTOPIC "ButtonTopic"
#define D_CMND_SWITCHTOPIC "SwitchTopic"
#define D_CMND_BUTTONRETAIN "ButtonRetain"
#define D_CMND_SWITCHRETAIN "SwitchRetain"
#define D_CMND_POWERRETAIN "PowerRetain"
#define D_CMND_SENSORRETAIN "SensorRetain"
#define D_CMND_BACKLOG "Backlog"
#define D_CMND_DELAY "Delay"
#define D_CMND_STATUS "Status"
  #define D_STATUS1_PARAMETER "PRM"
  #define D_STATUS2_FIRMWARE "FWR"
  #define D_STATUS3_LOGGING "LOG"
  #define D_STATUS4_MEMORY "MEM"
  #define D_STATUS5_NETWORK "NET"
  #define D_STATUS6_MQTT "MQT"
  #define D_STATUS7_TIME "TIM"
  #define D_STATUS8_POWER "PWR"
  #define D_STATUS9_MARGIN "PTH"
  #define D_STATUS10_SENSOR "SNS"
  #define D_STATUS11_STATUS "STS"
#define D_CMND_POWER "Power"
  #define D_RSLT_POWER "POWER"
#define D_CMND_POWERONSTATE "PowerOnState"
#define D_CMND_PULSETIME "PulseTime"
#define D_CMND_BLINKTIME "BlinkTime"
#define D_CMND_BLINKCOUNT "BlinkCount"
#define D_CMND_SAVEDATA "SaveData"
#define D_CMND_SETOPTION "SetOption"
#define D_CMND_TEMPERATURE_RESOLUTION "TempRes"
#define D_CMND_HUMIDITY_RESOLUTION "HumRes"
#define D_CMND_PRESSURE_RESOLUTION "PressRes"
#define D_CMND_POWER_RESOLUTION "WattRes"
#define D_CMND_VOLTAGE_RESOLUTION "VoltRes"
#define D_CMND_ENERGY_RESOLUTION "EnergyRes"
#define D_CMND_MODULE "Module"
#define D_CMND_MODULES "Modules"
#define D_CMND_GPIO "GPIO"
  #define D_NOT_SUPPORTED "Not supported"
#define D_CMND_GPIOS "GPIOs"
#define D_CMND_PWM "PWM"
#define D_CMND_PWMFREQUENCY "PWMFrequency"
#define D_CMND_PWMRANGE "PWMRange"
#define D_CMND_COUNTER "Counter"
#define D_CMND_COUNTERTYPE "CounterType"
#define D_CMND_COUNTERDEBOUNCE "CounterDebounce"
#define D_CMND_SLEEP "Sleep"
#define D_CMND_UPLOAD "Upload"
#define D_CMND_UPGRADE "Upgrade"
  #define D_ONE_OR_GT "1 or >%s to upgrade"
#define D_CMND_OTAURL "OtaUrl"
#define D_CMND_SERIALLOG "SerialLog"
#define D_CMND_SYSLOG "SysLog"
#define D_CMND_LOGHOST "LogHost"
#define D_CMND_LOGPORT "LogPort"
#define D_CMND_IPADDRESS "IPAddress"
#define D_CMND_NTPSERVER "NtpServer"
#define D_CMND_AP "Ap"
#define D_CMND_SSID "SSId"
#define D_CMND_PASSWORD "Password"
#define D_CMND_HOSTNAME "Hostname"
#define D_CMND_WIFICONFIG "WifiConfig"
  #define WCFG_MAX_STRING_LENGTH 12
  #define D_WCFG_0_RESTART "Restart"
  #define D_WCFG_1_SMARTCONFIG "SmartConfig"
  #define D_WCFG_2_WIFIMANAGER "WifiManager"
  #define D_WCFG_3_WPSCONFIG "WPSConfig"
  #define D_WCFG_4_RETRY "Retry"
  #define D_WCFG_5_WAIT "Wait"
#define D_CMND_FRIENDLYNAME "FriendlyName"
#define D_CMND_SWITCHMODE "SwitchMode"
#define D_CMND_WEBSERVER "Webserver"
  #define D_WEBSERVER_MODE "WebServerMode"
  #define D_ACTIVE_FOR "Active for"
  #define D_ON_DEVICE "on"
#define D_CMND_WEBPASSWORD "WebPassword"
#define D_CMND_WEBLOG "WebLog"
#define D_CMND_EMULATION "Emulation"
#define D_CMND_TELEPERIOD "TelePeriod"
#define D_CMND_RESTART "Restart"
  #define D_ONE_TO_RESTART "1 to restart"
#define D_CMND_RESET "Reset"
  #define D_RESET_AND_RESTARTING "Reset and Restarting"
  #define D_ONE_TO_RESET "1 to reset"
#define D_CMND_TIMEZONE "Timezone"
#define D_CMND_ALTITUDE "Altitude"
#define D_CMND_LEDPOWER "LedPower"
#define D_CMND_LEDSTATE "LedState"
#define D_CMND_CFGDUMP "CfgDump"
#define D_CMND_I2CSCAN "I2CScan"
#define D_CMND_EXCEPTION "Exception"

// Commands xdrv_domoticz.ino
#define D_CMND_DOMOTICZ "Domoticz"
#define D_CMND_IDX "Idx"
#define D_CMND_KEYIDX "KeyIdx"
#define D_CMND_SWITCHIDX "SwitchIdx"
#define D_CMND_SENSORIDX "SensorIdx"
#define D_CMND_UPDATETIMER "UpdateTimer"

// Commands xdrv_ir_send.ino
#define D_CMND_IRSEND "IRSend"
#define D_CMND_IRHVAC "IRHVAC"

// Commands xdrv_snfbridge.ino
#define D_CMND_RFKEY "RfKey"
#define D_CMND_RFDEFAULT "RfDefault"

// Commands xdrv_snfled.ino
#define D_CMND_COLOR "Color"
#define D_CMND_COLORTEMPERATURE "CT"
#define D_CMND_DIMMER "Dimmer"
#define D_CMND_LEDTABLE "LedTable"
#define D_CMND_FADE "Fade"
#define D_CMND_SPEED "Speed"
#define D_CMND_WAKEUPDURATION "WakeUpDuration"
#define D_CMND_WAKEUP "Wakeup"

// Commands xdrv_ws2812.ino
#define D_CMND_PIXELS "Pixels"
#define D_CMND_LED "Led"
#define D_CMND_WIDTH "Width"
#define D_CMND_SCHEME "Scheme"

// Commands xsns_hlw8012.ino
#define D_CMND_POWERLOW "PowerLow"
#define D_CMND_POWERHIGH "PowerHigh"
#define D_CMND_VOLTAGELOW "VoltageLow"
#define D_CMND_VOLTAGEHIGH "VoltageHigh"
#define D_CMND_CURRENTLOW "CurrentLow"
#define D_CMND_CURRENTHIGH "CurrentHigh"
#define D_CMND_ENERGYRESET "EnergyReset"
#define D_CMND_HLWPCAL "HlwPcal"
#define D_CMND_HLWPSET "HlwPset"
#define D_CMND_HLWUCAL "HlwUcal"
#define D_CMND_HLWUSET "HlwUset"
#define D_CMND_HLWICAL "HlwIcal"
#define D_CMND_HLWISET "HlwIset"
#define D_CMND_MAXPOWER "MaxPower"
#define D_CMND_MAXPOWERHOLD "MaxPowerHold"
#define D_CMND_MAXPOWERWINDOW "MaxPowerWindow"
#define D_CMND_SAFEPOWER "SafePower"
#define D_CMND_SAFEPOWERHOLD "SafePowerHold"
#define D_CMND_SAFEPOWERWINDOW "SafePowerWindow"
#define D_CMND_MAXENERGY "MaxEnergy"
#define D_CMND_MAXENERGYSTART "MaxEnergyStart"

#endif  // _LANGUAGE_PL_PL_H_
maciejtarmas commented 7 years ago

@roblad

I have forked the repo at https://github.com/maciejtarmas/Sonoff-Tasmota and added the translation file. You can edit it there. Once it's finished, we can make a pull request.

roblad commented 7 years ago

I forked and changed, additionaly I send pool requwes for my changes

arendst commented 7 years ago

Implemented in master release v5.9.0