Author: uwestoehr
Date: Sun Nov  7 16:31:05 2010
New Revision: 36189
URL: http://www.lyx.org/trac/changeset/36189

Log:
stdinsets.inc, InsetERT.cpp: change "ERT" to "TeX" to be consistent - the 
documentation and all other menus use consequently since LyX 1.6.0 "TeX-code" 
because it turned out that ERT is a meaningless abbreviation for new users

Modified:
   lyx-devel/trunk/lib/layouts/stdinsets.inc
   lyx-devel/trunk/src/insets/InsetERT.cpp

Modified: lyx-devel/trunk/lib/layouts/stdinsets.inc
==============================================================================
--- lyx-devel/trunk/lib/layouts/stdinsets.inc   Sun Nov  7 16:28:21 2010        
(r36188)
+++ lyx-devel/trunk/lib/layouts/stdinsets.inc   Sun Nov  7 16:31:05 2010        
(r36189)
@@ -131,7 +131,7 @@
 End
 
 InsetLayout ERT
-       LabelString           ERT
+       LabelString           TeX
        LatexType             none
        Decoration            minimalistic
        Font

Modified: lyx-devel/trunk/src/insets/InsetERT.cpp
==============================================================================
--- lyx-devel/trunk/src/insets/InsetERT.cpp     Sun Nov  7 16:28:21 2010        
(r36188)
+++ lyx-devel/trunk/src/insets/InsetERT.cpp     Sun Nov  7 16:31:05 2010        
(r36189)
@@ -140,9 +140,9 @@
 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"));
 }
 
 

Reply via email to