source: projects/specs/branches/6/g/gdm2setup/gdm2setup-0.5.3-gettext.patch @ 4019

Revision 4019, 665 bytes checked in by daisuke, 13 years ago (diff)

gdm2setup: new package

  • gdm2setup-0.5.3-lucid/gdm2/gdm2setup.py

    diff -up gdm2setup-0.5.3-lucid/gdm2/gdm2setup.py.i18n gdm2setup-0.5.3-lucid/gdm2/gdm2setup.py
    old new  
    2323 
    2424import gtk 
    2525import os 
     26import gettext 
     27import locale 
     28 
     29for module in (gettext, locale): 
     30    module.bindtextdomain("gdm2setup", "/usr/share/locale") 
     31    module.textdomain("gdm2setup") 
    2632 
    2733###TODO: replace all gconf calls with python-gconf support after the access issue is resolved with it. 
    2834### This is a temporary kludge that will be replaced as soon as the solution is available. 
Note: See TracBrowser for help on using the repository browser.