Commit ad707e6b authored by Laurent Montel's avatar Laurent Montel 😁

Fix initialize vector

parent e182c53c
......@@ -35,11 +35,12 @@ void SieveEditorEmptyTabWidgetLabel::init()
//TODO improve text
QString placeholderText = QStringLiteral("<html><body style=\"color:#909090; font-size:14px\">"
"<div align='center'>");
QVector<placeHolderTextInfo> map;
map.append(placeHolderTextInfo(i18n("Import script:"), i18nc("Action is from file menu, import submenu", "File > Import")));
map.append(placeHolderTextInfo(i18n("Create Rules Graphically:"), i18nc("Action is from menu tools, submenu autogenerate script", "Tools > Autogenerate script")));
map.append(placeHolderTextInfo(i18n("Debug a script:"), i18nc("These action in from menu tools submenu debug sieve script", "Tools > Debug Sieve Script")));
map.append(placeHolderTextInfo(i18n("Import Sieve Settings"), i18nc("Action is from tools menu, import IMAP settings", "Tools > Import IMAP settings")));
const QVector<placeHolderTextInfo> map {
placeHolderTextInfo(i18n("Import script:"), i18nc("Action is from file menu, import submenu", "File > Import")),
placeHolderTextInfo(i18n("Create Rules Graphically:"), i18nc("Action is from menu tools, submenu autogenerate script", "Tools > Autogenerate script")),
placeHolderTextInfo(i18n("Debug a script:"), i18nc("These action in from menu tools submenu debug sieve script", "Tools > Debug Sieve Script")),
placeHolderTextInfo(i18n("Import Sieve Settings"), i18nc("Action is from tools menu, import IMAP settings", "Tools > Import IMAP settings"))
};
addInfo(placeholderText, map);
placeholderText += QStringLiteral("<div></div>"
"</div>"
......
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