Skip to content

Commit

Permalink
Add translations
Browse files Browse the repository at this point in the history
  • Loading branch information
bramstroker committed Jul 8, 2023
1 parent 8627ddf commit 85f3a99
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 3 deletions.
4 changes: 3 additions & 1 deletion custom_components/powercalc/strings.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,14 +37,16 @@
"group_power_entities": "Additional power entities",
"group_energy_entities": "Additional energy entities",
"sub_groups": "Sub groups",
"area": "Area",
"hide_members": "Hide members",
"create_utility_meters": "[%key:component::powercalc::config::step::virtual_power::data::create_utility_meters%]"
},
"data_description": {
"group_member_sensors": "Powercalc sensors to include in the group",
"group_power_entities": "Additional power sensors (W) from your HA installation to include",
"group_energy_entities": "Additional energy sensors (kWh) from your HA installation to include",
"sub_groups": "All containing sensors from the selected subgroups will be added to this group as well"
"sub_groups": "All containing sensors from the selected subgroups will be added to this group as well",
"area": "Adds all powercalc sensors from the specified area"
}
},
"virtual_power": {
Expand Down
6 changes: 5 additions & 1 deletion custom_components/powercalc/translations/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,14 +56,16 @@
"group_energy_entities": "Additional energy entities",
"name": "Name",
"sub_groups": "Sub groups",
"area": "Area",
"hide_members": "Hide members",
"unique_id": "Unique id"
},
"data_description": {
"group_member_sensors": "Powercalc sensors to include in the group",
"group_power_entities": "Additional power sensors (W) from your HA installation to include",
"group_energy_entities": "Additional energy sensors (kWh) from your HA installation to include",
"sub_groups": "All containing sensors from the selected subgroups will be added to this group as well"
"sub_groups": "All containing sensors from the selected subgroups will be added to this group as well",
"area": "Adds all powercalc sensors from the specified area"
},
"title": "Create a group sensor"
},
Expand Down Expand Up @@ -179,6 +181,7 @@
"step": {
"init": {
"data": {
"area": "Area",
"attribute": "Attribute",
"calculation_enabled_condition": "Calculation enabled condition",
"calibrate": "Calibration values",
Expand Down Expand Up @@ -208,6 +211,7 @@
"value_template": "Value template"
},
"data_description": {
"area": "Adds all powercalc sensors from the specified area",
"attribute": "Specify the attribute. When left empty will be brightness for lights and percentage for fans",
"calculation_enabled_condition": "The configured power calculation strategy will only be executed when this template evaluates to true or 1, otherwise the power sensor will display 0",
"calibrate": "Put a calibration value on each line. Example\n\n1: 20",
Expand Down
6 changes: 5 additions & 1 deletion custom_components/powercalc/translations/nl.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,14 +56,16 @@
"group_power_entities": "Additionele vermogen entiteiten",
"name": "Naam",
"sub_groups": "Sub groepen",
"area": "Ruimte",
"hide_members": "Verberg onderliggende sensoren",
"unique_id": "Uniek id"
},
"data_description": {
"group_member_sensors": "Powercalc sensoren die je wil toevoegen aan de groep",
"group_power_entities": "Additionele vermogen entiteiten (W)",
"group_energy_entities": "Additionele energie entiteiten (kWh)",
"sub_groups": "Alle onderliggende sensoren van de geselecteerde sub-groepen worden ook automatisch aan deze groep toegevoegd."
"sub_groups": "Alle onderliggende sensoren van de geselecteerde sub-groepen worden ook automatisch aan deze groep toegevoegd.",
"area": "Voeg alle powercalc sensoren van de gespecificeerde ruimte toe"
},
"title": "Creëer een groep sensor"
},
Expand Down Expand Up @@ -179,6 +181,7 @@
"step": {
"init": {
"data": {
"area": "Ruimte",
"attribute": "Attribuut",
"calculation_enabled_condition": "Calculatie ingeschakeld conditie",
"calibrate": "Kalibratie waardes",
Expand Down Expand Up @@ -208,6 +211,7 @@
"value_template": "Waarde template"
},
"data_description": {
"area": "Voeg alle powercalc sensoren van de gespecificeerde ruimte toe",
"attribute": "Specificeer een attribuut. Wanneer je dit leeg laat dan wordt helderheid gebruikt voor verlichting en percentage voor ventilatoren",
"calculation_enabled_condition": "De geconfigureerde vermogen calculatie strategie wordt alleen uitgevoerd indien dit template evalueert naar 1, anders zal de energiesensor 0 tonen",
"calibrate": "Kalibratiewaarde op iedere regel. Voorbeeld\n\n1: 20",
Expand Down

0 comments on commit 85f3a99

Please sign in to comment.