]> git.lyx.org Git - lyx.git/blobdiff - src/MenuBackend.C
Scons: update_po target, part one: language_l10n.pot
[lyx.git] / src / MenuBackend.C
index 81d6a5db90fcb3d41f08ab7cd48de15880425af1..50384a0f94ca83c7af888fc1f077cb4e0f595a78 100644 (file)
 
 namespace lyx {
 
-using support::compare_no_case;
 using support::compare_ascii_no_case;
 using support::contains;
 using support::makeDisplayPath;
 using support::token;
-using support::uppercase;
 
 using boost::bind;
 
@@ -401,7 +399,7 @@ void Menu::checkShortcuts() const
                               << "\" does not contain shortcut `"
                               << to_utf8(shortcut) << "'." << endl;
                for (const_iterator it2 = begin(); it2 != it1 ; ++it2) {
-                       if (!compare_no_case(it2->shortcut(), shortcut)) {
+                       if (!compare_ascii_no_case(it2->shortcut(), shortcut)) {
                                lyxerr << "Menu warning: menu entries "
                                       << '"' << to_utf8(it1->fulllabel())
                                       << "\" and \"" << to_utf8(it2->fulllabel())
@@ -536,10 +534,12 @@ void expandFormats(MenuItem::Kind kind, Menu & tomenu, Buffer const * buf)
 
                switch (kind) {
                case MenuItem::ImportFormats:
+                       // FIXME: This is a hack, we should rather solve
+                       // FIXME: bug 2488 instead.
                        if ((*fit)->name() == "text")
-                               label = _("Plain Text as Lines");
+                               label = _("Plain Text");
                        else if ((*fit)->name() == "textparagraph")
-                               label = _("Plain Text as Paragraphs");
+                               label = _("Plain Text, Join Lines");
                        label += "...";
                        break;
                case MenuItem::ViewFormats: