[PC-BSD Commits] r5046 - in pcbsd/trunk/SysInstaller: . i18n

svn at pcbsd.org svn at pcbsd.org
Tue Nov 17 11:42:47 PST 2009


Author: kris
Date: 2009-11-17 11:42:47 -0800 (Tue, 17 Nov 2009)
New Revision: 5046

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

Added i18n support for the SysInstaller, need code to load the files still



Modified: pcbsd/trunk/SysInstaller/SysInstaller.pro
===================================================================
--- pcbsd/trunk/SysInstaller/SysInstaller.pro	2009-11-17 19:28:50 UTC (rev 5045)
+++ pcbsd/trunk/SysInstaller/SysInstaller.pro	2009-11-17 19:42:47 UTC (rev 5046)
@@ -11,5 +11,73 @@
     backend.cpp
 HEADERS += sysinstaller.h \
     backend.h
+TRANSLATIONS =  i18n/SysInstaller_af.ts \
+		i18n/SysInstaller_ar.ts \
+		i18n/SysInstaller_az.ts \
+		i18n/SysInstaller_bg.ts \
+		i18n/SysInstaller_bn.ts \
+		i18n/SysInstaller_bs.ts \
+		i18n/SysInstaller_ca.ts \
+		i18n/SysInstaller_cs.ts \
+		i18n/SysInstaller_cy.ts \
+		i18n/SysInstaller_da.ts \
+		i18n/SysInstaller_de.ts \
+		i18n/SysInstaller_el.ts \
+		i18n/SysInstaller_es.ts \
+		i18n/SysInstaller_en_GB.ts \
+		i18n/SysInstaller_en_ZA.ts \
+		i18n/SysInstaller_et.ts \
+		i18n/SysInstaller_eu.ts \
+		i18n/SysInstaller_fa.ts \
+		i18n/SysInstaller_fi.ts \
+		i18n/SysInstaller_fr.ts \
+		i18n/SysInstaller_fur.ts \
+		i18n/SysInstaller_gl.ts \
+		i18n/SysInstaller_he.ts \
+		i18n/SysInstaller_hi.ts \
+		i18n/SysInstaller_hr.ts \
+		i18n/SysInstaller_hu.ts \
+		i18n/SysInstaller_id.ts \
+		i18n/SysInstaller_is.ts \
+		i18n/SysInstaller_it.ts \
+		i18n/SysInstaller_ja.ts \
+		i18n/SysInstaller_ka.ts \
+		i18n/SysInstaller_ko.ts \
+		i18n/SysInstaller_lt.ts \
+		i18n/SysInstaller_lv.ts \
+		i18n/SysInstaller_mk.ts \
+		i18n/SysInstaller_mn.ts \
+		i18n/SysInstaller_ms.ts \
+		i18n/SysInstaller_mt.ts \
+		i18n/SysInstaller_nb.ts \
+		i18n/SysInstaller_ne.ts \
+		i18n/SysInstaller_nl.ts \
+		i18n/SysInstaller_pa.ts \
+		i18n/SysInstaller_pl.ts \
+		i18n/SysInstaller_pt.ts \
+		i18n/SysInstaller_pt_BR.ts \
+		i18n/SysInstaller_ro.ts \
+		i18n/SysInstaller_ru.ts \
+		i18n/SysInstaller_sk.ts \
+		i18n/SysInstaller_sl.ts \
+		i18n/SysInstaller_sr.ts \
+		i18n/SysInstaller_sv.ts \
+		i18n/SysInstaller_ta.ts \
+		i18n/SysInstaller_tg.ts \
+		i18n/SysInstaller_th.ts \
+		i18n/SysInstaller_tr.ts \
+		i18n/SysInstaller_uk.ts \
+		i18n/SysInstaller_uz.ts \
+		i18n/SysInstaller_vi.ts \
+		i18n/SysInstaller_zh_CN.ts \
+		i18n/SysInstaller_zh_HK.ts \
+		i18n/SysInstaller_zh_TW.ts \
+		i18n/SysInstaller_zu.ts
+
+dotrans.path=/usr/local/pcbsd/i18n/
+dotrans.extra=cd i18n && lrelease-qt4 *.ts && cp *.qm /usr/local/pcbsd/i18n/
+
+INSTALLS += dotrans
+
 FORMS += sysinstaller.ui
 RESOURCES += sysinstaller.qrc

Modified: pcbsd/trunk/SysInstaller/sysinstaller.cpp
===================================================================
--- pcbsd/trunk/SysInstaller/sysinstaller.cpp	2009-11-17 19:28:50 UTC (rev 5045)
+++ pcbsd/trunk/SysInstaller/sysinstaller.cpp	2009-11-17 19:42:47 UTC (rev 5046)
@@ -153,7 +153,7 @@
 void SysInstaller::slotAbort()
 {
     int ret = QMessageBox::question(this, tr("PC-BSD Installer"),
-                                tr("Are you sure you wan to abort this installation?"),
+                                tr("Are you sure you want to abort this installation?"),
                                 QMessageBox::No | QMessageBox::Yes,
                                 QMessageBox::No);
     switch (ret) {



More information about the Commits mailing list