Skip to content

Commit bc26d79

Browse files
committed
style: sort JSON keys in icons.json and translations (pretty-format-json)
1 parent 5bb3ab6 commit bc26d79

22 files changed

Lines changed: 639 additions & 639 deletions

File tree

.codespellrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[codespell]
22
# Skip certain files and directories - use comma-separated list
3-
skip = docs/overhaul,*.js,*.json,*.yaml,*.yml,*.pyc,.git,.github,__pycache__,*.egg-info,.pytest_cache,.venv,venv,dist,build,PERFORMANCE_OPTIMIZATIONS.md,*/resources.py,*/_resources_data.py,*/_notification_images.py,*/dreame/const.py
3+
skip = ./docs/overhaul,*.js,*.json,*.yaml,*.yml,*.pyc,.git,.github,__pycache__,*.egg-info,.pytest_cache,.venv,venv,dist,build,PERFORMANCE_OPTIMIZATIONS.md,*/resources.py,*/_resources_data.py,*/_notification_images.py,*/dreame/const.py
44

55
# Ignore certain words that are legitimate or technical terms
66
# French words from documentation and code: valide,mot,projet,branche,chambre,manger,espace

custom_components/dreame_vacuum/icons.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -468,6 +468,9 @@
468468
"vacuum_backup_map": {
469469
"service": "mdi:content-save"
470470
},
471+
"vacuum_call_action": {
472+
"service": "mdi:play-box-outline"
473+
},
471474
"vacuum_clean_segment": {
472475
"service": "mdi:floor-plan"
473476
},
@@ -546,6 +549,9 @@
546549
"vacuum_set_predefined_points": {
547550
"service": "mdi:map-marker-multiple"
548551
},
552+
"vacuum_set_property": {
553+
"service": "mdi:tune-variant"
554+
},
549555
"vacuum_set_restricted_zone": {
550556
"service": "mdi:close-box-outline"
551557
},
@@ -560,12 +566,6 @@
560566
},
561567
"vacuum_start_shortcut": {
562568
"service": "mdi:motion-play-outline"
563-
},
564-
"vacuum_set_property": {
565-
"service": "mdi:tune-variant"
566-
},
567-
"vacuum_call_action": {
568-
"service": "mdi:play-box-outline"
569569
}
570570
}
571571
}

custom_components/dreame_vacuum/translations/ca.json

