Localize items in view/update popup icons

Fixes: #11040
This commit is contained in:
Juergen Spitzmueller 2018-02-20 16:42:01 +01:00
parent 9296344b9a
commit 578cf77f6f

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