[PC-BSD Commits] r18430 - in pcbsd-projects/PCDM: . i18n

svn at pcbsd.org svn at pcbsd.org
Mon Aug 13 13:48:49 PDT 2012


Author: kenmoore
Date: 2012-08-13 20:48:48 +0000 (Mon, 13 Aug 2012)
New Revision: 18430

Added:
   pcbsd-projects/PCDM/i18n/
   pcbsd-projects/PCDM/i18n/PCDM_af.ts
   pcbsd-projects/PCDM/i18n/PCDM_ar.ts
   pcbsd-projects/PCDM/i18n/PCDM_az.ts
   pcbsd-projects/PCDM/i18n/PCDM_bg.ts
   pcbsd-projects/PCDM/i18n/PCDM_bn.ts
   pcbsd-projects/PCDM/i18n/PCDM_bs.ts
   pcbsd-projects/PCDM/i18n/PCDM_ca.ts
   pcbsd-projects/PCDM/i18n/PCDM_cs.ts
   pcbsd-projects/PCDM/i18n/PCDM_cy.ts
   pcbsd-projects/PCDM/i18n/PCDM_da.ts
   pcbsd-projects/PCDM/i18n/PCDM_de.ts
   pcbsd-projects/PCDM/i18n/PCDM_el.ts
   pcbsd-projects/PCDM/i18n/PCDM_en_GB.ts
   pcbsd-projects/PCDM/i18n/PCDM_en_ZA.ts
   pcbsd-projects/PCDM/i18n/PCDM_es.ts
   pcbsd-projects/PCDM/i18n/PCDM_et.ts
   pcbsd-projects/PCDM/i18n/PCDM_eu.ts
   pcbsd-projects/PCDM/i18n/PCDM_fa.ts
   pcbsd-projects/PCDM/i18n/PCDM_fi.ts
   pcbsd-projects/PCDM/i18n/PCDM_fr.ts
   pcbsd-projects/PCDM/i18n/PCDM_fr_CA.ts
   pcbsd-projects/PCDM/i18n/PCDM_fur.ts
   pcbsd-projects/PCDM/i18n/PCDM_gl.ts
   pcbsd-projects/PCDM/i18n/PCDM_he.ts
   pcbsd-projects/PCDM/i18n/PCDM_hi.ts
   pcbsd-projects/PCDM/i18n/PCDM_hr.ts
   pcbsd-projects/PCDM/i18n/PCDM_hu.ts
   pcbsd-projects/PCDM/i18n/PCDM_id.ts
   pcbsd-projects/PCDM/i18n/PCDM_is.ts
   pcbsd-projects/PCDM/i18n/PCDM_it.ts
   pcbsd-projects/PCDM/i18n/PCDM_ja.ts
   pcbsd-projects/PCDM/i18n/PCDM_ka.ts
   pcbsd-projects/PCDM/i18n/PCDM_ko.ts
   pcbsd-projects/PCDM/i18n/PCDM_lt.ts
   pcbsd-projects/PCDM/i18n/PCDM_lv.ts
   pcbsd-projects/PCDM/i18n/PCDM_mk.ts
   pcbsd-projects/PCDM/i18n/PCDM_mn.ts
   pcbsd-projects/PCDM/i18n/PCDM_ms.ts
   pcbsd-projects/PCDM/i18n/PCDM_mt.ts
   pcbsd-projects/PCDM/i18n/PCDM_nb.ts
   pcbsd-projects/PCDM/i18n/PCDM_ne.ts
   pcbsd-projects/PCDM/i18n/PCDM_nl.ts
   pcbsd-projects/PCDM/i18n/PCDM_pa.ts
   pcbsd-projects/PCDM/i18n/PCDM_pl.ts
   pcbsd-projects/PCDM/i18n/PCDM_pt.ts
   pcbsd-projects/PCDM/i18n/PCDM_pt_BR.ts
   pcbsd-projects/PCDM/i18n/PCDM_ro.ts
   pcbsd-projects/PCDM/i18n/PCDM_ru.ts
   pcbsd-projects/PCDM/i18n/PCDM_sk.ts
   pcbsd-projects/PCDM/i18n/PCDM_sl.ts
   pcbsd-projects/PCDM/i18n/PCDM_sr.ts
   pcbsd-projects/PCDM/i18n/PCDM_sv.ts
   pcbsd-projects/PCDM/i18n/PCDM_sw.ts
   pcbsd-projects/PCDM/i18n/PCDM_ta.ts
   pcbsd-projects/PCDM/i18n/PCDM_tg.ts
   pcbsd-projects/PCDM/i18n/PCDM_th.ts
   pcbsd-projects/PCDM/i18n/PCDM_tr.ts
   pcbsd-projects/PCDM/i18n/PCDM_uk.ts
   pcbsd-projects/PCDM/i18n/PCDM_uz.ts
   pcbsd-projects/PCDM/i18n/PCDM_vi.ts
   pcbsd-projects/PCDM/i18n/PCDM_zh_CN.ts
   pcbsd-projects/PCDM/i18n/PCDM_zh_HK.ts
   pcbsd-projects/PCDM/i18n/PCDM_zh_TW.ts
   pcbsd-projects/PCDM/i18n/PCDM_zu.ts
Modified:
   pcbsd-projects/PCDM/main.cpp
   pcbsd-projects/PCDM/pcdm-gui.cpp
   pcbsd-projects/PCDM/pcdm-gui.h
Log:
Setup the PCDM language detection method to be much more robust and always accurate.



Index: pcbsd-projects/PCDM/i18n/PCDM_af.ts
===================================================================
--- pcbsd-projects/PCDM/i18n/PCDM_af.ts	2012-08-13 18:37:11 UTC (rev 18429)
+++ pcbsd-projects/PCDM/i18n/PCDM_af.ts	2012-08-13 20:48:48 UTC (rev 18430)

Property changes on: pcbsd-projects/PCDM/i18n/PCDM_af.ts
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/xml
Index: pcbsd-projects/PCDM/i18n/PCDM_ar.ts
===================================================================
--- pcbsd-projects/PCDM/i18n/PCDM_ar.ts	2012-08-13 18:37:11 UTC (rev 18429)
+++ pcbsd-projects/PCDM/i18n/PCDM_ar.ts	2012-08-13 20:48:48 UTC (rev 18430)

Property changes on: pcbsd-projects/PCDM/i18n/PCDM_ar.ts
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/xml
Index: pcbsd-projects/PCDM/i18n/PCDM_az.ts
===================================================================
--- pcbsd-projects/PCDM/i18n/PCDM_az.ts	2012-08-13 18:37:11 UTC (rev 18429)
+++ pcbsd-projects/PCDM/i18n/PCDM_az.ts	2012-08-13 20:48:48 UTC (rev 18430)

Property changes on: pcbsd-projects/PCDM/i18n/PCDM_az.ts
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/xml
Index: pcbsd-projects/PCDM/i18n/PCDM_bg.ts
===================================================================
--- pcbsd-projects/PCDM/i18n/PCDM_bg.ts	2012-08-13 18:37:11 UTC (rev 18429)
+++ pcbsd-projects/PCDM/i18n/PCDM_bg.ts	2012-08-13 20:48:48 UTC (rev 18430)

Property changes on: pcbsd-projects/PCDM/i18n/PCDM_bg.ts
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/xml
Index: pcbsd-projects/PCDM/i18n/PCDM_bn.ts
===================================================================
--- pcbsd-projects/PCDM/i18n/PCDM_bn.ts	2012-08-13 18:37:11 UTC (rev 18429)
+++ pcbsd-projects/PCDM/i18n/PCDM_bn.ts	2012-08-13 20:48:48 UTC (rev 18430)

Property changes on: pcbsd-projects/PCDM/i18n/PCDM_bn.ts
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/xml
Index: pcbsd-projects/PCDM/i18n/PCDM_bs.ts
===================================================================
--- pcbsd-projects/PCDM/i18n/PCDM_bs.ts	2012-08-13 18:37:11 UTC (rev 18429)
+++ pcbsd-projects/PCDM/i18n/PCDM_bs.ts	2012-08-13 20:48:48 UTC (rev 18430)

Property changes on: pcbsd-projects/PCDM/i18n/PCDM_bs.ts
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/xml
Index: pcbsd-projects/PCDM/i18n/PCDM_ca.ts
===================================================================
--- pcbsd-projects/PCDM/i18n/PCDM_ca.ts	2012-08-13 18:37:11 UTC (rev 18429)
+++ pcbsd-projects/PCDM/i18n/PCDM_ca.ts	2012-08-13 20:48:48 UTC (rev 18430)

Property changes on: pcbsd-projects/PCDM/i18n/PCDM_ca.ts
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/xml
Index: pcbsd-projects/PCDM/i18n/PCDM_cs.ts
===================================================================
--- pcbsd-projects/PCDM/i18n/PCDM_cs.ts	2012-08-13 18:37:11 UTC (rev 18429)
+++ pcbsd-projects/PCDM/i18n/PCDM_cs.ts	2012-08-13 20:48:48 UTC (rev 18430)

Property changes on: pcbsd-projects/PCDM/i18n/PCDM_cs.ts
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/xml
Index: pcbsd-projects/PCDM/i18n/PCDM_cy.ts
===================================================================
--- pcbsd-projects/PCDM/i18n/PCDM_cy.ts	2012-08-13 18:37:11 UTC (rev 18429)
+++ pcbsd-projects/PCDM/i18n/PCDM_cy.ts	2012-08-13 20:48:48 UTC (rev 18430)

Property changes on: pcbsd-projects/PCDM/i18n/PCDM_cy.ts
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/xml
Index: pcbsd-projects/PCDM/i18n/PCDM_da.ts
===================================================================
--- pcbsd-projects/PCDM/i18n/PCDM_da.ts	2012-08-13 18:37:11 UTC (rev 18429)
+++ pcbsd-projects/PCDM/i18n/PCDM_da.ts	2012-08-13 20:48:48 UTC (rev 18430)