Lines changed: 32 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -1398,15 +1398,15 @@
13981398
"title": "Consumable depleted on {device_name}"
13991399
},
14001400
"segments_changed": {
1401-
"title": "Els segments del mapa han canviat a {device_name}",
14021401
"fix_flow": {
14031402
"step": {
14041403
"confirm": {
1405-
"title": "Segments del mapa modificats",
1406-
"description": "Les habitacions del mapa han canviat (s'ha afegit, eliminat o renumerat una habitació). Les automatitzacions i scripts basats en segments que fan referència a identificadors d'habitació podrien deixar d'apuntar a les habitacions correctes. Reviseu-los i, després, seleccioneu **Envia** per descartar aquest problema."
1404+
"description": "Les habitacions del mapa han canviat (s'ha afegit, eliminat o renumerat una habitació). Les automatitzacions i scripts basats en segments que fan referència a identificadors d'habitació podrien deixar d'apuntar a les habitacions correctes. Reviseu-los i, després, seleccioneu **Envia** per descartar aquest problema.",
1405+
"title": "Segments del mapa modificats"
14071406
}
14081407
}
1409-
}
1408+
},
1409+
"title": "Els segments del mapa han canviat a {device_name}"
14101410
}
14111411
},
14121412
"options": {
@@ -1479,6 +1479,20 @@
14791479
},
14801480
"name": "Còpia de Seguretat de Mapa"
14811481
},
1482+
"vacuum_call_action": {
1483+
"description": "Crida una acció en brut del dispositiu pel seu nom. Només per a ús avançat.",
1484+
"fields": {
1485+
"key": {
1486+
"description": "Nom de l'acció a cridar (tal com l'exposa el dispositiu).",
1487+
"name": "Acció"
1488+
},
1489+
"value": {
1490+
"description": "Paràmetres opcionals de l'acció.",
1491+
"name": "Paràmetres"
1492+
}
1493+
},
1494+
"name": "Crida una acció"
1495+
},
14821496
"vacuum_clean_segment": {
14831497
"description": "Inicia l'operació de neteja a les habitacions seleccionades.",
14841498
"fields": {
@@ -1845,6 +1859,20 @@
18451859
},
18461860
"name": "Estableix Punts Predefinits"
18471861
},
1862+
"vacuum_set_property": {
1863+
"description": "Estableix una propietat en brut del dispositiu pel seu nom. Només per a ús avançat.",
1864+
"fields": {
1865+
"key": {
1866+
"description": "Nom de la propietat a establir (tal com l'exposa el dispositiu).",
1867+
"name": "Propietat"
1868+
},
1869+
"value": {
1870+
"description": "Valor a establir.",
1871+
"name": "Valor"
1872+
}
1873+
},
1874+
"name": "Estableix una propietat"
1875+
},
18481876
"vacuum_set_restricted_zone": {
18491877
"description": "Definir parets virtuals, zones restringides i/o zones sense fregar.",
18501878
"fields": {
@@ -1914,34 +1942,6 @@
19141942
}
19151943
},
19161944
"name": "Iniciar drecera"
1917-
},
1918-
"vacuum_set_property": {
1919-
"name": "Estableix una propietat",
1920-
"description": "Estableix una propietat en brut del dispositiu pel seu nom. Només per a ús avançat.",
1921-
"fields": {
1922-
"key": {
1923-
"name": "Propietat",
1924-
"description": "Nom de la propietat a establir (tal com l'exposa el dispositiu)."
1925-
},
1926-
"value": {
1927-
"name": "Valor",
1928-
"description": "Valor a establir."
1929-
}
1930-
}
1931-
},
1932-
"vacuum_call_action": {
1933-
"name": "Crida una acció",
1934-
"description": "Crida una acció en brut del dispositiu pel seu nom. Només per a ús avançat.",
1935-
"fields": {
1936-
"key": {
1937-
"name": "Acció",
1938-
"description": "Nom de l'acció a cridar (tal com l'exposa el dispositiu)."
1939-
},
1940-
"value": {
1941-
"name": "Paràmetres",
1942-
"description": "Paràmetres opcionals de l'acció."
1943-
}
1944-
}
19451945
}
19461946
}
19471947
}

custom_components/dreame_vacuum/translations/cs.json

