Ghini / ghini.desktop

plant collections manager (desktop version)
http://ghini.github.io/
GNU General Public License v2.0
24 stars 14 forks source link

review locale/gettext on osx #245

Open mfrasca opened 7 years ago

mfrasca commented 7 years ago

this section, I'm not so sure how to make it work properly on OSX:

import sys
if sys.platform in ['win32', 'darwin']:
    locale = gettext

try:
    import gtk.glade as gtkglade
except ImportError:
    gtkglade = locale

for module in locale, gtkglade:
    module.bindtextdomain(TEXT_DOMAIN, paths.locale_dir())
    module.textdomain(TEXT_DOMAIN)
mfrasca commented 7 years ago

@Christophe80, do you think you have some spare time to help about this one? no programming skills needed, just let me know what the software now does, if we can close the issue. I have no Mac at hand.