purifier-card 2.6.2 → 2.6.3

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "purifier-card",
3
- "version": "2.6.2",
3
+ "version": "2.6.3",
4
4
  "description": "Air Purifier card for Home Assistant Lovelace UI",
5
5
  "main": "dist/purifier-card.js",
6
6
  "scripts": {
package/src/localize.ts CHANGED
@@ -8,8 +8,8 @@ import * as fr from './translations/fr.json';
8
8
  import * as nb from './translations/nb.json';
9
9
  import * as pl from './translations/pl.json';
10
10
  import * as bg from './translations/bg.json';
11
- import * as zh_CN from './translations/zh-CN.json';
12
- import * as zh_TW from './translations/zh-TW.json';
11
+ import * as zh_Hans from './translations/zh-Hans.json';
12
+ import * as zh_Hant from './translations/zh-Hant.json';
13
13
  import * as de from './translations/de.json';
14
14
  import * as ca from './translations/ca.json';
15
15
  import * as ru from './translations/ru.json';
@@ -17,6 +17,8 @@ import * as it from './translations/it.json';
17
17
  import * as cs from './translations/cs.json';
18
18
  import * as nl from './translations/nl.json';
19
19
  import * as es from './translations/es.json';
20
+ import * as sk from './translations/sk.json';
21
+ import * as pt from './translations/pt.json';
20
22
 
21
23
  type Translations = {
22
24
  [key: string]: {
@@ -32,8 +34,8 @@ const languages: Record<string, Translations> = {
32
34
  nb,
33
35
  pl,
34
36
  bg,
35
- zh_CN,
36
- zh_TW,
37
+ zh_Hans,
38
+ zh_Hant,
37
39
  de,
38
40
  ca,
39
41
  ru,
@@ -41,6 +43,8 @@ const languages: Record<string, Translations> = {
41
43
  cs,
42
44
  nl,
43
45
  es,
46
+ sk,
47
+ pt,
44
48
  };
45
49
 
46
50
  const DEFAULT_LANG = 'en';
@@ -0,0 +1,40 @@
1
+ {
2
+ "common": {
3
+ "name": "Cartão Purificador",
4
+ "description": "O cartão purificador permite que controle o seu purificador inteligente.",
5
+ "not_available": "Entidade não disponível",
6
+ "toggle_power": "Ligar/Desligar"
7
+ },
8
+ "state": {
9
+ "on": "Ligado",
10
+ "off": "Desligado"
11
+ },
12
+ "preset_mode": {
13
+ "Auto": "Automático",
14
+ "Silent": "Silencioso",
15
+ "Favorite": "Favorito",
16
+ "Fan": "Ventilador"
17
+ },
18
+ "error": {
19
+ "missing_entity": "A especificação da entidade é necessária!"
20
+ },
21
+ "warning": {
22
+ "actions_array": "AVISO: 'actions' foi renomeado para 'shortcuts'"
23
+ },
24
+ "editor": {
25
+ "entity": "Entidade (obrigatório)",
26
+ "compact_view": "Vista compacta",
27
+ "compact_view_aria_label_on": "Ativar vista compacta",
28
+ "compact_view_aria_label_off": "Desativar vista compacta",
29
+ "show_name": "Mostrar nome",
30
+ "show_name_aria_label_on": "Ativar nome da exibição",
31
+ "show_name_aria_label_off": "Desativar nome da exibição",
32
+ "show_state": "Mostrar estado",
33
+ "show_state_aria_label_on": "Ativar exibição de estado",
34
+ "show_state_aria_label_off": "Desativar exibição de estado",
35
+ "show_toolbar": "Mostrar barra de ferramentas",
36
+ "show_toolbar_aria_label_on": "Ativar barra de ferramentas",
37
+ "show_toolbar_aria_label_off": "Desativar barra de ferramentas",
38
+ "code_only_note": "Nota: Definir opções de ações e estatísticas está disponível exclusivamente usando o Editor de Código."
39
+ }
40
+ }
@@ -0,0 +1,37 @@
1
+ {
2
+ "common": {
3
+ "name": "Karta čističky",
4
+ "description": "Karta čističky vám umožňuje ovládať vašu inteligentnú čističku.",
5
+ "not_available": "Entita nie je k dispozícii",
6
+ "toggle_power": "Zapnúť/vypnúť"
7
+ },
8
+ "state": {
9
+ "on": "Zapnúť",
10
+ "off": "Vypnúť"
11
+ },
12
+ "preset_mode": {
13
+ "auto": "Auto",
14
+ "silent": "Tichý",
15
+ "favorite": "Obľúbené",
16
+ "fan": "Ventilátor"
17
+ },
18
+ "error": {
19
+ "missing_entity": "Je potrebné zadať entitu!"
20
+ },
21
+ "editor": {
22
+ "entity": "Entita (požadované)",
23
+ "compact_view": "Kompaktný pohľad",
24
+ "compact_view_aria_label_on": "Zapnite kompaktné zobrazenie",
25
+ "compact_view_aria_label_off": "Vypnite kompaktné zobrazenie",
26
+ "show_name": "Show Name",
27
+ "show_name_aria_label_on": "Zapnite zobrazované meno",
28
+ "show_name_aria_label_off": "Vypnite zobrazované meno",
29
+ "show_state": "Show State",
30
+ "show_state_aria_label_on": "Zapnite stav zobrazenia",
31
+ "show_state_aria_label_off": "Vypnite stav zobrazenia",
32
+ "show_toolbar": "Show Toolbar",
33
+ "show_toolbar_aria_label_on": "Zapnúť panel s nástrojmi zobrazenia",
34
+ "show_toolbar_aria_label_off": "Vypnúť panel s nástrojmi zobrazenia",
35
+ "code_only_note": "Poznámka: Možnosti nastavenia akcií a štatistík sú dostupné výlučne pomocou Editora kódu."
36
+ }
37
+ }
File without changes
File without changes