purifier-card 2.2.3 → 2.3.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "purifier-card",
3
- "version": "2.2.3",
3
+ "version": "2.3.0",
4
4
  "description": "Air Purifier card for Home Assistant Lovelace UI",
5
5
  "main": "dist/purifier-card.js",
6
6
  "scripts": {
@@ -32,26 +32,26 @@
32
32
  "@babel/core": "^7.9.6",
33
33
  "@babel/plugin-transform-runtime": "^7.17.0",
34
34
  "@babel/preset-env": "^7.16.11",
35
- "@rollup/plugin-babel": "^5.0.0",
36
- "@rollup/plugin-commonjs": "^11.1.0",
37
- "@rollup/plugin-image": "^2.0.4",
38
- "@rollup/plugin-json": "^4.0.3",
39
- "@rollup/plugin-node-resolve": "^7.1.3",
40
- "@semantic-release/git": "^9.0.0",
41
- "eslint": "^6.8.0",
42
- "eslint-config-prettier": "^6.11.0",
35
+ "@rollup/plugin-babel": "^6.0.3",
36
+ "@rollup/plugin-commonjs": "^24.0.1",
37
+ "@rollup/plugin-image": "^3.0.1",
38
+ "@rollup/plugin-json": "^6.0.0",
39
+ "@rollup/plugin-node-resolve": "^15.0.1",
40
+ "@semantic-release/git": "^10.0.1",
41
+ "eslint": "^8.14.0",
42
+ "eslint-config-prettier": "^8.5.0",
43
43
  "eslint-plugin-import": "^2.20.2",
44
- "husky": "^7.0.4",
45
- "lint-staged": "^12.4.1",
44
+ "husky": "^8.0.1",
45
+ "lint-staged": "^13.0.0",
46
46
  "postcss-preset-env": "^7.4.3",
47
47
  "prettier": "^2.0.5",
48
48
  "rollup": "^2.7.6",
49
49
  "rollup-plugin-minify-html-literals": "^1.2.6",
50
50
  "rollup-plugin-postcss": "^4.0.2",
51
51
  "rollup-plugin-postcss-lit": "^2.0.0",
52
- "rollup-plugin-serve": "^1.0.1",
52
+ "rollup-plugin-serve": "^2.0.1",
53
53
  "rollup-plugin-terser": "^7.0.2",
54
- "semantic-release": "^17.3.7"
54
+ "semantic-release": "^19.0.2"
55
55
  },
56
56
  "browserslist": [
57
57
  "last 2 versions",
package/src/localize.js CHANGED
@@ -15,6 +15,7 @@ import * as ca from './translations/ca.json';
15
15
  import * as ru from './translations/ru.json';
16
16
  import * as it from './translations/it.json';
17
17
  import * as cs from './translations/cs.json';
18
+ import * as nl from './translations/nl.json';
18
19
 
19
20
  var languages = {
20
21
  en,
@@ -31,6 +32,7 @@ var languages = {
31
32
  ru,
32
33
  it,
33
34
  cs,
35
+ nl,
34
36
  };
35
37
 
36
38
  const DEFAULT_LANG = 'en';
@@ -0,0 +1,40 @@
1
+ {
2
+ "common": {
3
+ "name": "Luchtververser Card",
4
+ "description": "Luchtververser card stelt je in staat je smart purifier te bedienen.",
5
+ "not_available": "Entity is niet beschikbaar",
6
+ "toggle_power": "Zet aan/uit"
7
+ },
8
+ "state": {
9
+ "on": "Aan",
10
+ "off": "Uit"
11
+ },
12
+ "preset_mode": {
13
+ "Auto": "Auto",
14
+ "Silent": "Stil",
15
+ "Favorite": "Favoriet",
16
+ "Fan": "Ventilator"
17
+ },
18
+ "error": {
19
+ "missing_entity": "Instellen van entity is verplicht!"
20
+ },
21
+ "warning": {
22
+ "actions_array": "WARNING: 'actions' is hernoemd naar 'shortcuts'"
23
+ },
24
+ "editor": {
25
+ "entity": "Entity (Verplicht)",
26
+ "compact_view": "Compact View",
27
+ "compact_view_aria_label_on": "Schakel compact view in",
28
+ "compact_view_aria_label_off": "Schakel compact view uit",
29
+ "show_name": "Toon Naam",
30
+ "show_name_aria_label_on": "Schakel display name in",
31
+ "show_name_aria_label_off": "Schakel display name uit",
32
+ "show_state": "Toon State",
33
+ "show_state_aria_label_on": "Schakel display state in",
34
+ "show_state_aria_label_off": "Schakel display state uit",
35
+ "show_toolbar": "Toon Toolbar",
36
+ "show_toolbar_aria_label_on": "Schakel display toolbar in",
37
+ "show_toolbar_aria_label_off": "Schakel display toolbar uit",
38
+ "code_only_note": "Let op: Setting actions en stats opties zijn alleen beschikbaar bij het gebruik van de Code Editor."
39
+ }
40
+ }