Fix translations

This commit is contained in:
Jean-Marc Collin
2023-10-29 17:18:27 +00:00
parent 3356489f9d
commit 076d9eae24
5 changed files with 37 additions and 19 deletions

View File

@@ -201,7 +201,7 @@ CONF_FUNCTIONS = [
PROPORTIONAL_FUNCTION_TPI, PROPORTIONAL_FUNCTION_TPI,
] ]
CONF_AUTO_REGULATION_MODES = [CONF_AUTO_REGULATION_LIGHT, CONF_AUTO_REGULATION_MEDIUM, CONF_AUTO_REGULATION_STRONG] CONF_AUTO_REGULATION_MODES = [CONF_AUTO_REGULATION_NONE, CONF_AUTO_REGULATION_LIGHT, CONF_AUTO_REGULATION_MEDIUM, CONF_AUTO_REGULATION_STRONG]
CONF_THERMOSTAT_TYPES = [CONF_THERMOSTAT_SWITCH, CONF_THERMOSTAT_CLIMATE, CONF_THERMOSTAT_VALVE] CONF_THERMOSTAT_TYPES = [CONF_THERMOSTAT_SWITCH, CONF_THERMOSTAT_CLIMATE, CONF_THERMOSTAT_VALVE]

View File

@@ -335,10 +335,12 @@
} }
}, },
"auto_regulation_mode": { "auto_regulation_mode": {
"auto_regulation_strong": "Strong", "options": {
"auto_regulation_medium": "Medium", "auto_regulation_strong": "Strong",
"auto_regulation_light": "Light", "auto_regulation_medium": "Medium",
"auto_regulation_none": "No auto-regulation" "auto_regulation_light": "Light",
"auto_regulation_none": "No auto-regulation"
}
} }
}, },
"entity": { "entity": {

View File

@@ -38,7 +38,8 @@
"valve_entity_id": "1rst valve number", "valve_entity_id": "1rst valve number",
"valve_entity2_id": "2nd valve number", "valve_entity2_id": "2nd valve number",
"valve_entity3_id": "3rd valve number", "valve_entity3_id": "3rd valve number",
"valve_entity4_id": "4th valve number" "valve_entity4_id": "4th valve number",
"auto_regulation_mode": "Self-regulation"
}, },
"data_description": { "data_description": {
"heater_entity_id": "Mandatory heater entity id", "heater_entity_id": "Mandatory heater entity id",
@@ -54,7 +55,8 @@
"valve_entity_id": "1rst valve number entity id", "valve_entity_id": "1rst valve number entity id",
"valve_entity2_id": "2nd valve number entity id", "valve_entity2_id": "2nd valve number entity id",
"valve_entity3_id": "3rd valve number entity id", "valve_entity3_id": "3rd valve number entity id",
"valve_entity4_id": "4th valve number entity id" "valve_entity4_id": "4th valve number entity id",
"auto_regulation_mode": "Auto adjustment of the target temperature"
} }
}, },
"tpi": { "tpi": {
@@ -199,7 +201,8 @@
"valve_entity_id": "1rst valve number", "valve_entity_id": "1rst valve number",
"valve_entity2_id": "2nd valve number", "valve_entity2_id": "2nd valve number",
"valve_entity3_id": "3rd valve number", "valve_entity3_id": "3rd valve number",
"valve_entity4_id": "4th valve number" "valve_entity4_id": "4th valve number",
"auto_regulation_mode": "Self-regulation"
}, },
"data_description": { "data_description": {
"heater_entity_id": "Mandatory heater entity id", "heater_entity_id": "Mandatory heater entity id",
@@ -215,7 +218,8 @@
"valve_entity_id": "1rst valve number entity id", "valve_entity_id": "1rst valve number entity id",
"valve_entity2_id": "2nd valve number entity id", "valve_entity2_id": "2nd valve number entity id",
"valve_entity3_id": "3rd valve number entity id", "valve_entity3_id": "3rd valve number entity id",
"valve_entity4_id": "4th valve number entity id" "valve_entity4_id": "4th valve number entity id",
"auto_regulation_mode": "Auto adjustment of the target temperature"
} }
}, },
"tpi": { "tpi": {
@@ -329,6 +333,14 @@
"thermostat_over_climate": "Thermostat over a climate", "thermostat_over_climate": "Thermostat over a climate",
"thermostat_over_valve": "Thermostat over a valve" "thermostat_over_valve": "Thermostat over a valve"
} }
},
"auto_regulation_mode": {
"options": {
"auto_regulation_strong": "Strong",
"auto_regulation_medium": "Medium",
"auto_regulation_light": "Light",
"auto_regulation_none": "No auto-regulation"
}
} }
}, },
"entity": { "entity": {

View File

@@ -39,7 +39,7 @@
"valve_entity2_id": "2ème valve number", "valve_entity2_id": "2ème valve number",
"valve_entity3_id": "3ème valve number", "valve_entity3_id": "3ème valve number",
"valve_entity4_id": "4ème valve number", "valve_entity4_id": "4ème valve number",
"auto_regulation_mode": "Auto-regulation" "auto_regulation_mode": "Auto-régulation"
}, },
"data_description": { "data_description": {
"heater_entity_id": "Entity id du 1er radiateur obligatoire", "heater_entity_id": "Entity id du 1er radiateur obligatoire",
@@ -56,7 +56,7 @@
"valve_entity2_id": "Entity id de la 2ème valve", "valve_entity2_id": "Entity id de la 2ème valve",
"valve_entity3_id": "Entity id de la 3ème valve", "valve_entity3_id": "Entity id de la 3ème valve",
"valve_entity4_id": "Entity id de la 4ème valve", "valve_entity4_id": "Entity id de la 4ème valve",
"auto_regulation_mode": "Ajustement automatique de la consigne" "auto_regulation_mode": "Ajustement automatique de la température cible"
} }
}, },
"tpi": { "tpi": {
@@ -336,10 +336,12 @@
} }
}, },
"auto_regulation_mode": { "auto_regulation_mode": {
"auto_regulation_strong": "Forte", "options": {
"auto_regulation_medium": "Moyenne", "auto_regulation_strong": "Forte",
"auto_regulation_light": "Légère", "auto_regulation_medium": "Moyenne",
"auto_regulation_none": "Aucune" "auto_regulation_light": "Légère",
"auto_regulation_none": "Aucune"
}
} }
}, },
"entity": { "entity": {

View File

@@ -321,10 +321,12 @@
} }
}, },
"auto_regulation_mode": { "auto_regulation_mode": {
"auto_regulation_strong": "Forte", "options": {
"auto_regulation_medium": "Media", "auto_regulation_strong": "Forte",
"auto_regulation_light": "Leggera", "auto_regulation_medium": "Media",
"auto_regulation_none": "Nessuna autoregolamentazione" "auto_regulation_light": "Leggera",
"auto_regulation_none": "Nessuna autoregolamentazione"
}
} }
}, },
"entity": { "entity": {