]> git.lyx.org Git - lyx.git/blobdiff - src/LyXAction.C
update no.po
[lyx.git] / src / LyXAction.C
index 1f4b832e6fb70775184df99134f4730306a5f598..a2304e7018ac76373a61ed72f9d7c7f7dc8e0b82 100644 (file)
@@ -99,7 +99,6 @@ void LyXAction::init()
                { LFUN_UMLAUT, "accent-umlaut", "", Noop },
                { LFUN_UNDERBAR, "accent-underbar", "", Noop },
                { LFUN_UNDERDOT, "accent-underdot", "", Noop },
-               { LFUN_VECTOR, "accent-vector", "", Noop },
                { LFUN_APPENDIX, "appendix", N_("Insert appendix"), Noop },
                { LFUN_APROPOS, "apropos", N_("Describe command"),
                  NoBuffer|ReadOnly },
@@ -107,7 +106,7 @@ void LyXAction::init()
                  N_("Select previous char"), ReadOnly },
                { LFUN_BIBDB_ADD, "bibtex-database-add", "", Noop },
                { LFUN_BIBDB_DEL, "bibtex-database-del", "", Noop },
-               { LFUN_INSERT_BIBTEX, "bibtex-insert", N_("Insert bibtex"),
+               { LFUN_INSERT_BIBTEX, "bibtex-insert", N_("Insert BibTeX"),
                  Noop },
                { LFUN_BIBTEX_STYLE, "bibtex-style", "", Noop },
                { LFUN_BOOKMARK_GOTO, "bookmark-goto", "", ReadOnly },
@@ -196,12 +195,13 @@ void LyXAction::init()
                { LFUN_FILE_INSERT_ASCII, "file-insert-ascii", _("Insert ASCII files as lines"), Noop },
                { LFUN_FILE_INSERT_ASCII_PARA, "file-insert-ascii-para", _("Insert ASCII file as a paragraph"), Noop },
                { LFUN_FILE_NEW, "file-new", "", NoBuffer },
-               { LFUN_FILE_OPEN, "file-open", _("Open a file"), NoBuffer },
+               { LFUN_FILE_OPEN, "file-open", N_("Open a file"), NoBuffer },
                { LFUN_MENUSEARCH, "find-replace", N_("Find & Replace"),
                  ReadOnly },
-               { LFUN_INSET_FLOAT, "float-insert", "Insert a Float", Noop },
+               { LFUN_INSET_FLOAT, "float-insert", N_("Insert a Float"), Noop },
                { LFUN_INSET_WIDE_FLOAT, "float-wide-insert",
-                 "Insert a wide Float", Noop },
+                 N_("Insert a wide Float"), Noop },
+               { LFUN_INSET_WRAP, "wrap-insert", N_("Insert a Wrap"), Noop },
                { LFUN_BOLD, "font-bold", N_("Toggle bold"), Noop },
                { LFUN_CODE, "font-code", N_("Toggle code style"), Noop },
                { LFUN_DEFAULT, "font-default", N_("Default font style"),
@@ -276,7 +276,7 @@ void LyXAction::init()
 #endif
                { LFUN_QUIT, "lyx-quit", N_("Exit"), NoBuffer },
                { LFUN_INSET_MARGINAL, "marginalnote-insert",
-                 N_("Insert Marginalnote"), Noop },
+                 N_("Insert margin note"), Noop },
                { LFUN_MARK_OFF, "mark-off", "", ReadOnly },
                { LFUN_MARK_ON, "mark-on", "", ReadOnly },
                { LFUN_SETMARK, "mark-toggle", "", ReadOnly },
@@ -286,8 +286,8 @@ void LyXAction::init()
                { LFUN_GREEK_TOGGLE, "math-greek-toggle", "", Noop },
                { LFUN_INSERT_MATH, "math-insert",
                  N_("Insert math symbol"), Noop },
-               { LFUN_SUBSCRIPT, "math-subscript", "", Noop },
-               { LFUN_SUPERSCRIPT, "math-superscript", "", Noop },
+               { LFUN_SUBSCRIPT, "math-subscript", N_("Add subscript"), Noop },
+               { LFUN_SUPERSCRIPT, "math-superscript", N_("Add superscript"), Noop },
                { LFUN_MATH_LIMITS, "math-limits", "", Noop },
                { LFUN_MATH_MACRO, "math-macro", "", Noop },
                { LFUN_MATH_MUTATE, "math-mutate", "", Noop },
@@ -397,6 +397,7 @@ void LyXAction::init()
                { LFUN_WORDRIGHT, "word-forward", "", ReadOnly },
                { LFUN_WORDRIGHTSEL, "word-forward-select", "", ReadOnly },
                { LFUN_LOWCASE_WORD, "word-lowcase", "", Noop },
+               { LFUN_WORDSEL, "word-select", "", ReadOnly },
                { LFUN_UPCASE_WORD, "word-upcase", "", Noop },
                { LFUN_MESSAGE, "message",
                  N_("Show message in minibuffer"), NoBuffer },
@@ -532,12 +533,12 @@ string const LyXAction::getActionName(int action) const
 {
        FuncRequest ev = retrieveActionArg(action);
        if (!ev.argument.empty())
-               ev.argument.insert(0, " ");
+               ev.argument.insert(string::size_type(0), 1, ' ');
 
-       info_map::const_iterator iit = lyx_info_map.find(ev.action);
+       info_map::const_iterator const it = lyx_info_map.find(ev.action);
 
-       if (iit != lyx_info_map.end())
-               return iit->second.name + ev.argument;
+       if (it != lyx_info_map.end())
+               return it->second.name + ev.argument;
        return string();
 }
 
@@ -547,7 +548,7 @@ string const LyXAction::helpText(int pseudoaction) const
        FuncRequest ev = retrieveActionArg(pseudoaction);
 
        string help;
+
        info_map::const_iterator ici = lyx_info_map.find(ev.action);
        if (ici != lyx_info_map.end()) {
                if (lyxerr.debugging(Debug::ACTION)) {