Commit 2000c1a5 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Fix i18n

parent 9b505912
......@@ -36,5 +36,9 @@ AttachmentAddedFromExternalWarning::~AttachmentAddedFromExternalWarning()
void AttachmentAddedFromExternalWarning::setAttachmentNames(const QStringList &lst)
{
setText(i18n("These attachments (%1) were added from external. Remove them if it's an error.", lst.join(QLatin1Char(','))));
if (lst.count() == 1) {
setText(i18n("These attachment: <ul><li>%1</li></ul> was added from external. Remove them if it's an error.", lst.at(0)));
} else {
setText(i18n("These attachments: <ul><li>%1</li></ul> were added from external. Remove them if it's an error.", lst.join(QLatin1String("</li><li>"))));
}
}
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