From d254497c800b56098e4db8df9043915f96b5e386 Mon Sep 17 00:00:00 2001 From: Boernsman Date: Fri, 4 Dec 2020 14:03:13 +0100 Subject: [PATCH] simplified error message --- netatmo/integrationpluginnetatmo.cpp | 6 +++--- .../translations/69d14951-0c02-4877-bcef-dffdf48b7ccb-cs.ts | 4 ++-- .../translations/69d14951-0c02-4877-bcef-dffdf48b7ccb-da.ts | 4 ++-- .../translations/69d14951-0c02-4877-bcef-dffdf48b7ccb-de.ts | 4 ++-- .../69d14951-0c02-4877-bcef-dffdf48b7ccb-en_US.ts | 4 ++-- .../translations/69d14951-0c02-4877-bcef-dffdf48b7ccb-es.ts | 4 ++-- .../translations/69d14951-0c02-4877-bcef-dffdf48b7ccb-fr.ts | 4 ++-- .../translations/69d14951-0c02-4877-bcef-dffdf48b7ccb-it.ts | 4 ++-- .../translations/69d14951-0c02-4877-bcef-dffdf48b7ccb-nl.ts | 4 ++-- .../translations/69d14951-0c02-4877-bcef-dffdf48b7ccb-pt.ts | 4 ++-- 10 files changed, 21 insertions(+), 21 deletions(-) diff --git a/netatmo/integrationpluginnetatmo.cpp b/netatmo/integrationpluginnetatmo.cpp index 648f93ea..3c678fe8 100644 --- a/netatmo/integrationpluginnetatmo.cpp +++ b/netatmo/integrationpluginnetatmo.cpp @@ -56,7 +56,7 @@ void IntegrationPluginNetatmo::startPairing(ThingPairingInfo *info) // Checking the client credentials if (m_clientId.isEmpty() || m_clientSecret.isEmpty()) { qCWarning(dcNetatmo()) << "Pairing failed, client credentials are not set"; - info->finish(Thing::ThingErrorAuthenticationFailure, QT_TR_NOOP("Error, client credentials are not set.")); + info->finish(Thing::ThingErrorAuthenticationFailure, QT_TR_NOOP("Client credentials are not set.")); return; } // Checking the internet connection @@ -136,12 +136,12 @@ void IntegrationPluginNetatmo::setupThing(ThingSetupInfo *info) if (username.isEmpty() || password.isEmpty()) { qCWarning(dcNetatmo()) << "Setup failed because of missing login credentials"; - info->finish(Thing::ThingErrorAuthenticationFailure, QT_TR_NOOP("Error, login credentials not found.")); + info->finish(Thing::ThingErrorAuthenticationFailure, QT_TR_NOOP("Login credentials not found.")); return; } if (m_clientId.isEmpty() || m_clientSecret.isEmpty()) { qCWarning(dcNetatmo()) << "Setup failed because of missing client credentials"; - info->finish(Thing::ThingErrorAuthenticationFailure, QT_TR_NOOP("Error, client credentials are not set.")); + info->finish(Thing::ThingErrorAuthenticationFailure, QT_TR_NOOP("Client credentials are not set.")); return; } diff --git a/netatmo/translations/69d14951-0c02-4877-bcef-dffdf48b7ccb-cs.ts b/netatmo/translations/69d14951-0c02-4877-bcef-dffdf48b7ccb-cs.ts index 005ff301..fb20c6a4 100644 --- a/netatmo/translations/69d14951-0c02-4877-bcef-dffdf48b7ccb-cs.ts +++ b/netatmo/translations/69d14951-0c02-4877-bcef-dffdf48b7ccb-cs.ts @@ -6,7 +6,7 @@ - Error, client credentials are not set. + Client credentials are not set. @@ -26,7 +26,7 @@ - Error, login credentials not found. + Login credentials not found. diff --git a/netatmo/translations/69d14951-0c02-4877-bcef-dffdf48b7ccb-da.ts b/netatmo/translations/69d14951-0c02-4877-bcef-dffdf48b7ccb-da.ts index e38502f1..a67a20a7 100644 --- a/netatmo/translations/69d14951-0c02-4877-bcef-dffdf48b7ccb-da.ts +++ b/netatmo/translations/69d14951-0c02-4877-bcef-dffdf48b7ccb-da.ts @@ -6,7 +6,7 @@ - Error, client credentials are not set. + Client credentials are not set. @@ -26,7 +26,7 @@ - Error, login credentials not found. + Login credentials not found. diff --git a/netatmo/translations/69d14951-0c02-4877-bcef-dffdf48b7ccb-de.ts b/netatmo/translations/69d14951-0c02-4877-bcef-dffdf48b7ccb-de.ts index 3d3fc30f..e52a0789 100644 --- a/netatmo/translations/69d14951-0c02-4877-bcef-dffdf48b7ccb-de.ts +++ b/netatmo/translations/69d14951-0c02-4877-bcef-dffdf48b7ccb-de.ts @@ -6,7 +6,7 @@ - Error, client credentials are not set. + Client credentials are not set. @@ -26,7 +26,7 @@ - Error, login credentials not found. + Login credentials not found. diff --git a/netatmo/translations/69d14951-0c02-4877-bcef-dffdf48b7ccb-en_US.ts b/netatmo/translations/69d14951-0c02-4877-bcef-dffdf48b7ccb-en_US.ts index 3ec06c5d..0262053a 100644 --- a/netatmo/translations/69d14951-0c02-4877-bcef-dffdf48b7ccb-en_US.ts +++ b/netatmo/translations/69d14951-0c02-4877-bcef-dffdf48b7ccb-en_US.ts @@ -6,7 +6,7 @@ - Error, client credentials are not set. + Client credentials are not set. @@ -26,7 +26,7 @@ - Error, login credentials not found. + Login credentials not found. diff --git a/netatmo/translations/69d14951-0c02-4877-bcef-dffdf48b7ccb-es.ts b/netatmo/translations/69d14951-0c02-4877-bcef-dffdf48b7ccb-es.ts index f8ae7a65..4760e575 100644 --- a/netatmo/translations/69d14951-0c02-4877-bcef-dffdf48b7ccb-es.ts +++ b/netatmo/translations/69d14951-0c02-4877-bcef-dffdf48b7ccb-es.ts @@ -6,7 +6,7 @@ - Error, client credentials are not set. + Client credentials are not set. @@ -26,7 +26,7 @@ - Error, login credentials not found. + Login credentials not found. diff --git a/netatmo/translations/69d14951-0c02-4877-bcef-dffdf48b7ccb-fr.ts b/netatmo/translations/69d14951-0c02-4877-bcef-dffdf48b7ccb-fr.ts index eaf12569..eed80088 100644 --- a/netatmo/translations/69d14951-0c02-4877-bcef-dffdf48b7ccb-fr.ts +++ b/netatmo/translations/69d14951-0c02-4877-bcef-dffdf48b7ccb-fr.ts @@ -6,7 +6,7 @@ - Error, client credentials are not set. + Client credentials are not set. @@ -26,7 +26,7 @@ - Error, login credentials not found. + Login credentials not found. diff --git a/netatmo/translations/69d14951-0c02-4877-bcef-dffdf48b7ccb-it.ts b/netatmo/translations/69d14951-0c02-4877-bcef-dffdf48b7ccb-it.ts index 288e58c7..6d02771d 100644 --- a/netatmo/translations/69d14951-0c02-4877-bcef-dffdf48b7ccb-it.ts +++ b/netatmo/translations/69d14951-0c02-4877-bcef-dffdf48b7ccb-it.ts @@ -6,7 +6,7 @@ - Error, client credentials are not set. + Client credentials are not set. @@ -26,7 +26,7 @@ - Error, login credentials not found. + Login credentials not found. diff --git a/netatmo/translations/69d14951-0c02-4877-bcef-dffdf48b7ccb-nl.ts b/netatmo/translations/69d14951-0c02-4877-bcef-dffdf48b7ccb-nl.ts index 97947464..9806032b 100644 --- a/netatmo/translations/69d14951-0c02-4877-bcef-dffdf48b7ccb-nl.ts +++ b/netatmo/translations/69d14951-0c02-4877-bcef-dffdf48b7ccb-nl.ts @@ -6,7 +6,7 @@ - Error, client credentials are not set. + Client credentials are not set. @@ -26,7 +26,7 @@ - Error, login credentials not found. + Login credentials not found. diff --git a/netatmo/translations/69d14951-0c02-4877-bcef-dffdf48b7ccb-pt.ts b/netatmo/translations/69d14951-0c02-4877-bcef-dffdf48b7ccb-pt.ts index cd4cddb5..a1b477a8 100644 --- a/netatmo/translations/69d14951-0c02-4877-bcef-dffdf48b7ccb-pt.ts +++ b/netatmo/translations/69d14951-0c02-4877-bcef-dffdf48b7ccb-pt.ts @@ -6,7 +6,7 @@ - Error, client credentials are not set. + Client credentials are not set. @@ -26,7 +26,7 @@ - Error, login credentials not found. + Login credentials not found.