summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeng Wu <alexepico@gmail.com>2017-01-11 10:39:24 +0800
committerPeng Wu <alexepico@gmail.com>2017-01-11 10:39:24 +0800
commit9b70b77d73333486fce7d598749d2431d5cbdb12 (patch)
tree02ee8c889d98905fd160df78c1ea555c35ee81bb
parent0871fa0eb228af0abee03421f91256a779de4316 (diff)
downloadibus-libpinyin-9b70b77d73333486fce7d598749d2431d5cbdb12.tar.gz
fixes a typo
-rw-r--r--setup/main2.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/setup/main2.py b/setup/main2.py
index a3a550a..4af9290 100644
--- a/setup/main2.py
+++ b/setup/main2.py
@@ -70,7 +70,7 @@ class PreferencesDialog:
self.__bus = IBus.Bus()
self.__config = self.__bus.get_config()
self.__builder = Gtk.Builder()
- self.__builder.set_translation_domain("ibus-libpinyin")
+ self.__builder.set_translation_domain(DOMAINNAME)
self.__builder.add_from_file("ibus-libpinyin-preferences.ui")
self.__dialog = self.__builder.get_object("dialog")
self.__init_pages()