summaryrefslogtreecommitdiff
path: root/rbutil
diff options
context:
space:
mode:
authorDominik Riebeling <Dominik.Riebeling@gmail.com>2010-01-04 19:23:07 +0000
committerDominik Riebeling <Dominik.Riebeling@gmail.com>2010-01-04 19:23:07 +0000
commit68fa655dc4be2f6f9c48be1054a2a7d74976a6a7 (patch)
treee818f9f0e5c1800367a74694fddda557e91451e9 /rbutil
parent2f2fa0ffa6a494aae96c1c8ce1ed61c382859973 (diff)
downloadrockbox-68fa655dc4be2f6f9c48be1054a2a7d74976a6a7.tar.gz
rockbox-68fa655dc4be2f6f9c48be1054a2a7d74976a6a7.zip
Make strings better translatable by allowing to change the position of the dynamic part.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24176 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'rbutil')
-rw-r--r--rbutil/rbutilqt/base/uninstall.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/rbutil/rbutilqt/base/uninstall.cpp b/rbutil/rbutilqt/base/uninstall.cpp
index e28738b95b..15ada35c5e 100644
--- a/rbutil/rbutilqt/base/uninstall.cpp
+++ b/rbutil/rbutilqt/base/uninstall.cpp
@@ -49,7 +49,7 @@ void Uninstaller::uninstall(ProgressloggerInterface* dp)
49 49
50 for(int i=0; i< uninstallSections.size() ; i++) 50 for(int i=0; i< uninstallSections.size() ; i++)
51 { 51 {
52 m_dp->addItem(tr("Uninstalling ") + uninstallSections.at(i) + "...",LOGINFO); 52 m_dp->addItem(tr("Uninstalling %1...").arg(uninstallSections.at(i)), LOGINFO);
53 QCoreApplication::processEvents(); 53 QCoreApplication::processEvents();
54 // create list of all other install sections 54 // create list of all other install sections
55 QStringList sections = installlog.childGroups(); 55 QStringList sections = installlog.childGroups();
@@ -80,7 +80,8 @@ void Uninstaller::uninstall(ProgressloggerInterface* dp)
80 if(toDelete.isFile()) // if it is a file remove it 80 if(toDelete.isFile()) // if it is a file remove it
81 { 81 {
82 if(deleteFile && !QFile::remove(toDelete.filePath())) 82 if(deleteFile && !QFile::remove(toDelete.filePath()))
83 m_dp->addItem(tr("Could not delete: ")+ toDelete.filePath(),LOGWARNING); 83 m_dp->addItem(tr("Could not delete %1")
84 .arg(toDelete.filePath()),LOGWARNING);
84 installlog.remove(toDeleteList.at(j)); 85 installlog.remove(toDeleteList.at(j));
85 qDebug() << "deleted: " << toDelete.filePath() ; 86 qDebug() << "deleted: " << toDelete.filePath() ;
86 } 87 }