[PC-BSD Commits] r15602 - in pcbsd/current/src-qt4/pc-firstbootgui: . i18n

svn at pcbsd.org svn at pcbsd.org
Mon Feb 27 09:43:48 PST 2012


Author: kris
Date: 2012-02-27 17:43:48 +0000 (Mon, 27 Feb 2012)
New Revision: 15602

Removed:
   pcbsd/current/src-qt4/pc-firstbootgui/i18n/SysInstaller_af.ts
   pcbsd/current/src-qt4/pc-firstbootgui/i18n/SysInstaller_ar.ts
   pcbsd/current/src-qt4/pc-firstbootgui/i18n/SysInstaller_az.ts
   pcbsd/current/src-qt4/pc-firstbootgui/i18n/SysInstaller_bg.ts
   pcbsd/current/src-qt4/pc-firstbootgui/i18n/SysInstaller_bn.ts
   pcbsd/current/src-qt4/pc-firstbootgui/i18n/SysInstaller_bs.ts
   pcbsd/current/src-qt4/pc-firstbootgui/i18n/SysInstaller_ca.ts
   pcbsd/current/src-qt4/pc-firstbootgui/i18n/SysInstaller_cs.ts
   pcbsd/current/src-qt4/pc-firstbootgui/i18n/SysInstaller_cy.ts
   pcbsd/current/src-qt4/pc-firstbootgui/i18n/SysInstaller_da.ts
   pcbsd/current/src-qt4/pc-firstbootgui/i18n/SysInstaller_de.ts
   pcbsd/current/src-qt4/pc-firstbootgui/i18n/SysInstaller_el.ts
   pcbsd/current/src-qt4/pc-firstbootgui/i18n/SysInstaller_en_GB.ts
   pcbsd/current/src-qt4/pc-firstbootgui/i18n/SysInstaller_en_ZA.ts
   pcbsd/current/src-qt4/pc-firstbootgui/i18n/SysInstaller_es.ts
   pcbsd/current/src-qt4/pc-firstbootgui/i18n/SysInstaller_et.ts
   pcbsd/current/src-qt4/pc-firstbootgui/i18n/SysInstaller_eu.ts
   pcbsd/current/src-qt4/pc-firstbootgui/i18n/SysInstaller_fa.ts
   pcbsd/current/src-qt4/pc-firstbootgui/i18n/SysInstaller_fi.ts
   pcbsd/current/src-qt4/pc-firstbootgui/i18n/SysInstaller_fr.ts
   pcbsd/current/src-qt4/pc-firstbootgui/i18n/SysInstaller_fr_CA.ts
   pcbsd/current/src-qt4/pc-firstbootgui/i18n/SysInstaller_fur.ts
   pcbsd/current/src-qt4/pc-firstbootgui/i18n/SysInstaller_gl.ts
   pcbsd/current/src-qt4/pc-firstbootgui/i18n/SysInstaller_he.ts
   pcbsd/current/src-qt4/pc-firstbootgui/i18n/SysInstaller_hi.ts
   pcbsd/current/src-qt4/pc-firstbootgui/i18n/SysInstaller_hr.ts
   pcbsd/current/src-qt4/pc-firstbootgui/i18n/SysInstaller_hu.ts
   pcbsd/current/src-qt4/pc-firstbootgui/i18n/SysInstaller_id.ts
   pcbsd/current/src-qt4/pc-firstbootgui/i18n/SysInstaller_is.ts
   pcbsd/current/src-qt4/pc-firstbootgui/i18n/SysInstaller_it.ts
   pcbsd/current/src-qt4/pc-firstbootgui/i18n/SysInstaller_ja.ts
   pcbsd/current/src-qt4/pc-firstbootgui/i18n/SysInstaller_ka.ts
   pcbsd/current/src-qt4/pc-firstbootgui/i18n/SysInstaller_ko.ts
   pcbsd/current/src-qt4/pc-firstbootgui/i18n/SysInstaller_lt.ts
   pcbsd/current/src-qt4/pc-firstbootgui/i18n/SysInstaller_lv.ts
   pcbsd/current/src-qt4/pc-firstbootgui/i18n/SysInstaller_mk.ts
   pcbsd/current/src-qt4/pc-firstbootgui/i18n/SysInstaller_mn.ts
   pcbsd/current/src-qt4/pc-firstbootgui/i18n/SysInstaller_ms.ts
   pcbsd/current/src-qt4/pc-firstbootgui/i18n/SysInstaller_mt.ts
   pcbsd/current/src-qt4/pc-firstbootgui/i18n/SysInstaller_nb.ts
   pcbsd/current/src-qt4/pc-firstbootgui/i18n/SysInstaller_ne.ts
   pcbsd/current/src-qt4/pc-firstbootgui/i18n/SysInstaller_nl.ts
   pcbsd/current/src-qt4/pc-firstbootgui/i18n/SysInstaller_pa.ts
   pcbsd/current/src-qt4/pc-firstbootgui/i18n/SysInstaller_pl.ts
   pcbsd/current/src-qt4/pc-firstbootgui/i18n/SysInstaller_pt.ts
   pcbsd/current/src-qt4/pc-firstbootgui/i18n/SysInstaller_pt_BR.ts
   pcbsd/current/src-qt4/pc-firstbootgui/i18n/SysInstaller_ro.ts
   pcbsd/current/src-qt4/pc-firstbootgui/i18n/SysInstaller_ru.ts
   pcbsd/current/src-qt4/pc-firstbootgui/i18n/SysInstaller_sk.ts
   pcbsd/current/src-qt4/pc-firstbootgui/i18n/SysInstaller_sl.ts
   pcbsd/current/src-qt4/pc-firstbootgui/i18n/SysInstaller_sr.ts
   pcbsd/current/src-qt4/pc-firstbootgui/i18n/SysInstaller_sv.ts
   pcbsd/current/src-qt4/pc-firstbootgui/i18n/SysInstaller_sw.ts
   pcbsd/current/src-qt4/pc-firstbootgui/i18n/SysInstaller_ta.ts
   pcbsd/current/src-qt4/pc-firstbootgui/i18n/SysInstaller_tg.ts
   pcbsd/current/src-qt4/pc-firstbootgui/i18n/SysInstaller_th.ts
   pcbsd/current/src-qt4/pc-firstbootgui/i18n/SysInstaller_tr.ts
   pcbsd/current/src-qt4/pc-firstbootgui/i18n/SysInstaller_uk.ts
   pcbsd/current/src-qt4/pc-firstbootgui/i18n/SysInstaller_uz.ts
   pcbsd/current/src-qt4/pc-firstbootgui/i18n/SysInstaller_vi.ts
   pcbsd/current/src-qt4/pc-firstbootgui/i18n/SysInstaller_zh_CN.ts
   pcbsd/current/src-qt4/pc-firstbootgui/i18n/SysInstaller_zh_HK.ts
   pcbsd/current/src-qt4/pc-firstbootgui/i18n/SysInstaller_zh_TW.ts
   pcbsd/current/src-qt4/pc-firstbootgui/i18n/SysInstaller_zu.ts
Modified:
   pcbsd/current/src-qt4/pc-firstbootgui/main.cpp
Log:

Update i18n for pc-firstbootgui



Modified: pcbsd/current/src-qt4/pc-firstbootgui/main.cpp
===================================================================
--- pcbsd/current/src-qt4/pc-firstbootgui/main.cpp	2012-02-27 17:41:10 UTC (rev 15601)
+++ pcbsd/current/src-qt4/pc-firstbootgui/main.cpp	2012-02-27 17:43:48 UTC (rev 15602)
@@ -20,7 +20,7 @@
 
       // Check what directory our app is in
       QString appDir;
-      if ( QFile::exists("/usr/local/bin/pc-sysinstaller") )
+      if ( QFile::exists("/usr/local/bin/pc-firstboot") )
       {
         appDir = "/usr/local/share/pcbsd";
       } else {
@@ -34,12 +34,12 @@
       if ( ! changeLang.isEmpty() )       
          langCode = changeLang;
 
-      if ( QFile::exists(appDir + "/i18n/SysInstaller_" + langCode + ".qm" ) ) {
-        translator.load( QString("SysInstaller_") + langCode, appDir + "/i18n/" );
+      if ( QFile::exists(appDir + "/i18n/FirstBoot_" + langCode + ".qm" ) ) {
+        translator.load( QString("FirstBoot_") + langCode, appDir + "/i18n/" );
         a.installTranslator(&translator);
-        qDebug() << "Loaded Translation:" << appDir + "/i18n/SysInstaller_" + langCode + ".qm";
+        qDebug() << "Loaded Translation:" << appDir + "/i18n/FirstBoot_" + langCode + ".qm";
       } else {
-        qDebug() << "Could not find: " << appDir + "/i18n/SysInstaller_" + langCode + ".qm";
+        qDebug() << "Could not find: " << appDir + "/i18n/FirstBoot_" + langCode + ".qm";
         langCode = "";
       }
 



More information about the Commits mailing list