Remove exclamation mark from "String not found!"

When using 'find' and a string is not found, this is not an error or a
surprising event. It is often expected (e.g. after searching through
the whole document for a certain string eventually you will get this
message). The exclamation mark should be reserved for messages that
are unexpected or that need extra attention, such as errors.
This commit is contained in:
Scott Kostyshak 2013-04-01 01:35:48 -04:00
parent 0d7702e5e6
commit 2427e9b57a
2 changed files with 3 additions and 3 deletions

View File

@ -1545,7 +1545,7 @@ void BufferView::dispatch(FuncRequest const & cmd, DispatchResult & dr)
if (lyxfind(this, req))
dr.screenUpdate(Update::Force | Update::FitCursor);
else
message(_("String not found!"));
message(_("String not found."));
d->search_request_cache_ = req;
break;
}

View File

@ -379,7 +379,7 @@ bool lyxreplace(BufferView * bv,
Buffer const & buf = bv->buffer();
if (!update) {
// emit message signal.
buf.message(_("String not found!"));
buf.message(_("String not found."));
} else {
if (replace_count == 0) {
buf.message(_("String found."));
@ -397,7 +397,7 @@ bool lyxreplace(BufferView * bv,
if (findOne(bv, search, casesensitive, matchword, forward))
update = true;
else
bv->message(_("String not found!"));
bv->message(_("String not found."));
}
return update;
}