[PC-BSD Commits] r17342 - pcbsd/current/src-qt4/EasyPBI
svn at pcbsd.org
svn at pcbsd.org
Wed Jun 20 09:36:21 PDT 2012
Author: kenmoore
Date: 2012-06-20 16:36:19 +0000 (Wed, 20 Jun 2012)
New Revision: 17342
Modified:
pcbsd/current/src-qt4/EasyPBI/main.cpp
Log:
Fix a type in the EasyPBI main.cpp, now it will look for the proper translation files.
Modified: pcbsd/current/src-qt4/EasyPBI/main.cpp
===================================================================
--- pcbsd/current/src-qt4/EasyPBI/main.cpp 2012-06-20 14:02:38 UTC (rev 17341)
+++ pcbsd/current/src-qt4/EasyPBI/main.cpp 2012-06-20 16:36:19 UTC (rev 17342)
@@ -15,8 +15,8 @@
QLocale mylocale;
QString langCode = mylocale.name();
- if ( ! QFile::exists(PREFIX + "/share/pcbsd/i18n/pc-bluetoothmanager_" + langCode + ".qm" ) ) langCode.truncate(langCode.indexOf("_"));
- translator.load( QString("pc-bluetoothmanager_") + langCode, PREFIX + "/share/pcbsd/i18n/" );
+ if ( ! QFile::exists(PREFIX + "/share/pcbsd/i18n/EasyPBI_" + langCode + ".qm" ) ) langCode.truncate(langCode.indexOf("_"));
+ translator.load( QString("EasyPBI_") + langCode, PREFIX + "/share/pcbsd/i18n/" );
a.installTranslator( &translator );
qDebug() << "Locale:" << langCode;
More information about the Commits
mailing list