gdm2setup-0.5.3-gettext.patch 665 B

12345678910111213141516
  1. diff -up gdm2setup-0.5.3-lucid/gdm2/gdm2setup.py.i18n gdm2setup-0.5.3-lucid/gdm2/gdm2setup.py
  2. --- gdm2setup-0.5.3-lucid/gdm2/gdm2setup.py.i18n 2011-06-03 04:07:24.000000000 +0900
  3. +++ gdm2setup-0.5.3-lucid/gdm2/gdm2setup.py 2011-06-03 04:13:19.000000000 +0900
  4. @@ -23,6 +23,12 @@
  5. import gtk
  6. import os
  7. +import gettext
  8. +import locale
  9. +
  10. +for module in (gettext, locale):
  11. + module.bindtextdomain("gdm2setup", "/usr/share/locale")
  12. + module.textdomain("gdm2setup")
  13. ###TODO: replace all gconf calls with python-gconf support after the access issue is resolved with it.
  14. ### This is a temporary kludge that will be replaced as soon as the solution is available.