1
0
Fork 0
forked from len0rd/rockbox

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
This commit is contained in:
Dominik Riebeling 2010-01-04 19:23:07 +00:00
parent 2f2fa0ffa6
commit 68fa655dc4

View file

@ -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() ;
}