[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    KDE/kdeedu/marble/src/plugins/render
From:       Laurent Montel <montel () kde ! org>
Date:       2010-09-08 11:37:42
Message-ID: 20100908113742.3C8A0AC857 () svn ! kde ! org
[Download RAW message or body]

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.") );
         }
     }
 
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic