Add German translation (#176)

This commit is contained in:
Marc
2025-03-08 08:26:12 +01:00
committed by GitHub
parent 7dda3c1a38
commit d91c8e3159
2 changed files with 67 additions and 0 deletions

View File

@ -1,11 +1,13 @@
import {HomeAssistant} from "./types/homeassistant/types";
import * as en from "./translations/en.json";
import * as nl from "./translations/nl.json";
import * as de from "./translations/de.json";
/* Registry of currently supported languages */
const languages: Record<string, unknown> = {
en,
nl,
de,
};
/* The fallback language if the user-defined language isn't defined */

65
src/translations/de.json Normal file
View File

@ -0,0 +1,65 @@
{
"camera": {
"all_cameras": "Alle Kameras",
"cameras": "Kameras"
},
"climate": {
"all_climates": "Alle Klimaanlagen",
"climates": "Klimaanlagen"
},
"cover": {
"all_covers": "Alle Abdeckungen",
"covers": "Abdeckungen"
},
"fan": {
"all_fans": "Alle Ventilatoren",
"fans": "Ventilatoren"
},
"generic": {
"all": "Alle",
"areas": "Bereiche",
"busy": "Beschäftigt",
"good_afternoon": "Guten Nachmittag",
"good_evening": "Guten Abend",
"good_morning": "Guten Morgen",
"hello": "Hallo",
"home": "Start",
"miscellaneous": "Sonstiges",
"numbers": "Zahlen",
"off": "Aus",
"on": "Ein",
"open": "Offen",
"unclosed": "Nicht Geschlossen"
},
"input_select": {
"input_selects": "Auswahl-Eingaben"
},
"light": {
"all_lights": "Alle Leuchten",
"lights": "Leuchten"
},
"lock": {
"locks": "Schlösser"
},
"media_player": {
"media_players": "Wiedergabegeräte"
},
"scene": {
"scenes": "Szenen"
},
"select": {
"selects": "Auswahlen"
},
"sensor": {
"binary": "Binäre",
"sensors": "Sensoren"
},
"switch": {
"all_switches": "Alle Schalter",
"switches": "Schalter"
},
"vacuum": {
"all_vacuums": "Alle Staubsauger",
"vacuums": "Staubsauger"
}
}