Skip to content

Commit f0b6d06

Browse files
committed
[TASK] update langs
1 parent 7661f70 commit f0b6d06

File tree

2 files changed

+15
-8
lines changed

2 files changed

+15
-8
lines changed

README.md

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
[![Version - 0.0.9](https://img.shields.io/badge/Version-0.0.9-009688?style=for-the-badge)](https://github.com/KartoffelToby/ai_thermostat/releases)
1+
[![Version - 0.1.1](https://img.shields.io/badge/Version-0.1.1-009688?style=for-the-badge)](https://github.com/KartoffelToby/better-thermostat-ui-card)
22

33
# Better Thermostat UI for ai_thermostat
44

@@ -33,14 +33,18 @@ What we have so far:
3333
- DE
3434
- FR
3535
- RU
36-
- PL
3736
- SK
38-
- DA
3937
- HU
38+
- PL
39+
- DA
4040
- ES
4141
- TR
4242
- IT
43-
- DA
43+
- PT
44+
- CN
45+
- UK
46+
- EL
47+
- NL
4448

4549
## Support me
4650
<a href="https://www.buymeacoffee.com/kartoffeltoby" target="_blank"><img src="https://cdn.buymeacoffee.com/buttons/v2/default-green.png" alt="Buy Me A Coffee" style="height: 60px !important;width: 217px !important;" ></a>

src/localize/localize.ts

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,11 @@ import * as da from './languages/da.json';
99
import * as es from './languages/es.json';
1010
import * as tr from './languages/tr.json';
1111
import * as it from './languages/it.json';
12-
import * as da from './languages/da.json';
1312
import * as pt from './languages/pt.json';
1413
import * as cn from './languages/cn.json';
15-
14+
import * as uk from './languages/uk.json';
15+
import * as el from './languages/el.json';
16+
import * as nl from './languages/nl.json';
1617

1718
// eslint-disable-next-line @typescript-eslint/no-explicit-any
1819
const languages: any = {
@@ -27,9 +28,11 @@ const languages: any = {
2728
es: es,
2829
tr: tr,
2930
it: it,
30-
da: da,
3131
pt: pt,
32-
cn: cn
32+
cn: cn,
33+
uk: uk,
34+
el: el,
35+
nl: nl,
3336
};
3437

3538
export function localize(string: string, search = '', replace = ''): string {

0 commit comments

Comments
 (0)