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

Laurent Montel montel at kde.org
Thu Aug 27 09:15:15 CEST 2009


SVN commit 1016217 by mlaurent:

Add missing tr(..)


 M  +2 -3      OsmAnnotatePlugin.cpp  


--- trunk/KDE/kdeedu/marble/src/plugins/render/osmannotate/OsmAnnotatePlugin.cpp #1016216:1016217
@@ -215,10 +215,9 @@
     if( reply->error() == QNetworkReply::NoError ) {
         readOsmFile( reply, false );
     } else {
-        m_errorMessage.showMessage( QString("Error while trying to download the"
+        m_errorMessage.showMessage( tr("Error while trying to download the"
                                             "OSM file from the server. The"
-                                            "error was:\n" )
-                                    + reply->errorString() );
+                                            "error was:\n %1" ).arg(reply->errorString()) );
     }
 }
 


More information about the Marble-commits mailing list