summaryrefslogtreecommitdiffstats
path: root/rbutil/rbutilqt/base/bootloaderinstallchinachip.cpp
diff options
context:
space:
mode:
authorMaurus Cuelenaere <mcuelenaere@gmail.com>2009-08-21 15:46:15 +0000
committerMaurus Cuelenaere <mcuelenaere@gmail.com>2009-08-21 15:46:15 +0000
commit11826e904031f100e82aa376a51e84648cb99a7d (patch)
tree25b22d18b79471aacf3a254554d08dc4d00bd698 /rbutil/rbutilqt/base/bootloaderinstallchinachip.cpp
parentf6999b8f2a7ffb01d9fa13a802f99b7458c2648a (diff)
downloadrockbox-11826e904031f100e82aa376a51e84648cb99a7d.tar.gz
rockbox-11826e904031f100e82aa376a51e84648cb99a7d.tar.bz2
rockbox-11826e904031f100e82aa376a51e84648cb99a7d.zip
Rockbox Utility: make chinachippatch translateable + update Dutch translation
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22450 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'rbutil/rbutilqt/base/bootloaderinstallchinachip.cpp')
-rw-r--r--rbutil/rbutilqt/base/bootloaderinstallchinachip.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/rbutil/rbutilqt/base/bootloaderinstallchinachip.cpp b/rbutil/rbutilqt/base/bootloaderinstallchinachip.cpp
index dba2ec8c92..bbb5649259 100644
--- a/rbutil/rbutilqt/base/bootloaderinstallchinachip.cpp
+++ b/rbutil/rbutilqt/base/bootloaderinstallchinachip.cpp
@@ -45,9 +45,9 @@ QString BootloaderInstallChinaChip::ofHint()
void BootloaderInstallChinaChip::logString(char* format, va_list args, int type)
{
- QString buffer;
+ QString translation = QCoreApplication::translate("", format, NULL, QCoreApplication::UnicodeUTF8);
- emit logItem(buffer.vsprintf(format, args), type);
+ emit logItem(QString().vsprintf(translation.toLocal8Bit(), args), type);
QCoreApplication::processEvents();
}