Property changes on: pcbsd-projects/PCDM/i18n/PCDM_da.ts
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/xml
Index: pcbsd-projects/PCDM/i18n/PCDM_de.ts
===================================================================
--- pcbsd-projects/PCDM/i18n/PCDM_de.ts	2012-08-13 18:37:11 UTC (rev 18429)
+++ pcbsd-projects/PCDM/i18n/PCDM_de.ts	2012-08-13 20:48:48 UTC (rev 18430)

Property changes on: pcbsd-projects/PCDM/i18n/PCDM_de.ts
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/xml
Index: pcbsd-projects/PCDM/i18n/PCDM_el.ts
===================================================================
--- pcbsd-projects/PCDM/i18n/PCDM_el.ts	2012-08-13 18:37:11 UTC (rev 18429)
+++ pcbsd-projects/PCDM/i18n/PCDM_el.ts	2012-08-13 20:48:48 UTC (rev 18430)

Property changes on: pcbsd-projects/PCDM/i18n/PCDM_el.ts
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/xml
Index: pcbsd-projects/PCDM/i18n/PCDM_en_GB.ts
===================================================================
--- pcbsd-projects/PCDM/i18n/PCDM_en_GB.ts	2012-08-13 18:37:11 UTC (rev 18429)
+++ pcbsd-projects/PCDM/i18n/PCDM_en_GB.ts	2012-08-13 20:48:48 UTC (rev 18430)

Property changes on: pcbsd-projects/PCDM/i18n/PCDM_en_GB.ts
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/xml
Index: pcbsd-projects/PCDM/i18n/PCDM_en_ZA.ts
===================================================================
--- pcbsd-projects/PCDM/i18n/PCDM_en_ZA.ts	2012-08-13 18:37:11 UTC (rev 18429)
+++ pcbsd-projects/PCDM/i18n/PCDM_en_ZA.ts	2012-08-13 20:48:48 UTC (rev 18430)

Property changes on: pcbsd-projects/PCDM/i18n/PCDM_en_ZA.ts
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/xml
Index: pcbsd-projects/PCDM/i18n/PCDM_es.ts
===================================================================
--- pcbsd-projects/PCDM/i18n/PCDM_es.ts	2012-08-13 18:37:11 UTC (rev 18429)
+++ pcbsd-projects/PCDM/i18n/PCDM_es.ts	2012-08-13 20:48:48 UTC (rev 18430)

Property changes on: pcbsd-projects/PCDM/i18n/PCDM_es.ts
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/xml
Index: pcbsd-projects/PCDM/i18n/PCDM_et.ts
===================================================================
--- pcbsd-projects/PCDM/i18n/PCDM_et.ts	2012-08-13 18:37:11 UTC (rev 18429)
+++ pcbsd-projects/PCDM/i18n/PCDM_et.ts	2012-08-13 20:48:48 UTC (rev 18430)

Property changes on: pcbsd-projects/PCDM/i18n/PCDM_et.ts
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/xml
Index: pcbsd-projects/PCDM/i18n/PCDM_eu.ts
===================================================================
--- pcbsd-projects/PCDM/i18n/PCDM_eu.ts	2012-08-13 18:37:11 UTC (rev 18429)
+++ pcbsd-projects/PCDM/i18n/PCDM_eu.ts	2012-08-13 20:48:48 UTC (rev 18430)

Property changes on: pcbsd-projects/PCDM/i18n/PCDM_eu.ts
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/xml
Index: pcbsd-projects/PCDM/i18n/PCDM_fa.ts
===================================================================
--- pcbsd-projects/PCDM/i18n/PCDM_fa.ts	2012-08-13 18:37:11 UTC (rev 18429)
+++ pcbsd-projects/PCDM/i18n/PCDM_fa.ts	2012-08-13 20:48:48 UTC (rev 18430)

Property changes on: pcbsd-projects/PCDM/i18n/PCDM_fa.ts
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/xml
Index: pcbsd-projects/PCDM/i18n/PCDM_fi.ts
===================================================================
--- pcbsd-projects/PCDM/i18n/PCDM_fi.ts	2012-08-13 18:37:11 UTC (rev 18429)
+++ pcbsd-projects/PCDM/i18n/PCDM_fi.ts	2012-08-13 20:48:48 UTC (rev 18430)

Property changes on: pcbsd-projects/PCDM/i18n/PCDM_fi.ts
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/xml
Index: pcbsd-projects/PCDM/i18n/PCDM_fr.ts
===================================================================
--- pcbsd-projects/PCDM/i18n/PCDM_fr.ts	2012-08-13 18:37:11 UTC (rev 18429)
+++ pcbsd-projects/PCDM/i18n/PCDM_fr.ts	2012-08-13 20:48:48 UTC (rev 18430)

Property changes on: pcbsd-projects/PCDM/i18n/PCDM_fr.ts
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/xml
Index: pcbsd-projects/PCDM/i18n/PCDM_fr_CA.ts
===================================================================
--- pcbsd-projects/PCDM/i18n/PCDM_fr_CA.ts	2012-08-13 18:37:11 UTC (rev 18429)
+++ pcbsd-projects/PCDM/i18n/PCDM_fr_CA.ts	2012-08-13 20:48:48 UTC (rev 18430)

Property changes on: pcbsd-projects/PCDM/i18n/PCDM_fr_CA.ts
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/xml
Index: pcbsd-projects/PCDM/i18n/PCDM_fur.ts
===================================================================
--- pcbsd-projects/PCDM/i18n/PCDM_fur.ts	2012-08-13 18:37:11 UTC (rev 18429)
+++ pcbsd-projects/PCDM/i18n/PCDM_fur.ts	2012-08-13 20:48:48 UTC (rev 18430)

Property changes on: pcbsd-projects/PCDM/i18n/PCDM_fur.ts
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/xml
Index: pcbsd-projects/PCDM/i18n/PCDM_gl.ts
===================================================================
--- pcbsd-projects/PCDM/i18n/PCDM_gl.ts	2012-08-13 18:37:11 UTC (rev 18429)
+++ pcbsd-projects/PCDM/i18n/PCDM_gl.ts	2012-08-13 20:48:48 UTC (rev 18430)

Property changes on: pcbsd-projects/PCDM/i18n/PCDM_gl.ts
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/xml
Index: pcbsd-projects/PCDM/i18n/PCDM_he.ts
===================================================================
--- pcbsd-projects/PCDM/i18n/PCDM_he.ts	2012-08-13 18:37:11 UTC (rev 18429)
+++ pcbsd-projects/PCDM/i18n/PCDM_he.ts	2012-08-13 20:48:48 UTC (rev 18430)

Property changes on: pcbsd-projects/PCDM/i18n/PCDM_he.ts
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/xml
Index: pcbsd-projects/PCDM/i18n/PCDM_hi.ts
===================================================================
--- pcbsd-projects/PCDM/i18n/PCDM_hi.ts	2012-08-13 18:37:11 UTC (rev 18429)
+++ pcbsd-projects/PCDM/i18n/PCDM_hi.ts	2012-08-13 20:48:48 UTC (rev 18430)

Property changes on: pcbsd-projects/PCDM/i18n/PCDM_hi.ts
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/xml
Index: pcbsd-projects/PCDM/i18n/PCDM_hr.ts
===================================================================
--- pcbsd-projects/PCDM/i18n/PCDM_hr.ts	2012-08-13 18:37:11 UTC (rev 18429)
+++ pcbsd-projects/PCDM/i18n/PCDM_hr.ts	2012-08-13 20:48:48 UTC (rev 18430)

Property changes on: pcbsd-projects/PCDM/i18n/PCDM_hr.ts
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/xml
Index: pcbsd-projects/PCDM/i18n/PCDM_hu.ts
===================================================================
--- pcbsd-projects/PCDM/i18n/PCDM_hu.ts	2012-08-13 18:37:11 UTC (rev 18429)
+++ pcbsd-projects/PCDM/i18n/PCDM_hu.ts	2012-08-13 20:48:48 UTC (rev 18430)

Property changes on: pcbsd-projects/PCDM/i18n/PCDM_hu.ts
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/xml
Index: pcbsd-projects/PCDM/i18n/PCDM_id.ts
===================================================================
--- pcbsd-projects/PCDM/i18n/PCDM_id.ts	2012-08-13 18:37:11 UTC (rev 18429)
+++ pcbsd-projects/PCDM/i18n/PCDM_id.ts	2012-08-13 20:48:48 UTC (rev 18430)

Property changes on: pcbsd-projects/PCDM/i18n/PCDM_id.ts
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/xml
Index: pcbsd-projects/PCDM/i18n/PCDM_is.ts
===================================================================
--- pcbsd-projects/PCDM/i18n/PCDM_is.ts	2012-08-13 18:37:11 UTC (rev 18429)
+++ pcbsd-projects/PCDM/i18n/PCDM_is.ts	2012-08-13 20:48:48 UTC (rev 18430)

Property changes on: pcbsd-projects/PCDM/i18n/PCDM_is.ts
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/xml
Index: pcbsd-projects/PCDM/i18n/PCDM_it.ts
===================================================================
--- pcbsd-projects/PCDM/i18n/PCDM_it.ts	2012-08-13 18:37:11 UTC (rev 18429)
+++ pcbsd-projects/PCDM/i18n/PCDM_it.ts	2012-08-13 20:48:48 UTC (rev 18430)

Property changes on: pcbsd-projects/PCDM/i18n/PCDM_it.ts
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/xml
Index: pcbsd-projects/PCDM/i18n/PCDM_ja.ts
===================================================================
--- pcbsd-projects/PCDM/i18n/PCDM_ja.ts	2012-08-13 18:37:11 UTC (rev 18429)
+++ pcbsd-projects/PCDM/i18n/PCDM_ja.ts	2012-08-13 20:48:48 UTC (rev 18430)

Property changes on: pcbsd-projects/PCDM/i18n/PCDM_ja.ts
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/xml
Index: pcbsd-projects/PCDM/i18n/PCDM_ka.ts
===================================================================
--- pcbsd-projects/PCDM/i18n/PCDM_ka.ts	2012-08-13 18:37:11 UTC (rev 18429)
+++ pcbsd-projects/PCDM/i18n/PCDM_ka.ts	2012-08-13 20:48:48 UTC (rev 18430)

Property changes on: pcbsd-projects/PCDM/i18n/PCDM_ka.ts
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/xml
Index: pcbsd-projects/PCDM/i18n/PCDM_ko.ts
===================================================================
--- pcbsd-projects/PCDM/i18n/PCDM_ko.ts	2012-08-13 18:37:11 UTC (rev 18429)
+++ pcbsd-projects/PCDM/i18n/PCDM_ko.ts	2012-08-13 20:48:48 UTC (rev 18430)

Property changes on: pcbsd-projects/PCDM/i18n/PCDM_ko.ts
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/xml
Index: pcbsd-projects/PCDM/i18n/PCDM_lt.ts
===================================================================
--- pcbsd-projects/PCDM/i18n/PCDM_lt.ts	2012-08-13 18:37:11 UTC (rev 18429)
+++ pcbsd-projects/PCDM/i18n/PCDM_lt.ts	2012-08-13 20:48:48 UTC (rev 18430)

Property changes on: pcbsd-projects/PCDM/i18n/PCDM_lt.ts
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/xml
Index: pcbsd-projects/PCDM/i18n/PCDM_lv.ts
===================================================================
--- pcbsd-projects/PCDM/i18n/PCDM_lv.ts	2012-08-13 18:37:11 UTC (rev 18429)
+++ pcbsd-projects/PCDM/i18n/PCDM_lv.ts	2012-08-13 20:48:48 UTC (rev 18430)

Property changes on: pcbsd-projects/PCDM/i18n/PCDM_lv.ts
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/xml
Index: pcbsd-projects/PCDM/i18n/PCDM_mk.ts
===================================================================
--- pcbsd-projects/PCDM/i18n/PCDM_mk.ts	2012-08-13 18:37:11 UTC (rev 18429)
+++ pcbsd-projects/PCDM/i18n/PCDM_mk.ts	2012-08-13 20:48:48 UTC (rev 18430)

Property changes on: pcbsd-projects/PCDM/i18n/PCDM_mk.ts
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/xml
Index: pcbsd-projects/PCDM/i18n/PCDM_mn.ts
===================================================================
--- pcbsd-projects/PCDM/i18n/PCDM_mn.ts	2012-08-13 18:37:11 UTC (rev 18429)
+++ pcbsd-projects/PCDM/i18n/PCDM_mn.ts	2012-08-13 20:48:48 UTC (rev 18430)

Property changes on: pcbsd-projects/PCDM/i18n/PCDM_mn.ts
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/xml
Index: pcbsd-projects/PCDM/i18n/PCDM_ms.ts
===================================================================
--- pcbsd-projects/PCDM/i18n/PCDM_ms.ts	2012-08-13 18:37:11 UTC (rev 18429)
+++ pcbsd-projects/PCDM/i18n/PCDM_ms.ts	2012-08-13 20:48:48 UTC (rev 18430)

Property changes on: pcbsd-projects/PCDM/i18n/PCDM_ms.ts
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/xml
Index: pcbsd-projects/PCDM/i18n/PCDM_mt.ts
===================================================================
--- pcbsd-projects/PCDM/i18n/PCDM_mt.ts	2012-08-13 18:37:11 UTC (rev 18429)
+++ pcbsd-projects/PCDM/i18n/PCDM_mt.ts	2012-08-13 20:48:48 UTC (rev 18430)

Property changes on: pcbsd-projects/PCDM/i18n/PCDM_mt.ts
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/xml
Index: pcbsd-projects/PCDM/i18n/PCDM_nb.ts
===================================================================
--- pcbsd-projects/PCDM/i18n/PCDM_nb.ts	2012-08-13 18:37:11 UTC (rev 18429)
+++ pcbsd-projects/PCDM/i18n/PCDM_nb.ts	2012-08-13 20:48:48 UTC (rev 18430)

Property changes on: pcbsd-projects/PCDM/i18n/PCDM_nb.ts
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/xml
Index: pcbsd-projects/PCDM/i18n/PCDM_ne.ts
===================================================================
--- pcbsd-projects/PCDM/i18n/PCDM_ne.ts	2012-08-13 18:37:11 UTC (rev 18429)
+++ pcbsd-projects/PCDM/i18n/PCDM_ne.ts	2012-08-13 20:48:48 UTC (rev 18430)

Property changes on: pcbsd-projects/PCDM/i18n/PCDM_ne.ts
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/xml
Index: pcbsd-projects/PCDM/i18n/PCDM_nl.ts
===================================================================
--- pcbsd-projects/PCDM/i18n/PCDM_nl.ts	2012-08-13 18:37:11 UTC (rev 18429)
+++ pcbsd-projects/PCDM/i18n/PCDM_nl.ts	2012-08-13 20:48:48 UTC (rev 18430)

Property changes on: pcbsd-projects/PCDM/i18n/PCDM_nl.ts
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/xml
Index: pcbsd-projects/PCDM/i18n/PCDM_pa.ts
===================================================================
--- pcbsd-projects/PCDM/i18n/PCDM_pa.ts	2012-08-13 18:37:11 UTC (rev 18429)
+++ pcbsd-projects/PCDM/i18n/PCDM_pa.ts	2012-08-13 20:48:48 UTC (rev 18430)

Property changes on: pcbsd-projects/PCDM/i18n/PCDM_pa.ts
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/xml
Index: pcbsd-projects/PCDM/i18n/PCDM_pl.ts
===================================================================
--- pcbsd-projects/PCDM/i18n/PCDM_pl.ts	2012-08-13 18:37:11 UTC (rev 18429)
+++ pcbsd-projects/PCDM/i18n/PCDM_pl.ts	2012-08-13 20:48:48 UTC (rev 18430)

Property changes on: pcbsd-projects/PCDM/i18n/PCDM_pl.ts
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/xml
Index: pcbsd-projects/PCDM/i18n/PCDM_pt.ts
===================================================================
--- pcbsd-projects/PCDM/i18n/PCDM_pt.ts	2012-08-13 18:37:11 UTC (rev 18429)
+++ pcbsd-projects/PCDM/i18n/PCDM_pt.ts	2012-08-13 20:48:48 UTC (rev 18430)

Property changes on: pcbsd-projects/PCDM/i18n/PCDM_pt.ts
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/xml
Index: pcbsd-projects/PCDM/i18n/PCDM_pt_BR.ts
===================================================================
--- pcbsd-projects/PCDM/i18n/PCDM_pt_BR.ts	2012-08-13 18:37:11 UTC (rev 18429)
+++ pcbsd-projects/PCDM/i18n/PCDM_pt_BR.ts	2012-08-13 20:48:48 UTC (rev 18430)

Property changes on: pcbsd-projects/PCDM/i18n/PCDM_pt_BR.ts
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/xml
Index: pcbsd-projects/PCDM/i18n/PCDM_ro.ts
===================================================================
--- pcbsd-projects/PCDM/i18n/PCDM_ro.ts	2012-08-13 18:37:11 UTC (rev 18429)
+++ pcbsd-projects/PCDM/i18n/PCDM_ro.ts	2012-08-13 20:48:48 UTC (rev 18430)

Property changes on: pcbsd-projects/PCDM/i18n/PCDM_ro.ts
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/xml
Index: pcbsd-projects/PCDM/i18n/PCDM_ru.ts
===================================================================
--- pcbsd-projects/PCDM/i18n/PCDM_ru.ts	2012-08-13 18:37:11 UTC (rev 18429)
+++ pcbsd-projects/PCDM/i18n/PCDM_ru.ts	2012-08-13 20:48:48 UTC (rev 18430)

Property changes on: pcbsd-projects/PCDM/i18n/PCDM_ru.ts
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/xml
Index: pcbsd-projects/PCDM/i18n/PCDM_sk.ts
===================================================================
--- pcbsd-projects/PCDM/i18n/PCDM_sk.ts	2012-08-13 18:37:11 UTC (rev 18429)
+++ pcbsd-projects/PCDM/i18n/PCDM_sk.ts	2012-08-13 20:48:48 UTC (rev 18430)

Property changes on: pcbsd-projects/PCDM/i18n/PCDM_sk.ts
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/xml
Index: pcbsd-projects/PCDM/i18n/PCDM_sl.ts
===================================================================
--- pcbsd-projects/PCDM/i18n/PCDM_sl.ts	2012-08-13 18:37:11 UTC (rev 18429)
+++ pcbsd-projects/PCDM/i18n/PCDM_sl.ts	2012-08-13 20:48:48 UTC (rev 18430)

Property changes on: pcbsd-projects/PCDM/i18n/PCDM_sl.ts
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/xml
Index: pcbsd-projects/PCDM/i18n/PCDM_sr.ts
===================================================================
--- pcbsd-projects/PCDM/i18n/PCDM_sr.ts	2012-08-13 18:37:11 UTC (rev 18429)
+++ pcbsd-projects/PCDM/i18n/PCDM_sr.ts	2012-08-13 20:48:48 UTC (rev 18430)

Property changes on: pcbsd-projects/PCDM/i18n/PCDM_sr.ts
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/xml
Index: pcbsd-projects/PCDM/i18n/PCDM_sv.ts
===================================================================
--- pcbsd-projects/PCDM/i18n/PCDM_sv.ts	2012-08-13 18:37:11 UTC (rev 18429)
+++ pcbsd-projects/PCDM/i18n/PCDM_sv.ts	2012-08-13 20:48:48 UTC (rev 18430)

Property changes on: pcbsd-projects/PCDM/i18n/PCDM_sv.ts
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/xml
Index: pcbsd-projects/PCDM/i18n/PCDM_sw.ts
===================================================================
--- pcbsd-projects/PCDM/i18n/PCDM_sw.ts	2012-08-13 18:37:11 UTC (rev 18429)
+++ pcbsd-projects/PCDM/i18n/PCDM_sw.ts	2012-08-13 20:48:48 UTC (rev 18430)

Property changes on: pcbsd-projects/PCDM/i18n/PCDM_sw.ts
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/xml
Index: pcbsd-projects/PCDM/i18n/PCDM_ta.ts
===================================================================
--- pcbsd-projects/PCDM/i18n/PCDM_ta.ts	2012-08-13 18:37:11 UTC (rev 18429)
+++ pcbsd-projects/PCDM/i18n/PCDM_ta.ts	2012-08-13 20:48:48 UTC (rev 18430)

Property changes on: pcbsd-projects/PCDM/i18n/PCDM_ta.ts
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/xml
Index: pcbsd-projects/PCDM/i18n/PCDM_tg.ts
===================================================================
--- pcbsd-projects/PCDM/i18n/PCDM_tg.ts	2012-08-13 18:37:11 UTC (rev 18429)
+++ pcbsd-projects/PCDM/i18n/PCDM_tg.ts	2012-08-13 20:48:48 UTC (rev 18430)

Property changes on: pcbsd-projects/PCDM/i18n/PCDM_tg.ts
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/xml
Index: pcbsd-projects/PCDM/i18n/PCDM_th.ts
===================================================================
--- pcbsd-projects/PCDM/i18n/PCDM_th.ts	2012-08-13 18:37:11 UTC (rev 18429)
+++ pcbsd-projects/PCDM/i18n/PCDM_th.ts	2012-08-13 20:48:48 UTC (rev 18430)

Property changes on: pcbsd-projects/PCDM/i18n/PCDM_th.ts
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/xml
Index: pcbsd-projects/PCDM/i18n/PCDM_tr.ts
===================================================================
--- pcbsd-projects/PCDM/i18n/PCDM_tr.ts	2012-08-13 18:37:11 UTC (rev 18429)
+++ pcbsd-projects/PCDM/i18n/PCDM_tr.ts	2012-08-13 20:48:48 UTC (rev 18430)

Property changes on: pcbsd-projects/PCDM/i18n/PCDM_tr.ts
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/xml
Index: pcbsd-projects/PCDM/i18n/PCDM_uk.ts
===================================================================
--- pcbsd-projects/PCDM/i18n/PCDM_uk.ts	2012-08-13 18:37:11 UTC (rev 18429)
+++ pcbsd-projects/PCDM/i18n/PCDM_uk.ts	2012-08-13 20:48:48 UTC (rev 18430)

Property changes on: pcbsd-projects/PCDM/i18n/PCDM_uk.ts
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/xml
Index: pcbsd-projects/PCDM/i18n/PCDM_uz.ts
===================================================================
--- pcbsd-projects/PCDM/i18n/PCDM_uz.ts	2012-08-13 18:37:11 UTC (rev 18429)
+++ pcbsd-projects/PCDM/i18n/PCDM_uz.ts	2012-08-13 20:48:48 UTC (rev 18430)

Property changes on: pcbsd-projects/PCDM/i18n/PCDM_uz.ts
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/xml
Index: pcbsd-projects/PCDM/i18n/PCDM_vi.ts
===================================================================
--- pcbsd-projects/PCDM/i18n/PCDM_vi.ts	2012-08-13 18:37:11 UTC (rev 18429)
+++ pcbsd-projects/PCDM/i18n/PCDM_vi.ts	2012-08-13 20:48:48 UTC (rev 18430)

Property changes on: pcbsd-projects/PCDM/i18n/PCDM_vi.ts
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/xml
Index: pcbsd-projects/PCDM/i18n/PCDM_zh_CN.ts
===================================================================
--- pcbsd-projects/PCDM/i18n/PCDM_zh_CN.ts	2012-08-13 18:37:11 UTC (rev 18429)
+++ pcbsd-projects/PCDM/i18n/PCDM_zh_CN.ts	2012-08-13 20:48:48 UTC (rev 18430)

Property changes on: pcbsd-projects/PCDM/i18n/PCDM_zh_CN.ts
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/xml
Index: pcbsd-projects/PCDM/i18n/PCDM_zh_HK.ts
===================================================================
--- pcbsd-projects/PCDM/i18n/PCDM_zh_HK.ts	2012-08-13 18:37:11 UTC (rev 18429)
+++ pcbsd-projects/PCDM/i18n/PCDM_zh_HK.ts	2012-08-13 20:48:48 UTC (rev 18430)

