]> git.lyx.org Git - lyx.git/blobdiff - src/LColor.C
More fixes to insettabular/text (and some missing features added).
[lyx.git] / src / LColor.C
index a7c7c89f94c1a0ecf9fee6e92e06660480bf4da1..0d3b77b6981246ee56a9176e053320ba1373e702 100644 (file)
@@ -85,7 +85,7 @@ LColor::LColor()
        { footnote, N_("footnote"), "footnote", "DarkRed", "footnote" },
        { footnotebg, N_("footnote background"), "footnotebg", "grey60", "footnotebg" },
        { footnoteframe, N_("footnote frame"), "footnoteframe", "IndianRed", "footnoteframe" },
-       { ert, N_("latex text"), "ert", "DarkRed", "ert" },
+       { ert, N_("latex inset"), "ert", "DarkRed", "ert" },
        { inset, N_("inset"), "inset", "black", "inset" },
        { insetbg, N_("inset background"), "insetbg", "grey60", "insetbg" },
        { insetframe, N_("inset frame"), "insetframe", "IndianRed", "insetframe" },
@@ -194,7 +194,7 @@ LColor::color LColor::getFromGUIName(string const & guiname) const
        InfoTab::const_iterator ici = infotab.begin();
        InfoTab::const_iterator end = infotab.end();
        for (; ici != end; ++ici) {
-               if (!compare_no_case((*ici).second.guiname, guiname))
+               if (!compare_no_case(_((*ici).second.guiname), guiname))
                        return (*ici).first;
        }
        return LColor::inherit;