forked from len0rd/rockbox
Rockbox Utility: make chinachippatch translateable + update Dutch translation
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22450 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
f6999b8f2a
commit
11826e9040
3 changed files with 718 additions and 350 deletions
|
|
@ -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();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue