diff --git a/src/frontends/qt4/Toolbars.cpp b/src/frontends/qt4/Toolbars.cpp index 3a335fe495..72fc4a7c88 100644 --- a/src/frontends/qt4/Toolbars.cpp +++ b/src/frontends/qt4/Toolbars.cpp @@ -15,10 +15,11 @@ #include "FuncRequest.h" #include "Lexer.h" #include "LyXAction.h" -#include "support/lstrings.h" +#include "qt_helpers.h" #include "support/debug.h" #include "support/gettext.h" +#include "support/lstrings.h" #include @@ -94,7 +95,7 @@ ToolbarInfo & ToolbarInfo::read(Lexer & lex) name = lex.getString(); lex.next(true); - gui_name = lex.getString(); + gui_name = fromqstr(qt_(lex.getString())); // FIXME what to do here? if (!lex) { @@ -304,7 +305,8 @@ void Toolbars::readToolbarSettings(Lexer & lex) if (visibility >= MATH) { if (ToolbarInfo const * ti = info(name)) - const_cast(ti)->gui_name += " (auto)"; + const_cast(ti)->gui_name += + fromqstr(" (" + qt_("auto") + ")"); } } }