Skip to content

Commit

Permalink
added internationalization
Browse files Browse the repository at this point in the history
  • Loading branch information
Klaus Weber committed Nov 18, 2024
1 parent 3d14757 commit 4b98ae9
Show file tree
Hide file tree
Showing 13 changed files with 126 additions and 7 deletions.
10 changes: 10 additions & 0 deletions admin/i18n/de/translations.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"Instance Settings": "Instanzeinstellungen",
"IP Address": "IP-Adresse",
"Enter the IP address of the device": "Geben Sie die IP-Adresse oder den Hostnamen des Geräts ein",
"Port": "Hafen",
"Enter the port number": "Geben Sie die Portnummer ein",
"Poll Interval": "Umfrageintervall",
"Enter the polling interval in seconds": "Geben Sie das Abfrageintervall in Sekunden ein",
"Enter the IP address or host name of the device": "Geben Sie die IP-Adresse oder den Hostnamen des Geräts ein"
}
9 changes: 9 additions & 0 deletions admin/i18n/en/translations.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"Instance Settings": "Instance Settings",
"IP Address": "IP Address",
"Enter the IP address or host name of the device": "Enter the IP address or host name of the device",
"Port": "Port",
"Enter the port number": "Enter the port number",
"Poll Interval": "Poll Interval",
"Enter the polling interval in seconds": "Enter the polling interval in seconds"
}
10 changes: 10 additions & 0 deletions admin/i18n/es/translations.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"Instance Settings": "Configuración de instancia",
"IP Address": "Dirección IP",
"Enter the IP address of the device": "Ingrese la dirección IP o el nombre de host del dispositivo",
"Port": "Puerto",
"Enter the port number": "Introduzca el número de puerto",
"Poll Interval": "Intervalo de encuesta",
"Enter the polling interval in seconds": "Ingrese el intervalo de sondeo en segundos",
"Enter the IP address or host name of the device": "Ingrese la dirección IP o el nombre de host del dispositivo"
}
10 changes: 10 additions & 0 deletions admin/i18n/fr/translations.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"Instance Settings": "Paramètres des instances",
"IP Address": "Adresse IP",
"Enter the IP address of the device": "Entrez l'adresse IP ou le nom d'hôte de l'appareil",
"Port": "Port",
"Enter the port number": "Entrez le numéro de port",
"Poll Interval": "Intervalle de sondage",
"Enter the polling interval in seconds": "Entrez l'intervalle d'interrogation en secondes",
"Enter the IP address or host name of the device": "Entrez l'adresse IP ou le nom d'hôte de l'appareil"
}
10 changes: 10 additions & 0 deletions admin/i18n/it/translations.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"Instance Settings": "Impostazioni dell'istanza",
"IP Address": "Indirizzo IP",
"Enter the IP address of the device": "Immettere l'indirizzo IP o il nome host del dispositivo",
"Port": "Porta",
"Enter the port number": "Immettere il numero di porta",
"Poll Interval": "Intervallo di sondaggio",
"Enter the polling interval in seconds": "Immettere l'intervallo di polling in secondi",
"Enter the IP address or host name of the device": "Immettere l'indirizzo IP o il nome host del dispositivo"
}
10 changes: 10 additions & 0 deletions admin/i18n/nl/translations.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"Instance Settings": "Instantie-instellingen",
"IP Address": "IP-adres",
"Enter the IP address of the device": "Voer het IP-adres of de hostnaam van het apparaat in",
"Port": "Haven",
"Enter the port number": "Voer het poortnummer in",
"Poll Interval": "Poll-interval",
"Enter the polling interval in seconds": "Voer het polling-interval in seconden in",
"Enter the IP address or host name of the device": "Voer het IP-adres of de hostnaam van het apparaat in"
}
10 changes: 10 additions & 0 deletions admin/i18n/pl/translations.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"Instance Settings": "Ustawienia instancji",
"IP Address": "Adres IP",
"Enter the IP address of the device": "Wprowadź adres IP lub nazwę hosta urządzenia",
"Port": "Port",
"Enter the port number": "Wprowadź numer portu",
"Poll Interval": "Interwał ankiety",
"Enter the polling interval in seconds": "Wprowadź interwał odpytywania w sekundach",
"Enter the IP address or host name of the device": "Wprowadź adres IP lub nazwę hosta urządzenia"
}
10 changes: 10 additions & 0 deletions admin/i18n/pt/translations.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"Instance Settings": "Configurações de instância",
"IP Address": "Endereço IP",
"Enter the IP address of the device": "Insira o endereço IP ou nome do host do dispositivo",
"Port": "Porta",
"Enter the port number": "Digite o número da porta",
"Poll Interval": "Intervalo de pesquisa",
"Enter the polling interval in seconds": "Insira o intervalo de pesquisa em segundos",
"Enter the IP address or host name of the device": "Insira o endereço IP ou nome do host do dispositivo"
}
10 changes: 10 additions & 0 deletions admin/i18n/ru/translations.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"Instance Settings": "Настройки экземпляра",
"IP Address": "IP-адрес",
"Enter the IP address of the device": "Введите IP-адрес или имя хоста устройства.",
"Port": "Порт",
"Enter the port number": "Введите номер порта",
"Poll Interval": "Интервал опроса",
"Enter the polling interval in seconds": "Введите интервал опроса в секундах",
"Enter the IP address or host name of the device": "Введите IP-адрес или имя хоста устройства."
}
10 changes: 10 additions & 0 deletions admin/i18n/uk/translations.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"Instance Settings": "Налаштування екземпляра",
"IP Address": "IP-адреса",
"Enter the IP address of the device": "Введіть IP-адресу або ім’я хоста пристрою",
"Port": "Порт",
"Enter the port number": "Введіть номер порту",
"Poll Interval": "Інтервал опитування",
"Enter the polling interval in seconds": "Введіть інтервал опитування в секундах",
"Enter the IP address or host name of the device": "Введіть IP-адресу або ім’я хоста пристрою"
}
10 changes: 10 additions & 0 deletions admin/i18n/zh-cn/translations.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"Instance Settings": "实例设置",
"IP Address": "IP地址",
"Enter the IP address of the device": "输入设备的IP地址或主机名",
"Port": "港口",
"Enter the port number": "输入端口号",
"Poll Interval": "轮询间隔",
"Enter the polling interval in seconds": "输入轮询间隔(以秒为单位)",
"Enter the IP address or host name of the device": "输入设备的IP地址或主机名"
}
10 changes: 5 additions & 5 deletions admin/jsonConfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,13 @@
"items": {
"_options": {
"type": "panel",
"label": "Adapter Settings",
"label": "Instance Settings",
"items": {
"ip_address": {
"type": "text",
"label": "IP Address",
"default": "192.168.2.177",
"tooltip": "Enter the IP address of the device",
"help": "Enter the IP address or host name of the device",
"xs": 6,
"sm": 6,
"md": 6,
Expand All @@ -24,7 +24,7 @@
"type": "number",
"label": "Port",
"default": 65534,
"tooltip": "Enter the port number",
"help": "Enter the port number",
"xs": 6,
"sm": 6,
"md": 6,
Expand All @@ -33,9 +33,9 @@
},
"poll_interval": {
"type": "number",
"label": "Poll Interval (sec)",
"label": "Poll Interval",
"default": 30,
"tooltip": "Enter the polling interval in seconds",
"help": "Enter the polling interval in seconds",
"xs": 12,
"sm": 12,
"md": 6,
Expand Down
14 changes: 12 additions & 2 deletions io-package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,18 @@
"uk": "Адаптер ioBroker для читання входів і виходів контролера UVR16xx від Technische Alternative за допомогою BL-NET.",
"zh-cn": "用于通过 BL-NET 读取 Technische Alternative 的 UVR16xx 控制器的输入和输出的 ioBroker 适配器。"
},
"authors": ["Klaus Weber <klausatweberesprit@gmail.com>"],
"keywords": ["BL-NET", "UVR1611", "UVR16x2", "solar", "BUSO", "Technische", "Alternative"],
"authors": [
"Klaus Weber <klausatweberesprit@gmail.com>"
],
"keywords": [
"BL-NET",
"UVR1611",
"UVR16x2",
"solar",
"BUSO",
"Technische",
"Alternative"
],
"licenseInformation": {
"type": "free",
"license": "MIT"
Expand Down

0 comments on commit 4b98ae9

Please sign in to comment.