[Marble-commits] KDE/kdeedu/marble/src/plugins/render/osmannotate

Laurent Montel montel at kde.org
Mon Aug 3 13:41:06 CEST 2009


SVN commit 1006274 by mlaurent:

Add missing i18n


 M  +4 -4      OsmAnnotatePlugin.cpp  


--- trunk/KDE/kdeedu/marble/src/plugins/render/osmannotate/OsmAnnotatePlugin.cpp #1006273:1006274
@@ -363,7 +363,7 @@
     QAction*    m_enableInputAction;
 
     m_addPlacemark = new QAction(this);
-    m_addPlacemark->setText( "Add Placemark" );
+    m_addPlacemark->setText( tr("Add Placemark") );
     m_addPlacemark->setCheckable( true );
     connect( m_addPlacemark, SIGNAL( toggled(bool)),
              this, SLOT(setAddingPlacemark(bool)) );
@@ -371,18 +371,18 @@
              m_addPlacemark, SLOT(toggle()) );
 
     m_drawPolygon = new QAction( this );
-    m_drawPolygon->setText( "Draw Polygon" );
+    m_drawPolygon->setText( tr("Draw Polygon") );
     m_drawPolygon->setCheckable( true );
     connect( m_drawPolygon, SIGNAL(toggled(bool)),
              this, SLOT(setDrawingPolygon(bool)) );
 
     m_loadOsmFile = new QAction( this );
-    m_loadOsmFile->setText( "Load Osm File" );
+    m_loadOsmFile->setText( tr("Load Osm File") );
     connect( m_loadOsmFile, SIGNAL(triggered()),
              this, SLOT(loadOsmFile()) );
 
     m_saveOsmFile = new QAction( this );
-    m_saveOsmFile->setText( "Save Osm File" );
+    m_saveOsmFile->setText( tr("Save Osm File") );
     connect( m_saveOsmFile, SIGNAL(triggered()),
              this, SLOT(saveOsmFile()) );
 


More information about the Marble-commits mailing list