diff --git a/admin/index_m.html b/admin/index_m.html index af57ef93..14d5b3d1 100644 --- a/admin/index_m.html +++ b/admin/index_m.html @@ -50,14 +50,14 @@ showHideSettings(); onChange(false); M.updateTextFields(); // function Materialize.updateTextFields(); to reinitialize all the Materialize labels on the page if you are dynamically adding inputs. - - + + getAdapterInstances('telegram', function (arr) { instances = arr; fillInstances('Telegram_instanz', arr, settings['Telegram_instanz']); }); - - + + } function fillInstances(id, arr, val) { var $sel = $('#' + id); @@ -169,13 +169,16 @@ -
-
- - -
+
+
+
+ +
+
+
+
diff --git a/admin/words.js b/admin/words.js index 13dd759c..e5ca266f 100644 --- a/admin/words.js +++ b/admin/words.js @@ -7,6 +7,7 @@ systemDictionary = { "Backup ausfuehren alle X-Tage": { "en": "Backup will run every X days", "de": "Backup ausführen alle X-Tage", "ru": "Резервное копирование выполняется каждые X дней", "pt": "Backup executado a cada X dias", "nl": "Back-up wordt elke X dagen uitgevoerd", "fr": "Sauvegarde exécutée tous les X jours", "it": "Esegui il backup ogni X giorni", "es": "Ejecución de respaldo cada X días", "pl": "Backup uruchamiany co X dni"}, "Backupzeit": { "en": "backup time", "de": "Backupzeit", "ru": "время резервного копирования", "pt": "tempo de backup", "nl": "back-up tijd", "fr": "temps de sauvegarde", "it": "tempo di backup", "es": "tiempo de respaldo", "pl": "czas podtrzymania"}, "Benachrichtigungen per Telegram": { "en": "Notifications by telegram", "de": "Benachrichtigungen per Telegram", "ru": "Уведомления по телеграмме", "pt": "Notificações por telegrama", "nl": "Meldingen per telegram", "fr": "Notifications par télégramme", "it": "Notifiche via telegramma", "es": "Notificaciones por telegrama", "pl": "Powiadomienia za pomoca telegramu"}, + "Telegram Instanz": { "en": "Telegram instance", "de": "Telegram Instanz", "ru": "Экземпляр телеграмме", "pt": "Instância do telegrama", "nl": "Telegram-instantie", "fr": "Instance de télégramme", "it": "Istanza di Telegram", "es": "Instancia de Telegram", "pl": "Instancja telegramu"}, "Benutzername": { "en": "Username", "de": "Benutzername", "ru": "имя пользователя", "pt": "nome de usuário", "nl": "gebruikersnaam", "fr": "nom d'utilisateur", "it": "nome utente", "es": "nombre de usuario", "pl": "nazwa uzytkownika"}, "Benutzername der CCU": { "en": "Username of the CCU", "de": "Benutzername der CCU", "ru": "Имя пользователя CCU", "pt": "Nome de usuário da CCU", "nl": "Gebruikersnaam van de CCU", "fr": "Nom d'utilisateur du CCU", "it": "Nome utente del CCU", "es": "Nombre de usuario de la CCU", "pl": "Nazwa uzytkownika CCU"}, "CCU Backup": { "en": "CCU Backup", "de": "CCU Backup", "ru": "Резервное копирование CCU", "pt": "Backup de CCU", "nl": "CCU-back-up", "fr": "Sauvegarde CCU", "it": "Backup CCU", "es": "Copia de seguridad CCU", "pl": "Kopie zapasowe CCU"}, diff --git a/io-package.json b/io-package.json index f486c888..ddf08672 100644 --- a/io-package.json +++ b/io-package.json @@ -184,7 +184,7 @@ "redis_state": false, "history_status": "25", "telegram_message": false, - "telegram_instanz": 0, + "Telegram_instanz": "telegram.0", "nas_var": false, "FtpDir_ccu": "", "FtpDir_komplett": "",