[PC-BSD Commits] r19687 - pcbsd-projects/PCDM
svn at pcbsd.org
svn at pcbsd.org
Tue Oct 16 06:29:24 PDT 2012
Author: kenmoore
Date: 2012-10-16 13:29:24 +0000 (Tue, 16 Oct 2012)
New Revision: 19687
Modified:
pcbsd-projects/PCDM/PCDM.pro
pcbsd-projects/PCDM/pcdm-gui.cpp
Log:
Commit a couple changes to PCDM's translation scheme, based upon Kris's testing of the new scheme in the installer
Modified: pcbsd-projects/PCDM/PCDM.pro
===================================================================
--- pcbsd-projects/PCDM/PCDM.pro 2012-10-16 09:19:07 UTC (rev 19686)
+++ pcbsd-projects/PCDM/PCDM.pro 2012-10-16 13:29:24 UTC (rev 19687)
@@ -39,6 +39,8 @@
i18n/PCDM_de.ts \
i18n/PCDM_el.ts \
i18n/PCDM_es.ts \
+ i18n/PCDM_en.ts \
+ i18n/PCDM_en_US.ts \
i18n/PCDM_en_GB.ts \
i18n/PCDM_en_ZA.ts \
i18n/PCDM_et.ts \
Modified: pcbsd-projects/PCDM/pcdm-gui.cpp
===================================================================
--- pcbsd-projects/PCDM/pcdm-gui.cpp 2012-10-16 09:19:07 UTC (rev 19686)
+++ pcbsd-projects/PCDM/pcdm-gui.cpp 2012-10-16 13:29:24 UTC (rev 19687)
@@ -279,17 +279,6 @@
}
Backend::log("Changing localization to " + langCode);
-
- // Now write out the lang code and close
- /*
- QFile lfile( TMPLANGFILE );
- if ( lfile.open( QIODevice::WriteOnly ) ) {
- QTextStream stream( &lfile );
- stream << langCode;
- lfile.close();
- }
- slotClosePCDM();
- */
//Alternate method for changing Locale
QLocale locale(langCode);
@@ -303,7 +292,7 @@
QCoreApplication::installTranslator(m_translator);
}
//Re-draw the interface
- //this->retranslateUi(this);
+ this->retranslateUi(this);
Backend::log("Current Locale after change: " + this->locale().name() );
}
More information about the Commits
mailing list