diff options
| author | Dominik Riebeling <Dominik.Riebeling@gmail.com> | 2010-01-04 19:23:07 +0000 |
|---|---|---|
| committer | Dominik Riebeling <Dominik.Riebeling@gmail.com> | 2010-01-04 19:23:07 +0000 |
| commit | 68fa655dc4be2f6f9c48be1054a2a7d74976a6a7 (patch) | |
| tree | e818f9f0e5c1800367a74694fddda557e91451e9 | |
| parent | 2f2fa0ffa6a494aae96c1c8ce1ed61c382859973 (diff) | |
| download | rockbox-68fa655dc4be2f6f9c48be1054a2a7d74976a6a7.zip rockbox-68fa655dc4be2f6f9c48be1054a2a7d74976a6a7.tar.gz rockbox-68fa655dc4be2f6f9c48be1054a2a7d74976a6a7.tar.bz2 rockbox-68fa655dc4be2f6f9c48be1054a2a7d74976a6a7.tar.xz | |
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
| -rw-r--r-- | rbutil/rbutilqt/base/uninstall.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/rbutil/rbutilqt/base/uninstall.cpp b/rbutil/rbutilqt/base/uninstall.cpp index e28738b..15ada35 100644 --- a/rbutil/rbutilqt/base/uninstall.cpp +++ b/rbutil/rbutilqt/base/uninstall.cpp @@ -49,7 +49,7 @@ void Uninstaller::uninstall(ProgressloggerInterface* dp) for(int i=0; i< uninstallSections.size() ; i++) { - m_dp->addItem(tr("Uninstalling ") + uninstallSections.at(i) + "...",LOGINFO); + m_dp->addItem(tr("Uninstalling %1...").arg(uninstallSections.at(i)), LOGINFO); QCoreApplication::processEvents(); // create list of all other install sections QStringList sections = installlog.childGroups(); @@ -80,7 +80,8 @@ void Uninstaller::uninstall(ProgressloggerInterface* dp) if(toDelete.isFile()) // if it is a file remove it { if(deleteFile && !QFile::remove(toDelete.filePath())) - m_dp->addItem(tr("Could not delete: ")+ toDelete.filePath(),LOGWARNING); + m_dp->addItem(tr("Could not delete %1") + .arg(toDelete.filePath()),LOGWARNING); installlog.remove(toDeleteList.at(j)); qDebug() << "deleted: " << toDelete.filePath() ; } |