+ const auto localHighlightList = notificationSettings.highlightList();
+
+ // Re-use translations of "Local Highlights" as this is a word-for-word reference, forcing all
+ // spaces to non-breaking
+ const QString localHighlightsName = tr("Local Highlights").replace(" ", " ");
+
+ if (localHighlightList.count() == 0) {
+ // No highlight rules exist to import, do nothing
+ QMessageBox::information(this,
+ tr("No local highlights"),
+ tr("No highlight rules in <i>%1</i>."
+ ).arg(localHighlightsName));
+ return;
+ }
+
+ int ret = QMessageBox::question(this,
+ tr("Import local highlights?"),
+ tr("Import all highlight rules from <i>%1</i>?"
+ ).arg(localHighlightsName),
+ QMessageBox::Yes|QMessageBox::No,
+ QMessageBox::No);
+
+ if (ret == QMessageBox::No) {
+ // Only two options, Yes or No, just return if No
+ return;
+ }
+