return tr("Enable/disable this rule");
case CoreHighlightSettingsPage::NameColumn:
- return tr("Phrase to match");
+ return tr("Phrase to match, leave blank to match any message");
case CoreHighlightSettingsPage::RegExColumn:
return tr("<b>RegEx</b>: This option determines if the highlight rule, <i>Sender</i>, and "
highlightRule.isEnabled = (item->checkState() == Qt::Checked);
break;
case CoreHighlightSettingsPage::NameColumn:
- if (item->text() == "")
- item->setText(tr("this shouldn't be empty"));
highlightRule.name = item->text();
break;
case CoreHighlightSettingsPage::RegExColumn:
ignoredRule.isEnabled = (item->checkState() == Qt::Checked);
break;
case CoreHighlightSettingsPage::NameColumn:
- if (item->text() == "")
- item->setText(tr("this shouldn't be empty"));
ignoredRule.name = item->text();
break;
case CoreHighlightSettingsPage::RegExColumn: