summaryrefslogtreecommitdiff
path: root/noncore
authorcniehaus <cniehaus>2002-12-27 10:59:15 (UTC)
committer cniehaus <cniehaus>2002-12-27 10:59:15 (UTC)
commit6ca8a429b121dbbdbbfbde453cd2cd1412315aa8 (patch) (side-by-side diff)
treea3b824d3c9b574fb43a554a43f1d21de3eb7bb83 /noncore
parent3565b57b9346db47693287162c5794a4d4d8b568 (diff)
downloadopie-6ca8a429b121dbbdbbfbde453cd2cd1412315aa8.zip
opie-6ca8a429b121dbbdbbfbde453cd2cd1412315aa8.tar.gz
opie-6ca8a429b121dbbdbbfbde453cd2cd1412315aa8.tar.bz2
i18n fix
Diffstat (limited to 'noncore') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/apps/advancedfm/advancedfmMenu.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/noncore/apps/advancedfm/advancedfmMenu.cpp b/noncore/apps/advancedfm/advancedfmMenu.cpp
index a6b59c7..98d024d 100644
--- a/noncore/apps/advancedfm/advancedfmMenu.cpp
+++ b/noncore/apps/advancedfm/advancedfmMenu.cpp
@@ -486,9 +486,7 @@ void AdvancedFm::copy() {
QFile f(destFile);
if( f.exists()) {
if(doMsg) {
- switch ( QMessageBox::warning(this,tr("File Exists!"),
- item+tr("\nexists. Ok to overwrite?"),
- tr("Yes"),tr("No"),0,0,1) ) {
+ switch ( QMessageBox::warning(this,tr("File Exists!"), tr("%1 exists. Ok to overwrite?").arg( item ), tr("Yes"),tr("No"),0,0,1) ) {
case 1:
return;
break;
@@ -497,7 +495,7 @@ void AdvancedFm::copy() {
f.remove();
}
if(!copyFile( curFile, destFile) ) {
- QMessageBox::message("AdvancedFm","Could not copy\n"+curFile +"to\n"+destFile);
+ QMessageBox::message("AdvancedFm",tr( "Could not copy %1 to %2").arg( curFile ).arg( destFile ) );
return;
}
}