ports/editors/scribes/files/patch-gettext
2007-03-22 08:04:07 +00:00

12 lines
466 B
Text

--- SCRIBES/InstanceManager.py Thu Mar 22 08:44:46 2007
+++ SCRIBES/InstanceManager.py Thu Mar 22 08:45:08 2007
@@ -356,7 +356,8 @@
locale_folder = path.join(scribes_data_path, "locale")
# Initialize glade first.
try:
- from locale import setlocale, LC_ALL, Error, bindtextdomain
+ from locale import setlocale, LC_ALL, Error
+ from gettext import bindtextdomain
bindtextdomain("scribes", locale_folder)
setlocale(LC_ALL, "")
except Error: