purifier-card 2.6.9 → 2.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.github/FUNDING.yml +1 -1
- package/.github/release-drafter.yml +58 -0
- package/.github/workflows/deps.yml +26 -0
- package/.github/workflows/main.yml +1 -47
- package/.github/workflows/release-drafter.yml +20 -0
- package/.github/workflows/release.yml +44 -0
- package/.husky/pre-commit +0 -3
- package/AGENTS.md +65 -0
- package/dist/purifier-card.js +2 -278
- package/eslint.config.mjs +26 -0
- package/package.json +26 -22
- package/rollup.config.mjs +3 -2
- package/scripts/validate-i18n +78 -0
- package/src/purifier-card.ts +63 -32
- package/src/styles.css +45 -7
- package/src/translations/bg.json +12 -3
- package/src/translations/ca.json +12 -3
- package/src/translations/cs.json +12 -3
- package/src/translations/de.json +12 -3
- package/src/translations/en.json +12 -3
- package/src/translations/es.json +12 -3
- package/src/translations/fr.json +12 -3
- package/src/translations/it.json +12 -3
- package/src/translations/nb.json +12 -3
- package/src/translations/nl.json +12 -3
- package/src/translations/pl.json +11 -3
- package/src/translations/pt.json +12 -6
- package/src/translations/ru.json +12 -3
- package/src/translations/sk.json +12 -3
- package/src/translations/tr.json +12 -3
- package/src/translations/uk.json +12 -3
- package/src/translations/zh-Hans.json +12 -3
- package/src/translations/zh-Hant.json +12 -3
- package/.eslintrc.json +0 -17
package/src/translations/fr.json
CHANGED
|
@@ -3,7 +3,8 @@
|
|
|
3
3
|
"name": "Carte purificateur",
|
|
4
4
|
"description": "La carte purificateur vous permet de contrôler votre purificateur d'air intelligent.",
|
|
5
5
|
"not_available": "Le purificateur n'est pas disponible",
|
|
6
|
-
"toggle_power": "Allumer/éteindre"
|
|
6
|
+
"toggle_power": "Allumer/éteindre",
|
|
7
|
+
"preset_mode": "Mode prédéfini"
|
|
7
8
|
},
|
|
8
9
|
"state": {
|
|
9
10
|
"on": "Allumé",
|
|
@@ -13,10 +14,15 @@
|
|
|
13
14
|
"auto": "Auto",
|
|
14
15
|
"silent": "Nuit",
|
|
15
16
|
"favorite": "Favori",
|
|
16
|
-
"fan": "Manuel"
|
|
17
|
+
"fan": "Manuel",
|
|
18
|
+
"idle": "Inactif",
|
|
19
|
+
"low": "Faible",
|
|
20
|
+
"medium": "Moyen",
|
|
21
|
+
"high": "Élevé"
|
|
17
22
|
},
|
|
18
23
|
"error": {
|
|
19
|
-
"missing_entity": "Il est obligatoire de spécifier une entité!"
|
|
24
|
+
"missing_entity": "Il est obligatoire de spécifier une entité!",
|
|
25
|
+
"invalid_config": "Configuration de carte invalide !"
|
|
20
26
|
},
|
|
21
27
|
"editor": {
|
|
22
28
|
"entity": "Entité (obligatoire)",
|
|
@@ -33,5 +39,8 @@
|
|
|
33
39
|
"show_toolbar_aria_label_on": "Activer l'affichage de la barre d'outils",
|
|
34
40
|
"show_toolbar_aria_label_off": "Désactiver l'affichage de la barre d'outils",
|
|
35
41
|
"code_only_note": "Remarque: Les options de réglage des actions et statistiques sont disponibles exclusivement en utilisant l'éditeur de code."
|
|
42
|
+
},
|
|
43
|
+
"warning": {
|
|
44
|
+
"actions_array": "AVERTISSEMENT : 'actions' a été renommé en 'shortcuts'"
|
|
36
45
|
}
|
|
37
46
|
}
|
package/src/translations/it.json
CHANGED
|
@@ -3,7 +3,8 @@
|
|
|
3
3
|
"name": "Card del purificatore",
|
|
4
4
|
"description": "La card del purificatore ti permette di controllare il tuo purificatore intelligente.",
|
|
5
5
|
"not_available": "L'entità non è disponibile",
|
|
6
|
-
"toggle_power": "Accendi/Spegni"
|
|
6
|
+
"toggle_power": "Accendi/Spegni",
|
|
7
|
+
"preset_mode": "Modalità preimpostata"
|
|
7
8
|
},
|
|
8
9
|
"state": {
|
|
9
10
|
"on": "Acceso",
|
|
@@ -13,10 +14,15 @@
|
|
|
13
14
|
"auto": "Auto",
|
|
14
15
|
"silent": "Silenzioso",
|
|
15
16
|
"favorite": "Preferito",
|
|
16
|
-
"fan": "Ventola"
|
|
17
|
+
"fan": "Ventola",
|
|
18
|
+
"idle": "Inattivo",
|
|
19
|
+
"low": "Basso",
|
|
20
|
+
"medium": "Medio",
|
|
21
|
+
"high": "Alto"
|
|
17
22
|
},
|
|
18
23
|
"error": {
|
|
19
|
-
"missing_entity": "É necessario specificare l'entità"
|
|
24
|
+
"missing_entity": "É necessario specificare l'entità",
|
|
25
|
+
"invalid_config": "Configurazione della card non valida!"
|
|
20
26
|
},
|
|
21
27
|
"editor": {
|
|
22
28
|
"entity": "Entità (richiesto)",
|
|
@@ -33,5 +39,8 @@
|
|
|
33
39
|
"show_toolbar_aria_label_on": "Visualizza barra degli strumenti",
|
|
34
40
|
"show_toolbar_aria_label_off": "Non visualizzare la barra degli strumenti",
|
|
35
41
|
"code_only_note": "Nota: le opzioni di impostazione delle azioni e delle statistiche sono disponibili esclusivamente utilizzando l'editor di codice."
|
|
42
|
+
},
|
|
43
|
+
"warning": {
|
|
44
|
+
"actions_array": "AVVISO: 'actions' è stato rinominato in 'shortcuts'"
|
|
36
45
|
}
|
|
37
46
|
}
|
package/src/translations/nb.json
CHANGED
|
@@ -3,7 +3,8 @@
|
|
|
3
3
|
"name": "Purifier Card",
|
|
4
4
|
"description": "Purifier-kortet lar deg kontrollere din smarte purifier.",
|
|
5
5
|
"not_available": "Enhet er ikke tilgjengelig",
|
|
6
|
-
"toggle_power": "Slå på/av"
|
|
6
|
+
"toggle_power": "Slå på/av",
|
|
7
|
+
"preset_mode": "Forhåndsinnstilt modus"
|
|
7
8
|
},
|
|
8
9
|
"state": {
|
|
9
10
|
"on": "På",
|
|
@@ -13,10 +14,15 @@
|
|
|
13
14
|
"auto": "Auto",
|
|
14
15
|
"silent": "Stille",
|
|
15
16
|
"favorite": "Favoritt",
|
|
16
|
-
"fan": "Vifte"
|
|
17
|
+
"fan": "Vifte",
|
|
18
|
+
"idle": "Inaktiv",
|
|
19
|
+
"low": "Lav",
|
|
20
|
+
"medium": "Middels",
|
|
21
|
+
"high": "Høy"
|
|
17
22
|
},
|
|
18
23
|
"error": {
|
|
19
|
-
"missing_entity": "Spesifiserende enhet kreves!"
|
|
24
|
+
"missing_entity": "Spesifiserende enhet kreves!",
|
|
25
|
+
"invalid_config": "Ugyldig kortkonfigurasjon!"
|
|
20
26
|
},
|
|
21
27
|
"editor": {
|
|
22
28
|
"entity": "Enhet (påkrevd)",
|
|
@@ -33,5 +39,8 @@
|
|
|
33
39
|
"show_toolbar_aria_label_on": "Slå skjermverktøylinjen på",
|
|
34
40
|
"show_toolbar_aria_label_off": "Slå skjermverktøylinjen av",
|
|
35
41
|
"code_only_note": "Merk: Innstillingshandlinger og statistikkalternativer er eksklusivt tilgjengelige ved hjelp av Code Editor."
|
|
42
|
+
},
|
|
43
|
+
"warning": {
|
|
44
|
+
"actions_array": "ADVARSEL: 'actions' har blitt omdøpt til 'shortcuts'"
|
|
36
45
|
}
|
|
37
46
|
}
|
package/src/translations/nl.json
CHANGED
|
@@ -3,7 +3,8 @@
|
|
|
3
3
|
"name": "Luchtververser Card",
|
|
4
4
|
"description": "Luchtververser card stelt je in staat je smart purifier te bedienen.",
|
|
5
5
|
"not_available": "Entity is niet beschikbaar",
|
|
6
|
-
"toggle_power": "Zet aan/uit"
|
|
6
|
+
"toggle_power": "Zet aan/uit",
|
|
7
|
+
"preset_mode": "Voorinstellingsmodus"
|
|
7
8
|
},
|
|
8
9
|
"state": {
|
|
9
10
|
"on": "Aan",
|
|
@@ -13,10 +14,15 @@
|
|
|
13
14
|
"auto": "Auto",
|
|
14
15
|
"silent": "Stil",
|
|
15
16
|
"favorite": "Favoriet",
|
|
16
|
-
"fan": "Ventilator"
|
|
17
|
+
"fan": "Ventilator",
|
|
18
|
+
"idle": "Inactief",
|
|
19
|
+
"low": "Laag",
|
|
20
|
+
"medium": "Middel",
|
|
21
|
+
"high": "Hoog"
|
|
17
22
|
},
|
|
18
23
|
"error": {
|
|
19
|
-
"missing_entity": "Instellen van entity is verplicht!"
|
|
24
|
+
"missing_entity": "Instellen van entity is verplicht!",
|
|
25
|
+
"invalid_config": "Ongeldige kaartconfiguratie!"
|
|
20
26
|
},
|
|
21
27
|
"editor": {
|
|
22
28
|
"entity": "Entity (Verplicht)",
|
|
@@ -33,5 +39,8 @@
|
|
|
33
39
|
"show_toolbar_aria_label_on": "Schakel display toolbar in",
|
|
34
40
|
"show_toolbar_aria_label_off": "Schakel display toolbar uit",
|
|
35
41
|
"code_only_note": "Let op: Setting actions en stats opties zijn alleen beschikbaar bij het gebruik van de Code Editor."
|
|
42
|
+
},
|
|
43
|
+
"warning": {
|
|
44
|
+
"actions_array": "WAARSCHUWING: 'actions' is hernoemd naar 'shortcuts'"
|
|
36
45
|
}
|
|
37
46
|
}
|
package/src/translations/pl.json
CHANGED
|
@@ -3,7 +3,8 @@
|
|
|
3
3
|
"name": "Karta oczyszczacza powietrza",
|
|
4
4
|
"description": "Karta oczyszczacza powietrza pozwala na kontrolowanie Twojego urządzenia.",
|
|
5
5
|
"not_available": "Encja jest niedostępna",
|
|
6
|
-
"toggle_power": "Włącz/wyłącz"
|
|
6
|
+
"toggle_power": "Włącz/wyłącz",
|
|
7
|
+
"preset_mode": "Tryb wstępny"
|
|
7
8
|
},
|
|
8
9
|
"state": {
|
|
9
10
|
"on": "Włączony",
|
|
@@ -14,10 +15,14 @@
|
|
|
14
15
|
"silent": "Cichy",
|
|
15
16
|
"favorite": "Ulubiony",
|
|
16
17
|
"fan": "Wentylator",
|
|
17
|
-
"idle": "Bezczynny"
|
|
18
|
+
"idle": "Bezczynny",
|
|
19
|
+
"low": "Niski",
|
|
20
|
+
"medium": "Średni",
|
|
21
|
+
"high": "Wysoki"
|
|
18
22
|
},
|
|
19
23
|
"error": {
|
|
20
|
-
"missing_entity": "Wymagane jest zadeklarowanie encji!"
|
|
24
|
+
"missing_entity": "Wymagane jest zadeklarowanie encji!",
|
|
25
|
+
"invalid_config": "Nieprawidłowa konfiguracja karty!"
|
|
21
26
|
},
|
|
22
27
|
"editor": {
|
|
23
28
|
"entity": "Encja (wymagane)",
|
|
@@ -34,5 +39,8 @@
|
|
|
34
39
|
"show_toolbar_aria_label_on": "Włącz wyświetlanie paska narzędzi",
|
|
35
40
|
"show_toolbar_aria_label_off": "Wyłącz wyświetlanie paska narzędzi",
|
|
36
41
|
"code_only_note": "Uwaga: Konfiguracja akcji i statystyk dostępna jest tylko w edytorze YAML karty."
|
|
42
|
+
},
|
|
43
|
+
"warning": {
|
|
44
|
+
"actions_array": "OSTRZEŻENIE: 'actions' zostało przemianowane na 'shortcuts'"
|
|
37
45
|
}
|
|
38
46
|
}
|
package/src/translations/pt.json
CHANGED
|
@@ -3,20 +3,26 @@
|
|
|
3
3
|
"name": "Cartão Purificador",
|
|
4
4
|
"description": "O cartão purificador permite que controle o seu purificador inteligente.",
|
|
5
5
|
"not_available": "Entidade não disponível",
|
|
6
|
-
"toggle_power": "Ligar/Desligar"
|
|
6
|
+
"toggle_power": "Ligar/Desligar",
|
|
7
|
+
"preset_mode": "Modo predefinido"
|
|
7
8
|
},
|
|
8
9
|
"state": {
|
|
9
10
|
"on": "Ligado",
|
|
10
11
|
"off": "Desligado"
|
|
11
12
|
},
|
|
12
13
|
"preset_mode": {
|
|
13
|
-
"
|
|
14
|
-
"
|
|
15
|
-
"
|
|
16
|
-
"
|
|
14
|
+
"auto": "Automático",
|
|
15
|
+
"silent": "Silencioso",
|
|
16
|
+
"favorite": "Favorito",
|
|
17
|
+
"fan": "Ventilador",
|
|
18
|
+
"idle": "Inativo",
|
|
19
|
+
"low": "Baixo",
|
|
20
|
+
"medium": "Médio",
|
|
21
|
+
"high": "Alto"
|
|
17
22
|
},
|
|
18
23
|
"error": {
|
|
19
|
-
"missing_entity": "A especificação da entidade é necessária!"
|
|
24
|
+
"missing_entity": "A especificação da entidade é necessária!",
|
|
25
|
+
"invalid_config": "Configuração inválida do cartão!"
|
|
20
26
|
},
|
|
21
27
|
"warning": {
|
|
22
28
|
"actions_array": "AVISO: 'actions' foi renomeado para 'shortcuts'"
|
package/src/translations/ru.json
CHANGED
|
@@ -3,7 +3,8 @@
|
|
|
3
3
|
"name": "Карточка очистителя воздуха",
|
|
4
4
|
"description": "Карточка очистителя вохдуха позволяет вам управлять своим умным очистителем.",
|
|
5
5
|
"not_available": "Сущность не доступна",
|
|
6
|
-
"toggle_power": "Включить/Выключить"
|
|
6
|
+
"toggle_power": "Включить/Выключить",
|
|
7
|
+
"preset_mode": "Предустановленный режим"
|
|
7
8
|
},
|
|
8
9
|
"state": {
|
|
9
10
|
"on": "Вкл.",
|
|
@@ -13,10 +14,15 @@
|
|
|
13
14
|
"auto": "Автоматическая",
|
|
14
15
|
"silent": "Тихая",
|
|
15
16
|
"favorite": "Предпочтительная",
|
|
16
|
-
"fan": "Максимальная"
|
|
17
|
+
"fan": "Максимальная",
|
|
18
|
+
"idle": "Ожидание",
|
|
19
|
+
"low": "Низкая",
|
|
20
|
+
"medium": "Средняя",
|
|
21
|
+
"high": "Высокая"
|
|
17
22
|
},
|
|
18
23
|
"error": {
|
|
19
|
-
"missing_entity": "Требуется указать сущность!"
|
|
24
|
+
"missing_entity": "Требуется указать сущность!",
|
|
25
|
+
"invalid_config": "Недопустимая конфигурация карточки!"
|
|
20
26
|
},
|
|
21
27
|
"editor": {
|
|
22
28
|
"entity": "Сущность (Обязательно!)",
|
|
@@ -33,5 +39,8 @@
|
|
|
33
39
|
"show_toolbar_aria_label_on": "Отобразить панель инструментов",
|
|
34
40
|
"show_toolbar_aria_label_off": "Скрыть панель инструментов",
|
|
35
41
|
"code_only_note": "Примечание: Настройки действий и параметров состояний доступны только в редакторе кода."
|
|
42
|
+
},
|
|
43
|
+
"warning": {
|
|
44
|
+
"actions_array": "ПРЕДУПРЕЖДЕНИЕ: 'actions' было переименовано в 'shortcuts'"
|
|
36
45
|
}
|
|
37
46
|
}
|
package/src/translations/sk.json
CHANGED
|
@@ -3,7 +3,8 @@
|
|
|
3
3
|
"name": "Karta čističky",
|
|
4
4
|
"description": "Karta čističky vám umožňuje ovládať vašu inteligentnú čističku.",
|
|
5
5
|
"not_available": "Entita nie je k dispozícii",
|
|
6
|
-
"toggle_power": "Zapnúť/vypnúť"
|
|
6
|
+
"toggle_power": "Zapnúť/vypnúť",
|
|
7
|
+
"preset_mode": "Predvolený režim"
|
|
7
8
|
},
|
|
8
9
|
"state": {
|
|
9
10
|
"on": "Zapnúť",
|
|
@@ -13,10 +14,15 @@
|
|
|
13
14
|
"auto": "Auto",
|
|
14
15
|
"silent": "Tichý",
|
|
15
16
|
"favorite": "Obľúbené",
|
|
16
|
-
"fan": "Ventilátor"
|
|
17
|
+
"fan": "Ventilátor",
|
|
18
|
+
"idle": "Nečinný",
|
|
19
|
+
"low": "Nízky",
|
|
20
|
+
"medium": "Stredný",
|
|
21
|
+
"high": "Vysoký"
|
|
17
22
|
},
|
|
18
23
|
"error": {
|
|
19
|
-
"missing_entity": "Je potrebné zadať entitu!"
|
|
24
|
+
"missing_entity": "Je potrebné zadať entitu!",
|
|
25
|
+
"invalid_config": "Neplatná konfigurácia karty!"
|
|
20
26
|
},
|
|
21
27
|
"editor": {
|
|
22
28
|
"entity": "Entita (požadované)",
|
|
@@ -33,5 +39,8 @@
|
|
|
33
39
|
"show_toolbar_aria_label_on": "Zapnúť panel s nástrojmi zobrazenia",
|
|
34
40
|
"show_toolbar_aria_label_off": "Vypnúť panel s nástrojmi zobrazenia",
|
|
35
41
|
"code_only_note": "Poznámka: Možnosti nastavenia akcií a štatistík sú dostupné výlučne pomocou Editora kódu."
|
|
42
|
+
},
|
|
43
|
+
"warning": {
|
|
44
|
+
"actions_array": "UPOZORNENIE: 'actions' bolo premenované na 'shortcuts'"
|
|
36
45
|
}
|
|
37
46
|
}
|
package/src/translations/tr.json
CHANGED
|
@@ -3,7 +3,8 @@
|
|
|
3
3
|
"name": "Purifier Card",
|
|
4
4
|
"description": "Purifier kartı hava temizleyicinizi kontrol etmenize yardımcı olur.",
|
|
5
5
|
"not_available": "Varlık müsait değil",
|
|
6
|
-
"toggle_power": "Kapat/Aç"
|
|
6
|
+
"toggle_power": "Kapat/Aç",
|
|
7
|
+
"preset_mode": "Ön ayar modu"
|
|
7
8
|
},
|
|
8
9
|
"state": {
|
|
9
10
|
"on": "Açık",
|
|
@@ -13,10 +14,15 @@
|
|
|
13
14
|
"auto": "Otomatik",
|
|
14
15
|
"silent": "Sessiz",
|
|
15
16
|
"favorite": "Favori",
|
|
16
|
-
"fan": "Fan"
|
|
17
|
+
"fan": "Fan",
|
|
18
|
+
"idle": "Boşta",
|
|
19
|
+
"low": "Düşük",
|
|
20
|
+
"medium": "Orta",
|
|
21
|
+
"high": "Yüksek"
|
|
17
22
|
},
|
|
18
23
|
"error": {
|
|
19
|
-
"missing_entity": "Varlığı belirtmeniz gereklidir!"
|
|
24
|
+
"missing_entity": "Varlığı belirtmeniz gereklidir!",
|
|
25
|
+
"invalid_config": "Geçersiz kart yapılandırması!"
|
|
20
26
|
},
|
|
21
27
|
"editor": {
|
|
22
28
|
"entity": "Varlık (Gerekli)",
|
|
@@ -33,5 +39,8 @@
|
|
|
33
39
|
"show_toolbar_aria_label_on": "Araç çubuğu gösterimini aç",
|
|
34
40
|
"show_toolbar_aria_label_off": "Araç çubuğu gösterimini kapat",
|
|
35
41
|
"code_only_note": "Not: Aksiyon ataması ve istatistik seçenekleri şu anda Kod Editörü kullanımı ile mümkündür."
|
|
42
|
+
},
|
|
43
|
+
"warning": {
|
|
44
|
+
"actions_array": "UYARI: 'actions', 'shortcuts' olarak yeniden adlandırıldı"
|
|
36
45
|
}
|
|
37
46
|
}
|
package/src/translations/uk.json
CHANGED
|
@@ -3,7 +3,8 @@
|
|
|
3
3
|
"name": "Очищувач повітря",
|
|
4
4
|
"description": "Картка \"Очищувач повітря\" дозволяє керувати розумним очищувачем повітря.",
|
|
5
5
|
"not_available": "Очищувач повітря недоступний",
|
|
6
|
-
"toggle_power": "Увімкнути/Вимкнути"
|
|
6
|
+
"toggle_power": "Увімкнути/Вимкнути",
|
|
7
|
+
"preset_mode": "Попередньо встановлений режим"
|
|
7
8
|
},
|
|
8
9
|
"state": {
|
|
9
10
|
"on": "Увімкнений",
|
|
@@ -13,10 +14,15 @@
|
|
|
13
14
|
"auto": "Авто",
|
|
14
15
|
"silent": "Тихий",
|
|
15
16
|
"favorite": "Улюблений",
|
|
16
|
-
"fan": "Вентилятор"
|
|
17
|
+
"fan": "Вентилятор",
|
|
18
|
+
"idle": "Очікування",
|
|
19
|
+
"low": "Низький",
|
|
20
|
+
"medium": "Середній",
|
|
21
|
+
"high": "Високий"
|
|
17
22
|
},
|
|
18
23
|
"error": {
|
|
19
|
-
"missing_entity": "Сутність є обов’язковим полем!"
|
|
24
|
+
"missing_entity": "Сутність є обов’язковим полем!",
|
|
25
|
+
"invalid_config": "Недійсна конфігурація картки!"
|
|
20
26
|
},
|
|
21
27
|
"editor": {
|
|
22
28
|
"entity": "Об’єкт (Required)",
|
|
@@ -33,5 +39,8 @@
|
|
|
33
39
|
"show_toolbar_aria_label_on": "Показати панель дій",
|
|
34
40
|
"show_toolbar_aria_label_off": "Приховати панель дій",
|
|
35
41
|
"code_only_note": "Увага: Опції actions та stats доступні виключно через редактор коду."
|
|
42
|
+
},
|
|
43
|
+
"warning": {
|
|
44
|
+
"actions_array": "ПОПЕРЕДЖЕННЯ: 'actions' перейменовано на 'shortcuts'"
|
|
36
45
|
}
|
|
37
46
|
}
|
|
@@ -3,7 +3,8 @@
|
|
|
3
3
|
"name": "Purifier Card",
|
|
4
4
|
"description": "Purifier card 可以让你以更轻松的方式控制你的空气净化器",
|
|
5
5
|
"not_available": "实体不可用",
|
|
6
|
-
"toggle_power": "开/关"
|
|
6
|
+
"toggle_power": "开/关",
|
|
7
|
+
"preset_mode": "预设模式"
|
|
7
8
|
},
|
|
8
9
|
"state": {
|
|
9
10
|
"on": "开",
|
|
@@ -13,10 +14,15 @@
|
|
|
13
14
|
"auto": "自动",
|
|
14
15
|
"silent": "睡眠",
|
|
15
16
|
"favorite": "最爱",
|
|
16
|
-
"fan": "风扇"
|
|
17
|
+
"fan": "风扇",
|
|
18
|
+
"idle": "空闲",
|
|
19
|
+
"low": "低",
|
|
20
|
+
"medium": "中",
|
|
21
|
+
"high": "高"
|
|
17
22
|
},
|
|
18
23
|
"error": {
|
|
19
|
-
"missing_entity": "必须指定实体"
|
|
24
|
+
"missing_entity": "必须指定实体",
|
|
25
|
+
"invalid_config": "卡片配置无效!"
|
|
20
26
|
},
|
|
21
27
|
"editor": {
|
|
22
28
|
"entity": "实体 (必填)",
|
|
@@ -33,5 +39,8 @@
|
|
|
33
39
|
"show_toolbar_aria_label_on": "打开工具栏显示",
|
|
34
40
|
"show_toolbar_aria_label_off": "关闭工具栏显示",
|
|
35
41
|
"code_only_note": "注意: 只有使用代码编辑器才能设置操作和统计选项。"
|
|
42
|
+
},
|
|
43
|
+
"warning": {
|
|
44
|
+
"actions_array": "警告:'actions' 已重命名为 'shortcuts'"
|
|
36
45
|
}
|
|
37
46
|
}
|
|
@@ -3,7 +3,8 @@
|
|
|
3
3
|
"name": "Purifier Card",
|
|
4
4
|
"description": "讓您用更輕鬆的方式控制智慧空氣清淨機的卡片。",
|
|
5
5
|
"not_available": "實體無法使用",
|
|
6
|
-
"toggle_power": "開關"
|
|
6
|
+
"toggle_power": "開關",
|
|
7
|
+
"preset_mode": "預設模式"
|
|
7
8
|
},
|
|
8
9
|
"state": {
|
|
9
10
|
"on": "開",
|
|
@@ -13,10 +14,15 @@
|
|
|
13
14
|
"auto": "自動",
|
|
14
15
|
"silent": "靜音",
|
|
15
16
|
"favorite": "最愛",
|
|
16
|
-
"fan": "送風"
|
|
17
|
+
"fan": "送風",
|
|
18
|
+
"idle": "閒置",
|
|
19
|
+
"low": "低",
|
|
20
|
+
"medium": "中",
|
|
21
|
+
"high": "高"
|
|
17
22
|
},
|
|
18
23
|
"error": {
|
|
19
|
-
"missing_entity": "必須指定實體名稱!"
|
|
24
|
+
"missing_entity": "必須指定實體名稱!",
|
|
25
|
+
"invalid_config": "卡片設定無效!"
|
|
20
26
|
},
|
|
21
27
|
"editor": {
|
|
22
28
|
"entity": "實體名稱(必填)",
|
|
@@ -33,5 +39,8 @@
|
|
|
33
39
|
"show_toolbar_aria_label_on": "顯示工具列",
|
|
34
40
|
"show_toolbar_aria_label_off": "隱藏工具列",
|
|
35
41
|
"code_only_note": "註:必須使用編碼編輯器編輯 actions 與 stats 選項。"
|
|
42
|
+
},
|
|
43
|
+
"warning": {
|
|
44
|
+
"actions_array": "警告:'actions' 已重新命名為 'shortcuts'"
|
|
36
45
|
}
|
|
37
46
|
}
|
package/.eslintrc.json
DELETED
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"parser": "@typescript-eslint/parser",
|
|
3
|
-
"extends": [
|
|
4
|
-
"plugin:@typescript-eslint/recommended",
|
|
5
|
-
"eslint:recommended",
|
|
6
|
-
"prettier"
|
|
7
|
-
],
|
|
8
|
-
"plugins": ["import"],
|
|
9
|
-
"env": {
|
|
10
|
-
"browser": true,
|
|
11
|
-
"es6": true
|
|
12
|
-
},
|
|
13
|
-
"parserOptions": {
|
|
14
|
-
"ecmaVersion": 2020,
|
|
15
|
-
"sourceType": "module"
|
|
16
|
-
}
|
|
17
|
-
}
|