summaryrefslogtreecommitdiff
authorsimon <simon>2002-12-17 13:19:26 (UTC)
committer simon <simon>2002-12-17 13:19:26 (UTC)
commit72b81e8f489c2d349ad0d481fdc7a870fd627ec8 (patch) (unidiff)
tree2a8e98e1edeefec6df03330571d49dcd2667df93
parent1dee9c33c12ba45134b1ccb17bc84bc7fa94eb3b (diff)
downloadopie-72b81e8f489c2d349ad0d481fdc7a870fd627ec8.zip
opie-72b81e8f489c2d349ad0d481fdc7a870fd627ec8.tar.gz
opie-72b81e8f489c2d349ad0d481fdc7a870fd627ec8.tar.bz2
- i18n fixlet by Carsten
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/apps/advancedfm/advancedfmMenu.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/noncore/apps/advancedfm/advancedfmMenu.cpp b/noncore/apps/advancedfm/advancedfmMenu.cpp
index f77554a..a6b59c7 100644
--- a/noncore/apps/advancedfm/advancedfmMenu.cpp
+++ b/noncore/apps/advancedfm/advancedfmMenu.cpp
@@ -641,33 +641,33 @@ void AdvancedFm::copySameDir() {
641 for ( QStringList::Iterator it = curFileList.begin(); it != curFileList.end(); ++it ) { 641 for ( QStringList::Iterator it = curFileList.begin(); it != curFileList.end(); ++it ) {
642 item=(*it); 642 item=(*it);
643 curFile = currentDir.canonicalPath()+"/"+ item; 643 curFile = currentDir.canonicalPath()+"/"+ item;
644 644
645 fileDlg = new InputDialog(this,tr("Copy ")+curFile+tr(" As"),TRUE, 0); 645 fileDlg = new InputDialog(this,tr("Copy ")+curFile+tr(" As"),TRUE, 0);
646 fileDlg->setInputText((const QString &) destFile ); 646 fileDlg->setInputText((const QString &) destFile );
647 fileDlg->exec(); 647 fileDlg->exec();
648 648
649 if( fileDlg->result() == 1 ) { 649 if( fileDlg->result() == 1 ) {
650 650
651 QString filename = fileDlg->LineEdit1->text(); 651 QString filename = fileDlg->LineEdit1->text();
652 destFile = currentDir.canonicalPath()+"/"+filename; 652 destFile = currentDir.canonicalPath()+"/"+filename;
653 653
654 QFile f(destFile); 654 QFile f(destFile);
655 if( f.exists()) { 655 if( f.exists()) {
656 switch (QMessageBox::warning(this,tr("Delete"), 656 switch (QMessageBox::warning(this,tr("Delete"),
657 destFile+tr(" already exists\nDo you really want to delete it?"), 657 destFile+tr(" already exists.\nDo you really want to delete it?"),
658 tr("Yes"),tr("No"),0,0,1) ) { 658 tr("Yes"),tr("No"),0,0,1) ) {
659 case 0: 659 case 0:
660 660
661 f.remove(); 661 f.remove();
662 break; 662 break;
663 case 1: 663 case 1:
664 return; 664 return;
665 break; 665 break;
666 }; 666 };
667 } 667 }
668 if(!copyFile( curFile,destFile) ) { 668 if(!copyFile( curFile,destFile) ) {
669 QMessageBox::message("AdvancedFm",tr("Could not copy\n") 669 QMessageBox::message("AdvancedFm",tr("Could not copy\n")
670 +curFile +tr("to\n")+destFile); 670 +curFile +tr("to\n")+destFile);
671 return; 671 return;
672 } 672 }
673 673
@@ -680,33 +680,33 @@ void AdvancedFm::copySameDir() {
680 } else { 680 } else {
681 for ( QStringList::Iterator it = curFileList.begin(); it != curFileList.end(); ++it ) { 681 for ( QStringList::Iterator it = curFileList.begin(); it != curFileList.end(); ++it ) {
682 item=(*it); 682 item=(*it);
683 curFile = currentRemoteDir.canonicalPath()+"/"+ item; 683 curFile = currentRemoteDir.canonicalPath()+"/"+ item;
684 684
685 fileDlg = new InputDialog(this,tr("Copy ")+curFile+tr(" As"),TRUE, 0); 685 fileDlg = new InputDialog(this,tr("Copy ")+curFile+tr(" As"),TRUE, 0);
686 fileDlg->setInputText((const QString &) destFile); 686 fileDlg->setInputText((const QString &) destFile);
687 fileDlg->exec(); 687 fileDlg->exec();
688 if( fileDlg->result() == 1 ) { 688 if( fileDlg->result() == 1 ) {
689 QString filename = fileDlg->LineEdit1->text(); 689 QString filename = fileDlg->LineEdit1->text();
690 690
691 destFile = currentRemoteDir.canonicalPath()+"/"+filename; 691 destFile = currentRemoteDir.canonicalPath()+"/"+filename;
692 692
693 QFile f(destFile); 693 QFile f(destFile);
694 if( f.exists()) { 694 if( f.exists()) {
695 switch ( QMessageBox::warning(this,tr("Delete"), 695 switch ( QMessageBox::warning(this,tr("Delete"),
696 destFile+tr(" already exists\nDo you really want to delete it?"), 696 destFile+tr(" already exists.\nDo you really want to delete it?"),
697 tr("Yes"),tr("No"),0,0,1) ) { 697 tr("Yes"),tr("No"),0,0,1) ) {
698 case 0: 698 case 0:
699 f.remove(); 699 f.remove();
700 break; 700 break;
701 case 1: 701 case 1:
702 return; 702 return;
703 break; 703 break;
704 }; 704 };
705 } 705 }
706 if(!copyFile( curFile,destFile) ) { 706 if(!copyFile( curFile,destFile) ) {
707 QMessageBox::message("AdvancedFm",tr("Could not copy\n") 707 QMessageBox::message("AdvancedFm",tr("Could not copy\n")
708 +curFile +tr("to\n")+destFile); 708 +curFile +tr("to\n")+destFile);
709 return; 709 return;
710 } 710 }
711 qDebug("copy "+curFile+" as "+destFile); 711 qDebug("copy "+curFile+" as "+destFile);
712 } 712 }