Commit 88131edc authored by Laurent Montel's avatar Laurent Montel 😁

Now I can read correcty error.

parent 15f15662
...@@ -127,7 +127,7 @@ QString RefreshOpenPGPCertsCommand::errorExitMessage( const QStringList & args ) ...@@ -127,7 +127,7 @@ QString RefreshOpenPGPCertsCommand::errorExitMessage( const QStringList & args )
return i18nc("@info", return i18nc("@info",
"<para>An error occurred while trying to refresh OpenPGP certificates.</para> " "<para>An error occurred while trying to refresh OpenPGP certificates.</para> "
"<para>The output from <command>%1</command> was: <message>%2</message></para>", "<para>The output from <command>%1</command> was: <message>%2</message></para>",
args[0], errorString() ); args[0], errorString().replace(QLatin1String("\n"), QLatin1String("<br>")) );
} }
QString RefreshOpenPGPCertsCommand::successMessage( const QStringList & ) const { QString RefreshOpenPGPCertsCommand::successMessage( const QStringList & ) const {
......
...@@ -94,7 +94,7 @@ QString RefreshX509CertsCommand::errorExitMessage( const QStringList & args ) co ...@@ -94,7 +94,7 @@ QString RefreshX509CertsCommand::errorExitMessage( const QStringList & args ) co
return i18nc( "@info", return i18nc( "@info",
"<para>An error occurred while trying to refresh X.509 certificates.</para>" "<para>An error occurred while trying to refresh X.509 certificates.</para>"
"<para>The output from <command>%1</command> was: <message>%2</message></para>", "<para>The output from <command>%1</command> was: <message>%2</message></para>",
args[0], errorString() ); args[0], errorString().replace(QLatin1String("\n"), QLatin1String("<br>")) );
} }
QString RefreshX509CertsCommand::successMessage( const QStringList & ) const { QString RefreshX509CertsCommand::successMessage( const QStringList & ) const {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment