Changeset View
Changeset View
Standalone View
Standalone View
src/ksieveui/autocreatescripts/sieveactions/sieveaction.cpp
Show First 20 Lines • Show All 123 Lines • ▼ Show 20 Line(s) | 123 | { | |||
---|---|---|---|---|---|
124 | mComment = comment; | 124 | mComment = comment; | ||
125 | } | 125 | } | ||
126 | 126 | | |||
127 | void SieveAction::unknownTag(const QStringRef &tag, QString &error) | 127 | void SieveAction::unknownTag(const QStringRef &tag, QString &error) | ||
128 | { | 128 | { | ||
129 | error += i18n("An unknown tag \"%1\" was found during parsing action \"%2\".", *tag.string(), name()) + QLatin1Char('\n'); | 129 | error += i18n("An unknown tag \"%1\" was found during parsing action \"%2\".", *tag.string(), name()) + QLatin1Char('\n'); | ||
130 | } | 130 | } | ||
131 | 131 | | |||
132 | void SieveAction::unknowTagValue(const QString &tagValue, QString &error) | 132 | void SieveAction::unknownTagValue(const QString &tagValue, QString &error) | ||
133 | { | 133 | { | ||
134 | error += i18n("An unknown tag value \"%1\" was found during parsing action \"%2\".", tagValue, name()) + QLatin1Char('\n'); | 134 | error += i18n("An unknown tag value \"%1\" was found during parsing action \"%2\".", tagValue, name()) + QLatin1Char('\n'); | ||
135 | } | 135 | } | ||
136 | 136 | | |||
137 | void SieveAction::tooManyArgument(const QStringRef &tagName, int index, int maxValue, QString &error) | 137 | void SieveAction::tooManyArgument(const QStringRef &tagName, int index, int maxValue, QString &error) | ||
138 | { | 138 | { | ||
139 | error += i18n("Too many argument found for \"%1\", max value is %2, number of value found %3 for %4", name(), maxValue, index, *tagName.string()) + QLatin1Char('\n'); | 139 | error += i18n("Too many argument found for \"%1\", max value is %2, number of value found %3 for %4", name(), maxValue, index, *tagName.string()) + QLatin1Char('\n'); | ||
140 | } | 140 | } | ||
Show All 10 Lines |