Lines changed: 32 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -1398,15 +1398,15 @@
13981398
"title": "Consumable depleted on {device_name}"
13991399
},
14001400
"segments_changed": {
1401-
"title": "Segmenty mapy se změnily na {device_name}",
14021401
"fix_flow": {
14031402
"step": {
14041403
"confirm": {
1405-
"title": "Segmenty mapy se změnily",
1406-
"description": "Místnosti na mapě se změnily (místnost byla přidána, odebrána nebo přečíslována). Automatizace a skripty založené na segmentech, které odkazují na ID místností, již nemusí mířit na správné místnosti. Zkontrolujte je a poté vyberte **Odeslat** pro zavření tohoto problému."
1404+
"description": "Místnosti na mapě se změnily (místnost byla přidána, odebrána nebo přečíslována). Automatizace a skripty založené na segmentech, které odkazují na ID místností, již nemusí mířit na správné místnosti. Zkontrolujte je a poté vyberte **Odeslat** pro zavření tohoto problému.",
1405+
"title": "Segmenty mapy se změnily"
14071406
}
14081407
}
1409-
}
1408+
},
1409+
"title": "Segmenty mapy se změnily na {device_name}"
14101410
}
14111411
},
14121412
"options": {
@@ -1479,6 +1479,20 @@
14791479
},
14801480
"name": "Zálohovat mapu"
14811481
},
1482+
"vacuum_call_action": {
1483+
"description": "Zavolá surovou akci zařízení podle názvu. Pouze pro pokročilé použití.",
1484+
"fields": {
1485+
"key": {
1486+
"description": "Název akce k zavolání (jak ji zařízení poskytuje).",
1487+
"name": "Akce"
1488+
},
1489+
"value": {
1490+
"description": "Volitelné parametry akce.",
1491+
"name": "Parametry"
1492+
}
1493+
},
1494+
"name": "Zavolat akci"
1495+
},
14821496
"vacuum_clean_segment": {
14831497
"description": "Spustit operaci uklízení ve vybraných místnostech.",
14841498
"fields": {
@@ -1845,6 +1859,20 @@
18451859
},
18461860
"name": "Nastavit předdefinované body"
18471861
},
1862+
"vacuum_set_property": {
1863+
"description": "Nastaví surovou vlastnost zařízení podle názvu. Pouze pro pokročilé použití.",
1864+
"fields": {
1865+
"key": {
1866+
"description": "Název vlastnosti k nastavení (jak ji zařízení poskytuje).",
1867+
"name": "Vlastnost"
1868+
},
1869+
"value": {
1870+
"description": "Hodnota k nastavení.",
1871+
"name": "Hodnota"
1872+
}
1873+
},
1874+
"name": "Nastavit vlastnost"
1875+
},
18481876
"vacuum_set_restricted_zone": {
18491877
"description": "Definovat virtuální stěny, zakázané zóny a/nebo zóny bez mopování.",
18501878
"fields": {
@@ -1914,34 +1942,6 @@
19141942
}
19151943
},
19161944
"name": "Spustit zkratku"
1917-
},
1918-
"vacuum_set_property": {
1919-
"name": "Nastavit vlastnost",
1920-
"description": "Nastaví surovou vlastnost zařízení podle názvu. Pouze pro pokročilé použití.",
1921-
"fields": {
1922-
"key": {
1923-
"name": "Vlastnost",
1924-
"description": "Název vlastnosti k nastavení (jak ji zařízení poskytuje)."
1925-
},
1926-
"value": {
1927-
"name": "Hodnota",
1928-
"description": "Hodnota k nastavení."
1929-
}
1930-
}
1931-
},
1932-
"vacuum_call_action": {
1933-
"name": "Zavolat akci",
1934-
"description": "Zavolá surovou akci zařízení podle názvu. Pouze pro pokročilé použití.",
1935-
"fields": {
1936-
"key": {
1937-
"name": "Akce",
1938-
"description": "Název akce k zavolání (jak ji zařízení poskytuje)."
1939-
},
1940-
"value": {
1941-
"name": "Parametry",
1942-
"description": "Volitelné parametry akce."
1943-
}
1944-
}
19451945
}
19461946
}
19471947
}

custom_components/dreame_vacuum/translations/de.json

