[Marble-commits] branches/KDE/4.5/kdeedu/marble/src/lib/routing
Burkhard Lück
lueck at hube-lueck.de
Mon Aug 2 13:52:20 CEST 2010
SVN commit 1158270 by lueck:
backport r 1157327: add missing tr() calls to get the tooltip msgs extracted
BUG:1157327
CCMAIL:kde-i18n-doc at kde.org
M +3 -3 RoutingInputWidget.cpp
--- branches/KDE/4.5/kdeedu/marble/src/lib/routing/RoutingInputWidget.cpp #1158269:1158270
@@ -74,7 +74,7 @@
m_workOffline( false )
{
m_stateButton = new QPushButton( parent );
- m_stateButton->setToolTip( "Center Map here" );
+ m_stateButton->setToolTip(QObject::tr( "Center Map here" ) );
m_stateButton->setVisible( false );
m_stateButton->setIcon( QIcon( m_route->pixmap( m_index ) ) );
m_stateButton->setFlat( true );
@@ -85,13 +85,13 @@
m_removeButton = new QPushButton( parent );
m_removeButton->setIcon( QIcon( ":/data/bitmaps/routing_remove.png" ) );
- m_removeButton->setToolTip( "Remove this position" );
+ m_removeButton->setToolTip( QObject::tr( "Remove this position" ) );
m_removeButton->setFlat( true );
m_removeButton->setMaximumWidth( 22 );
m_pickButton = new QPushButton( parent );
m_pickButton->setIcon( QIcon( m_route->pixmap( m_index ) ) );
- m_pickButton->setToolTip( "Choose position from the map" );
+ m_pickButton->setToolTip( QObject::tr( "Choose position from the map" ) );
m_pickButton->setCheckable( true );
m_pickButton->setFlat( true );
m_pickButton->setMaximumWidth( 22 );
More information about the Marble-commits
mailing list