mirror of
https://invent.kde.org/graphics/okular
synced 2024-08-24 10:25:36 +00:00
translate the tool name as soon as we read it
svn path=/trunk/KDE/kdegraphics/okular/; revision=746523
This commit is contained in:
parent
b30621c8ed
commit
4219c90f63
|
@ -599,7 +599,7 @@ PageViewAnnotator::PageViewAnnotator( PageView * parent, Okular::Document * stor
|
|||
{
|
||||
AnnotationToolItem item;
|
||||
item.id = toolElement.attribute("id").toInt();
|
||||
item.text = toolElement.attribute("name");
|
||||
item.text = i18n( toolElement.attribute( "name" ).toUtf8() );
|
||||
item.pixmap = toolElement.attribute("pixmap");
|
||||
QDomNode shortcutNode = toolElement.elementsByTagName( "shortcut" ).item( 0 );
|
||||
if ( shortcutNode.isElement() )
|
||||
|
|
Loading…
Reference in a new issue