Unable to change language from preferences menu

Bug #696272 reported by Niels Horn
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
KiCad
Fix Released
Undecided
Unassigned

Bug Description

Just built stable revision from 2010/12/23 and I can't change the language in Preferences.
Building w/ "debug" gives a message that the language is not supported on the system.

This patch solves it: (partly reverting revision 2543):

--- kicad-bzr_20101223_orig/common/edaappl.cpp 2011-01-01 14:30:14.000000000 -0200
+++ kicad-bzr_20101223/common/edaappl.cpp 2011-01-01 14:29:33.000000000 -0200
@@ -680,7 +680,7 @@
         delete m_Locale;
     m_Locale = new wxLocale;

- if( !m_Locale->Init( m_LanguageId ) )
+ if( !m_Locale->Init( m_LanguageId, wxLOCALE_CONV_ENCODING ) )
     {
         wxLogDebug( wxT("This language is not supported by the system.") );

Thanks,

Niels

Revision history for this message
jean-pierre charras (jp-charras) wrote :

Committed in rev 2705

Changed in kicad:
status: New → Fix Committed
Jon Neal (reportingsjr)
Changed in kicad:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.