~ubuntu-branches/ubuntu/maverick/digikam/maverick

« back to all changes in this revision

Viewing changes to kioslave/digikamalbums.cpp

  • Committer: Bazaar Package Importer
  • Author(s): Luka Renko
  • Date: 2009-03-17 23:07:56 UTC
  • mfrom: (1.2.20 upstream) (3.1.4 experimental)
  • Revision ID: james.westby@ubuntu.com-20090317230756-db5b8rqjwb2j35e5
Tags: 2:0.10.0-1ubuntu1
* Remaining changes to Debian (committed to Debian SVN):
  - Depends: kde-icons-oxygen dropped (included through kdelibs)
  - Recommends: kipi-plugins added (provides major functionality)
  - debian/digikamthemedesigner.manpage: add missing manpage
* Remaning change to Debian:
  - Section: devel for -dbg package (no debug in Jaunty)

Show diffs side-by-side

added added

removed removed

Lines of Context:
169
169
 
170
170
    if (dbUrlSrc.parameters() != dbUrlDst.parameters())
171
171
    {
172
 
        error(KIO::ERR_UNKNOWN, "Database parameters of source and destination do not match.");
 
172
        error(KIO::ERR_UNKNOWN, i18n("Database parameters of source and destination do not match."));
173
173
        return;
174
174
    }
175
175
 
180
180
    int srcAlbumID = access.db()->getAlbumForPath(dbUrlSrc.albumRootId(), dbUrlSrc.album(), false);
181
181
    if (srcAlbumID == -1)
182
182
    {
183
 
        error(KIO::ERR_UNKNOWN, QString("Source album %1 not found in database")
184
 
              .arg(dbUrlSrc.album()));
 
183
        error(KIO::ERR_UNKNOWN, i18n("Source album %1 not found in database",
 
184
                                     dbUrlSrc.album()));
185
185
        return;
186
186
    }
187
187
 
239
239
 
240
240
    if (dbUrlSrc.parameters() != dbUrlDst.parameters())
241
241
    {
242
 
        error(KIO::ERR_UNKNOWN, "Database parameters of source and destination do not match.");
 
242
        error(KIO::ERR_UNKNOWN, i18n("Database parameters of source and destination do not match."));
243
243
        return;
244
244
    }
245
245