summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-11-13 21:03:20 +0300
committerAndrei Karas <akaras@inbox.ru>2015-11-13 21:03:20 +0300
commitd2f4bf9efb3009bde48b3f33ed81897693539503 (patch)
tree8406e92dd951e125b7b7b9d1707305e0d03588e1 /src
parentac98b2a7a2753b9b4a84ec8aeb483151c53cd3d8 (diff)
downloadmanaverse-d2f4bf9efb3009bde48b3f33ed81897693539503.tar.gz
manaverse-d2f4bf9efb3009bde48b3f33ed81897693539503.tar.bz2
manaverse-d2f4bf9efb3009bde48b3f33ed81897693539503.tar.xz
manaverse-d2f4bf9efb3009bde48b3f33ed81897693539503.zip
Fix compilation warnings.
Diffstat (limited to 'src')
-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;
}