Skip to content

Commit

Permalink
Merge pull request #419 from mattreim/Hide-virtual-sensors-and-switch…
Browse files Browse the repository at this point in the history
…-groups

Hide virtual sensors and switch groups
  • Loading branch information
Jey-Cee authored Nov 20, 2024
2 parents 2a66a69 + 043c4a7 commit 1428d0b
Show file tree
Hide file tree
Showing 14 changed files with 397 additions and 206 deletions.
10 changes: 6 additions & 4 deletions admin/i18n/de/translations.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,16 +19,18 @@
"Manufacturer": "Hersteller",
"Model ID": "Modell-ID",
"Name": "Name",
"Name of the new group:": "Name der neuen Gruppe:",
"Name of the new group": "Name der neuen Gruppe",
"OR": "oder mit Anmeldedaten",
"Ok": "Ok",
"Open Network": "Neue Geräte anlernen",
"Settings": "Einstellungen",
"Type": "Typ",
"deConz Address": "deConz Adresse",
"deConz REST API Version": "deConz REST API Version",
"deConz REST-API Version": "deConz REST-API Version",
"deConz Version": "deConz Version",
"deConz adapter settings": "deConz Adapter Einstellungen",
"error creating API key: ": "Fehler beim API key erstellen: ",
"link button not pressed": "Bitte zuerst \"Unlock Gateway\" in der Web App Klicken"
"error creating API key": "Fehler beim API key erstellen",
"link button not pressed": "Bitte zuerst \"Unlock Gateway\" in der Web App Klicken",
"Hide switch groups": "Schaltergruppen ausblenden",
"Hide virtual sensors": "Virtuelle Sensoren ausblenden"
}
10 changes: 6 additions & 4 deletions admin/i18n/en/translations.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,16 +19,18 @@
"Manufacturer": "Manufacturer",
"Model ID": "Model ID",
"Name": "Name",
"Name of the new group:": "Name of the new group:",
"Name of the new group": "Name of the new group",
"OR": "or with credentials",
"Ok": "Ok",
"Open Network": "Open Network",
"Settings": "Settings",
"Type": "Type",
"deConz Address": "deConz Address",
"deConz REST API Version": "deConz REST API Version",
"deConz REST-API Version": "deConz REST-API Version",
"deConz Version": "deConz Version",
"deConz adapter settings": "deConz adapter settings",
"error creating API key: ": "error creating API key: ",
"link button not pressed": "Please first click on \"Unlock Gateway\" in the web app"
"error creating API key": "error creating API key",
"link button not pressed": "Please first click on \"Unlock Gateway\" in the web app",
"Hide switch groups": "Hide switch groups",
"Hide virtual sensors": "Hide virtual sensors"
}
10 changes: 6 additions & 4 deletions admin/i18n/es/translations.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,16 +19,18 @@
"Manufacturer": "Fabricante",
"Model ID": "ID de modelo",
"Name": "Nombre",
"Name of the new group:": "Nombre del nuevo grupo:",
"Name of the new group": "Nombre del nuevo grupo",
"OR": "o",
"Ok": "Ok",
"Open Network": "Red abierta",
"Settings": "Settings",
"Type": "Tipo",
"deConz Address": "deConz Address",
"deConz REST API Version": "Versión de la API REST deConz",
"deConz REST-API Version": "Versión de la API-REST deConz",
"deConz Version": "Versión deConz",
"deConz adapter settings": "deConz adapter settings",
"error creating API key: ": "error creating API key: ",
"link button not pressed": "Please first click on \"Unlock Gateway\" in the web app"
"error creating API key": "error creating API key",
"link button not pressed": "Please first click on \"Unlock Gateway\" in the web app",
"Hide switch groups": "Ocultar grupos de interruptores",
"Hide virtual sensors": "Ocultar sensores virtuales"
}
10 changes: 6 additions & 4 deletions admin/i18n/fr/translations.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,16 +19,18 @@
"Manufacturer": "Fabricant",
"Model ID": "ID du modèle",
"Name": "prénom",
"Name of the new group:": "Nom du nouveau groupe:",
"Name of the new group": "Nom du nouveau groupe",
"OR": "ou",
"Ok": "Ok",
"Open Network": "Réseau ouvert",
"Settings": "Settings",
"Type": "Type",
"deConz Address": "deConz Address",
"deConz REST API Version": "Version de l'API REST deConz",
"deConz REST-API Version": "Version de l'API-REST deConz",
"deConz Version": "Version deConz",
"deConz adapter settings": "deConz adapter settings",
"error creating API key: ": "error creating API key: ",
"link button not pressed": "Please first click on \"Unlock Gateway\" in the web app"
"error creating API key": "error creating API key",
"link button not pressed": "Please first click on \"Unlock Gateway\" in the web app",
"Hide switch groups": "Masquer les groupes de commutateurs",
"Hide virtual sensors": "Masquer les capteurs virtuels"
}
10 changes: 6 additions & 4 deletions admin/i18n/it/translations.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,16 +19,18 @@
"Manufacturer": "fabbricante",
"Model ID": "ID modello",
"Name": "Nome",
"Name of the new group:": "Nome del nuovo gruppo:",
"Name of the new group": "Nome del nuovo gruppo",
"OR": "o",
"Ok": "Ok",
"Open Network": "Apri la rete",
"Settings": "Settings",
"Type": "genere",
"deConz Address": "deConz Address",
"deConz REST API Version": "Versione dell'API REST deConz",
"deConz REST-API Version": "Versione dell'REST-API deConz",
"deConz Version": "versione deConz",
"deConz adapter settings": "deConz adapter settings",
"error creating API key: ": "error creating API key: ",
"link button not pressed": "Please first click on \"Unlock Gateway\" in the web app"
"error creating API key": "error creating API key",
"link button not pressed": "Please first click on \"Unlock Gateway\" in the web app",
"Hide switch groups": "Nascondi gruppi di commutazione",
"Hide virtual sensors": "Nascondi sensori virtuali"
}
10 changes: 6 additions & 4 deletions admin/i18n/nl/translations.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,16 +19,18 @@
"Manufacturer": "Fabrikant",
"Model ID": "Model ID",
"Name": "Naam",
"Name of the new group:": "Naam van de nieuwe groep:",
"Name of the new group": "Naam van de nieuwe groep",
"OR": "of",
"Ok": "Ok",
"Open Network": "Open netwerk",
"Settings": "Settings",
"Type": "Type",
"deConz Address": "deConz Address",
"deConz REST API Version": "deConz REST API-versie",
"deConz REST-API Version": "deConz REST-API-versie",
"deConz Version": "deConz-versie",
"deConz adapter settings": "deConz adapter instellingen",
"error creating API key: ": "fout bij aanmaken API key: ",
"link button not pressed": "Please first click on \"Unlock Gateway\" in the web app"
"error creating API key": "fout bij aanmaken API key",
"link button not pressed": "Please first click on \"Unlock Gateway\" in the web app",
"Hide switch groups": "Schakelgroepen verbergen",
"Hide virtual sensors": "Verberg virtuele sensoren"
}
10 changes: 6 additions & 4 deletions admin/i18n/pl/translations.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,16 +19,18 @@
"Manufacturer": "Producent",
"Model ID": "ID modelu",
"Name": "Nazwa",
"Name of the new group:": "Nazwa nowej grupy:",
"Name of the new group": "Nazwa nowej grupy",
"OR": "lub",
"Ok": "Ok",
"Open Network": "Otwórz sieć",
"Settings": "Ustawienia",
"Type": "Typ",
"deConz Address": "deConz Address",
"deConz REST API Version": "Wersja programu REST API deConz",
"deConz REST-API Version": "Wersja programu REST-API deConz",
"deConz Version": "Wersja deConz",
"deConz adapter settings": "deConz adapter settings",
"error creating API key: ": "error creating API key: ",
"link button not pressed": "Please first click on \"Unlock Gateway\" in the web app"
"error creating API key": "error creating API key",
"link button not pressed": "Please first click on \"Unlock Gateway\" in the web app",
"Hide switch groups": "Ukryj grupy przełączników",
"Hide virtual sensors": "Ukryj wirtualne czujniki"
}
10 changes: 6 additions & 4 deletions admin/i18n/pt/translations.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,16 +19,18 @@
"Manufacturer": "Fabricante",
"Model ID": "ID do modelo",
"Name": "Nome",
"Name of the new group:": "Nome do novo grupo:",
"Name of the new group": "Nome do novo grupo",
"OR": "ou",
"Ok": "Ok",
"Open Network": "Rede Aberta",
"Settings": "Configurações",
"Type": "Tipo",
"deConz Address": "deConz Address",
"deConz REST API Version": "Versão da API deConz REST",
"deConz REST-API Version": "Versão da REST-API deConz",
"deConz Version": "Versão do deConz",
"deConz adapter settings": "Configurações do adaptador deConz",
"error creating API key: ": "Erro ao criar chave API: ",
"link button not pressed": "Clique primeiro em \"Unlock Gateway\" no aplicativo da web"
"error creating API key": "Erro ao criar chave API",
"link button not pressed": "Clique primeiro em \"Unlock Gateway\" no aplicativo da web",
"Hide switch groups": "Ocultar grupos de troca",
"Hide virtual sensors": "Ocultar sensores virtuais"
}
10 changes: 6 additions & 4 deletions admin/i18n/ru/translations.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,16 +19,18 @@
"Manufacturer": "производитель",
"Model ID": "ID модели",
"Name": "Имя",
"Name of the new group:": "Название новой группы:",
"Name of the new group": "Название новой группы",
"OR": "или же",
"Ok": "Ok",
"Open Network": "Открытая сеть",
"Settings": "Настройки",
"Type": "Тип",
"deConz Address": "Адрес deConz",
"deConz REST API Version": "Версия API REST deConz",
"deConz REST-API Version": "Версия REST-API deConz",
"deConz Version": "Версия deConz",
"deConz adapter settings": "Настройки драйвера deConz",
"error creating API key: ": "ошибка создания ключа API: ",
"link button not pressed": "Сначала нажмите «Разблокировать шлюз» в веб-приложении."
"error creating API key": "ошибка создания ключа API",
"link button not pressed": "Сначала нажмите «Разблокировать шлюз» в веб-приложении.",
"Hide switch groups": "Скрыть группы переключателей",
"Hide virtual sensors": "Скрыть виртуальные датчики"
}
10 changes: 6 additions & 4 deletions admin/i18n/uk/translations.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,16 +19,18 @@
"Manufacturer": "Виробник",
"Model ID": "ID моделі",
"Name": "Ім'я",
"Name of the new group:": "Назва нової групи:",
"Name of the new group": "Назва нової групи",
"OR": "або",
"Ok": "В порядку",
"Open Network": "Відкрийте мережу",
"Settings": "Налаштування",
"Type": "Тип",
"deConz Address": "deConz Адреса",
"deConz REST API Version": "Версія deConz REST API",
"deConz REST-API Version": "Версія deConz REST-API",
"deConz Version": "Версія deConz",
"deConz adapter settings": "налаштування адаптера deConz",
"error creating API key: ": "помилка створення ключа API:",
"link button not pressed": "Спочатку натисніть «Розблокувати шлюз» у веб-програмі"
"error creating API key": "помилка створення ключа API",
"link button not pressed": "Спочатку натисніть «Розблокувати шлюз» у веб-програмі",
"Hide switch groups": "Приховати групи перемикачів",
"Hide virtual sensors": "Приховати віртуальні датчики"
}
10 changes: 6 additions & 4 deletions admin/i18n/zh-cn/translations.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,16 +19,18 @@
"Manufacturer": "制造商",
"Model ID": "型号编号",
"Name": "名称",
"Name of the new group:": "新组名称",
"Name of the new group": "新组名称",
"OR": "要么",
"Ok": "确定",
"Open Network": "开放网络",
"Settings": "设置",
"Type": "类型",
"deConz Address": "德康兹地址",
"deConz REST API Version": "deConz REST API 版本",
"deConz REST-API Version": "deConz REST-API 版本",
"deConz Version": "deConz版本",
"deConz adapter settings": "deConz 适配器设置",
"error creating API key: ": "创建 API 密钥时出错:",
"link button not pressed": "请先点击网络应用程序中的“解锁网关”"
"error creating API key": "创建 API 密钥时出错",
"link button not pressed": "请先点击网络应用程序中的“解锁网关”",
"Hide switch groups": "隱藏開關組",
"Hide virtual sensors": "隱藏虛擬感測器"
}
26 changes: 26 additions & 0 deletions admin/jsonConfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,32 @@
"md": 4,
"sm": 12,
"xs": 12
},
"_header2": {
"newLine": true,
"text": "Settings",
"type": "header",
"size": 3
},
"switchGroups": {
"newLine": true,
"type": "checkbox",
"label": "Hide switch groups",
"xs": 12,
"sm": 12,
"md": 6,
"lg": 4,
"xl": 4
},
"virtualSensors": {
"newLine": true,
"type": "checkbox",
"label": "Hide virtual sensors",
"xs": 12,
"sm": 12,
"md": 6,
"lg": 4,
"xl": 4
}
}
}
4 changes: 3 additions & 1 deletion io-package.json
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,9 @@
"websocketport": 443,
"user": "",
"username": "",
"password": ""
"password": "",
"switchGroups": false,
"virtualSensors": false
},
"instanceObjects": [
{
Expand Down
Loading

0 comments on commit 1428d0b

Please sign in to comment.