Skip to content
Open
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
88 changes: 44 additions & 44 deletions custom_components/plugwise/translations/nl.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@
"step": {
"none": {
"title": "Geen Opties beschikbaar",
"description": "Deze Integratie heeft geen Opties"
"description": "Deze integratie heeft geen opties"
},
"init": {
"description": "Smile/Stretch Opties aanpassen",
"description": "Smile/Stretch-opties aanpassen",
"data": {
"cooling_on": "Anna: koelmodus is aan",
"scan_interval": "Scan Interval (seconden) *) optie alleen in beta",
"homekit_emulation": "Homekit emulatie (bij hvac_off => Afwezig) *) optie alleen in beta",
"homekit_emulation": "Homekit-emulatie (bij hvac_off => Afwezig) *) optie alleen in beta",
"refresh_interval": "Frontend ververs-tijd (1,5 - 5 seconden) *) optie alleen in beta"
}
}
Expand All @@ -22,12 +22,12 @@
"description": "Configuratie bijwerken voor {title}.",
"data": {
"host": "IP-adres",
"port": "Port nummer"
"port": "Poortnummer"
}
},
"user": {
"title": "Installeer Plugwise Adam/Smile/Stretch",
"description": "Van uw Plugwise apparaat voer in: (installeren kan tot 90s duren)",
"description": "Van uw Plugwise-apparaat voer in: (installeren kan tot 90s duren)",
"data": {
"password": "ID",
"username": "Gebruikersnaam",
Expand All @@ -40,24 +40,24 @@
"cannot_connect": "Verbinden is mislukt",
"invalid_auth": "Authenticatie mislukt",
"invalid_setup": "Voeg je Adam toe in plaats van je Anna, lees de documentatie",
"network_down": "Plugwise Zigbee netwerk is onbereikbaar",
"network_timeout": "Network communicatie timeout",
"response_error": "Ongeldige XML data, of foutmelding ontvangen van de Plugwise Adam/Smile/Stretch",
"network_down": "Plugwise-Zigbeenetwerk is onbereikbaar",
"network_timeout": "Netwerkverbindingstimeout",
"response_error": "Ongeldige XML-data, of foutmelding ontvangen van de Plugwise Adam/Smile/Stretch",
"stick_init": "Initaliseren van USB-stick mislukt",
"unknown": "Onbekende fout!",
"unsupported": "Apparaat met onbekende firmware"
},
"abort": {
"already_configured": "Dit apparaat is al geconfigureerd",
"anna_with_adam": "Zowel Anna als Adam gedetecteerd. Voeg alleen de Adam toe, niet de Anna",
"not_the_same_smile": "Het ingestelde Smile ID matcht niet met het ID van het ingegeven IP adres.",
"not_the_same_smile": "Het ingestelde Smile-ID matcht niet met het ID van het ingegeven IP adres.",
"reconfigure_successful": "Herconfigureren gelukt"
}
},
"entity": {
"binary_sensor": {
"low_battery": {
"name": "Batterij status"
"name": "Batterijstatus"
},
"compressor_state": {
"name": "Compressorstatus"
Expand All @@ -81,7 +81,7 @@
"name": "Status secundaire boiler"
},
"plugwise_notification": {
"name": "Plugwise melding"
"name": "Plugwise-melding"
}
},
"climate": {
Expand All @@ -101,7 +101,7 @@
},
"number": {
"maximum_boiler_temperature": {
"name": "Maximale cv-ketel temperatuur"
"name": "Maximale cv-ketel-temperatuur"
},
"max_dhw_temperature": {
"name": "Maximale huishoudelijk warmwatertemperatuur"
Expand Down Expand Up @@ -131,7 +131,7 @@
}
},
"select_gateway_mode": {
"name": "Gateway mode",
"name": "Gateway-modus",
"state": {
"away": "Pauze",
"full": "Normaal",
Expand All @@ -145,7 +145,7 @@
}
},
"select_zone_profile": {
"name": "Zone profiel",
"name": "Zone-profiel",
"state": {
"active": "Actief",
"off": "Uit",
Expand Down Expand Up @@ -182,76 +182,76 @@
"name": "Terugvoertemperatuur"
},
"electricity_consumed": {
"name": "Verbruikte electriciteit"
"name": "Verbruikte elektriciteit"
},
"electricity_produced": {
"name": "Teruggeleverde electriciteit"
"name": "Teruggeleverde elektriciteit"
},
"electricity_consumed_point": {
"name": "Electriciteitsgebruik"
"name": "Elektriciteitsgebruik"
},
"electricity_produced_point": {
"name": "Electriciteitsopwek"
"name": "Elektriciteitsopwek"
},
"electricity_consumed_interval": {
"name": "Electriciteitsgebruik - interval"
"name": "Elektriciteitsgebruik - interval"
},
"electricity_consumed_peak_interval": {
"name": "Electriciteitsgebruik - interval piek"
"name": "Elektriciteitsgebruik - interval piek"
},
"electricity_consumed_off_peak_interval": {
"name": "Electriciteitsgebruik - interval dal"
"name": "Elektriciteitsgebruik - interval dal"
},
"electricity_produced_interval": {
"name": "Electriciteitsopwek - interval"
"name": "Elektriciteitsopwek - interval"
},
"electricity_produced_peak_interval": {
"name": "Electriciteitsopwek - interval piek"
"name": "Elektriciteitsopwek - interval piek"
},
"electricity_produced_off_peak_interval": {
"name": "Electriciteitsopwek - interval dal"
"name": "Elektriciteitsopwek - interval dal"
},
"electricity_consumed_off_peak_point": {
"name": "Electriciteitsgebruik dal"
"name": "Elektriciteitsgebruik dal"
},
"electricity_consumed_peak_point": {
"name": "Electriciteitsgebruik piek"
"name": "Elektriciteitsgebruik piek"
},
"electricity_consumed_off_peak_cumulative": {
"name": "Electriciteitsgebruik - cumulatief dal"
"name": "Elektriciteitsgebruik - cumulatief dal"
},
"electricity_consumed_peak_cumulative": {
"name": "Electriciteitsgebruik - cumulatief piek"
"name": "Elektriciteitsgebruik - cumulatief piek"
},
"electricity_produced_off_peak_point": {
"name": "Electriciteitsopwek - dal"
"name": "Elektriciteitsopwek - dal"
},
"electricity_produced_peak_point": {
"name": "Electriciteitsopwek - piek"
"name": "Elektriciteitsopwek - piek"
},
"electricity_produced_off_peak_cumulative": {
"name": "Electriciteitsopwek - cumulatief dal"
"name": "Elektriciteitsopwek - cumulatief dal"
},
"electricity_produced_peak_cumulative": {
"name": "Electriciteitsopwek - cumulatief piek"
"name": "Elektriciteitsopwek - cumulatief piek"
},
"electricity_phase_one_consumed": {
"name": "Electriciteitsgebruik fase een"
"name": "Elektriciteitsgebruik fase een"
},
"electricity_phase_two_consumed": {
"name": "Electriciteitsgebruik fase twee"
"name": "Elektriciteitsgebruik fase twee"
},
"electricity_phase_three_consumed": {
"name": "Electriciteitsgebruik fase drie"
"name": "Elektriciteitsgebruik fase drie"
},
"electricity_phase_one_produced": {
"name": "Electriciteitsopwek fase een"
"name": "Elektriciteitsopwek fase een"
},
"electricity_phase_two_produced": {
"name": "Electriciteitsopwek fase twee"
"name": "Elektriciteitsopwek fase twee"
},
"electricity_phase_three_produced": {
"name": "Electriciteitsopwek fase drie"
"name": "Elektriciteitsopwek fase drie"
},
"voltage_phase_one": {
"name": "Netspanning fase een"
Expand All @@ -269,10 +269,10 @@
"name": "Cumulatief gasverbruik"
},
"net_electricity_point": {
"name": "Netto electriciteitsgebruik"
"name": "Netto elektriciteitsgebruik"
},
"net_electricity_cumulative": {
"name": "Netto cumulatief electriciteitsgebruik"
"name": "Netto cumulatief elektriciteitsgebruik"
},
"modulation_level": {
"name": "Modulatie"
Expand Down Expand Up @@ -325,19 +325,19 @@
"message": "Voeg je Adam toe in plaats van je Anna, lees de documentatie"
},
"response_error": {
"message": "Ongeldige XML data, of foutmelding ontvangen van de Plugwise Adam/Smile/Stretch"
"message": "Ongeldige XML-data, of -foutmelding ontvangen van de Plugwise Adam/Smile/Stretch"
Copy link
Contributor

@coderabbitai coderabbitai bot Jan 6, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🟡 Minor

Review the hyphen prefix in error message.

The construction "of -foutmelding" on line 328 is grammatically unusual in Dutch. The hyphen prefix before "foutmelding" doesn't follow standard Dutch conventions.

This message appears in two places:

  • Line 45 (config.error.response_error): "of foutmelding ontvangen"
  • Line 328 (exceptions.response_error): "of -foutmelding ontvangen"

Consider one of these alternatives for consistency and clarity:

  • Keep it simple: "of foutmelding ontvangen" (matches line 45)
  • Be more specific: "of een XML-foutmelding ontvangen"
  • Or if emphasizing the compound: "of XML-foutmelding ontvangen"
🤖 Prompt for AI Agents
In @custom_components/plugwise/translations/nl.json at line 328, The Dutch
translation at exceptions.response_error contains an incorrect hyphenated
fragment ("of -foutmelding ontvangen"); update the string to match the
config.error.response_error phrasing or one of the suggested alternatives for
consistency—e.g., replace the value for exceptions.response_error ("Ongeldige
XML-data, of -foutmelding ontvangen van de Plugwise Adam/Smile/Stretch") with
either "Ongeldige XML-data, of foutmelding ontvangen van de Plugwise
Adam/Smile/Stretch", "Ongeldige XML-data, of een XML-foutmelding ontvangen van
de Plugwise Adam/Smile/Stretch", or "Ongeldige XML-data, of XML-foutmelding
ontvangen van de Plugwise Adam/Smile/Stretch" so it follows Dutch conventions
and matches config.error.response_error.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@coderabbitai would the use of the hyphen prefix be correct when the comma is removed?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🧩 Analysis chain

🌐 Web query:

Dutch grammar hyphen prefix shared compound words "of -" construction

💡 Result:

Do you mean the suspended‑hyphen construction where two or more words share a common part (e.g. vis- en vleesproducten) or something else? If you can give one or two example phrases you have in mind (like "soja- of maïszetmeel" or "tweede- of derdeklasser"), I’ll explain the correct hyphenation rule and show the right forms with sources.


🌐 Web query:

opschortend koppelteken Dutch suspended hyphen rules examples

💡 Result:

"Opschortend koppelteken" (ook: weglatingsstreepje of samentrekking) gebruik je wanneer je een gedeeld deel van twee of meer samenstellingen weglaat en dat vervangt door een koppelteken. Regels en korte voorbeelden:

  • Functie: geeft aan dat een woorddeel is weggelaten (lees: X- en Y→ X en Y waar het tweede deel hetzelfde is). [1]
  • Vorm: geen spatie vóór of ná het streepje binnen het woorddeel (bij samentrekking: voor- en nadelen). [1][2]
  • Voorbeelden:
    • voor- en nadelen (voordelen en nadelen). [1][3]
    • jongens- en meisjesboeken (jongensboeken en meisjesboeken). [1][3]
    • zon- en feestdagen (zondagen en feestdagen). [1]
    • technische, ICT- en communicatiespecialisten (technische specialisten, ICT-specialisten en communicatiespecialisten). [1]
  • Let op: je gebruikt geen streepje als er een heel zelfstandig naamwoord wordt weggelaten dat elders staat (bv. "de witte en de bruine schoenen" → geen streepje). [2]

Bronnen: Taalwinkel (UvA/HvA) [1], Vlaanderen.team‑taaladvies (spellingregels samentrekking) [2], NLS Online (uitleg samentrekking/koppelteken) [3].


@bouwew No, the hyphen prefix would still not be correct without the comma.

The Dutch "opschortend koppelteken" (suspended hyphen) construction you might be thinking of—like "voor- en nadelen" (pros and cons)—only works when the shared element comes at the end of the compound words. In that example, both words share "-delen": voordelen and nadelen → voor- en nadelen.

In "XML-data of -foutmelding", you would be trying to share "XML-" at the beginning, which doesn't follow this grammatical pattern. The suspended hyphen doesn't work for shared prefixes in this way.

For the error message, these options would be grammatically correct:

  • "Ongeldige XML-data of foutmelding ontvangen" (simplest, matching line 45)
  • "Ongeldige XML-data of XML-foutmelding ontvangen" (write it out fully)
  • "Ongeldige XML-data of een XML-foutmelding ontvangen" (add "een" for clarity)

I'd recommend the first option for consistency with the existing config.error.response_error message.


🧠 Learnings used
Learnt from: CoMPaTech
Repo: plugwise/plugwise-beta PR: 0
File: :0-0
Timestamp: 2025-01-25T20:42:24.862Z
Learning: The linting rules in plugwise-beta have been updated to use TC001/TC002/TC003 instead of TCH001/TCH002/TCH003 for type-checking related rules.

},
"set_schedule_first": {
"message": "Instellen van HVACMode mislukt, activeer eerst een thermostaat schema."
"message": "Instellen van HVACMode mislukt, activeer eerst een thermostaatschema."
},
"unsupported_firmware": {
"message": "Apparaat met niet-ondersteunde firmware"
}
},
"services": {
"delete_notification": {
"name": "Verwijder Plugwise notificatie",
"description": "Verwijder een Plugwise notificatie"
"name": "Verwijder Plugwise-notificatie",
"description": "Verwijder een Plugwise-notificatie"
}
}
}