From 049e37ba826ac7addadddf3119311cfba3dc4978 Mon Sep 17 00:00:00 2001 From: Proddy Date: Sat, 24 Sep 2022 16:08:15 +0200 Subject: [PATCH] changes to NL --- interface/src/i18n/nl/index.ts | 24 +++++++++++------------- src/locale_translations.h | 8 ++++---- 2 files changed, 15 insertions(+), 17 deletions(-) diff --git a/interface/src/i18n/nl/index.ts b/interface/src/i18n/nl/index.ts index 856997677..593470603 100644 --- a/interface/src/i18n/nl/index.ts +++ b/interface/src/i18n/nl/index.ts @@ -27,7 +27,7 @@ const nl: BaseTranslation = { ENTITIES: 'Entiteiten', REFRESH: 'Ververs', EXPORT: 'Export', - DEVICE_DETAILS: 'Device Details', + DEVICE_DETAILS: 'Device Gegevens', BRAND: 'Merk', ENTITY_NAME: 'Entiteit', VALUE: 'Waarde', @@ -108,7 +108,7 @@ const nl: BaseTranslation = { ENABLE_TELNET: 'Activeer Telnet console', ENABLE_ANALOG: 'Activeer analoge sensoren', CONVERT_FAHRENHEIT: 'Converteer temperatuurwaarden naar Fahrenheit', - BYPASS_TOKEN: 'Bypass Access Token authorization on API calls', + BYPASS_TOKEN: 'API Access Token authenticatie uitschakelen', READONLY: 'Activeer read-only modus (blokkeert alle outgaande EMS Tx schrijf commandos)', UNDERCLOCK_CPU: 'Underclock CPU snelheid', ENABLE_SHOWER_TIMER: 'Activeer Douche Timer (tijdmeting)', @@ -130,7 +130,7 @@ const nl: BaseTranslation = { RESTART: 'Herstarten', HOURS: 'uren', RESTART_TEXT: 'EMS-ESP dient opnieuw gestart te worden om de wijzingen toe te passen', - RESTART_CONFIRM: 'Are you sure you want to restart EMS-ESP?', + RESTART_CONFIRM: 'Weet je zeker dat je EMS-ESP wilt herstarten?', COMMAND: 'Commando', CUSTOMIZATIONS_RESTART: 'Alle custom profielen worden verwijderd. Herstarten...', CUSTOMIZATIONS_FULL: 'Te veel entiteiten geselecteerd. Sla op in delen aub', @@ -150,13 +150,11 @@ const nl: BaseTranslation = { USER_CUSTOMIZATION: 'Custom Instellingen', SUPPORT_INFORMATION: 'Support Informatie', CLICK_HERE: 'Klik Hier', - HELP_INFORMATION_1: 'Visit the online wiki to get instructions on how to configure EMS-ESP', - HELP_INFORMATION_2: 'For live community chat join our Discord server', - HELP_INFORMATION_3: 'To request a feature or report a bug', - HELP_INFORMATION_4: - 'remember to download and attach your system information for a faster response when reporting an issue', - HELP_INFORMATION_5: - "EMS-ESP is a free and open-source project. Please support its future development by giving it a star on Github!", + HELP_INFORMATION_1: 'Bezoek de online wiki om instructies te vinden om EMS-ESP te configureren', + HELP_INFORMATION_2: 'Voor de live community ga naar de Discord server', + HELP_INFORMATION_3: 'Om een nieuwe feature te vragen of een bug te rapporteren', + HELP_INFORMATION_4: 'zorg dat je ook je systeem details zijn toevoeged voor een sneller antwoord', + HELP_INFORMATION_5: 'EMS-ESP is een gratis en open source project. Steun ons met een Star op Github!', SUPPORT_INFO: 'Support Info', UPLOAD: 'Upload', DOWNLOAD: 'Download', @@ -176,7 +174,7 @@ const nl: BaseTranslation = { SYSTEM_FACTORY_TEXT_DIALOG: 'Weet je zeker dat je een reset naar fabrieksinstellingen uit wilt voeren?', VERSION_CHECK: 'Versie Check', THE_LATEST: 'De laatste', - VERSION_IS: 'version is', + VERSION_IS: 'versie is', PLATFORM: 'Apparaat (Platform / SDK)', UPTIME: 'Systeem Uptime', CPU_FREQ: 'CPU Frequency', @@ -227,8 +225,8 @@ const nl: BaseTranslation = { MQTT_INT_SOLAR: 'Solar Modules', MQTT_INT_MIXER: 'Mixer Modules', DEFAULT: 'Default', - MQTT_CLEAN_SESSION: 'Set Clean Session', - MQTT_RETAIN_FLAG: 'Always set Retain flag', + MQTT_CLEAN_SESSION: 'Clean Session aan', + MQTT_RETAIN_FLAG: 'Retain flag aan', INACTIVE: 'Inactief', ACTIVE: 'Actief', UNKNOWN: 'Onbekend', diff --git a/src/locale_translations.h b/src/locale_translations.h index d3e4b7497..46b4534d6 100644 --- a/src/locale_translations.h +++ b/src/locale_translations.h @@ -30,10 +30,10 @@ // if there is no translation, it will default to en // General -MAKE_PSTR_LIST(on, F("on"), F("an"), F("naar"), F("på")) -MAKE_PSTR_LIST(off, F("off"), F("aus"), F("van"), F("av")) -MAKE_PSTR_LIST(ON, F("ON"), F("AN"), F("NAAR"), F("PÅ")) -MAKE_PSTR_LIST(OFF, F("OFF"), F("AUS"), F("VAN"), F("AV")) +MAKE_PSTR_LIST(on, F("on"), F("an"), F("aan"), F("på")) +MAKE_PSTR_LIST(off, F("off"), F("aus"), F("uit"), F("av")) +MAKE_PSTR_LIST(ON, F("ON"), F("AN"), F("AAN"), F("PÅ")) +MAKE_PSTR_LIST(OFF, F("OFF"), F("AUS"), F("UIT"), F("AV")) // Unit Of Measurement mapping - maps to DeviceValueUOM_s in emsdevice.cpp // uom - also used with HA see https://github.com/home-assistant/core/blob/d7ac4bd65379e11461c7ce0893d3533d8d8b8cbf/homeassistant/const.py#L384