Lines changed: 32 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -1398,15 +1398,15 @@
13981398
"title": "Verbrauchsmaterial aufgebraucht auf {device_name}"
13991399
},
14001400
"segments_changed": {
1401-
"title": "Kartensegmente auf {device_name} geändert",
14021401
"fix_flow": {
14031402
"step": {
14041403
"confirm": {
1405-
"title": "Kartensegmente geändert",
1406-
"description": "Die Räume der Karte haben sich geändert (ein Raum wurde hinzugefügt, entfernt oder neu nummeriert). Segmentbasierte Automatisierungen und Skripte, die Raum-IDs referenzieren, treffen möglicherweise nicht mehr die richtigen Räume. Überprüfen Sie diese und wählen Sie dann **Senden**, um dieses Problem zu schließen."
1404+
"description": "Die Räume der Karte haben sich geändert (ein Raum wurde hinzugefügt, entfernt oder neu nummeriert). Segmentbasierte Automatisierungen und Skripte, die Raum-IDs referenzieren, treffen möglicherweise nicht mehr die richtigen Räume. Überprüfen Sie diese und wählen Sie dann **Senden**, um dieses Problem zu schließen.",
1405+
"title": "Kartensegmente geändert"
14071406
}
14081407
}
1409-
}
1408+
},
1409+
"title": "Kartensegmente auf {device_name} geändert"
14101410
}
14111411
},
14121412
"options": {
@@ -1479,6 +1479,20 @@
14791479
},
14801480
"name": "Backup-Karte"
14811481
},
1482+
"vacuum_call_action": {
1483+
"description": "Ruft eine rohe Geräteaktion anhand ihres Namens auf. Nur für fortgeschrittene Nutzung.",
1484+
"fields": {
1485+
"key": {
1486+
"description": "Name der aufzurufenden Aktion (wie vom Gerät bereitgestellt).",
1487+
"name": "Aktion"
1488+
},
1489+
"value": {
1490+
"description": "Optionale Parameter für die Aktion.",
1491+
"name": "Parameter"
1492+
}
1493+
},
1494+
"name": "Aktion aufrufen"
1495+
},
14821496
"vacuum_clean_segment": {
14831497
"description": "Starte den Reinigungsvorgang in den ausgewählten Räumen.",
14841498
"fields": {
@@ -1845,6 +1859,20 @@
18451859
},
18461860
"name": "Vordefinierte Punkte festlegen"
18471861
},
1862+
"vacuum_set_property": {
1863+
"description": "Setzt eine rohe Geräteeigenschaft anhand ihres Namens. Nur für fortgeschrittene Nutzung.",
1864+
"fields": {
1865+
"key": {
1866+
"description": "Name der zu setzenden Eigenschaft (wie vom Gerät bereitgestellt).",
1867+
"name": "Eigenschaft"
1868+
},
1869+
"value": {
1870+
"description": "Zu setzender Wert.",
1871+
"name": "Wert"
1872+
}
1873+
},
1874+
"name": "Eigenschaft setzen"
1875+
},
18481876
"vacuum_set_restricted_zone": {
18491877
"description": "Virtuelle Wände, eingeschränkte Bereiche und/oder Nicht-Wischzonen definieren.",
18501878
"fields": {
@@ -1914,34 +1942,6 @@
19141942
}
19151943
},
19161944
"name": "Kurzbefehlsstart"
1917-
},
1918-
"vacuum_set_property": {
1919-
"name": "Eigenschaft setzen",
1920-
"description": "Setzt eine rohe Geräteeigenschaft anhand ihres Namens. Nur für fortgeschrittene Nutzung.",
1921-
"fields": {
1922-
"key": {
1923-
"name": "Eigenschaft",
1924-
"description": "Name der zu setzenden Eigenschaft (wie vom Gerät bereitgestellt)."
1925-
},
1926-
"value": {
1927-
"name": "Wert",
1928-
"description": "Zu setzender Wert."
1929-
}
1930-
}
1931-
},
1932-
"vacuum_call_action": {
1933-
"name": "Aktion aufrufen",
1934-
"description": "Ruft eine rohe Geräteaktion anhand ihres Namens auf. Nur für fortgeschrittene Nutzung.",
1935-
"fields": {
1936-
"key": {
1937-
"name": "Aktion",
1938-
"description": "Name der aufzurufenden Aktion (wie vom Gerät bereitgestellt)."
1939-
},
1940-
"value": {
1941-
"name": "Parameter",
1942-
"description": "Optionale Parameter für die Aktion."
1943-
}
1944-
}
19451945
}
19461946
}
19471947
}

0 commit comments

Comments
 (0)