Changeset View
Changeset View
Standalone View
Standalone View
src/ksieveui/autocreatescripts/sieveconditions/sievecondition.cpp
Show First 20 Lines • Show All 97 Lines • ▼ Show 20 Line(s) | 97 | { | |||
---|---|---|---|---|---|
98 | return true; | 98 | return true; | ||
99 | } | 99 | } | ||
100 | 100 | | |||
101 | void SieveCondition::unknownTag(const QStringRef &tag, QString &error) | 101 | void SieveCondition::unknownTag(const QStringRef &tag, QString &error) | ||
102 | { | 102 | { | ||
103 | error += i18n("Unknown tag \"%1\" during parsing condition \"%2\"", *tag.string(), name()) + QLatin1Char('\n'); | 103 | error += i18n("Unknown tag \"%1\" during parsing condition \"%2\"", *tag.string(), name()) + QLatin1Char('\n'); | ||
104 | } | 104 | } | ||
105 | 105 | | |||
106 | void SieveCondition::unknowTagValue(const QString &tagValue, QString &error) | 106 | void SieveCondition::unknownTagValue(const QString &tagValue, QString &error) | ||
107 | { | 107 | { | ||
108 | error += i18n("An unknown tag value \"%1\" was found during parsing condition \"%2\".", tagValue, name()) + QLatin1Char('\n'); | 108 | error += i18n("An unknown tag value \"%1\" was found during parsing condition \"%2\".", tagValue, name()) + QLatin1Char('\n'); | ||
109 | } | 109 | } | ||
110 | 110 | | |||
111 | void SieveCondition::tooManyArgument(const QString &tagName, int index, int maxValue, QString &error) | 111 | void SieveCondition::tooManyArgument(const QString &tagName, int index, int maxValue, QString &error) | ||
112 | { | 112 | { | ||
113 | error += i18n("Too many argument found for \"%1\", max value is %2, number of value found %3 for %4", name(), maxValue, (index + 1), tagName) + QLatin1Char('\n'); | 113 | error += i18n("Too many argument found for \"%1\", max value is %2, number of value found %3 for %4", name(), maxValue, (index + 1), tagName) + QLatin1Char('\n'); | ||
114 | } | 114 | } | ||
Show All 30 Lines |