X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FLyXAction.C;h=a7a5e794d589a9604496b2de45e1e4e86a0bf872;hb=8555881d19d77b32315661699fab31a82d3833ab;hp=d739cc4ac0bde40a05de4d9183817a65c0e0b8cd;hpb=da7d2bc011ef60be97d73aa778efbde1cea1ecbb;p=lyx.git diff --git a/src/LyXAction.C b/src/LyXAction.C index d739cc4ac0..a7a5e794d5 100644 --- a/src/LyXAction.C +++ b/src/LyXAction.C @@ -196,12 +196,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"), @@ -286,8 +287,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 +398,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 }, @@ -534,10 +536,10 @@ string const LyXAction::getActionName(int action) const if (!ev.argument.empty()) ev.argument.insert(0, " "); - 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(); }