[Marble-commits] KDE/kdeedu/marble/src/plugins/render
Laurent Montel
montel at kde.org
Wed Sep 8 13:37:42 CEST 2010
SVN commit 1173001 by mlaurent:
Add missing QObject::tr
M +2 -2 photo/CoordinatesParser.cpp
M +2 -2 photo/FlickrParser.cpp
M +1 -1 weather/BBCParser.cpp
M +1 -1 weather/StationListParser.cpp
M +1 -1 wikipedia/GeonamesParser.cpp
--- trunk/KDE/kdeedu/marble/src/plugins/render/photo/CoordinatesParser.cpp #1173000:1173001
@@ -32,9 +32,9 @@
if ( name() == "rsp" && attributes().value( "stat" ) == "ok" )
readRsp();
else if ( name() == "rsp" )
- raiseError( "Query failed" );
+ raiseError( QObject::tr("Query failed") );
else
- raiseError( "The file is not an valid Flickr answer." );
+ raiseError( QObject::tr("The file is not an valid Flickr answer.") );
}
}
--- trunk/KDE/kdeedu/marble/src/plugins/render/photo/FlickrParser.cpp #1173000:1173001
@@ -38,9 +38,9 @@
if ( name() == "rsp" && attributes().value( "stat" ) == "ok" )
readFlickr();
else if ( name() == "rsp" )
- raiseError( "Query failed" );
+ raiseError( QObject::tr("Query failed") );
else
- raiseError( "The file is not an valid Flickr answer." );
+ raiseError( QObject::tr("The file is not an valid Flickr answer.") );
}
}
--- trunk/KDE/kdeedu/marble/src/plugins/render/weather/BBCParser.cpp #1173000:1173001
@@ -114,7 +114,7 @@
if ( name() == "rss" )
readBBC();
else
- raiseError( "The file is not an valid BBC answer." );
+ raiseError( QObject::tr("The file is not an valid BBC answer.") );
}
}
--- trunk/KDE/kdeedu/marble/src/plugins/render/weather/StationListParser.cpp #1173000:1173001
@@ -45,7 +45,7 @@
if ( name() == "StationList" )
readStationList();
else
- raiseError( "The file is not an valid file." );
+ raiseError( QObject::tr("The file is not an valid file.") );
}
}
}
--- trunk/KDE/kdeedu/marble/src/plugins/render/wikipedia/GeonamesParser.cpp #1173000:1173001
@@ -39,7 +39,7 @@
if ( name() == "geonames" )
readGeonames();
else
- raiseError( "The file is not an valid Geonames answer." );
+ raiseError( QObject::tr("The file is not an valid Geonames answer.") );
}
}
More information about the Marble-commits
mailing list