27 lines
1005 B
Plaintext
27 lines
1005 B
Plaintext
$OpenBSD: patch-src_gramps_py,v 1.1 2010/05/07 17:48:54 jasper Exp $
|
|
--- src/gramps.py.orig Wed Apr 21 09:07:02 2010
|
|
+++ src/gramps.py Wed Apr 21 09:08:01 2010
|
|
@@ -67,14 +67,14 @@ except ValueError:
|
|
gettext.textdomain(TransUtils.LOCALEDOMAIN)
|
|
gettext.install(TransUtils.LOCALEDOMAIN, localedir=None, unicode=1) #None is sys default locale
|
|
|
|
-if not constfunc.win():
|
|
- try:
|
|
- locale.bindtextdomain(TransUtils.LOCALEDOMAIN, TransUtils.LOCALEDIR)
|
|
- #locale.textdomain(TransUtils.LOCALEDOMAIN)
|
|
- except locale.Error:
|
|
- print 'No translation in some gtk.Builder strings, '
|
|
-else:
|
|
- TransUtils.setup_windows_gettext()
|
|
+#if not constfunc.win():
|
|
+# try:
|
|
+# locale.bindtextdomain(TransUtils.LOCALEDOMAIN, TransUtils.LOCALEDIR)
|
|
+# #locale.textdomain(TransUtils.LOCALEDOMAIN)
|
|
+# except locale.Error:
|
|
+# print 'No translation in some gtk.Builder strings, '
|
|
+#else:
|
|
+# TransUtils.setup_windows_gettext()
|
|
|
|
LOG.debug('Using locale:', locale.getlocale())
|
|
|