Skip to content

Commit

Permalink
New translation files
Browse files Browse the repository at this point in the history
New translation files to use with translation_key method at sensor.py
  • Loading branch information
figorr authored Sep 22, 2024
1 parent 35f4b6e commit 6517373
Show file tree
Hide file tree
Showing 4 changed files with 139 additions and 3 deletions.
34 changes: 34 additions & 0 deletions custom_components/ecowater_softener/translations/de.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,39 @@
"title": "Einrichtung"
}
}
},
"entity": {
"sensor": {
"status": {
"name": "Status"
},
"water_available": {
"name": "Verfügbares Wasser"
},
"water_usage_today": {
"name": "Wasserverbrauch heute"
},
"water_usage_daily_average": {
"name": "Durchschnittlicher täglicher Wasserverbrauch"
},
"salt_level_percentage": {
"name": "Salzgehalt in Prozent"
},
"out_of_salt_on": {
"name": "Salzmangel am"
},
"days_until_out_of_salt": {
"name": "Tage bis Salzmangel"
},
"recharge_enabled": {
"name": "Aufladung aktiviert"
},
"recharge_scheduled": {
"name": "Aufladung geplant"
},
"last_update": {
"name": "Letzte Aktualisierung"
}
}
}
}
34 changes: 34 additions & 0 deletions custom_components/ecowater_softener/translations/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,39 @@
"title": "Setup"
}
}
},
"entity": {
"sensor": {
"status": {
"name": "Status"
},
"water_available": {
"name": "Water Available"
},
"water_usage_today": {
"name": "Water Used Today"
},
"water_usage_daily_average": {
"name": "Average Water Used per Day"
},
"salt_level_percentage": {
"name": "Salt Level Percentage"
},
"out_of_salt_on": {
"name": "Out of Salt On"
},
"days_until_out_of_salt": {
"name": "Days Until Out of Salt"
},
"recharge_enabled": {
"name": "Recharge Enabled"
},
"recharge_scheduled": {
"name": "Recharge Scheduled"
},
"last_update": {
"name": "Last Update"
}
}
}
}
40 changes: 37 additions & 3 deletions custom_components/ecowater_softener/translations/es.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,48 @@
"step": {
"user": {
"data": {
"username": "Usuario",
"username": "Nombre de usuario",
"password": "Contraseña",
"serialnumber": "Número de serie (DSN)",
"serialnumber": "Número de serie",
"dateformat": "Formato de fecha"
},
"description": "Ingresa tus credenciales de Ecowater.\nLuego elige el formato de fecha que utiliza tu dispositivo Ecowater.",
"description": "Introduce tus credenciales de Ecowater.\nLuego selecciona el formato de fecha que utiliza tu dispositivo Ecowater.",
"title": "Configuración"
}
}
},
"entity": {
"sensor": {
"status": {
"name": "Estado"
},
"water_available": {
"name": "Agua Disponible"
},
"water_usage_today": {
"name": "Agua Consumida Hoy"
},
"water_usage_daily_average": {
"name": "Agua Consumida Media Diaria"
},
"salt_level_percentage": {
"name": "Porcentaje Nivel de Sal"
},
"out_of_salt_on": {
"name": "Fecha para Agotar Sal"
},
"days_until_out_of_salt": {
"name": "Días para Agotar Sal"
},
"recharge_enabled": {
"name": "Recarga Activada"
},
"recharge_scheduled": {
"name": "Recarga Programada"
},
"last_update": {
"name": "Última Actualización"
}
}
}
}
34 changes: 34 additions & 0 deletions custom_components/ecowater_softener/translations/fr.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,39 @@
"title": "Lier votre compte Ecowater"
}
}
},
"entity": {
"sensor": {
"status": {
"name": "Statut"
},
"water_available": {
"name": "Eau disponible"
},
"water_usage_today": {
"name": "Consommation d'eau aujourd'hui"
},
"water_usage_daily_average": {
"name": "Consommation d'eau quotidienne moyenne"
},
"salt_level_percentage": {
"name": "Pourcentage de sel"
},
"out_of_salt_on": {
"name": "Manque de sel le"
},
"days_until_out_of_salt": {
"name": "Jours jusqu'à manque de sel"
},
"recharge_enabled": {
"name": "Recharge activée"
},
"recharge_scheduled": {
"name": "Recharge programmée"
},
"last_update": {
"name": "Dernière mise à jour"
}
}
}
}

0 comments on commit 6517373

Please sign in to comment.