From: Vincent van Ravesteijn Date: Thu, 28 Jan 2010 19:56:12 +0000 (+0000) Subject: Expand the string "regexp" to something user will better be able to understand. X-Git-Tag: 2.0.0~4207 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=61eecb8a4462d7d74865ff7108a346dce9f02725;p=lyx.git Expand the string "regexp" to something user will better be able to understand. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33250 a592a061-630c-0410-9148-cb99ea01b6c8 --- diff --git a/src/Text3.cpp b/src/Text3.cpp index 4fd8e84290..c13278f808 100644 --- a/src/Text3.cpp +++ b/src/Text3.cpp @@ -200,7 +200,7 @@ void regexpDispatch(Cursor & cur, FuncRequest const & cmd) { BOOST_ASSERT(cmd.action == LFUN_REGEXP_MODE); if (cur.inRegexped()) { - cur.message(_("Already in regexp mode")); + cur.message(_("Already in regular expression mode")); return; } cur.recordUndo(); diff --git a/src/mathed/InsetMathNest.cpp b/src/mathed/InsetMathNest.cpp index 98bc13fc09..ae40d34081 100644 --- a/src/mathed/InsetMathNest.cpp +++ b/src/mathed/InsetMathNest.cpp @@ -1006,7 +1006,7 @@ void InsetMathNest::doDispatch(Cursor & cur, FuncRequest & cmd) case LFUN_REGEXP_MODE: { InsetMathHull * i = dynamic_cast(cur.inset().asInsetMath()); if (i && i->getType() == hullRegexp) { - cur.message(_("Already in regexp mode")); + cur.message(_("Already in regulare expression mode")); break; } cur.macroModeClose(); @@ -1016,9 +1016,9 @@ void InsetMathNest::doDispatch(Cursor & cur, FuncRequest & cmd) cur.posBackward(); cur.pushBackward(*cur.nextInset()); cur.niceInsert(save_selection); - cur.message(_("Regexp editor mode")); + cur.message(_("Regular expression editor mode")); break; - } + case LFUN_MATH_FONT_STYLE: { FuncRequest fr = FuncRequest(LFUN_MATH_INSERT, '\\' + cmd.argument());