[Marble-commits] KDE/kdeedu/marble/src/lib/routing
Dennis Nienhüser
earthwings at gentoo.org
Fri Jul 30 19:37:48 CEST 2010
SVN commit 1157327 by nienhueser:
Add tr() calls to tooltips. CCBUG: 246048
M +3 -3 RoutingInputWidget.cpp
--- trunk/KDE/kdeedu/marble/src/lib/routing/RoutingInputWidget.cpp #1157326:1157327
@@ -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