diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-11-13 21:03:20 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-11-13 21:03:20 +0300 |
commit | d2f4bf9efb3009bde48b3f33ed81897693539503 (patch) | |
tree | 8406e92dd951e125b7b7b9d1707305e0d03588e1 /src | |
parent | ac98b2a7a2753b9b4a84ec8aeb483151c53cd3d8 (diff) | |
download | plus-d2f4bf9efb3009bde48b3f33ed81897693539503.tar.gz plus-d2f4bf9efb3009bde48b3f33ed81897693539503.tar.bz2 plus-d2f4bf9efb3009bde48b3f33ed81897693539503.tar.xz plus-d2f4bf9efb3009bde48b3f33ed81897693539503.zip |
Fix compilation warnings.
Diffstat (limited to 'src')
-rw-r--r-- | src/gui/windows/registerdialog.cpp | 12 |
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; } |