From 0671201a4527973c41adad5f5681938da7f1f824 Mon Sep 17 00:00:00 2001 From: llornkcor Date: Sat, 25 Sep 2004 05:54:57 +0000 Subject: formatted strings --- (limited to 'noncore') 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 @@ -297,7 +297,7 @@ void AdvancedFm::currentPathComboChanged() { CurrentDir()->setPath( currentPathCombo->lineEdit()->text() ); populateView(); } else { - QMessageBox::message(tr("Note"),tr("That directory does not exist")); + QMessageBox::message(tr("Note"),tr("

That directory does not exist

")); } } @@ -669,7 +669,7 @@ void AdvancedFm::removeCustomDir() { //first remove list if(list.grep(dir,true).isEmpty()) { QMessageBox::message(tr( "AdvancedFm" ), - tr("Cannot remove current directory\nfrom bookmarks.\nIt is not bookmarked!")); + tr("

Cannot remove current directory from bookmarks. It is not bookmarked!

")); } else { for ( QStringList::Iterator it = list.begin(); it != list.end(); ++it ) { if((*it) != dir) { 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 @@ -147,7 +147,7 @@ void AdvancedFm::doDelete() { if( count > 0) { if(count > 1 ) { QString msg; - msg=tr("Really delete\n%1 files?").arg(count); + msg=tr("

Really delete %1 files?

").arg(count); switch ( QMessageBox::warning(this,tr("Delete"),msg ,tr("Yes"),tr("No"),0,0,1) ) { @@ -175,7 +175,7 @@ void AdvancedFm::doDelete() { //if file is a directory switch ( QMessageBox::warning( this, tr("Delete Directory?"), - tr("Really delete %1\nand all it's contents ?" ).arg( f ) , + tr("

Really delete %1 and all it's contents?

" ).arg( f ) , tr("Yes"), tr("No"), 0, 0, 1) ) { case 0: { @@ -193,7 +193,7 @@ void AdvancedFm::doDelete() { } else { if(doMsg) { switch ( QMessageBox::warning(this,tr("Delete"), - tr("Really delete\n%1?").arg( myFile ), + tr("

Really delete %1?

").arg( myFile ), tr("Yes"), tr("No"), 0, 0, 1) ) { case 1: return; @@ -286,7 +286,7 @@ void AdvancedFm::copy() { if( count > 0) { if(count > 1 ){ QString msg; - msg=tr("Really copy\n%1 files?").arg(count); + msg=tr("

Really copy %1 files?

").arg(count); switch ( QMessageBox::warning(this,tr("Copy"),msg ,tr("Yes"),tr("No"),0,0,1) ) { @@ -501,7 +501,7 @@ bool AdvancedFm::moveDirectory( const QString & src, const QString & dest ) { err = -1; if(err!=0) { - QMessageBox::message(tr("Note"),tr("Could not move\n") + src); + QMessageBox::message(tr("Note"),tr("

Could not move %1

").arg( src)); return false; } return true; @@ -513,7 +513,7 @@ bool AdvancedFm::copyDirectory( const QString & src, const QString & dest ) { owarn << cmd << oendl; int err = system( (const char *) cmd ); if ( err != 0 ) { - QMessageBox::message("AdvancedFm", tr( "Could not copy \n%1 \nto \n%2").arg( src ).arg( dest ) ); + QMessageBox::message("AdvancedFm", tr( "

Could not copy %1 to %2

").arg( src ).arg( dest ) ); return false; } -- cgit v0.9.0.2