summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/gui/windows/registerdialog.cpp12
1 files changed, 4 insertions, 8 deletions
diff --git a/src/gui/windows/registerdialog.cpp b/src/gui/windows/registerdialog.cpp
index 2377d1928..06a47c6b5 100644
--- a/src/gui/windows/registerdialog.cpp
+++ b/src/gui/windows/registerdialog.cpp
@@ -227,18 +227,14 @@ void RegisterDialog::action(const ActionEvent &event)
else if (mEmailField &&
mEmailField->getText().find("@") == std::string::npos)
{
- errorMsg = strprintf
- // TRANSLATORS: error message
- (_("Incorrect email."),
- minUser);
+ // TRANSLATORS: error message
+ errorMsg = _("Incorrect email.");
error = 1;
}
else if (mEmailField && mEmailField->getText().size() > 40)
{
- errorMsg = strprintf
- // TRANSLATORS: error message
- (_("Email too long."),
- minUser);
+ // TRANSLATORS: error message
+ errorMsg = _("Email too long.");
error = 1;
}