diff --git a/src/TLSClient.cpp b/src/TLSClient.cpp index dfcc5639e..63e276e16 100644 --- a/src/TLSClient.cpp +++ b/src/TLSClient.cpp @@ -257,7 +257,7 @@ void TLSClient::connect (const std::string& host, const std::string& port) { if (_debug) std::cout << "c: ERROR Certificate verification failed.\n"; - throw std::string (STRING_TLS_INIT_FAIL); + throw format (STRING_TLS_INIT_FAIL, gnutls_strerror (ret)); } #endif diff --git a/src/l10n/eng-USA.h b/src/l10n/eng-USA.h index 890440b3a..0e5bf7527 100644 --- a/src/l10n/eng-USA.h +++ b/src/l10n/eng-USA.h @@ -743,7 +743,7 @@ #define STRING_UDA_COLLISION "The UDA named '{1}' is the same as a core attribute, and is not permitted." #define STRING_INVALID_MOD "The '{1}' attribute does not allow a value of '{2}'." #define STRING_INVALID_SORT_COL "The '{1}' column is not a valid sort field." -#define STRING_TLS_INIT_FAIL "Error initializing TLS." +#define STRING_TLS_INIT_FAIL "Error initializing TLS. {1}" #define STRING_ERROR_MEMORY "Problem obtaining memory." #define STRING_ERROR_DETAILS "The setting 'calendar.details.report' must contain a single report name." diff --git a/src/l10n/epo-RUS.h b/src/l10n/epo-RUS.h index 6316dee46..16cc07614 100644 --- a/src/l10n/epo-RUS.h +++ b/src/l10n/epo-RUS.h @@ -743,7 +743,7 @@ #define STRING_UDA_COLLISION "UDA '{1}' kaj enkonstruita atributo havas la saman nomon. Tio estas malpermesita." #define STRING_INVALID_MOD "Atributo '{1}' ne permesas valoron '{2}'." #define STRING_INVALID_SORT_COL "Kolumno '{1}' ne estas valida kampo por ordigi." -#define STRING_TLS_INIT_FAIL "Erara eko de TLS." +#define STRING_TLS_INIT_FAIL "Erara eko de TLS. {1}" #define STRING_ERROR_MEMORY "Ne povis akiri memoron." #define STRING_ERROR_DETAILS "Agordo 'calendar.details.report' devas enhavi sole unu raportnomon." diff --git a/src/l10n/esp-ESP.h b/src/l10n/esp-ESP.h index 641dfb63c..5912bb9e5 100644 --- a/src/l10n/esp-ESP.h +++ b/src/l10n/esp-ESP.h @@ -750,7 +750,7 @@ #define STRING_UDA_COLLISION "El UDA denominado '{1}' es el mismo que un atributo del núcleo, y no está permitido." #define STRING_INVALID_MOD "El atributo '{1}' no admite un valor '{2}'." #define STRING_INVALID_SORT_COL "La columna '{1}' no es un campo de ordenación válido." -#define STRING_TLS_INIT_FAIL "Error inicializando TLS." +#define STRING_TLS_INIT_FAIL "Error inicializando TLS. {1}" #define STRING_ERROR_MEMORY "Problema obteniendo memoria." #define STRING_ERROR_DETAILS "La variable de configuración 'calendar.details.report' debe contener un único nombre de informe." diff --git a/src/l10n/fra-FRA.h b/src/l10n/fra-FRA.h index e76679e43..76d84edc9 100644 --- a/src/l10n/fra-FRA.h +++ b/src/l10n/fra-FRA.h @@ -742,7 +742,7 @@ #define STRING_UDA_COLLISION "L'ADU nommé '{1}' est le même qu'un attribut du noyau, et ce n'est pas autorisé." #define STRING_INVALID_MOD "The '{1}' attribute does not allow a value of '{2}'." #define STRING_INVALID_SORT_COL "The '{1}' column is not a valid sort field." -#define STRING_TLS_INIT_FAIL "Erreur en initialisant TLS." +#define STRING_TLS_INIT_FAIL "Erreur en initialisant TLS. {1}" #define STRING_ERROR_MEMORY "Problem obtaining memory." #define STRING_ERROR_DETAILS "The setting 'calendar.details.report' must contain a single report name." diff --git a/src/l10n/ita-ITA.h b/src/l10n/ita-ITA.h index 6746b4879..baa687dc9 100644 --- a/src/l10n/ita-ITA.h +++ b/src/l10n/ita-ITA.h @@ -743,7 +743,7 @@ #define STRING_UDA_COLLISION "L'UDA '{1}' ha lo stesso nome di un attributo di sistema, e ciò non è permesso." #define STRING_INVALID_MOD "L'attributo '{1}' non ammette un valore pari a '{2}'." #define STRING_INVALID_SORT_COL "La colonna '{1}' non è un campo di ordinamento valido." -#define STRING_TLS_INIT_FAIL "Error initializing TLS." +#define STRING_TLS_INIT_FAIL "Error initializing TLS. {1}" #define STRING_ERROR_MEMORY "Problem obtaining memory." #define STRING_ERROR_DETAILS "The setting 'calendar.details.report' must contain a single report name." diff --git a/src/l10n/por-PRT.h b/src/l10n/por-PRT.h index 198d1b590..53601a5a0 100644 --- a/src/l10n/por-PRT.h +++ b/src/l10n/por-PRT.h @@ -743,7 +743,7 @@ #define STRING_UDA_COLLISION "O UDA '{1}' tem o mesmo nome que um atributo interno, tal não é permitido." #define STRING_INVALID_MOD "O atributo '{1}' não permite o valor '{2}'." #define STRING_INVALID_SORT_COL "A coluna '{1}' não pode ser ordenada." -#define STRING_TLS_INIT_FAIL "Erro a iniciar componente TLS." +#define STRING_TLS_INIT_FAIL "Erro a iniciar componente TLS. {1}" #define STRING_ERROR_MEMORY "Problema a alocar memória." #define STRING_ERROR_DETAILS "A definição 'calendar.details.report' pode apenas indicar um nome de relatório."