author | llornkcor <llornkcor> | 2002-07-21 12:52:23 (UTC) |
---|---|---|
committer | llornkcor <llornkcor> | 2002-07-21 12:52:23 (UTC) |
commit | 81110ef9240a746a1267ac26fee3cb3e878933b1 (patch) (unidiff) | |
tree | 93c1c8fb5ded75d5c7c385d5846727874a87bbd2 | |
parent | edeab5f635166d88eee8135d982602a241240f40 (diff) | |
download | opie-81110ef9240a746a1267ac26fee3cb3e878933b1.zip opie-81110ef9240a746a1267ac26fee3cb3e878933b1.tar.gz opie-81110ef9240a746a1267ac26fee3cb3e878933b1.tar.bz2 |
tr changes
-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 | |||
@@ -1225,7 +1225,7 @@ void AdvancedFm::copy() | |||
1225 | }; | 1225 | }; |
1226 | } | 1226 | } |
1227 | if(!copyFile(destFile, curFile) ) { | 1227 | if(!copyFile(destFile, curFile) ) { |
1228 | QMessageBox::message("AdvancedFm","Could not copy\n"+curFile +"to\n"+destFile); | 1228 | QMessageBox::message("AdvancedFm",tr("Could not copy\n")+curFile +tr("to\n")+destFile); |
1229 | 1229 | ||
1230 | qWarning("nothin doing"); | 1230 | qWarning("nothin doing"); |
1231 | } | 1231 | } |
@@ -1270,7 +1270,7 @@ void AdvancedFm::copyAs() | |||
1270 | }; | 1270 | }; |
1271 | } | 1271 | } |
1272 | if(!copyFile(destFile, curFile) ) { | 1272 | if(!copyFile(destFile, curFile) ) { |
1273 | QMessageBox::message("AdvancedFm","Could not copy\n"+curFile +"to\n"+destFile); | 1273 | QMessageBox::message("AdvancedFm",tr("Could not copy\n")+curFile +tr("to\n")+destFile); |
1274 | qWarning("nothin doing"); | 1274 | qWarning("nothin doing"); |
1275 | } | 1275 | } |
1276 | } | 1276 | } |
@@ -1303,7 +1303,7 @@ void AdvancedFm::copyAs() | |||
1303 | }; | 1303 | }; |
1304 | } | 1304 | } |
1305 | if(!copyFile(destFile, curFile) ) { | 1305 | if(!copyFile(destFile, curFile) ) { |
1306 | QMessageBox::message("AdvancedFm","Could not copy\n"+curFile +"to\n"+destFile); | 1306 | QMessageBox::message("AdvancedFm",tr("Could not copy\n")+curFile +tr("to\n")+destFile); |
1307 | qWarning("nothin doing"); | 1307 | qWarning("nothin doing"); |
1308 | } | 1308 | } |
1309 | 1309 | ||
@@ -1351,7 +1351,7 @@ void AdvancedFm::copySameDir() { | |||
1351 | }; | 1351 | }; |
1352 | } | 1352 | } |
1353 | if(!copyFile(destFile, curFile) ) { | 1353 | if(!copyFile(destFile, curFile) ) { |
1354 | QMessageBox::message("AdvancedFm","Could not copy\n"+curFile +"to\n"+destFile); | 1354 | QMessageBox::message("AdvancedFm",tr("Could not copy\n")+curFile +tr("to\n")+destFile); |
1355 | qWarning("nothin doing"); | 1355 | qWarning("nothin doing"); |
1356 | } | 1356 | } |
1357 | 1357 | ||
@@ -1388,7 +1388,7 @@ void AdvancedFm::copySameDir() { | |||
1388 | }; | 1388 | }; |
1389 | } | 1389 | } |
1390 | if(!copyFile(destFile, curFile) ) { | 1390 | if(!copyFile(destFile, curFile) ) { |
1391 | QMessageBox::message("AdvancedFm","Could not copy\n"+curFile +"to\n"+destFile); | 1391 | QMessageBox::message("AdvancedFm",tr("Could not copy\n")+curFile +tr("to\n")+destFile); |
1392 | qWarning("nothin doing"); | 1392 | qWarning("nothin doing"); |
1393 | } | 1393 | } |
1394 | qDebug("copy "+curFile+" as "+destFile); | 1394 | qDebug("copy "+curFile+" as "+destFile); |
@@ -1436,7 +1436,7 @@ void AdvancedFm::move() { | |||
1436 | break; | 1436 | break; |
1437 | }; | 1437 | }; |
1438 | if(!copyFile( destFile, curFile) ) { | 1438 | if(!copyFile( destFile, curFile) ) { |
1439 | QMessageBox::message(tr("Note"),tr("Could not move\n"+curFile)); | 1439 | QMessageBox::message(tr("Note"),tr("Could not move\n")+curFile); |
1440 | return; | 1440 | return; |
1441 | } | 1441 | } |
1442 | QFile::remove(curFile); | 1442 | QFile::remove(curFile); |
@@ -1468,7 +1468,7 @@ void AdvancedFm::move() { | |||
1468 | break; | 1468 | break; |
1469 | }; | 1469 | }; |
1470 | if(!copyFile(destFile, curFile) ) { | 1470 | if(!copyFile(destFile, curFile) ) { |
1471 | QMessageBox::message(tr("Note"),tr("Could not move\n"+curFile)); | 1471 | QMessageBox::message(tr("Note"),tr("Could not move\n")+curFile); |
1472 | return; | 1472 | return; |
1473 | } | 1473 | } |
1474 | } | 1474 | } |
@@ -1545,7 +1545,7 @@ void AdvancedFm::runCommand() { | |||
1545 | fp = popen( (const char *) command, "r"); | 1545 | fp = popen( (const char *) command, "r"); |
1546 | if ( !fp ) { | 1546 | if ( !fp ) { |
1547 | qDebug("Could not execute '" + command + "'! err=%d", fp); | 1547 | qDebug("Could not execute '" + command + "'! err=%d", fp); |
1548 | QMessageBox::warning( this, tr("AdvancedFm"), tr("command failed!"), tr("&OK") ); | 1548 | QMessageBox::warning( this, "AdvancedFm", tr("command failed!"), tr("&OK") ); |
1549 | pclose(fp); | 1549 | pclose(fp); |
1550 | return; | 1550 | return; |
1551 | } else { | 1551 | } else { |
@@ -1601,7 +1601,7 @@ void AdvancedFm::fileStatus() { | |||
1601 | fp = popen( (const char *) command, "r"); | 1601 | fp = popen( (const char *) command, "r"); |
1602 | if ( !fp ) { | 1602 | if ( !fp ) { |
1603 | qDebug("Could not execute '" + command + "'! err=%d", fp); | 1603 | qDebug("Could not execute '" + command + "'! err=%d", fp); |
1604 | QMessageBox::warning( this, tr("AdvancedFm"), tr("command failed!"), tr("&OK") ); | 1604 | QMessageBox::warning( this, "AdvancedFm", tr("command failed!"), tr("&OK") ); |
1605 | pclose(fp); | 1605 | pclose(fp); |
1606 | return; | 1606 | return; |
1607 | } else { | 1607 | } else { |
@@ -1638,10 +1638,10 @@ void AdvancedFm::del() { | |||
1638 | } | 1638 | } |
1639 | 1639 | ||
1640 | void AdvancedFm::doAbout() { | 1640 | void AdvancedFm::doAbout() { |
1641 | QMessageBox::message("AdvancedFm","Advanced FileManager\n" | 1641 | QMessageBox::message("AdvancedFm",tr("Advanced FileManager\n" |
1642 | "is copyright 2002 by\n" | 1642 | "is copyright 2002 by\n" |
1643 | "L.J.Potter<llornkcor@handhelds.org>\n" | 1643 | "L.J.Potter<llornkcor@handhelds.org>\n" |
1644 | "and is licensed by the GPL"); | 1644 | "and is licensed by the GPL")); |
1645 | } | 1645 | } |
1646 | 1646 | ||
1647 | void AdvancedFm::keyReleaseEvent( QKeyEvent *e) | 1647 | void AdvancedFm::keyReleaseEvent( QKeyEvent *e) |
@@ -1802,6 +1802,9 @@ QString AdvancedFm::getFileSystemType(const QString ¤tText) { | |||
1802 | return baseFs; | 1802 | return baseFs; |
1803 | } | 1803 | } |
1804 | 1804 | ||
1805 | QString AdvancedFm::getDiskSpace( const QString &) { | ||
1806 | |||
1807 | } | ||
1805 | 1808 | ||
1806 | void AdvancedFm::doBeam() { | 1809 | void AdvancedFm::doBeam() { |
1807 | Ir ir; | 1810 | Ir ir; |
@@ -1922,6 +1925,7 @@ void AdvancedFm::showFileMenu() { | |||
1922 | 1925 | ||
1923 | m->insertSeparator(); | 1926 | m->insertSeparator(); |
1924 | m->insertItem( tr( "Set Permissions" ), this, SLOT( filePerms() )); | 1927 | m->insertItem( tr( "Set Permissions" ), this, SLOT( filePerms() )); |
1928 | |||
1925 | if( QFile(QPEApplication::qpeDir()+"lib/libopie.so").exists() ) //bad hack for Sharp zaurus failings | 1929 | if( QFile(QPEApplication::qpeDir()+"lib/libopie.so").exists() ) //bad hack for Sharp zaurus failings |
1926 | m->insertItem( tr( "Properties" ), this, SLOT( doProperties() )); | 1930 | m->insertItem( tr( "Properties" ), this, SLOT( doProperties() )); |
1927 | m->setCheckable(TRUE); | 1931 | m->setCheckable(TRUE); |