Commit ccf02f8373fd09789d0916ae75a1795b9a24e8e7

Authored by Paulo Henrique Junqueira Amorim
1 parent c6026466
Exists in master

FIX: Fixed problem 'Failed to execute script app #130'

Showing 1 changed file with 8 additions and 6 deletions   Show diff stats
@@ -193,12 +193,14 @@ class Inv3SplashScreen(SplashScreen): @@ -193,12 +193,14 @@ class Inv3SplashScreen(SplashScreen):
193 # Only after language was defined, splash screen will be 193 # Only after language was defined, splash screen will be
194 # shown 194 # shown
195 if lang: 195 if lang:
196 - # print "LANG", lang, _, wx.Locale(), wx.GetLocale()  
197 - import locale  
198 - try:  
199 - locale.setlocale(locale.LC_ALL, '')  
200 - except locale.Error:  
201 - pass 196 +
  197 + #import locale
  198 + #try:
  199 + # locale.setlocale(locale.LC_ALL, '')
  200 + #except locale.Error:
  201 + # pass
  202 +
  203 +
202 # For pt_BR, splash_pt.png should be used 204 # For pt_BR, splash_pt.png should be used
203 if (lang.startswith('pt')): 205 if (lang.startswith('pt')):
204 icon_file = "splash_pt.png" 206 icon_file = "splash_pt.png"