]> git.lyx.org Git - features.git/commitdiff
Expand the string "regexp" to something user will better be able to understand.
authorVincent van Ravesteijn <vfr@lyx.org>
Thu, 28 Jan 2010 19:56:12 +0000 (19:56 +0000)
committerVincent van Ravesteijn <vfr@lyx.org>
Thu, 28 Jan 2010 19:56:12 +0000 (19:56 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33250 a592a061-630c-0410-9148-cb99ea01b6c8

src/Text3.cpp
src/mathed/InsetMathNest.cpp

index 4fd8e84290d9f07d66bbd34622d4e5560790621c..c13278f8082a404c19de7184cf2675fdcb5ce8f9 100644 (file)
@@ -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();
index 98bc13fc09f560ecd28dfd457eda178e779ed91c..ae40d34081a6bd0e2ee562e11b9059475d635b5a 100644 (file)
@@ -1006,7 +1006,7 @@ void InsetMathNest::doDispatch(Cursor & cur, FuncRequest & cmd)
        case LFUN_REGEXP_MODE: {
                InsetMathHull * i = dynamic_cast<InsetMathHull *>(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());