author | llornkcor <llornkcor> | 2004-09-25 05:54:57 (UTC) |
---|---|---|
committer | llornkcor <llornkcor> | 2004-09-25 05:54:57 (UTC) |
commit | 0671201a4527973c41adad5f5681938da7f1f824 (patch) (unidiff) | |
tree | 0dab2989196bfb6e74b3c647c211e8c39587a881 | |
parent | dba0864dd99dfc86a33bde72809634be7f0da9c4 (diff) | |
download | opie-0671201a4527973c41adad5f5681938da7f1f824.zip opie-0671201a4527973c41adad5f5681938da7f1f824.tar.gz opie-0671201a4527973c41adad5f5681938da7f1f824.tar.bz2 |
formatted strings
-rw-r--r-- | noncore/apps/advancedfm/advancedfm.cpp | 4 | ||||
-rw-r--r-- | noncore/apps/advancedfm/advancedfmMenu.cpp | 12 |
2 files changed, 8 insertions, 8 deletions
diff --git a/noncore/apps/advancedfm/advancedfm.cpp b/noncore/apps/advancedfm/advancedfm.cpp index 8d07f69..9721f84 100644 --- a/noncore/apps/advancedfm/advancedfm.cpp +++ b/noncore/apps/advancedfm/advancedfm.cpp | |||
@@ -298,5 +298,5 @@ void AdvancedFm::currentPathComboChanged() { | |||
298 | populateView(); | 298 | populateView(); |
299 | } else { | 299 | } else { |
300 | QMessageBox::message(tr("Note"),tr("That directory does not exist")); | 300 | QMessageBox::message(tr("Note"),tr("<p>That directory does not exist</p>")); |
301 | } | 301 | } |
302 | } | 302 | } |
@@ -670,5 +670,5 @@ void AdvancedFm::removeCustomDir() { | |||
670 | if(list.grep(dir,true).isEmpty()) { | 670 | if(list.grep(dir,true).isEmpty()) { |
671 | QMessageBox::message(tr( "AdvancedFm" ), | 671 | QMessageBox::message(tr( "AdvancedFm" ), |
672 | tr("Cannot remove current directory\nfrom bookmarks.\nIt is not bookmarked!")); | 672 | tr("<p>Cannot remove current directory from bookmarks. It is not bookmarked!</p>")); |
673 | } else { | 673 | } else { |
674 | for ( QStringList::Iterator it = list.begin(); it != list.end(); ++it ) { | 674 | for ( QStringList::Iterator it = list.begin(); it != list.end(); ++it ) { |
diff --git a/noncore/apps/advancedfm/advancedfmMenu.cpp b/noncore/apps/advancedfm/advancedfmMenu.cpp index f14f588..706658e 100644 --- a/noncore/apps/advancedfm/advancedfmMenu.cpp +++ b/noncore/apps/advancedfm/advancedfmMenu.cpp | |||
@@ -148,5 +148,5 @@ void AdvancedFm::doDelete() { | |||
148 | if(count > 1 ) { | 148 | if(count > 1 ) { |
149 | QString msg; | 149 | QString msg; |
150 | msg=tr("Really delete\n%1 files?").arg(count); | 150 | msg=tr("<p>Really delete %1 files?</p>").arg(count); |
151 | switch ( QMessageBox::warning(this,tr("Delete"),msg | 151 | switch ( QMessageBox::warning(this,tr("Delete"),msg |
152 | ,tr("Yes"),tr("No"),0,0,1) ) | 152 | ,tr("Yes"),tr("No"),0,0,1) ) |
@@ -176,5 +176,5 @@ void AdvancedFm::doDelete() { | |||
176 | 176 | ||
177 | switch ( QMessageBox::warning( this, tr("Delete Directory?"), | 177 | switch ( QMessageBox::warning( this, tr("Delete Directory?"), |
178 | tr("Really delete %1\nand all it's contents ?" ).arg( f ) , | 178 | tr("<p>Really delete %1 and all it's contents?</p>" ).arg( f ) , |
179 | tr("Yes"), tr("No"), 0, 0, 1) ) { | 179 | tr("Yes"), tr("No"), 0, 0, 1) ) { |
180 | case 0: | 180 | case 0: |
@@ -194,5 +194,5 @@ void AdvancedFm::doDelete() { | |||
194 | if(doMsg) { | 194 | if(doMsg) { |
195 | switch ( QMessageBox::warning(this,tr("Delete"), | 195 | switch ( QMessageBox::warning(this,tr("Delete"), |
196 | tr("Really delete\n%1?").arg( myFile ), | 196 | tr("<p>Really delete %1?</p>").arg( myFile ), |
197 | tr("Yes"), tr("No"), 0, 0, 1) ) { | 197 | tr("Yes"), tr("No"), 0, 0, 1) ) { |
198 | case 1: | 198 | case 1: |
@@ -287,5 +287,5 @@ void AdvancedFm::copy() { | |||
287 | if(count > 1 ){ | 287 | if(count > 1 ){ |
288 | QString msg; | 288 | QString msg; |
289 | msg=tr("Really copy\n%1 files?").arg(count); | 289 | msg=tr("<p>Really copy %1 files?</p>").arg(count); |
290 | switch ( QMessageBox::warning(this,tr("Copy"),msg | 290 | switch ( QMessageBox::warning(this,tr("Copy"),msg |
291 | ,tr("Yes"),tr("No"),0,0,1) ) | 291 | ,tr("Yes"),tr("No"),0,0,1) ) |
@@ -502,5 +502,5 @@ bool AdvancedFm::moveDirectory( const QString & src, const QString & dest ) { | |||
502 | 502 | ||
503 | if(err!=0) { | 503 | if(err!=0) { |
504 | QMessageBox::message(tr("Note"),tr("Could not move\n") + src); | 504 | QMessageBox::message(tr("Note"),tr("<p>Could not move %1</p>").arg( src)); |
505 | return false; | 505 | return false; |
506 | } | 506 | } |
@@ -514,5 +514,5 @@ bool AdvancedFm::copyDirectory( const QString & src, const QString & dest ) { | |||
514 | int err = system( (const char *) cmd ); | 514 | int err = system( (const char *) cmd ); |
515 | if ( err != 0 ) { | 515 | if ( err != 0 ) { |
516 | QMessageBox::message("AdvancedFm", tr( "Could not copy \n%1 \nto \n%2").arg( src ).arg( dest ) ); | 516 | QMessageBox::message("AdvancedFm", tr( "<p>Could not copy %1 to %2</p>").arg( src ).arg( dest ) ); |
517 | return false; | 517 | return false; |
518 | } | 518 | } |