Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

German Translation updates and additonal L20 Ultra options #743

Open
wants to merge 3 commits into
base: dev
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
49 changes: 46 additions & 3 deletions src/localize/languages/de.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"missing": "Fehlende Eigenschaft: entity"
},
"preset_name": {
"missing": "Fehlende Eigenschaft: preset_name,"
"missing": "Fehlende Eigenschaft: preset_name"
},
"platform": {
"invalid": "Ungültige Staubsauger-Plattform: {0}"
Expand Down Expand Up @@ -142,6 +142,7 @@
"paused": "Pause",
"spot cleaning": "Spot-Reinigung",
"error": "Fehler",
"sleeping": "Schlafend",
"shutting down": "Herunterfahren",
"updating": "Aktualisiere",
"docking": "Andocken",
Expand All @@ -164,7 +165,8 @@
"medium": "Medium",
"turbo": "Turbo",
"auto": "Auto",
"gentle": "Sanft"
"gentle": "Sanft",
"strong": "Stark"
}
},
"sensor_dirty_left": {
Expand All @@ -185,8 +187,37 @@
"cleaned_area": {
"label": "Gereinigte Fläche"
},
"total_cleaned_area": {
"label": "Gesamte gereinigte Fläche"
},
"cleaning_time": {
"label": "Zeit der Reinigung"
},
"total_cleaning_time": {
"label": "Gesamte Reinigungszeit"
},
"mop_left": {
"label": "Wischblatt verbleibend"
},
"bin_full": {
"label": "Behälter voll",
"value": {
"true": "Ja",
"false": "Nein"
}
},
"bin_present": {
"label": "Behälter vorhanden",
"value": {
"true": "Ja",
"false": "Nein"
}
},
"water_volume": {
"label": "Wasservolumen"
},
"mop_pad_humidity": {
"label": "Wischblatt"
}
},
"icon": {
Expand Down Expand Up @@ -221,7 +252,19 @@
"camera": "Kamera Entität (required)",
"vacuum_platform": "Staubsauger-Plattform (required)",
"map_locked": "Karte gesperrt (optional)",
"two_finger_pan": "Zwei-Finger-Pan (optional)"
"two_finger_pan": "Zwei-Finger-Pan (optional)",
"platforms_documentation": "Ausgewählte Plattform Dokumentation ({0})",
"selection": "Auswahl:",
"copy": "Kopieren",
"copied": "Kopiert!",
"set_static_config": "Erstelle statische Konfiguration",
"config_set": "Konfiguration abgespeichert!\nÖffne Konfigurationseditor zum Ändern.",
"config_set_failed": "Update der Konfiguration fehlgeschlagen.",
"generate_rooms_config": "Erstelle Raumkonfiguration",
"copy_service_call": "Kopiere Service-Aufruf"
},
"alerts": {
"set_static_config": "Die Funktion nur nutzen, um manuell die automatische erstellte Konfiguration zu ändern.\nWeiter?"
}
}
}
4 changes: 3 additions & 1 deletion src/localize/languages/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,7 @@
"paused": "Paused",
"spot cleaning": "Spot cleaning",
"error": "Error",
"sleeping": "Sleeping",
"shutting down": "Shutting down",
"updating": "Updating",
"docking": "Docking",
Expand All @@ -164,7 +165,8 @@
"medium": "Medium",
"turbo": "Turbo",
"auto": "Auto",
"gentle": "Gentle"
"gentle": "Gentle",
"strong": "Strong"
}
},
"sensor_dirty_left": {
Expand Down
126 changes: 126 additions & 0 deletions src/model/generators/platform_templates/Tasshack_dreame-vacuum.json
Original file line number Diff line number Diff line change
Expand Up @@ -189,6 +189,90 @@
"label": "tile.total_cleaned_area.label",
"icon": "mdi:set-square",
"unit": "unit.meter_squared_shortcut"
},
{
"tile_id": "cleaning_mode",
"attribute": "cleaning_mode",
"label": "tile.cleaning_mode.label",
"icon": "mdi:vacuum",
"translation_keys": [
"sweeping",
"mopping",
"sweeping and mopping",
"mopping after sweeping"
]
},
{
"tile_id": "suction_level",
"attribute": "suction_level",
"label": "tile.suction_level.label",
"icon": "mdi:mdi:fan",
"translation_keys": [
"quiet",
"standard",
"strong",
"turbo"
]
},
{
"tile_id": "tight_mopping",
"attribute": "tight_mopping",
"label": "tile.tight_mopping.label",
"icon": "mdi:heating-coil",
"translation_keys": [
"true",
"false"
]
},
{
"tile_id": "wetness_level",
"attribute": "wetness_level",
"label": "tile.wetness_level.label",
"icon": "mdi:water-opacity"
},
{
"tile_id": "mop_wash_level",
"attribute": "mop_wash_level",
"label": "tile.mop_wash_level.label",
"icon": "mdi:water-opacity",
"translation_keys": [
"deep",
"daily",
"water saving"
]
},
{
"tile_id": "auto_empty_mode",
"attribute": "auto_empty_mode",
"label": "tile.auto_empty_mode.label",
"icon": "mdi:delete-empty-outline",
"translation_keys": [
"off",
"standard",
"high frequency",
"low frequency"
]
},
{
"tile_id": "cleaning_route",
"attribute": "cleaning_route",
"label": "tile.cleaning_route.label",
"icon": "mdi:routes",
"translation_keys": [
"quick",
"standard"
]
},
{
"tile_id": "cleangenius",
"attribute": "cleangenius",
"label": "tile.cleangenius.label",
"icon": "mdi:auto-mode",
"translation_keys": [
"off",
"routine cleaning",
"deep cleaning"
]
}
]
},
Expand Down Expand Up @@ -234,6 +318,48 @@
"entity_id": "[[entity_id]]"
}
}
},
{
"type": "menu",
"menu_id": "suction_level",
"icon_id": "suction_level",
"unique_id_regex": "suction_level",
"available_values_attribute": "options",
"icon": "mdi:water-off",
"icon_mapping": {
"quiet": "mdi:fan-speed-1",
"standard": "mdi:fan-speed-2",
"strong": "mdi:fan-speed-3",
"turbo": "mdi:weather-windy"
},
"tap_action": {
"action": "call-service",
"service": "select.select_option",
"service_data": {
"option": "[[value]]",
"entity_id": "[[entity_id]]"
}
}
},
{
"type": "menu",
"menu_id": "cleaning_mode",
"icon_id": "cleaning_mode",
"unique_id_regex": "cleaning_mode",
"available_values_attribute": "options",
"icon": "mdi:hydro-power",
"icon_mapping": {
"sweeping": "mdi:broom",
"mopping": "mdi:cup-water"
},
"tap_action": {
"action": "call-service",
"service": "select.select_option",
"service_data": {
"option": "[[value]]",
"entity_id": "[[entity_id]]"
}
}
}
]
}