Skip to content

Commit

Permalink
doc: update translations and i18n
Browse files Browse the repository at this point in the history
  • Loading branch information
topsworld committed Dec 22, 2024
1 parent 47a5218 commit 8429899
Show file tree
Hide file tree
Showing 22 changed files with 92 additions and 69 deletions.
7 changes: 4 additions & 3 deletions custom_components/xiaomi_home/miot/i18n/de.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,16 @@
"config": {
"other": {
"devices": "Geräte",
"found_central_gateway": ", lokales zentrales Gateway gefunden"
"found_central_gateway": ", lokales zentrales Gateway gefunden",
"without_room": "Kein Raum zugewiesen"
},
"control_mode": {
"auto": "automatisch",
"cloud": "Cloud"
},
"filter_mode": {
"include": "einschließen",
"exclude": "ausschließen"
"exclude": "ausschließen",
"include": "einschließen"
},
"room_name_rule": {
"none": "nicht synchronisieren",
Expand Down
7 changes: 4 additions & 3 deletions custom_components/xiaomi_home/miot/i18n/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,16 @@
"config": {
"other": {
"devices": "Devices",
"found_central_gateway": ", Found Local Central Hub Gateway"
"found_central_gateway": ", Found Local Central Hub Gateway",
"without_room": "No room assigned"
},
"control_mode": {
"auto": "Auto",
"cloud": "Cloud"
},
"filter_mode": {
"include": "Include",
"exclude": "Exclude"
"exclude": "Exclude",
"include": "Include"
},
"room_name_rule": {
"none": "Do not synchronize",
Expand Down
7 changes: 4 additions & 3 deletions custom_components/xiaomi_home/miot/i18n/es.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,16 @@
"config": {
"other": {
"devices": "dispositivos",
"found_central_gateway": ", se encontró la puerta de enlace central local"
"found_central_gateway": ", se encontró la puerta de enlace central local",
"without_room": "Sin habitación asignada"
},
"control_mode": {
"auto": "automático",
"cloud": "nube"
},
"filter_mode": {
"include": "incluir",
"exclude": "excluir"
"exclude": "excluir",
"include": "incluir"
},
"room_name_rule": {
"none": "no sincronizar",
Expand Down
7 changes: 4 additions & 3 deletions custom_components/xiaomi_home/miot/i18n/fr.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,16 @@
"config": {
"other": {
"devices": "appareils",
"found_central_gateway": ", passerelle centrale locale trouvée"
"found_central_gateway": ", passerelle centrale locale trouvée",
"without_room": "Aucune pièce attribuée"
},
"control_mode": {
"auto": "automatique",
"cloud": "cloud"
},
"filter_mode": {
"include": "inclure",
"exclude": "exclure"
"exclude": "exclure",
"include": "inclure"
},
"room_name_rule": {
"none": "ne pas synchroniser",
Expand Down
7 changes: 4 additions & 3 deletions custom_components/xiaomi_home/miot/i18n/ja.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,16 @@
"config": {
"other": {
"devices": "デバイス",
"found_central_gateway": "、ローカル中央ゲートウェイが見つかりました"
"found_central_gateway": "、ローカル中央ゲートウェイが見つかりました",
"without_room": "部屋が割り当てられていません"
},
"control_mode": {
"auto": "自動",
"cloud": "クラウド"
},
"filter_mode": {
"include": "含む",
"exclude": "除外"
"exclude": "除外",
"include": "含む"
},
"room_name_rule": {
"none": "同期しない",
Expand Down
7 changes: 4 additions & 3 deletions custom_components/xiaomi_home/miot/i18n/nl.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,16 @@
"config": {
"other": {
"devices": "Apparaten",
"found_central_gateway": ", Lokale centrale hub-gateway gevonden"
"found_central_gateway": ", Lokale centrale hub-gateway gevonden",
"without_room": "Niet toegewezen kamer"
},
"control_mode": {
"auto": "Automatisch",
"cloud": "Cloud"
},
"filter_mode": {
"include": "Inclusief",
"exclude": "Uitsluiten"
"exclude": "Uitsluiten",
"include": "Inclusief"
},
"room_name_rule": {
"none": "Niet synchroniseren",
Expand Down
7 changes: 4 additions & 3 deletions custom_components/xiaomi_home/miot/i18n/pt-BR.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,16 @@
"config": {
"other": {
"devices": "dispositivos",
"found_central_gateway": "encontrado o gateway central local"
"found_central_gateway": "encontrado o gateway central local",
"without_room": "sem quarto atribuído"
},
"control_mode": {
"auto": "automático",
"cloud": "nuvem"
},
"filter_mode": {
"include": "incluir",
"exclude": "excluir"
"exclude": "excluir",
"include": "incluir"
},
"room_name_rule": {
"none": "não sincronizado",
Expand Down
7 changes: 4 additions & 3 deletions custom_components/xiaomi_home/miot/i18n/pt.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,16 @@
"config": {
"other": {
"devices": "dispositivos",
"found_central_gateway": ", encontrou a central de gateway local"
"found_central_gateway": ", encontrou a central de gateway local",
"without_room": "Sem quarto atribuído"
},
"control_mode": {
"auto": "Automático",
"cloud": "Nuvem"
},
"filter_mode": {
"include": "Incluir",
"exclude": "Excluir"
"exclude": "Excluir",
"include": "Incluir"
},
"room_name_rule": {
"none": "Não sincronizar",
Expand Down
7 changes: 4 additions & 3 deletions custom_components/xiaomi_home/miot/i18n/ru.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,16 @@
"config": {
"other": {
"devices": "устройства",
"found_central_gateway": ", найден локальный центральный шлюз"
"found_central_gateway": ", найден локальный центральный шлюз",
"without_room": "без комнаты"
},
"control_mode": {
"auto": "автоматический",
"cloud": "облако"
},
"filter_mode": {
"include": "включить",
"exclude": "исключить"
"exclude": "исключить",
"include": "включить"
},
"room_name_rule": {
"none": "не синхронизировать",
Expand Down
16 changes: 11 additions & 5 deletions custom_components/xiaomi_home/miot/i18n/zh-Hans.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,22 +2,28 @@
"config": {
"other": {
"devices": "个设备",
"found_central_gateway": ",发现本地中枢网关"
"found_central_gateway": ",发现本地中枢网关",
"without_room": "未分配房间"
},
"control_mode": {
"auto": "自动",
"cloud": "云端"
},
"filter_mode": {
"include": "包含",
"exclude": "排除"
},
"room_name_rule": {
"none": "不同步",
"home_room": "家庭名 和 房间名 (米家 卧室)",
"room": "房间名 (卧室)",
"home": "家庭名 (米家)"
},
"filter_mode": {
"exclude": "排除",
"include": "包含"
},
"connect_type": {
"0": "WiFi设备",
"1": "蓝牙设备",
"2": "其它类型"
},
"option_status": {
"enable": "启用",
"disable": "禁用"
Expand Down
7 changes: 4 additions & 3 deletions custom_components/xiaomi_home/miot/i18n/zh-Hant.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,16 @@
"config": {
"other": {
"devices": "個設備",
"found_central_gateway": ",發現本地中樞網關"
"found_central_gateway": ",發現本地中樞網關",
"without_room": "未分配房間"
},
"control_mode": {
"auto": "自動",
"cloud": "雲端"
},
"filter_mode": {
"include": "包含",
"exclude": "排除"
"exclude": "排除",
"include": "包含"
},
"room_name_rule": {
"none": "不同步",
Expand Down
4 changes: 2 additions & 2 deletions custom_components/xiaomi_home/translations/de.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,10 @@
"title": "Erweiterte Einstellungen",
"description": "## Einführung\r\n### Behalten Sie die Standardeinstellungen bei, es sei denn, Sie verstehen die folgenden Optionen vollständig.\r\n### Steuerungsmodus\r\n- Automatisch: Wenn ein verfügbarer Xiaomi-Hub im lokalen Netzwerk vorhanden ist, priorisiert Home Assistant das Senden von Steuerbefehlen über den Hub, um eine lokale Steuerung zu ermöglichen. Wenn kein Hub vorhanden ist, wird versucht, Steuerbefehle über das Xiaomi-OT-Protokoll zu senden. Nur wenn diese Bedingungen für die lokale Steuerung nicht erfüllt sind, werden die Befehle über die Cloud gesendet.\r\n- Cloud: Steuerbefehle werden ausschließlich über die Cloud gesendet.\r\n### Gerätefilterung\r\nFiltern Sie unerwünschte Geräte nach Familien.\r\n### Action-Debug-Modus\r\nFür Methoden, die von MIoT-Spec-V2-Geräten definiert werden, wird neben der Benachrichtigungsentität auch eine Texteingabe-Entität erstellt, mit der Sie während des Debuggens Steuerbefehle an das Gerät senden können.\r\n### Nicht standardmäßige Entitäten ausblenden\r\nBlendet Entitäten aus, die von nicht-standardmäßigen MIoT-Spec-V2-Instanzen generiert werden und deren Name mit „*“ beginnt.",
"data": {
"devices_filter": "Gerätefilterung",
"ctrl_mode": "Steuerungsmodus",
"action_debug": "Action-Debug-Modus",
"hide_non_standard_entities": "Nicht standardmäßige Entitäten ausblenden",
"devices_filter": "Gerätefilterung"
"hide_non_standard_entities": "Nicht standardmäßige Entitäten ausblenden"
}
},
"devices_filter": {
Expand Down
6 changes: 3 additions & 3 deletions custom_components/xiaomi_home/translations/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,14 +35,14 @@
"title": "Advanced Settings",
"description": "## Introduction\r\n### Keep the default settings unless you fully understand the following options.\r\n### Control Mode\r\n- Auto: When a Xiaomi hub is available on the local network, Home Assistant will prioritize sending device control commands through the hub for local control. If there is no hub, it will attempt to send commands via the Xiaomi OT protocol. Only if those local control conditions are not met will commands be sent through the cloud.\r\n- Cloud: Control commands are sent exclusively through the cloud.\r\n### Device Filtering\r\nFilter out unwanted devices by family.\r\n### Action Debug Mode\r\nFor methods defined by MIoT-Spec-V2 devices, besides generating a notification entity, a text input entity will also be created so you can send control commands to the device during debugging.\r\n### Hide Non-Standard Generated Entities\r\nHide entities generated by non-standard MIoT-Spec-V2 instances whose names start with \"*\".",
"data": {
"devices_filter": "Filter Devices",
"ctrl_mode": "Control Mode",
"action_debug": "Action Debug Mode",
"hide_non_standard_entities": "Hide Non-Standard Generated Entities",
"devices_filter": "Device Filtering"
"hide_non_standard_entities": "Hide Non-Standard Generated Entities"
}
},
"devices_filter": {
"title": "Device Filtering",
"title": "Filter Devices",
"description": "## Introduction\r\nFilter out unwanted devices by family.",
"data": {
"filter_mode": "Filter Mode"
Expand Down
6 changes: 3 additions & 3 deletions custom_components/xiaomi_home/translations/es.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,14 +35,14 @@
"title": "Opciones Avanzadas",
"description": "## Introducción\r\n### Mantenga la configuración predeterminada a menos que conozca completamente el significado de las siguientes opciones.\r\n### Modo de Control\r\n- Automático: Cuando haya un hub Xiaomi disponible en la red local, Home Assistant priorizará el envío de comandos de control a través del hub para lograr un control local. Si no hay un hub, intentará enviar los comandos a través del protocolo Xiaomi OT. Solo si no se cumplen esas condiciones de control local, los comandos se enviarán a través de la nube.\r\n- Nube: Los comandos se envían exclusivamente a través de la nube.\r\n### Filtrado de Dispositivos\r\nFiltre dispositivos no deseados por familia.\r\n### Modo de Depuración de Acciones\r\nPara los métodos definidos por dispositivos MIoT-Spec-V2, además de generar una entidad de notificación, se creará una entidad de entrada de texto para que pueda enviar comandos de control durante la depuración.\r\n### Ocultar Entidades Generadas No Estándar\r\nOculte entidades generadas por instancias no estándar de MIoT-Spec-V2 cuyos nombres comiencen con \"*\".",
"data": {
"devices_filter": "Filtrar Dispositivos",
"ctrl_mode": "Modo de Control",
"action_debug": "Modo de Depuración de Acciones",
"hide_non_standard_entities": "Ocultar Entidades Generadas No Estándar",
"devices_filter": "Filtrado de Dispositivos"
"hide_non_standard_entities": "Ocultar Entidades Generadas No Estándar"
}
},
"devices_filter": {
"title": "Filtrado de Dispositivos",
"title": "Filtrar Dispositivos",
"description": "## Introducción\r\nFiltre dispositivos no deseados por familia.",
"data": {
"filter_mode": "Modo de Filtrado"
Expand Down
6 changes: 3 additions & 3 deletions custom_components/xiaomi_home/translations/fr.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,14 +35,14 @@
"title": "Paramètres Avancés",
"description": "## Introduction\r\n### Conservez les paramètres par défaut à moins de comprendre parfaitement la signification des options ci-dessous.\r\n### Mode de Contrôle\r\n- Automatique : Lorsqu’un hub Xiaomi est disponible sur le réseau local, Home Assistant privilégie l’envoi de commandes via ce hub pour un contrôle local. S’il n’y a pas de hub, il tentera d’envoyer des commandes via le protocole Xiaomi OT. Ce n’est que si les conditions de contrôle local ne sont pas remplies que les commandes seront envoyées via le cloud.\r\n- Cloud : Les commandes sont envoyées exclusivement via le cloud.\r\n### Filtrage des Appareils\r\nFiltrez les appareils indésirables en fonction de la famille.\r\n### Mode de Débogage d’Actions\r\nPour les méthodes définies par les appareils MIoT-Spec-V2, en plus de générer une entité de notification, une entité de saisie de texte sera créée pour envoyer des commandes de contrôle pendant le débogage.\r\n### Masquer les Entités Non Standard\r\nMasquez les entités générées par des instances MIoT-Spec-V2 non standard dont le nom commence par « * ».",
"data": {
"devices_filter": "Filtrer les Appareils",
"ctrl_mode": "Mode de Contrôle",
"action_debug": "Mode de Débogage d’Actions",
"hide_non_standard_entities": "Masquer les Entités Non Standard",
"devices_filter": "Filtrage des Appareils"
"hide_non_standard_entities": "Masquer les Entités Non Standard"
}
},
"devices_filter": {
"title": "Filtrage des Appareils",
"title": "Filtrer les Appareils",
"description": "## Introduction\r\nFiltrez les appareils indésirables en fonction de la famille.",
"data": {
"filter_mode": "Mode de Filtrage"
Expand Down
6 changes: 3 additions & 3 deletions custom_components/xiaomi_home/translations/ja.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,14 +35,14 @@
"title": "高度な設定オプション",
"description": "## 紹介\r\n### 以下のオプションの意味を十分に理解していない限り、デフォルト設定のままにしてください。\r\n### コントロールモード\r\n- 自動: ローカルネットワークに利用可能なXiaomiハブがある場合、Home Assistantはローカル制御を実現するためにハブを介してデバイス制御コマンドを優先的に送信します。ハブが存在しない場合は、Xiaomi OTプロトコルを介して制御コマンドを送信しようとします。これらのローカル制御条件が満たされない場合のみ、クラウド経由でコマンドが送信されます。\r\n- クラウド: コマンドはクラウド経由でのみ送信されます。\r\n### デバイスフィルタ\r\n不要なデバイスをファミリー単位でフィルタリングします。\r\n### Actionデバッグモード\r\nMIoT-Spec-V2デバイスで定義されたメソッドについては、通知エンティティに加えてテキスト入力エンティティも生成され、デバッグ時にデバイスへ制御コマンドを送信できます。\r\n### 非標準生成エンティティを隠す\r\n名前が「*」で始まる、非標準のMIoT-Spec-V2インスタンスによって生成されたエンティティを隠します。",
"data": {
"devices_filter": "デバイスをフィルタリング",
"ctrl_mode": "コントロールモード",
"action_debug": "Actionデバッグモード",
"hide_non_standard_entities": "非標準生成エンティティを隠す",
"devices_filter": "デバイスフィルタ"
"hide_non_standard_entities": "非標準生成エンティティを隠す"
}
},
"devices_filter": {
"title": "デバイスフィルタ",
"title": "デバイスをフィルタリング",
"description": "## 使い方\r\n不要なデバイスをファミリー単位でフィルタリングします。",
"data": {
"filter_mode": "フィルターモード"
Expand Down
6 changes: 3 additions & 3 deletions custom_components/xiaomi_home/translations/nl.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,14 +35,14 @@
"title": "Geavanceerde Instellingen",
"description": "## Inleiding\r\n### Houd de standaardinstellingen aan, tenzij u de betekenis van de volgende opties volledig begrijpt.\r\n### Besturingsmodus\r\n- Automatisch: Wanneer er een beschikbare Xiaomi-hub in het lokale netwerk is, zal Home Assistant voorrang geven aan het verzenden van besturingsopdrachten via de hub voor lokale besturing. Als er geen hub beschikbaar is, zal het proberen besturingsopdrachten te verzenden via het Xiaomi OT-protocol. Alleen als aan deze lokale besturingsvoorwaarden niet wordt voldaan, worden de opdrachten via de cloud verzonden.\r\n- Cloud: Besturingsopdrachten worden uitsluitend via de cloud verzonden.\r\n### Apparaatfiltering\r\nFilter ongewenste apparaten per familie.\r\n### Actie-debugmodus\r\nVoor methoden gedefinieerd door MIoT-Spec-V2-apparaten wordt, naast een meldingsentiteit, ook een tekstinvoerentiteit gemaakt waarmee u tijdens het debuggen besturingsopdrachten naar het apparaat kunt sturen.\r\n### Niet-standaard entiteiten verbergen\r\nVerberg entiteiten die door niet-standaard MIoT-Spec-V2-instanties worden gegenereerd en waarvan de naam begint met \"*\".",
"data": {
"devices_filter": "Apparaten filteren",
"ctrl_mode": "Besturingsmodus",
"action_debug": "Actie-debugmodus",
"hide_non_standard_entities": "Niet-standaard entiteiten verbergen",
"devices_filter": "Apparaatfiltering"
"hide_non_standard_entities": "Niet-standaard entiteiten verbergen"
}
},
"devices_filter": {
"title": "Apparaatfiltering",
"title": "Apparaten filteren",
"description": "## Inleiding\r\nFilter ongewenste apparaten per familie.",
"data": {
"filter_mode": "Filtermodus"
Expand Down
Loading

0 comments on commit 8429899

Please sign in to comment.