Commit 3e3025fa authored by Yuri Chornoivan's avatar Yuri Chornoivan
Browse files

Fix i18n()

parent b351d46b
Pipeline #22082 passed with stage
in 11 minutes and 57 seconds
......@@ -231,8 +231,8 @@ void IdentityPage::slotRemoveIdentity()
}
identityName = item->identity().identityName();
}
const QString msg = i18np("<qt>Do you really want to remove the identity named "
"<b>%2</b>?</qt>", "Do you really want to remove theses %2 identities?", numberOfIdentity, identityName);
const QString msg = numberOfIdentity == 1 ? i18n("<qt>Do you really want to remove the identity named "
"<b>%1</b>?</qt>", identityName) : i18np("Do you really want to remove this %1 identity?", "Do you really want to remove these %1 identities?", numberOfIdentity);
if (KMessageBox::warningContinueCancel(this, msg, i18np("Remove Identity", "Remove Identities", numberOfIdentity),
KGuiItem(i18n("&Remove"),
QStringLiteral("edit-delete")))
......
Markdown is supported
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