]> git.lyx.org Git - features.git/commitdiff
stdinsets.inc, InsetERT.cpp: change "ERT" to "TeX" to be consistent - the documentati...
authorUwe Stöhr <uwestoehr@web.de>
Sun, 7 Nov 2010 15:31:05 +0000 (15:31 +0000)
committerUwe Stöhr <uwestoehr@web.de>
Sun, 7 Nov 2010 15:31:05 +0000 (15:31 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36189 a592a061-630c-0410-9148-cb99ea01b6c8

lib/layouts/stdinsets.inc
src/insets/InsetERT.cpp

index 9b4bae8d6925fc4c657806f5202d0d59506a5eff..1c101b8218318796f5fa8eaab2550424dc44907e 100644 (file)
@@ -131,7 +131,7 @@ InsetLayout Note:Greyedout
 End
 
 InsetLayout ERT
-       LabelString           ERT
+       LabelString           TeX
        LatexType             none
        Decoration            minimalistic
        Font
index 2b6c8b7c6afb95acb8d6f1c14bd94307eb16cadf..1a3b2a9ae47737d6a031274127e4d1ca9a0b40f5 100644 (file)
@@ -140,9 +140,9 @@ bool InsetERT::getStatus(Cursor & cur, FuncRequest const & cmd,
 docstring const InsetERT::buttonLabel(BufferView const & bv) const
 {
        if (decoration() == InsetLayout::CLASSIC)
-               return isOpen(bv) ? _("ERT") : getNewLabel(_("ERT"));
+               return isOpen(bv) ? _("TeX") : getNewLabel(_("TeX"));
        else
-               return getNewLabel(_("ERT"));
+               return getNewLabel(_("TeX"));
 }