Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

ADD: Directory for patches from contributors

git-svn-id: http://svn.softwarepublico.gov.br/svn/invesalius/invesalius3/trunk@1866 e1d098d0-f32f-0410-9823-cb12c6f6c872
  • Loading branch information...
commit eea37c92930f1ad8b065012b1e0434356df75b15 1 parent d6f2488
tatiana.alchueyr@gmail.com authored
Showing with 18 additions and 0 deletions.
  1. +2 −0  contrib/ABOUT
  2. +16 −0 contrib/mandriva-locale.patch
2  contrib/ABOUT
View
@@ -0,0 +1,2 @@
+# date:2010-04-01 owner:pcpa type:i18n
+Patch01: mandriva-locale.patch
16 contrib/mandriva-locale.patch
View
@@ -0,0 +1,16 @@
+diff -p -up invesalius3/invesalius/i18n.py.orig invesalius3/invesalius/i18n.py
+--- invesalius3/invesalius/i18n.py.orig 2010-04-01 15:55:04.292973825 -0300
++++ invesalius3/invesalius/i18n.py 2010-04-01 15:56:13.863615536 -0300
+@@ -45,8 +45,10 @@ def GetLocaleOS():
+ if sys.platform == 'darwin':
+ locale.setlocale(locale.LC_ALL, "")
+ return locale.getlocale()[0]
+-
+- return locale.getdefaultlocale()[0]
++ lc = locale.getdefaultlocale()[0]
++ if lc:
++ return lc
++ return 'en'
+
+ def InstallLanguage(language):
+ language_dir = os.path.abspath(os.path.join('..','locale'))
Please sign in to comment.
Something went wrong with that request. Please try again.