Commit ebb5118a authored by Burkhard Lück's avatar Burkhard Lück

add i18n() to make summary translatable

chenge TextBox to Inline Note to match the gui name, ack'd by pino

svn path=/trunk/KDE/kdegraphics/okular/; revision=1227906
parent 38462d06
......@@ -179,7 +179,7 @@ class PickPointEngine : public AnnotatorEngine
rect.right = qMax(rect.right, rect.left+(rcf.width()+padding*2)/pagewidth);
rect.bottom = qMax(rect.bottom, rect.top+(rcf.height()+padding*2)/pageheight);
ta->setBoundingRectangle( this->rect );
ta->window().setSummary( "TextBox" );
ta->window().setSummary( i18n( "Inline Note" ) );
}
}
else if ( typeString == "Text")
......@@ -195,7 +195,7 @@ class PickPointEngine : public AnnotatorEngine
rect.right=rect.left+iconhei;
rect.bottom=rect.top+iconhei*xscale/yscale;
ta->setBoundingRectangle( this->rect );
ta->window().setSummary( "Note" );
ta->window().setSummary( i18n( "Note" ) );
}
// create StampAnnotation from path
else if ( typeString == "Stamp" )
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment