[PC-BSD Commits] r4951 - in pcbsd/trunk/lifePreserver: . i18n

svn at pcbsd.org svn at pcbsd.org
Wed Nov 11 11:52:18 PST 2009


Author: kris
Date: 2009-11-11 11:52:18 -0800 (Wed, 11 Nov 2009)
New Revision: 4951

Added:
   pcbsd/trunk/lifePreserver/i18n/
   pcbsd/trunk/lifePreserver/i18n/LifePreserver_af.ts
   pcbsd/trunk/lifePreserver/i18n/LifePreserver_ar.ts
   pcbsd/trunk/lifePreserver/i18n/LifePreserver_az.ts
   pcbsd/trunk/lifePreserver/i18n/LifePreserver_bg.ts
   pcbsd/trunk/lifePreserver/i18n/LifePreserver_bn.ts
   pcbsd/trunk/lifePreserver/i18n/LifePreserver_bs.ts
   pcbsd/trunk/lifePreserver/i18n/LifePreserver_ca.ts
   pcbsd/trunk/lifePreserver/i18n/LifePreserver_cs.ts
   pcbsd/trunk/lifePreserver/i18n/LifePreserver_cy.ts
   pcbsd/trunk/lifePreserver/i18n/LifePreserver_da.ts
   pcbsd/trunk/lifePreserver/i18n/LifePreserver_de.ts
   pcbsd/trunk/lifePreserver/i18n/LifePreserver_el.ts
   pcbsd/trunk/lifePreserver/i18n/LifePreserver_es.ts
   pcbsd/trunk/lifePreserver/i18n/LifePreserver_et.ts
   pcbsd/trunk/lifePreserver/i18n/LifePreserver_eu.ts
   pcbsd/trunk/lifePreserver/i18n/LifePreserver_fa.ts
   pcbsd/trunk/lifePreserver/i18n/LifePreserver_fi.ts
   pcbsd/trunk/lifePreserver/i18n/LifePreserver_fr.ts
   pcbsd/trunk/lifePreserver/i18n/LifePreserver_fur.ts
   pcbsd/trunk/lifePreserver/i18n/LifePreserver_gl.ts
   pcbsd/trunk/lifePreserver/i18n/LifePreserver_he.ts
   pcbsd/trunk/lifePreserver/i18n/LifePreserver_hi.ts
   pcbsd/trunk/lifePreserver/i18n/LifePreserver_hr.ts
   pcbsd/trunk/lifePreserver/i18n/LifePreserver_hu.ts
   pcbsd/trunk/lifePreserver/i18n/LifePreserver_id.ts
   pcbsd/trunk/lifePreserver/i18n/LifePreserver_is.ts
   pcbsd/trunk/lifePreserver/i18n/LifePreserver_it.ts
   pcbsd/trunk/lifePreserver/i18n/LifePreserver_ja.ts
   pcbsd/trunk/lifePreserver/i18n/LifePreserver_ka.ts
   pcbsd/trunk/lifePreserver/i18n/LifePreserver_ko.ts
   pcbsd/trunk/lifePreserver/i18n/LifePreserver_lt.ts
   pcbsd/trunk/lifePreserver/i18n/LifePreserver_lv.ts
   pcbsd/trunk/lifePreserver/i18n/LifePreserver_mk.ts
   pcbsd/trunk/lifePreserver/i18n/LifePreserver_mn.ts
   pcbsd/trunk/lifePreserver/i18n/LifePreserver_ms.ts
   pcbsd/trunk/lifePreserver/i18n/LifePreserver_mt.ts
   pcbsd/trunk/lifePreserver/i18n/LifePreserver_nb.ts
   pcbsd/trunk/lifePreserver/i18n/LifePreserver_ne.ts
   pcbsd/trunk/lifePreserver/i18n/LifePreserver_nl.ts
   pcbsd/trunk/lifePreserver/i18n/LifePreserver_pa.ts
   pcbsd/trunk/lifePreserver/i18n/LifePreserver_pl.ts
   pcbsd/trunk/lifePreserver/i18n/LifePreserver_pt.ts
   pcbsd/trunk/lifePreserver/i18n/LifePreserver_pt_BR.ts
   pcbsd/trunk/lifePreserver/i18n/LifePreserver_ro.ts
   pcbsd/trunk/lifePreserver/i18n/LifePreserver_ru.ts
   pcbsd/trunk/lifePreserver/i18n/LifePreserver_sk.ts
   pcbsd/trunk/lifePreserver/i18n/LifePreserver_sl.ts
   pcbsd/trunk/lifePreserver/i18n/LifePreserver_sr.ts
   pcbsd/trunk/lifePreserver/i18n/LifePreserver_sv.ts
   pcbsd/trunk/lifePreserver/i18n/LifePreserver_ta.ts
   pcbsd/trunk/lifePreserver/i18n/LifePreserver_tg.ts
   pcbsd/trunk/lifePreserver/i18n/LifePreserver_th.ts
   pcbsd/trunk/lifePreserver/i18n/LifePreserver_tr.ts
   pcbsd/trunk/lifePreserver/i18n/LifePreserver_uk.ts
   pcbsd/trunk/lifePreserver/i18n/LifePreserver_uz.ts
   pcbsd/trunk/lifePreserver/i18n/LifePreserver_vi.ts
   pcbsd/trunk/lifePreserver/i18n/LifePreserver_zh_CN.ts
   pcbsd/trunk/lifePreserver/i18n/LifePreserver_zh_HK.ts
   pcbsd/trunk/lifePreserver/i18n/LifePreserver_zh_TW.ts
   pcbsd/trunk/lifePreserver/i18n/LifePreserver_zu.ts
Modified:
   pcbsd/trunk/lifePreserver/lPreserve.pro
   pcbsd/trunk/lifePreserver/main.cpp
Log:

Added i18n data for LifePreserver



Modified: pcbsd/trunk/lifePreserver/lPreserve.pro
===================================================================
--- pcbsd/trunk/lifePreserver/lPreserve.pro	2009-11-11 19:41:43 UTC (rev 4950)
+++ pcbsd/trunk/lifePreserver/lPreserve.pro	2009-11-11 19:52:18 UTC (rev 4951)
@@ -51,6 +51,70 @@
 conf.path=/usr/PCBSD/lifePreserver/conf
 conf.files=conf/rsync-excludes
 
-INSTALLS += scripts conf
+TRANSLATIONS =  i18n/LifePreserver_af.ts \
+		i18n/LifePreserver_ar.ts \
+		i18n/LifePreserver_az.ts \
+		i18n/LifePreserver_bg.ts \
+		i18n/LifePreserver_bn.ts \
+		i18n/LifePreserver_bs.ts \
+		i18n/LifePreserver_ca.ts \
+		i18n/LifePreserver_cs.ts \
+		i18n/LifePreserver_cy.ts \
+		i18n/LifePreserver_da.ts \
+		i18n/LifePreserver_de.ts \
+		i18n/LifePreserver_el.ts \
+		i18n/LifePreserver_es.ts \
+		i18n/LifePreserver_et.ts \
+		i18n/LifePreserver_eu.ts \
+		i18n/LifePreserver_fa.ts \
+		i18n/LifePreserver_fi.ts \
+		i18n/LifePreserver_fr.ts \
+		i18n/LifePreserver_fur.ts \
+		i18n/LifePreserver_gl.ts \
+		i18n/LifePreserver_he.ts \
+		i18n/LifePreserver_hi.ts \
+		i18n/LifePreserver_hr.ts \
+		i18n/LifePreserver_hu.ts \
+		i18n/LifePreserver_id.ts \
+		i18n/LifePreserver_is.ts \
+		i18n/LifePreserver_it.ts \
+		i18n/LifePreserver_ja.ts \
+		i18n/LifePreserver_ka.ts \
+		i18n/LifePreserver_ko.ts \
+		i18n/LifePreserver_lt.ts \
+		i18n/LifePreserver_lv.ts \
+		i18n/LifePreserver_mk.ts \
+		i18n/LifePreserver_mn.ts \
+		i18n/LifePreserver_ms.ts \
+		i18n/LifePreserver_mt.ts \
+		i18n/LifePreserver_nb.ts \
+		i18n/LifePreserver_ne.ts \
+		i18n/LifePreserver_nl.ts \
+		i18n/LifePreserver_pa.ts \
+		i18n/LifePreserver_pl.ts \
+		i18n/LifePreserver_pt.ts \
+		i18n/LifePreserver_pt_BR.ts \
+		i18n/LifePreserver_ro.ts \
+		i18n/LifePreserver_ru.ts \
+		i18n/LifePreserver_sk.ts \
+		i18n/LifePreserver_sl.ts \
+		i18n/LifePreserver_sr.ts \
+		i18n/LifePreserver_sv.ts \
+		i18n/LifePreserver_ta.ts \
+		i18n/LifePreserver_tg.ts \
+		i18n/LifePreserver_th.ts \
+		i18n/LifePreserver_tr.ts \
+		i18n/LifePreserver_uk.ts \
+		i18n/LifePreserver_uz.ts \
+		i18n/LifePreserver_vi.ts \
+		i18n/LifePreserver_zh_CN.ts \
+		i18n/LifePreserver_zh_HK.ts \
+		i18n/LifePreserver_zh_TW.ts \
+		i18n/LifePreserver_zu.ts
 
+dotrans.path=/usr/PCBSD/lifePreserver/i18n/
+dotrans.extra=cd i18n && lrelease-qt4 *.ts && cp *.qm /usr/PCBSD/lifePreserver/i18n/
+
+INSTALLS += scripts conf dotrans
+
 QMAKE_LIBDIR = /usr/local/kde4/lib /usr/local/lib/qt4 /usr/local/lib

Modified: pcbsd/trunk/lifePreserver/main.cpp
===================================================================
--- pcbsd/trunk/lifePreserver/main.cpp	2009-11-11 19:41:43 UTC (rev 4950)
+++ pcbsd/trunk/lifePreserver/main.cpp	2009-11-11 19:52:18 UTC (rev 4951)
@@ -31,7 +31,7 @@
 
     QTranslator translator( 0 );
     QLocale mylocale;
-    translator.load( QString("lifePreserver_") + QLocale::languageToString(mylocale.language()), "." );
+    translator.load( QString("lifePreserver_") + QLocale::languageToString(mylocale.language()), "/usr/PCBSD/lifePreserver/i18n/" );
     a.installTranslator( &translator );
 
     lifePreserver w; 



More information about the Commits mailing list