Skip to content

Commit

Permalink
Added translations
Browse files Browse the repository at this point in the history
  • Loading branch information
GermanBluefox committed Dec 2, 2023
1 parent 388aa9e commit c4dfad9
Show file tree
Hide file tree
Showing 12 changed files with 161 additions and 13 deletions.
5 changes: 5 additions & 0 deletions src-admin/src/Tabs/Controller.js
Original file line number Diff line number Diff line change
Expand Up @@ -608,6 +608,7 @@ class Controller extends React.Component {
{this.props.matter.controller.enabled && this.props.matter.controller.ble ? <div>
<TextField
fullWidth
variant="standard"
style={{ maxWidth: 600 }}
type="number"
label={I18n.t('Bluetooth HCI ID')}
Expand All @@ -622,6 +623,7 @@ class Controller extends React.Component {
{this.props.matter.controller.enabled && this.props.matter.controller.ble ? <div>
<TextField
fullWidth
variant="standard"
style={{ maxWidth: 600 }}
label={I18n.t('WiFI SSID')}
error={!this.props.matter.controller.wifiSSID}
Expand All @@ -637,6 +639,7 @@ class Controller extends React.Component {
{this.props.matter.controller.enabled && this.props.matter.controller.ble ? <div>
<TextField
fullWidth
variant="standard"
style={{ maxWidth: 600 }}
label={I18n.t('WiFI password')}
error={!this.props.matter.controller.wifiPasword}
Expand All @@ -653,6 +656,7 @@ class Controller extends React.Component {
<TextField
fullWidth
style={{ maxWidth: 600 }}
variant="standard"
label={I18n.t('Thread network name')}
value={this.props.matter.controller.threadNetworkname || ''}
onChange={e => {
Expand All @@ -666,6 +670,7 @@ class Controller extends React.Component {
<TextField
fullWidth
style={{ maxWidth: 600 }}
variant="standard"
label={I18n.t('Thread operational dataset')}
value={this.props.matter.controller.threadOperationalDataSet || ''}
onChange={e => {
Expand Down
17 changes: 15 additions & 2 deletions src-admin/src/i18n/de.json
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@
"Show unsupported devices": "Nicht unterstützte Geräte anzeigen",
"Hide unsupported devices": "Nicht unterstützte Geräte ausblenden",
"Bluetooth": "Bluetooth",
"Discovery devices": "Erkennungsgeräte",
"Discovery devices": "Geräte auffinden",
"Stop": "Stoppen",
"Value": "Wert",
"status_waitingForDeviceDiscovery": "Warten auf Geräteerkennung",
Expand All @@ -109,5 +109,18 @@
"Device or bridge will lost all commissioning information and you must reconnect (with PIN or QR code) again.": "Beim Gerät oder der Bridge gehen alle Inbetriebnahmeinformationen verloren und Sie müssen die Verbindung (mit PIN oder QR-Code) erneut herstellen.",
"Are you sure?": "Bist du sicher?",
"Reset": "Zurücksetzen",
"This cannot be undone!": "Das kann nicht rückgängig gemacht werden!"
"This cannot be undone!": "Das kann nicht rückgängig gemacht werden!",
"Show all debug logs": "Alle Debug-Protokolle anzeigen",
"status_disconnected": "Getrennt",
"Please confirm": "Bitte bestätigen",
"All state information of matter controller and devices will be deleted. You cannot undo it.": "Alle Statusinformationen des Materie-Controllers und der Geräte werden gelöscht. Sie können es nicht rückgängig machen.",
"The configuration of controller, bridges and devices will stay unchanged.": "Die Konfiguration von Controller, Bridges und Geräten bleibt unverändert.",
"Reset to defaults": "Auf Standardeinstellung zurücksetzen",
"Reset it at least to defaults": "Endlich auf die Standardeinstellungen zurücksetzten",
"Bluetooth HCI ID": "Bluetooth HCI ID",
"WiFI SSID": "WiFI SSID",
"Required": "",
"WiFI password": "",
"Thread network name": "Thread-Network-Name",
"Thread operational dataset": "Thread operational dataset"
}
15 changes: 14 additions & 1 deletion src-admin/src/i18n/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -109,5 +109,18 @@
"Device or bridge will lost all commissioning information and you must reconnect (with PIN or QR code) again.": "Device or bridge will lost all commissioning information and you must reconnect (with PIN or QR code) again.",
"Are you sure?": "Are you sure?",
"Reset": "Reset",
"This cannot be undone!": "This cannot be undone!"
"This cannot be undone!": "This cannot be undone!",
"Show all debug logs": "Show all debug logs",
"status_disconnected": "Disconnected",
"Please confirm": "Please confirm",
"All state information of matter controller and devices will be deleted. You cannot undo it.": "All state information of matter controller and devices will be deleted. You cannot undo it.",
"The configuration of controller, bridges and devices will stay unchanged.": "The configuration of controller, bridges and devices will stay unchanged.",
"Reset to defaults": "Reset to defaults",
"Reset it at least to defaults": "Finally reset to default settings",
"Bluetooth HCI ID": "Bluetooth HCI ID",
"WiFI SSID": "WiFI SSID",
"Required": "Required",
"WiFI password": "WiFI password",
"Thread network name": "Thread network name",
"Thread operational dataset": "Thread operational dataset"
}
15 changes: 14 additions & 1 deletion src-admin/src/i18n/es.json
Original file line number Diff line number Diff line change
Expand Up @@ -109,5 +109,18 @@
"Device or bridge will lost all commissioning information and you must reconnect (with PIN or QR code) again.": "El dispositivo o puente perderá toda la información de puesta en servicio y deberá volver a conectarse (con PIN o código QR).",
"Are you sure?": "¿Está seguro?",
"Reset": "Reiniciar",
"This cannot be undone!": "¡Esto no se puede deshacer!"
"This cannot be undone!": "¡Esto no se puede deshacer!",
"Show all debug logs": "Mostrar todos los registros de depuración",
"status_disconnected": "Desconectado",
"Please confirm": "Por favor confirmar",
"All state information of matter controller and devices will be deleted. You cannot undo it.": "Se eliminará toda la información de estado del controlador de materia y los dispositivos. No puedes deshacerlo.",
"The configuration of controller, bridges and devices will stay unchanged.": "La configuración del controlador, puentes y dispositivos permanecerá sin cambios.",
"Reset to defaults": "Restablecer los valores predeterminados",
"Reset it at least to defaults": "Finalmente restablecer la configuración predeterminada",
"Bluetooth HCI ID": "Bluetooth HCI ID",
"WiFI SSID": "WiFI SSID",
"Required": "",
"WiFI password": "",
"Thread network name": "Thread network name",
"Thread operational dataset": "Thread operational dataset"
}
15 changes: 14 additions & 1 deletion src-admin/src/i18n/fr.json
Original file line number Diff line number Diff line change
Expand Up @@ -109,5 +109,18 @@
"Device or bridge will lost all commissioning information and you must reconnect (with PIN or QR code) again.": "L'appareil ou le pont perdra toutes les informations de mise en service et vous devrez vous reconnecter (avec code PIN ou QR code).",
"Are you sure?": "Es-tu sûr?",
"Reset": "Réinitialiser",
"This cannot be undone!": "Ça ne peut pas être annulé!"
"This cannot be undone!": "Ça ne peut pas être annulé!",
"Show all debug logs": "Afficher tous les journaux de débogage",
"status_disconnected": "Débranché",
"Please confirm": "Veuillez confirmer",
"All state information of matter controller and devices will be deleted. You cannot undo it.": "Toutes les informations d'état du contrôleur de matière et des appareils seront supprimées. Vous ne pouvez pas l'annuler.",
"The configuration of controller, bridges and devices will stay unchanged.": "La configuration du contrôleur, des ponts et des appareils restera inchangée.",
"Reset to defaults": "Réinitialiser les paramètres par défaut",
"Reset it at least to defaults": "Enfin réinitialisé aux paramètres par défaut",
"Bluetooth HCI ID": "Bluetooth HCI ID",
"WiFI SSID": "WiFI SSID",
"Required": "",
"WiFI password": "",
"Thread network name": "Thread network name",
"Thread operational dataset": "Thread operational dataset"
}
15 changes: 14 additions & 1 deletion src-admin/src/i18n/it.json
Original file line number Diff line number Diff line change
Expand Up @@ -109,5 +109,18 @@
"Device or bridge will lost all commissioning information and you must reconnect (with PIN or QR code) again.": "Il dispositivo o il bridge perderanno tutte le informazioni di messa in servizio e sarà necessario riconnettersi nuovamente (con PIN o codice QR).",
"Are you sure?": "Sei sicuro?",
"Reset": "Ripristina",
"This cannot be undone!": "Questa operazione non può essere annullata!"
"This cannot be undone!": "Questa operazione non può essere annullata!",
"Show all debug logs": "Mostra tutti i log di debug",
"status_disconnected": "Disconnesso",
"Please confirm": "Per favore conferma",
"All state information of matter controller and devices will be deleted. You cannot undo it.": "Tutte le informazioni sullo stato del controller e dei dispositivi verranno eliminate. Non puoi annullarlo.",
"The configuration of controller, bridges and devices will stay unchanged.": "La configurazione di controller, bridge e dispositivi rimarrà invariata.",
"Reset to defaults": "Ripristina le impostazioni predefinite",
"Reset it at least to defaults": "Infine ripristina le impostazioni predefinite",
"Bluetooth HCI ID": "Bluetooth HCI ID",
"WiFI SSID": "WiFI SSID",
"Required": "",
"WiFI password": "",
"Thread network name": "Thread network name",
"Thread operational dataset": "Thread operational dataset"
}
15 changes: 14 additions & 1 deletion src-admin/src/i18n/nl.json
Original file line number Diff line number Diff line change
Expand Up @@ -109,5 +109,18 @@
"Device or bridge will lost all commissioning information and you must reconnect (with PIN or QR code) again.": "Apparaat of bridge verliest alle inbedrijfstellingsinformatie en u moet opnieuw verbinding maken (met pincode of QR-code).",
"Are you sure?": "Weet je het zeker?",
"Reset": "Opnieuw instellen",
"This cannot be undone!": "Dit kan niet ongedaan gemaakt worden!"
"This cannot be undone!": "Dit kan niet ongedaan gemaakt worden!",
"Show all debug logs": "Toon alle foutopsporingslogboeken",
"status_disconnected": "Losgekoppeld",
"Please confirm": "Bevestig alstublieft",
"All state information of matter controller and devices will be deleted. You cannot undo it.": "Alle statusinformatie van de materiecontroller en apparaten wordt verwijderd. Je kunt het niet ongedaan maken.",
"The configuration of controller, bridges and devices will stay unchanged.": "De configuratie van controller, bruggen en apparaten blijft ongewijzigd.",
"Reset to defaults": "Resetten naar standaardwaarden",
"Reset it at least to defaults": "Eindelijk teruggezet naar de standaardinstellingen",
"Bluetooth HCI ID": "Bluetooth HCI ID",
"WiFI SSID": "WiFI SSID",
"Required": "",
"WiFI password": "",
"Thread network name": "Thread network name",
"Thread operational dataset": "Thread operational dataset"
}
15 changes: 14 additions & 1 deletion src-admin/src/i18n/pl.json
Original file line number Diff line number Diff line change
Expand Up @@ -109,5 +109,18 @@
"Device or bridge will lost all commissioning information and you must reconnect (with PIN or QR code) again.": "Urządzenie lub most utraci wszystkie informacje dotyczące uruchomienia i konieczne będzie ponowne nawiązanie połączenia (za pomocą kodu PIN lub QR).",
"Are you sure?": "Jesteś pewny?",
"Reset": "Resetowanie",
"This cannot be undone!": "Tego nie da się cofnąć!"
"This cannot be undone!": "Tego nie da się cofnąć!",
"Show all debug logs": "Pokaż wszystkie dzienniki debugowania",
"status_disconnected": "Bezładny",
"Please confirm": "Proszę potwierdzić",
"All state information of matter controller and devices will be deleted. You cannot undo it.": "Wszystkie informacje o stanie kontrolera materii i urządzeń zostaną usunięte. Nie możesz tego cofnąć.",
"The configuration of controller, bridges and devices will stay unchanged.": "Konfiguracja kontrolera, mostów i urządzeń pozostanie niezmieniona.",
"Reset to defaults": "Przywróć domyślne",
"Reset it at least to defaults": "Na koniec przywróć ustawienia domyślne",
"Bluetooth HCI ID": "Bluetooth HCI ID",
"WiFI SSID": "WiFI SSID",
"Required": "",
"WiFI password": "",
"Thread network name": "Thread network name",
"Thread operational dataset": "Thread operational dataset"
}
15 changes: 14 additions & 1 deletion src-admin/src/i18n/pt.json
Original file line number Diff line number Diff line change
Expand Up @@ -109,5 +109,18 @@
"Device or bridge will lost all commissioning information and you must reconnect (with PIN or QR code) again.": "O dispositivo ou ponte perderá todas as informações de comissionamento e você deverá reconectar (com PIN ou código QR) novamente.",
"Are you sure?": "Tem certeza?",
"Reset": "Reiniciar",
"This cannot be undone!": "Isto não pode ser desfeito!"
"This cannot be undone!": "Isto não pode ser desfeito!",
"Show all debug logs": "Mostrar todos os logs de depuração",
"status_disconnected": "Desconectado",
"Please confirm": "Por favor confirme",
"All state information of matter controller and devices will be deleted. You cannot undo it.": "Todas as informações de estado do controlador e dos dispositivos serão excluídas. Você não pode desfazer isso.",
"The configuration of controller, bridges and devices will stay unchanged.": "A configuração do controlador, pontes e dispositivos permanecerá inalterada.",
"Reset to defaults": "Redefinir para os padrões",
"Reset it at least to defaults": "Finalmente redefinir para as configurações padrão",
"Bluetooth HCI ID": "Bluetooth HCI ID",
"WiFI SSID": "WiFI SSID",
"Required": "",
"WiFI password": "",
"Thread network name": "Thread network name",
"Thread operational dataset": "Thread operational dataset"
}
17 changes: 15 additions & 2 deletions src-admin/src/i18n/ru.json
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@
"Show unsupported devices": "Показать неподдерживаемые устройства",
"Hide unsupported devices": "Скрыть неподдерживаемые устройства",
"Bluetooth": "Bluetooth",
"Discovery devices": "Устройства обнаружения",
"Discovery devices": "Обнаружить устройства",
"Stop": "Останавливаться",
"Value": "Значение",
"status_waitingForDeviceDiscovery": "Ожидание обнаружения устройства",
Expand All @@ -109,5 +109,18 @@
"Device or bridge will lost all commissioning information and you must reconnect (with PIN or QR code) again.": "Устройство или мост потеряют всю информацию о вводе в эксплуатацию, и вам придется повторно подключиться (с помощью PIN-кода или QR-кода).",
"Are you sure?": "Вы уверены?",
"Reset": "Перезагрузить",
"This cannot be undone!": "Это не может быть отменено!"
"This cannot be undone!": "Это не может быть отменено!",
"Show all debug logs": "Показать все журналы отладки",
"status_disconnected": "Отключено",
"Please confirm": "Пожалуйста подтвердите",
"All state information of matter controller and devices will be deleted. You cannot undo it.": "Вся информация о состоянии контроллера материи и устройств будет удалена. Вы не можете отменить это.",
"The configuration of controller, bridges and devices will stay unchanged.": "Конфигурация контроллера, мостов и устройств останется неизменной.",
"Reset to defaults": "Сбросить настройки по умолчанию",
"Reset it at least to defaults": "Наконец сброс к настройкам по умолчанию",
"Bluetooth HCI ID": "Bluetooth HCI ID",
"WiFI SSID": "WiFI SSID",
"Required": "",
"WiFI password": "",
"Thread network name": "Имя сети Thread",
"Thread operational dataset": "Thread operational dataset"
}
15 changes: 14 additions & 1 deletion src-admin/src/i18n/uk.json
Original file line number Diff line number Diff line change
Expand Up @@ -109,5 +109,18 @@
"Device or bridge will lost all commissioning information and you must reconnect (with PIN or QR code) again.": "Пристрій або міст втратить всю інформацію про введення в експлуатацію, і ви повинні знову підключитися (за допомогою PIN-коду або QR-коду).",
"Are you sure?": "Ти впевнений?",
"Reset": "Скинути",
"This cannot be undone!": "Це не може бути скасоване!"
"This cannot be undone!": "Це не може бути скасоване!",
"Show all debug logs": "Показати всі журнали налагодження",
"status_disconnected": "Відключено",
"Please confirm": "Будь-ласка підтвердіть",
"All state information of matter controller and devices will be deleted. You cannot undo it.": "Уся інформація про стан контролера матерії та пристроїв буде видалена. Ви не можете скасувати це.",
"The configuration of controller, bridges and devices will stay unchanged.": "Конфігурація контролера, мостів і пристроїв залишиться без змін.",
"Reset to defaults": "Відновити налаштування за замовчуванням",
"Reset it at least to defaults": "Нарешті скинути налаштування за замовчуванням",
"Bluetooth HCI ID": "Bluetooth HCI ID",
"WiFI SSID": "WiFI SSID",
"Required": "",
"WiFI password": "",
"Thread network name": "Thread network name",
"Thread operational dataset": "Thread operational dataset"
}
15 changes: 14 additions & 1 deletion src-admin/src/i18n/zh-cn.json
Original file line number Diff line number Diff line change
Expand Up @@ -109,5 +109,18 @@
"Device or bridge will lost all commissioning information and you must reconnect (with PIN or QR code) again.": "设备或网桥将丢失所有调试信息,您必须再次重新连接(使用 PIN 或 QR 码)。",
"Are you sure?": "你确定吗?",
"Reset": "重置",
"This cannot be undone!": "这不能被撤消!"
"This cannot be undone!": "这不能被撤消!",
"Show all debug logs": "显示所有调试日志",
"status_disconnected": "已断开连接",
"Please confirm": "请确认",
"All state information of matter controller and devices will be deleted. You cannot undo it.": "所有物质控制器和设备的状态信息都将被删除。您无法撤消它。",
"The configuration of controller, bridges and devices will stay unchanged.": "控制器、网桥和设备的配置将保持不变。",
"Reset to defaults": "重置为默认值",
"Reset it at least to defaults": "最后恢复默认设置",
"Bluetooth HCI ID": "",
"WiFI SSID": "WiFI SSID",
"Required": "",
"WiFI password": "",
"Thread network name": "Thread network name",
"Thread operational dataset": "Thread operational dataset"
}

0 comments on commit c4dfad9

Please sign in to comment.