[Marble-commits] branches/KDE/4.5/kdeedu/marble/src/lib/routing

Dennis Nienhüser earthwings at gentoo.org
Sun Sep 26 11:41:51 CEST 2010


SVN commit 1179853 by nienhueser:

Add tr() calls to the invalid via point error messages.
CCMAIL: kde-i18n-doc at kde.org


 M  +2 -2      RoutingModel.cpp  


--- branches/KDE/4.5/kdeedu/marble/src/lib/routing/RoutingModel.cpp #1179852:1179853
@@ -155,9 +155,9 @@
                 GeoDataCoordinates position;
                 if ( regexp.capturedTexts().size() == 4 ) {
                     //element.description = regexp.capturedTexts().at( 1 );
-                    element.description = "Sorry, found no streets nearby. Try moving this point closer to a street.";
+                    element.description = tr( "Sorry, found no streets nearby. Try moving this point closer to a street." );
                     if ( d->m_consecutiveErrors > 1 ) {
-                        element.description = "Sorry, still found no streets nearby. Please check http://openrouteservice.org to see whether routing in this country is supported yet.";
+                        element.description = tr( "Sorry, still found no streets nearby. Please check http://openrouteservice.org to see whether routing in this country is supported yet." );
                     }
                     position.setLongitude( regexp.capturedTexts().at( 2 ).toDouble(), GeoDataCoordinates::Degree );
                     position.setLatitude( regexp.capturedTexts().at( 3 ).toDouble(), GeoDataCoordinates::Degree );


More information about the Marble-commits mailing list