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

List:       kde-commits
Subject:    extragear/graphics/digikam/kioslave
From:       David Faure <faure () kde ! org>
Date:       2009-02-23 17:20:10
Message-ID: 1235409610.063386.5453.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 930499 by dfaure:

detected missing i18n()s


 M  +4 -4      digikamalbums.cpp  
 M  +1 -1      digikamsearch.cpp  


--- trunk/extragear/graphics/digikam/kioslave/digikamalbums.cpp #930498:930499
@@ -169,7 +169,7 @@
 
     if (dbUrlSrc.parameters() != dbUrlDst.parameters())
     {
-        error(KIO::ERR_UNKNOWN, "Database parameters of source and destination do not match.");
+        error(KIO::ERR_UNKNOWN, i18n("Database parameters of source and destination do not match."));
         return;
     }
 
@@ -180,8 +180,8 @@
     int srcAlbumID = access.db()->getAlbumForPath(dbUrlSrc.albumRootId(), dbUrlSrc.album(), false);
     if (srcAlbumID == -1)
     {
-        error(KIO::ERR_UNKNOWN, QString("Source album %1 not found in database")
-              .arg(dbUrlSrc.album()));
+        error(KIO::ERR_UNKNOWN, i18n("Source album %1 not found in database",
+                                     dbUrlSrc.album()));
         return;
     }
 
@@ -239,7 +239,7 @@
 
     if (dbUrlSrc.parameters() != dbUrlDst.parameters())
     {
-        error(KIO::ERR_UNKNOWN, "Database parameters of source and destination do not match.");
+        error(KIO::ERR_UNKNOWN, i18n("Database parameters of source and destination do not match."));
         return;
     }
 
--- trunk/extragear/graphics/digikam/kioslave/digikamsearch.cpp #930498:930499
@@ -120,7 +120,7 @@
         if (albumIds.isEmpty())
         {
             kDebug(50004) << "No album ids passed for duplicates search";
-            error(KIO::ERR_INTERNAL, "No album ids passed");
+            error(KIO::ERR_INTERNAL, i18n("No album ids passed"));
             return;
         }
 
[prev in list] [next in list] [prev in thread] [next in thread] 

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