Property changes on: pcbsd-projects/PCDM/i18n/PCDM_zh_HK.ts
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/xml
Index: pcbsd-projects/PCDM/i18n/PCDM_zh_TW.ts
===================================================================
--- pcbsd-projects/PCDM/i18n/PCDM_zh_TW.ts	2012-08-13 18:37:11 UTC (rev 18429)
+++ pcbsd-projects/PCDM/i18n/PCDM_zh_TW.ts	2012-08-13 20:48:48 UTC (rev 18430)

Property changes on: pcbsd-projects/PCDM/i18n/PCDM_zh_TW.ts
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/xml
Index: pcbsd-projects/PCDM/i18n/PCDM_zu.ts
===================================================================
--- pcbsd-projects/PCDM/i18n/PCDM_zu.ts	2012-08-13 18:37:11 UTC (rev 18429)
+++ pcbsd-projects/PCDM/i18n/PCDM_zu.ts	2012-08-13 20:48:48 UTC (rev 18430)

Property changes on: pcbsd-projects/PCDM/i18n/PCDM_zu.ts
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/xml
Modified: pcbsd-projects/PCDM/main.cpp
===================================================================
--- pcbsd-projects/PCDM/main.cpp	2012-08-13 18:37:11 UTC (rev 18429)
+++ pcbsd-projects/PCDM/main.cpp	2012-08-13 20:48:48 UTC (rev 18430)
@@ -15,8 +15,18 @@
 int main(int argc, char *argv[])
 {
     int returnCode;
-    QString changeLang;
+    QString changeLang; 
+    
+    //Load the configuration file
+    Config::loadConfigFile("/usr/local/share/PCDM/pcdm.conf");
+    //Load the Desired Theme
+    Theme::loadTheme(Config::themeFile());
 
+    // Start a loop to watch for language changes
+    for ( ;; )
+    {
+      QApplication a(argc,argv);
+
       // Check what directory our app is in
       QString appDir;
       if ( QFile::exists("/usr/local/bin/PCDM") ){
@@ -24,17 +34,7 @@
       } else {
         appDir = QCoreApplication::applicationDirPath();
       }
-
-    //Load the configuration file
-    Config::loadConfigFile(appDir+"/pcdm.conf");
-    //Load the Desired Theme
-    Theme::loadTheme(Config::themeFile());
-
-    // Start a loop to watch for language changes
-    for ( ;; )
-    {
-      QApplication a(argc, argv);
-
+      
       QTranslator translator;
       QLocale mylocale;
       QString langCode = mylocale.name();

Modified: pcbsd-projects/PCDM/pcdm-gui.cpp
===================================================================
--- pcbsd-projects/PCDM/pcdm-gui.cpp	2012-08-13 18:37:11 UTC (rev 18429)
+++ pcbsd-projects/PCDM/pcdm-gui.cpp	2012-08-13 20:48:48 UTC (rev 18430)
@@ -1,6 +1,7 @@
 #include <QProcess>
 #include <QTimer>
 #include <QGraphicsPixmapItem>
+#include <QStyle>
 
 #include "pcdm-gui.h"
 #include "pcdm-backend.h"
@@ -287,25 +288,33 @@
 }
 
 void PCDMgui::slotChangeLocale(){
-  //Get the available languages and codes
-  QStringList lang,lcode,ltot;
-  ltot = Backend::languages();
-  //qDebug() << ltot;
-  for(int i=0; i<ltot.length(); i++){
-      lang << ltot[i].section("-",0,0).simplified();
-      lcode << ltot[i].section("-",1,1).section("(",1,1).section(")",0,0).simplified();
-  }
   //Open the selector
-  wLoc = new widgetLocale();
-  wLoc->programInit(lang,lcode);
+  wLoc = new widgetLocale(this);
   wLoc->setWindowModality(Qt::ApplicationModal);
   wLoc->show();
   wLoc->raise();
 
   //Connect the language changed signal
-  connect(wLoc,SIGNAL(languageChanged()),this,SLOT(slotClosePCDM()) );
+  connect(wLoc,SIGNAL(languageChanged(QString)),this,SLOT(slotLocaleChanged(QString)) );
 }
 
+void PCDMgui::slotLocaleChanged(QString langCode){
+  qDebug() << "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);
+  //this->setLocale(locale);
+}
+
 void PCDMgui::slotChangeKeyboardLayout(){
   wKey = new widgetKeyboard();
   wKey->programInit(kModels, kLayouts);

Modified: pcbsd-projects/PCDM/pcdm-gui.h
===================================================================
--- pcbsd-projects/PCDM/pcdm-gui.h	2012-08-13 18:37:11 UTC (rev 18429)
+++ pcbsd-projects/PCDM/pcdm-gui.h	2012-08-13 20:48:48 UTC (rev 18430)
@@ -43,6 +43,7 @@
     void slotChangeLocale();
     void slotChangeKeyboardLayout();
     void slotPushVirtKeyboard();    // Start xvkbd
+    void slotLocaleChanged(QString);
 
 private:
     //Objects



More information about the Commits mailing list