summaryrefslogtreecommitdiff
path: root/rbutil
diff options
context:
space:
mode:
authorTomer Shalev <shalev.tomer@gmail.com>2010-01-03 20:17:36 +0000
committerTomer Shalev <shalev.tomer@gmail.com>2010-01-03 20:17:36 +0000
commit86c1360169fa0fd502c348a2730d9ba5433d346b (patch)
tree3ae6b2ffd5865f67e4f93b39293a74783fbb69bb /rbutil
parenta398e446805d200c6b553424cf69dc3f861fed31 (diff)
rbutil: Fix some messages
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24174 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'rbutil')
-rw-r--r--rbutil/rbutilqt/base/bootloaderinstallbase.cpp4
-rw-r--r--rbutil/rbutilqt/base/bootloaderinstallipod.cpp2
-rw-r--r--rbutil/rbutilqt/base/bootloaderinstallsansa.cpp2
-rw-r--r--rbutil/rbutilqt/base/uninstall.cpp2
-rw-r--r--rbutil/rbutilqt/base/voicefile.cpp4
-rw-r--r--rbutil/rbutilqt/base/zipinstaller.cpp10
-rw-r--r--rbutil/rbutilqt/rbutilqt.cpp2
-rw-r--r--rbutil/rbutilqt/themesinstallwindow.cpp6
8 files changed, 16 insertions, 16 deletions
diff --git a/rbutil/rbutilqt/base/bootloaderinstallbase.cpp b/rbutil/rbutilqt/base/bootloaderinstallbase.cpp
index 8672e29a4f..f812062713 100644
--- a/rbutil/rbutilqt/base/bootloaderinstallbase.cpp
+++ b/rbutil/rbutilqt/base/bootloaderinstallbase.cpp
@@ -84,9 +84,9 @@ void BootloaderInstallBase::downloadBlFinish(bool error)
return;
}
else if(m_http.isCached())
- emit logItem(tr("Download finished (cache used)."), LOGOK);
+ emit logItem(tr("Download finished (cache used)"), LOGOK);
else
- emit logItem(tr("Download finished."), LOGOK);
+ emit logItem(tr("Download finished"), LOGOK);
QCoreApplication::processEvents();
m_blversion = m_http.timestamp();
diff --git a/rbutil/rbutilqt/base/bootloaderinstallipod.cpp b/rbutil/rbutilqt/base/bootloaderinstallipod.cpp
index 48b35f930f..2e6a1c3817 100644
--- a/rbutil/rbutilqt/base/bootloaderinstallipod.cpp
+++ b/rbutil/rbutilqt/base/bootloaderinstallipod.cpp
@@ -126,7 +126,7 @@ void BootloaderInstallIpod::installStage3(bool mounted)
{
if(mounted) {
logInstall(LogAdd);
- emit logItem(tr("Bootloader Installation complete."), LOGINFO);
+ emit logItem(tr("Bootloader Installation complete"), LOGINFO);
emit done(false);
return;
}
diff --git a/rbutil/rbutilqt/base/bootloaderinstallsansa.cpp b/rbutil/rbutilqt/base/bootloaderinstallsansa.cpp
index 48bd0053ee..68eae6a2f7 100644
--- a/rbutil/rbutilqt/base/bootloaderinstallsansa.cpp
+++ b/rbutil/rbutilqt/base/bootloaderinstallsansa.cpp
@@ -157,7 +157,7 @@ void BootloaderInstallSansa::installStage3(bool mounted)
{
if(mounted) {
logInstall(LogAdd);
- emit logItem(tr("Bootloader Installation complete."), LOGINFO);
+ emit logItem(tr("Bootloader Installation complete"), LOGINFO);
emit done(false);
return;
}
diff --git a/rbutil/rbutilqt/base/uninstall.cpp b/rbutil/rbutilqt/base/uninstall.cpp
index b7a63edcd5..e28738b95b 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 ") + uninstallSections.at(i) + "...",LOGINFO);
QCoreApplication::processEvents();
// create list of all other install sections
QStringList sections = installlog.childGroups();
diff --git a/rbutil/rbutilqt/base/voicefile.cpp b/rbutil/rbutilqt/base/voicefile.cpp
index 4c7a775c72..714f40bf90 100644
--- a/rbutil/rbutilqt/base/voicefile.cpp
+++ b/rbutil/rbutilqt/base/voicefile.cpp
@@ -97,7 +97,7 @@ void VoiceFileCreator::downloadDone(bool error)
}
if(getter->isCached())
- emit logItem(tr("Cached file used."), LOGINFO);
+ emit logItem(tr("Cached file used"), LOGINFO);
if(error)
{
emit logItem(tr("Download error: %1").arg(getter->errorString()),LOGERROR);
@@ -105,7 +105,7 @@ void VoiceFileCreator::downloadDone(bool error)
return;
}
else
- emit logItem(tr("Download finished."),LOGINFO);
+ emit logItem(tr("Download finished"),LOGINFO);
QCoreApplication::processEvents();
diff --git a/rbutil/rbutilqt/base/zipinstaller.cpp b/rbutil/rbutilqt/base/zipinstaller.cpp
index 6a59cdad02..36c2cf7215 100644
--- a/rbutil/rbutilqt/base/zipinstaller.cpp
+++ b/rbutil/rbutilqt/base/zipinstaller.cpp
@@ -56,7 +56,7 @@ void ZipInstaller::installContinue()
runner++; // this gets called when a install finished, so increase first.
qDebug() << "[ZipInstall] runner done:" << runner << "/" << m_urllist.size();
if(runner < m_urllist.size()) {
- emit logItem(tr("done."), LOGOK);
+ emit logItem(tr("Done"), LOGOK);
m_url = m_urllist.at(runner);
m_logsection = m_loglist.at(runner);
if(runner < m_verlist.size()) m_logver = m_verlist.at(runner);
@@ -64,7 +64,7 @@ void ZipInstaller::installContinue()
installStart();
}
else {
- emit logItem(tr("Installation finished successfully."), LOGOK);
+ emit logItem(tr("Installation finished successfully"), LOGOK);
emit done(false);
return;
@@ -117,19 +117,19 @@ void ZipInstaller::downloadDone(bool error)
return;
}
if(getter->isCached())
- emit logItem(tr("Cached file used."), LOGINFO);
+ emit logItem(tr("Cached file used"), LOGINFO);
if(error) {
emit logItem(tr("Download error: %1").arg(getter->errorString()), LOGERROR);
emit done(true);
return;
}
- else emit logItem(tr("Download finished."),LOGOK);
+ else emit logItem(tr("Download finished"),LOGOK);
QCoreApplication::processEvents();
if(m_unzip) {
// unzip downloaded file
qDebug() << "[ZipInstall] about to unzip " << m_file << "to" << m_mountpoint;
- emit logItem(tr("Extracting file."), LOGINFO);
+ emit logItem(tr("Extracting file"), LOGINFO);
QCoreApplication::processEvents();
UnZip::ErrorCode ec;
diff --git a/rbutil/rbutilqt/rbutilqt.cpp b/rbutil/rbutilqt/rbutilqt.cpp
index 18534029a5..89ca641e4f 100644
--- a/rbutil/rbutilqt/rbutilqt.cpp
+++ b/rbutil/rbutilqt/rbutilqt.cpp
@@ -1019,7 +1019,7 @@ void RbUtilQt::uninstallBootloader(void)
bl = new BootloaderInstallFile(this);
}
else {
- logger->addItem(tr("No uninstall method known."), LOGERROR);
+ logger->addItem(tr("No uninstall method known"), LOGERROR);
logger->setFinished();
return;
}
diff --git a/rbutil/rbutilqt/themesinstallwindow.cpp b/rbutil/rbutilqt/themesinstallwindow.cpp
index 4717457fdb..29f4c5fc10 100644
--- a/rbutil/rbutilqt/themesinstallwindow.cpp
+++ b/rbutil/rbutilqt/themesinstallwindow.cpp
@@ -119,7 +119,7 @@ void ThemesInstallWindow::downloadDone(bool error)
connect(logger, SIGNAL(closed()), this, SLOT(close()));
return;
}
- logger->addItem(tr("done."), LOGOK);
+ logger->addItem(tr("Done"), LOGOK);
logger->setFinished();
logger->close();
@@ -189,7 +189,7 @@ void ThemesInstallWindow::updateDetails(QListWidgetItem* cur, QListWidgetItem* p
ui.themeDescription->setText(tr("fetching details for %1")
.arg(cur->data(Qt::DisplayRole).toString()));
ui.themePreview->clear();
- ui.themePreview->setText(tr("fetching preview ..."));
+ ui.themePreview->setText(tr("Fetching preview..."));
imgData.clear();
iniDetails.beginGroup(cur->data(Qt::UserRole).toString());
@@ -281,7 +281,7 @@ void ThemesInstallWindow::show()
QDialog::show();
logger = new ProgressLoggerGui(this);
logger->show();
- logger->addItem(tr("getting themes information ..."), LOGINFO);
+ logger->addItem(tr("Getting themes information..."), LOGINFO);
connect(logger, SIGNAL(aborted()), this, SLOT(close()));