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:
parent
2f2fa0ffa6
commit
68fa655dc4
1 changed files with 3 additions and 2 deletions
|
@ -49,7 +49,7 @@ void Uninstaller::uninstall(ProgressloggerInterface* dp)
|
||||||
|
|
||||||
for(int i=0; i< uninstallSections.size() ; i++)
|
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();
|
QCoreApplication::processEvents();
|
||||||
// create list of all other install sections
|
// create list of all other install sections
|
||||||
QStringList sections = installlog.childGroups();
|
QStringList sections = installlog.childGroups();
|
||||||
|
@ -80,7 +80,8 @@ void Uninstaller::uninstall(ProgressloggerInterface* dp)
|
||||||
if(toDelete.isFile()) // if it is a file remove it
|
if(toDelete.isFile()) // if it is a file remove it
|
||||||
{
|
{
|
||||||
if(deleteFile && !QFile::remove(toDelete.filePath()))
|
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));
|
installlog.remove(toDeleteList.at(j));
|
||||||
qDebug() << "deleted: " << toDelete.filePath() ;
|
qDebug() << "deleted: " << toDelete.filePath() ;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue