Skip to content

Commit

Permalink
Add translations for services
Browse files Browse the repository at this point in the history
  • Loading branch information
vincentwolsink committed Nov 2, 2023
1 parent 9ab4b4e commit ef134d5
Show file tree
Hide file tree
Showing 2 changed files with 69 additions and 39 deletions.
15 changes: 15 additions & 0 deletions custom_components/enphase_envoy/translations/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,5 +42,20 @@
}
}
}
},
"services": {
"set_grid_profile": {
"name": "Set grid profile",
"description": "Sets the grid profile the Envoy will upload to the inverters.",
"fields": {
"profile": {
"name": "Profile"
}
}
},
"get_grid_profiles": {
"name": "Get grid profiles",
"description": "Get currently selected and all available profiles."
}
}
}
93 changes: 54 additions & 39 deletions custom_components/enphase_envoy/translations/nl.json
Original file line number Diff line number Diff line change
@@ -1,46 +1,61 @@
{
"config": {
"abort": {
"already_configured": "Apparaat is al geconfigureerd",
"reauth_successful": "Herauthenticatie was succesvol"
},
"error": {
"cannot_connect": "Kan geen verbinding maken",
"invalid_auth": "Ongeldige authenticatie",
"unknown": "Onverwachte fout"
},
"flow_title": "{serial} ({host})",
"step": {
"user": {
"data": {
"host": "Host",
"password": "Enlighten Wachtwoord",
"username": "Enlighten Gebruikersnaam",
"serial": "Envoy Serienummer",
"disable_installer_account_use": "Ik heb geen installer of DHZ enphase account, alleen Home owner"
},
"description": "Voer de hostname/ip en serienummer van je Envoy in. Gebruik je Enlighten installer account gegevens."
}
}
},
"options": {
"config": {
"abort": {
"already_configured": "Apparaat is al geconfigureerd",
"reauth_successful": "Herauthenticatie was succesvol"
},
"error": {
"cannot_connect": "Kan geen verbinding maken",
"invalid_auth": "Ongeldige authenticatie",
"unknown": "Onverwachte fout"
},
"flow_title": "{serial} ({host})",
"step": {
"user": {
"title": "Envoy opties",
"data": {
"enable_realtime_updates": "Gebruik real-time updates (werkt alleen met metered envoys)",
"realtime_update_throttle": "Minimale tijd tussen real-time updates [s]",
"disable_negative_production": "Voorkom negatieve productie waardes",
"time_between_update": "Minimum tijd tussen entity updates [s]",
"getdata_timeout": "Maximum tijd voor het ophalen van data vanaf envoy [s]",
"enable_additional_metrics": "[Metered only] Extra metrics inschakelen, zoals total amps, frequency, apparent en reactive power en power factor.",
"disable_installer_account_use": "Haal geen data op die een installateur of DHZ enphase account vereisen"
},
"data_description": {
"realtime_update_throttle": "Dit interval is van toepassing op real-time updates (om eventuele overload met updates te voorkomen)",
"time_between_update": "Dit interval is alleen van toepassing voor het pollen van URLs"
"user": {
"data": {
"host": "Host",
"password": "Enlighten Wachtwoord",
"username": "Enlighten Gebruikersnaam",
"serial": "Envoy Serienummer",
"disable_installer_account_use": "Ik heb geen installer of DHZ enphase account, alleen Home owner"
},
"description": "Voer de hostname/ip en serienummer van je Envoy in. Gebruik je Enlighten installer account gegevens."
}
}
},
"options": {
"step": {
"user": {
"title": "Envoy opties",
"data": {
"enable_realtime_updates": "Gebruik real-time updates (werkt alleen met metered envoys)",
"realtime_update_throttle": "Minimale tijd tussen real-time updates [s]",
"disable_negative_production": "Voorkom negatieve productie waardes",
"time_between_update": "Minimum tijd tussen entity updates [s]",
"getdata_timeout": "Maximum tijd voor het ophalen van data vanaf envoy [s]",
"enable_additional_metrics": "[Metered only] Extra metrics inschakelen, zoals total amps, frequency, apparent en reactive power en power factor.",
"disable_installer_account_use": "Haal geen data op die een installateur of DHZ enphase account vereisen"
},
"data_description": {
"realtime_update_throttle": "Dit interval is van toepassing op real-time updates (om eventuele overload met updates te voorkomen)",
"time_between_update": "Dit interval is alleen van toepassing voor het pollen van URLs"
}
}
}
},
"services": {
"set_grid_profile": {
"name": "Stel netwerkprofiel in",
"description": "Stel het netwerkprofiel in dat de Envoy toepast op de omvormers.",
"fields": {
"profile": {
"name": "Profiel"
}
}
},
"get_grid_profiles": {
"name": "Haal netwerkprofielen op",
"description": "Haal huidige geselecteerde en alle beschikbare netwerkprofielen op."
}
}
}

0 comments on commit ef134d5

Please sign in to comment.