Commit 2dff4b9e authored by Ingo Klöcker's avatar Ingo Klöcker
Browse files

Use an instruction for the "all inputs are empty" error

GnuPG-bug-id: 5916
parent d2df5534
......@@ -188,7 +188,7 @@ private:
QStringList errors;
if (ui.resultLabel->text().isEmpty()
&& !ui.nameInput->isRequired() && !ui.emailInput->isRequired()) {
errors.push_back(i18n("Name and email address cannot both be empty."));
errors.push_back(i18n("Enter a name or an email address."));
}
const auto nameError = ui.nameInput->currentError();
if (!nameError.isEmpty()) {
......
Supports Markdown
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