diff --git a/src/widget/form/profileform.cpp b/src/widget/form/profileform.cpp index 18f0824f8..de0e679a0 100644 --- a/src/widget/form/profileform.cpp +++ b/src/widget/form/profileform.cpp @@ -520,7 +520,9 @@ void ProfileForm::onRegisterButtonClicked() break; default: QString errorMessage = Toxme::getErrorMessage(code); - GUI::showWarning(tr("Toxme error"), errorMessage); + qWarning() << errorMessage; + QString translated = Toxme::translateErrorMessage(code); + GUI::showWarning(tr("Toxme error"), translated); } bodyUI->toxmeRegisterButton->setEnabled(true);