~ubuntu-branches/ubuntu/lucid/skrooge/lucid

« back to all changes in this revision

Viewing changes to skrooge_importexport/skgimportexportplugin.cpp

  • Committer: Bazaar Package Importer
  • Author(s): Anthony Mercatante
  • Date: 2009-07-28 15:38:43 UTC
  • mfrom: (1.1.5 upstream)
  • Revision ID: james.westby@ubuntu.com-20090728153843-91b74m0vcam50krt
Tags: 0.2.9-0ubuntu1
* New upstream release
* Added kubuntu_01_cmake_fix.patch:
  Fix FTBFS

Show diffs side-by-side

added added

removed removed

Lines of Context:
278
278
                }
279
279
 
280
280
                //status bar
281
 
                if (err.isSucceeded() && nbFiles>1) {
282
 
                        err=SKGError(0, i18n("%1 files successfully imported.", nbFiles));
 
281
                if (err.isSucceeded()) {
 
282
                        err=SKGError(0, i18np("1 file successfully imported.", "%1 files successfully imported.", nbFiles));
283
283
                }
284
284
 
285
285
                //Display error
354
354
                QApplication::restoreOverrideCursor();
355
355
 
356
356
                //status bar
357
 
                if (err.isSucceeded()) err=SKGError(0, i18n("Document successfully processed. %1 operations merged.", NbOperationsMerged));
 
357
                if (err.isSucceeded()) err=SKGError(0, i18np("Document successfully processed. 1 operation merged.",
 
358
                                                            "Document successfully processed. %1 operations merged.", NbOperationsMerged));
358
359
                else err.addError(ERR_FAIL, i18n("Processing failed."));
359
360
 
360
361
                //Display error