]> 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:40:01 +0000 (09:40 +0100)
Fixes: #11040
(cherry picked from commit 578cf77f6f0e88dadc1cdcc2d0bc145c1a40aad7)

src/frontends/qt4/Toolbars.cpp

index 2c0d2ab1a3a0a1abbc1191132cf8e53b1ff386aa..2e15775d0ab739b0007942081e1466636bef5a28 100644 (file)
@@ -229,7 +229,7 @@ ToolbarInfo & ToolbarInfo::read(Lexer & lex)
                                FuncRequest func(lfun, f->name(),
                                                FuncRequest::TOOLBAR);
                                add(ToolbarItem(ToolbarItem::COMMAND, func,
-                                               bformat(tooltip, prettyname)));
+                                               bformat(tooltip, translateIfPossible(prettyname))));
                        }
                        break;
                }