Update adapter-settings.js
This commit is contained in:
@@ -27,123 +27,59 @@ function preInit () {
|
||||
// Extend dictionary with standard words for adapter
|
||||
if (typeof systemDictionary === 'undefined') systemDictionary = {};
|
||||
|
||||
systemDictionary.save = {"en": "Save", "fr": "Sauvegarder", "nl": "Opslaan", "es": "Salvar", "pt": "Salve", "it": "Salvare", "de": "Speichern", "pl": "Zapisać", "ru": "Сохранить"};
|
||||
systemDictionary.saveclose = {"en": "Save and close", "fr": "Sauver et fermer", "nl": "Opslaan en afsluiten","es": "Guardar y cerrar", "pt": "Salvar e fechar", "it": "Salva e chiudi", "de": "Speichern und schließen", "pl": "Zapisz i zamknij", "ru": "Сохранить и выйти"};
|
||||
systemDictionary.none = {"en": "none", "fr": "aucun", "nl": "geen", "es": "ninguna", "pt": "Nenhum", "it": "nessuna", "de": "keins", "pl": "Żaden", "ru": ""};
|
||||
systemDictionary.nonerooms = {"en": "", "fr": "", "nl": "", "es": "", "pt": "", "it": "", "de": "", "pl": "", "ru": ""};
|
||||
systemDictionary.nonefunctions = {"en": "", "fr": "", "nl": "", "es": "", "pt": "", "it": "", "de": "", "pl": "", "ru": ""};
|
||||
systemDictionary.all = {"en": "all", "fr": "tout", "nl": "alle", "es": "todas", "pt": "todos", "it": "tutti", "de": "alle", "pl": "wszystko", "ru": "все"};
|
||||
systemDictionary['Device list'] = {"en": "Device list", "fr": "Liste des périphériques", "nl": "Lijst met apparaten", "es": "Lista de dispositivos", "pt": "Lista de dispositivos", "it": "Elenco dispositivi", "de": "Geräteliste", "pl": "Lista urządzeń", "ru": "Список устройств"};
|
||||
systemDictionary['new device'] = {"en": "new device", "fr": "nouvel appareil", "nl": "nieuw apparaat", "es": "Nuevo dispositivo", "pt": "Novo dispositivo", "it": "nuovo dispositivo", "de": "Neues Gerät", "pl": "nowe urządzenie", "ru": "Новое устройство"};
|
||||
systemDictionary.edit = {"en": "edit", "fr": "modifier", "nl": "Bewerk", "es": "editar", "pt": "editar", "it": "modificare", "de": "Ändern", "pl": "edytować", "ru": "Изменить"};
|
||||
systemDictionary.delete = {"en": "delete", "fr": "effacer", "nl": "Delete", "es": "borrar", "pt": "excluir", "it": "Elimina", "de": "Löschen", "pl": "kasować", "ru": "Удалить"};
|
||||
systemDictionary.pair = {"en": "pair", "fr": "paire", "nl": "paar", "es": "par", "pt": "par", "it": "paio", "de": "Verbinden", "pl": "para", "ru": "Связать"};
|
||||
systemDictionary.unpair = {"en": "unpair", "fr": "unpair", "nl": "Unpair", "es": "desvincular", "pt": "unpair", "it": "Disaccoppia", "de": "Trennen", "pl": "unpair", "ru": "Разорвать связь"};
|
||||
systemDictionary.ok = {"en": "Ok", "fr": "D'accord", "nl": "OK", "es": "De acuerdo", "pt": "Está bem", "it": "Ok", "de": "Ok", "pl": "Ok", "ru": "Ok"};
|
||||
systemDictionary.cancel = {"en": "Cancel", "fr": "Annuler", "nl": "Annuleer", "es": "Cancelar", "pt": "Cancelar", "it": "Annulla", "de": "Abbrechen", "pl": "Anuluj", "ru": "Отмена"};
|
||||
systemDictionary.Message = {"en": "Message", "fr": "Message", "nl": "Bericht", "es": "Mensaje", "pt": "Mensagem", "it": "Messaggio", "de": "Mitteilung", "pl": "Wiadomość", "ru": "Сообщение"};
|
||||
systemDictionary.close = {"en": "Close", "fr": "Fermer", "nl": "Dichtbij", "es": "Cerca", "pt": "Fechar", "it": "Vicino", "de": "Schließen", "pl": "Blisko", "ru": "Закрыть"};
|
||||
systemDictionary.htooltip = {"en": "Click for help", "fr": "Cliquez pour obtenir de l'aide", "nl": "Klik voor hulp", "es": "Haz clic para obtener ayuda", "pt": "Clique para ajuda", "it": "Fai clic per chiedere aiuto", "de": "Anklicken", "pl": "Kliknij, aby uzyskać pomoc", "ru": "Перейти по ссылке"};
|
||||
systemDictionary.save = {"en": "Save", "cn": "保存", "nl": "Opslaan", "es": "Salvar", "pt": "Salve", "it": "Salvare", "de": "Speichern", "pl": "Zapisać", "ru": "Сохранить"};
|
||||
systemDictionary.saveclose = {"en": "Save and close", "cn": "保存并退出", "nl": "Opslaan en afsluiten","es": "Guardar y cerrar", "pt": "Salvar e fechar", "it": "Salva e chiudi", "de": "Speichern und schließen", "pl": "Zapisz i zamknij", "ru": "Сохранить и выйти"};
|
||||
systemDictionary.none = {"en": "none", "cn": "none", "nl": "geen", "es": "ninguna", "pt": "Nenhum", "it": "nessuna", "de": "keins", "pl": "Żaden", "ru": ""};
|
||||
systemDictionary.nonerooms = {"en": "", "cn": "", "nl": "", "es": "", "pt": "", "it": "", "de": "", "pl": "", "ru": ""};
|
||||
systemDictionary.nonefunctions = {"en": "", "cn": "", "nl": "", "es": "", "pt": "", "it": "", "de": "", "pl": "", "ru": ""};
|
||||
systemDictionary.all = {"en": "all", "cn": "全部", "nl": "alle", "es": "todas", "pt": "todos", "it": "tutti", "de": "alle", "pl": "wszystko", "ru": "все"};
|
||||
systemDictionary['Device list'] = {"en": "Device list", "cn": "设备列表", "nl": "Lijst met apparaten", "es": "Lista de dispositivos", "pt": "Lista de dispositivos", "it": "Elenco dispositivi", "de": "Geräteliste", "pl": "Lista urządzeń", "ru": "Список устройств"};
|
||||
systemDictionary['new device'] = {"en": "new device", "cn": "新设备", "nl": "nieuw apparaat", "es": "Nuevo dispositivo", "pt": "Novo dispositivo", "it": "nuovo dispositivo", "de": "Neues Gerät", "pl": "nowe urządzenie", "ru": "Новое устройство"};
|
||||
systemDictionary.edit = {"en": "edit", "cn": "编辑", "nl": "Bewerk", "es": "editar", "pt": "editar", "it": "modificare", "de": "Ändern", "pl": "edytować", "ru": "Изменить"};
|
||||
systemDictionary.delete = {"en": "delete", "cn": "删除", "nl": "Delete", "es": "borrar", "pt": "excluir", "it": "Elimina", "de": "Löschen", "pl": "kasować", "ru": "Удалить"};
|
||||
systemDictionary.pair = {"en": "pair", "cn": "paire", "nl": "paar", "es": "par", "pt": "par", "it": "paio", "de": "Verbinden", "pl": "para", "ru": "Связать"};
|
||||
systemDictionary.unpair = {"en": "unpair", "cn": "unpair", "nl": "Unpair", "es": "desvincular", "pt": "unpair", "it": "Disaccoppia", "de": "Trennen", "pl": "unpair", "ru": "Разорвать связь"};
|
||||
systemDictionary.ok = {"en": "Ok", "cn": "确认", "nl": "OK", "es": "De acuerdo", "pt": "Está bem", "it": "Ok", "de": "Ok", "pl": "Ok", "ru": "Ok"};
|
||||
systemDictionary.cancel = {"en": "Cancel", "cn": "取消", "nl": "Annuleer", "es": "Cancelar", "pt": "Cancelar", "it": "Annulla", "de": "Abbrechen", "pl": "Anuluj", "ru": "Отмена"};
|
||||
systemDictionary.Message = {"en": "Message", "cn": "信息", "nl": "Bericht", "es": "Mensaje", "pt": "Mensagem", "it": "Messaggio", "de": "Mitteilung", "pl": "Wiadomość", "ru": "Сообщение"};
|
||||
systemDictionary.close = {"en": "Close", "cn": "关闭", "nl": "Dichtbij", "es": "Cerca", "pt": "Fechar", "it": "Vicino", "de": "Schließen", "pl": "Blisko", "ru": "Закрыть"};
|
||||
systemDictionary.htooltip = {"en": "Click for help", "cn": "帮助", "nl": "Klik voor hulp", "es": "Haz clic para obtener ayuda", "pt": "Clique para ajuda", "it": "Fai clic per chiedere aiuto", "de": "Anklicken", "pl": "Kliknij, aby uzyskać pomoc", "ru": "Перейти по ссылке"};
|
||||
systemDictionary.saveConfig = {
|
||||
"en": "Save configuration to file",
|
||||
"de": "Speichern Sie die Konfiguration in der Datei",
|
||||
"ru": "Сохранить конфигурацию в файл",
|
||||
"pt": "Salvar configuração no arquivo",
|
||||
"nl": "Sla configuratie op naar bestand",
|
||||
"fr": "Enregistrer la configuration dans un fichier",
|
||||
"it": "Salva la configurazione nel file",
|
||||
"es": "Guardar configuración en archivo",
|
||||
"pl": "Zapisz konfigurację do pliku"
|
||||
"cn": "Save configuration to file"
|
||||
};
|
||||
systemDictionary.loadConfig = {
|
||||
"en": "Load configuration from file",
|
||||
"de": "Laden Sie die Konfiguration aus der Datei",
|
||||
"ru": "Загрузить конфигурацию из файла",
|
||||
"pt": "Carregar configuração do arquivo",
|
||||
"nl": "Laad de configuratie uit het bestand",
|
||||
"fr": "Charger la configuration à partir du fichier",
|
||||
"it": "Carica la configurazione dal file",
|
||||
"es": "Cargar configuración desde archivo",
|
||||
"pl": "Załaduj konfigurację z pliku"
|
||||
"cn": "Load configuration from file"
|
||||
};
|
||||
systemDictionary.otherConfig = {
|
||||
"en": "Configuration from other adapter %s",
|
||||
"de": "Konfiguration von anderem Adapter %s",
|
||||
"ru": "Конфигурация из другого адаптера %s",
|
||||
"pt": "Configuração de outro adaptador %s",
|
||||
"nl": "Configuratie vanaf andere adapter %s",
|
||||
"fr": "Configuration à partir d'un autre adaptateur %s",
|
||||
"it": "Configurazione da altro adattatore %s",
|
||||
"es": "Configuración desde otro adaptador %s",
|
||||
"pl": "Konfiguracja z innego adaptera %s"
|
||||
"cn": "Configuration from other adapter %s"
|
||||
};
|
||||
systemDictionary.invalidConfig = {
|
||||
"en": "Invalid JSON file",
|
||||
"de": "Ungültige JSON-Datei",
|
||||
"ru": "Недопустимый файл JSON",
|
||||
"pt": "Arquivo JSON inválido",
|
||||
"nl": "Ongeldig JSON-bestand",
|
||||
"fr": "Fichier JSON non valide",
|
||||
"it": "File JSON non valido",
|
||||
"es": "Archivo JSON no válido",
|
||||
"pl": "Nieprawidłowy plik JSON"
|
||||
"en": "Invalid JSON file"
|
||||
};
|
||||
systemDictionary.configLoaded = {
|
||||
"en": "Configuration was successfully loaded",
|
||||
"de": "Die Konfiguration wurde erfolgreich geladen",
|
||||
"ru": "Конфигурация успешно загружена",
|
||||
"pt": "Configuração foi carregada com sucesso",
|
||||
"nl": "Configuratie is succesvol geladen",
|
||||
"fr": "La configuration a été chargée avec succès",
|
||||
"it": "La configurazione è stata caricata correttamente",
|
||||
"es": "La configuración se cargó correctamente",
|
||||
"pl": "Konfiguracja została pomyślnie załadowana"
|
||||
"cn": "Configuration was successfully loaded"
|
||||
};
|
||||
systemDictionary.maxTableRaw = {
|
||||
"en": "Maximum number of allowed raws",
|
||||
"de": "Maximale Anzahl von erlaubten Tabellenzeilen",
|
||||
"ru": "Достигнуто максимальное число строк",
|
||||
"it": "Numero massimo di raw consentiti",
|
||||
"fr": "Nombre maximum de raw autorisés",
|
||||
"nl": "Maximumaantal toegestane raws",
|
||||
"pt": "Número máximo de raias permitidas",
|
||||
"es": "Número máximo de raws permitidos",
|
||||
"pl": "Maksymalna liczba dozwolonych surowców"
|
||||
"cn": "Maximum number of allowed raws"
|
||||
};
|
||||
systemDictionary.maxTableRawInfo = {"en": "Warning", "de": "Warnung", "ru": "Внимание", "pt": "Atenção", "nl": "Waarschuwing", "fr": "Attention", "it": "avvertimento", "es": "Advertencia", "pl": "Ostrzeżenie"};
|
||||
systemDictionary.maxTableRawInfo = {"en": "Warning", "cn": "提示"};
|
||||
systemDictionary["Main settings"] = {
|
||||
"en": "Main settings",
|
||||
"de": "Haupteinstellungen",
|
||||
"ru": "Основные настройки",
|
||||
"pt": "Configurações principais",
|
||||
"nl": "Belangrijkste instellingen",
|
||||
"fr": "Réglages principaux",
|
||||
"it": "Impostazioni principali",
|
||||
"es": "Ajustes principales",
|
||||
"pl": "Ustawienia główne"
|
||||
"cn": "基本设置"
|
||||
};
|
||||
|
||||
systemDictionary["Let's Encrypt SSL"] = {
|
||||
"en": "Let's Encrypt Certificates",
|
||||
"de": "Let's Encrypt Zertifikate",
|
||||
"ru": "Let's Encrypt Сертификаты",
|
||||
"pt": "Let's Encrypt Certificados",
|
||||
"nl": "Let's Encrypt certificaten",
|
||||
"fr": "Let's Encrypt Certificats",
|
||||
"it": "Let's Encrypt certificati",
|
||||
"es": "Let's Encrypt Certificados",
|
||||
"pl": "Let's Encrypt certyfikaty"
|
||||
"cn": "Let's Encrypt Certificates"
|
||||
};
|
||||
systemDictionary["Please activate secure communication"] = {
|
||||
"en": "Please activate secure communication",
|
||||
"de": "Bitte sichere Kommunikation aktivieren",
|
||||
"ru": "Включите безопасную связь",
|
||||
"pt": "Active a comunicação segura",
|
||||
"nl": "Activeer alstublieft beveiligde communicatie",
|
||||
"fr": "Veuillez activer la communication sécurisée",
|
||||
"it": "Si prega di attivare la comunicazione sicura",
|
||||
"es": "Por favor active la comunicación segura",
|
||||
"pl": "Aktywuj bezpieczną komunikację"
|
||||
"cn": "Please activate secure communication"
|
||||
};
|
||||
//socket.on('connection', function () {
|
||||
loadSystemConfig(function () {
|
||||
|
||||
Reference in New Issue
Block a user