mirror of
https://invent.kde.org/graphics/okular
synced 2024-10-28 19:28:38 +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
1 changed files with 1 additions and 1 deletions
|
@ -599,7 +599,7 @@ PageViewAnnotator::PageViewAnnotator( PageView * parent, Okular::Document * stor
|
||||||
{
|
{
|
||||||
AnnotationToolItem item;
|
AnnotationToolItem item;
|
||||||
item.id = toolElement.attribute("id").toInt();
|
item.id = toolElement.attribute("id").toInt();
|
||||||
item.text = toolElement.attribute("name");
|
item.text = i18n( toolElement.attribute( "name" ).toUtf8() );
|
||||||
item.pixmap = toolElement.attribute("pixmap");
|
item.pixmap = toolElement.attribute("pixmap");
|
||||||
QDomNode shortcutNode = toolElement.elementsByTagName( "shortcut" ).item( 0 );
|
QDomNode shortcutNode = toolElement.elementsByTagName( "shortcut" ).item( 0 );
|
||||||
if ( shortcutNode.isElement() )
|
if ( shortcutNode.isElement() )
|
||||||
|
|
Loading…
Reference in a new issue