Localize items in view/update popup icons

Fixes: #11040
(cherry picked from commit 578cf77f6f)
This commit is contained in:
Juergen Spitzmueller 2018-02-20 16:42:01 +01:00
parent c55cea0c26
commit 90ca393c7f

View 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;
}