]> git.lyx.org Git - features.git/commitdiff
Localize items in view/update popup icons
authorJuergen Spitzmueller <spitz@lyx.org>
Tue, 20 Feb 2018 15:42:01 +0000 (16:42 +0100)
committerJuergen Spitzmueller <spitz@lyx.org>
Wed, 21 Feb 2018 08:50:34 +0000 (09:50 +0100)
Fixes: #11040
(cherry picked from commit 578cf77f6f0e88dadc1cdcc2d0bc145c1a40aad7)

src/frontends/qt4/Toolbars.cpp
status.22x

index 2cf4dce79957b85114f551d600d24745f75b9675..580d0a9863b570fed84091d39c1481dc0d17302f 100644 (file)
@@ -232,7 +232,7 @@ ToolbarInfo & ToolbarInfo::read(Lexer & lex)
                                FuncRequest func(lfun, (*fit)->name(),
                                                FuncRequest::TOOLBAR);
                                add(ToolbarItem(ToolbarItem::COMMAND, func,
-                                               bformat(tooltip, prettyname)));
+                                               bformat(tooltip, translateIfPossible(prettyname))));
                        }
                        break;
                }
index 197eee02b45e588aaae40b31bdb300f02c596e03..e43dd45afbfbebebc7a56a836334201e931c51fd 100644 (file)
@@ -150,6 +150,8 @@ What's new
 
 - Fix untranslated GUI string in Box dialog (bug 10999).
 
+- Fix untranslated GUI strings on View/Update toolbar button menu (bug 11040).
+
 
 * INTERNALS