summaryrefslogtreecommitdiff
path: root/editors/scribes/files/patch-gettext
blob: 48a9b24801cf81dc8ecae76d8fa2a728b09d8b0b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
--- 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: