-rw-r--r-- | noncore/apps/advancedfm/advancedfm.cpp | 26 |
1 files changed, 15 insertions, 11 deletions
diff --git a/noncore/apps/advancedfm/advancedfm.cpp b/noncore/apps/advancedfm/advancedfm.cpp index f97ae99..d0ccc3f 100644 --- a/noncore/apps/advancedfm/advancedfm.cpp +++ b/noncore/apps/advancedfm/advancedfm.cpp @@ -1226,5 +1226,5 @@ void AdvancedFm::copy() } if(!copyFile(destFile, curFile) ) { - QMessageBox::message("AdvancedFm","Could not copy\n"+curFile +"to\n"+destFile); + QMessageBox::message("AdvancedFm",tr("Could not copy\n")+curFile +tr("to\n")+destFile); qWarning("nothin doing"); @@ -1271,5 +1271,5 @@ void AdvancedFm::copyAs() } if(!copyFile(destFile, curFile) ) { - QMessageBox::message("AdvancedFm","Could not copy\n"+curFile +"to\n"+destFile); + QMessageBox::message("AdvancedFm",tr("Could not copy\n")+curFile +tr("to\n")+destFile); qWarning("nothin doing"); } @@ -1304,5 +1304,5 @@ void AdvancedFm::copyAs() } if(!copyFile(destFile, curFile) ) { - QMessageBox::message("AdvancedFm","Could not copy\n"+curFile +"to\n"+destFile); + QMessageBox::message("AdvancedFm",tr("Could not copy\n")+curFile +tr("to\n")+destFile); qWarning("nothin doing"); } @@ -1352,5 +1352,5 @@ void AdvancedFm::copySameDir() { } if(!copyFile(destFile, curFile) ) { - QMessageBox::message("AdvancedFm","Could not copy\n"+curFile +"to\n"+destFile); + QMessageBox::message("AdvancedFm",tr("Could not copy\n")+curFile +tr("to\n")+destFile); qWarning("nothin doing"); } @@ -1389,5 +1389,5 @@ void AdvancedFm::copySameDir() { } if(!copyFile(destFile, curFile) ) { - QMessageBox::message("AdvancedFm","Could not copy\n"+curFile +"to\n"+destFile); + QMessageBox::message("AdvancedFm",tr("Could not copy\n")+curFile +tr("to\n")+destFile); qWarning("nothin doing"); } @@ -1437,5 +1437,5 @@ void AdvancedFm::move() { }; if(!copyFile( destFile, curFile) ) { - QMessageBox::message(tr("Note"),tr("Could not move\n"+curFile)); + QMessageBox::message(tr("Note"),tr("Could not move\n")+curFile); return; } @@ -1469,5 +1469,5 @@ void AdvancedFm::move() { }; if(!copyFile(destFile, curFile) ) { - QMessageBox::message(tr("Note"),tr("Could not move\n"+curFile)); + QMessageBox::message(tr("Note"),tr("Could not move\n")+curFile); return; } @@ -1546,5 +1546,5 @@ void AdvancedFm::runCommand() { if ( !fp ) { qDebug("Could not execute '" + command + "'! err=%d", fp); - QMessageBox::warning( this, tr("AdvancedFm"), tr("command failed!"), tr("&OK") ); + QMessageBox::warning( this, "AdvancedFm", tr("command failed!"), tr("&OK") ); pclose(fp); return; @@ -1602,5 +1602,5 @@ void AdvancedFm::fileStatus() { if ( !fp ) { qDebug("Could not execute '" + command + "'! err=%d", fp); - QMessageBox::warning( this, tr("AdvancedFm"), tr("command failed!"), tr("&OK") ); + QMessageBox::warning( this, "AdvancedFm", tr("command failed!"), tr("&OK") ); pclose(fp); return; @@ -1639,8 +1639,8 @@ void AdvancedFm::del() { void AdvancedFm::doAbout() { - QMessageBox::message("AdvancedFm","Advanced FileManager\n" + QMessageBox::message("AdvancedFm",tr("Advanced FileManager\n" "is copyright 2002 by\n" "L.J.Potter<llornkcor@handhelds.org>\n" - "and is licensed by the GPL"); + "and is licensed by the GPL")); } @@ -1803,4 +1803,7 @@ QString AdvancedFm::getFileSystemType(const QString ¤tText) { } +QString AdvancedFm::getDiskSpace( const QString &) { + +} void AdvancedFm::doBeam() { @@ -1923,4 +1926,5 @@ void AdvancedFm::showFileMenu() { m->insertSeparator(); m->insertItem( tr( "Set Permissions" ), this, SLOT( filePerms() )); + if( QFile(QPEApplication::qpeDir()+"lib/libopie.so").exists() ) //bad hack for Sharp zaurus failings m->insertItem( tr( "Properties" ), this, SLOT( doProperties() )); |