self.__x11_pid = self.__start_process(x11, [x11, "--kill-daemon"], "ibus-x11")
self.__panel_pid = self.__start_process(panel, [panel], "ibus-panel")
-
+
ibus.main()
if __name__ == "__main__":
SeparatorToolItem, \
MenuToolButton
+from gettext import dgettext
+_ = lambda a : dgettext("ibus", a)
+N_ = lambda a : a
+
ICON_SIZE = gtk.ICON_SIZE_MENU
class LanguageBar(gtk.Toolbar):
self.insert(self.__handle, -1)
# create input methods menu
- self.__im_menu = ToggleToolButton(ibus.Property(name = "", type = ibus.PROP_TYPE_TOGGLE, icon = "ibus", tooltip = "Swicth engine"))
+ prop = ibus.Property(name = "", type = ibus.PROP_TYPE_TOGGLE, icon = "ibus", tooltip = _("Switch engine"))
+ self.__im_menu = ToggleToolButton(prop)
self.__im_menu.set_homogeneous(False)
self.__im_menu.connect("toggled", self.__im_menu_toggled_cb)
self.insert(self.__im_menu, -1)
msgstr ""
"Project-Id-Version: ibus VERSION\n"
"Report-Msgid-Bugs-To: http://code.google.com/p/ibus/issues/entry\n"
-"POT-Creation-Date: 2008-08-28 19:00+0800\n"
+"POT-Creation-Date: 2008-08-29 20:32+0800\n"
"PO-Revision-Date: 2008-08-28 17:31+0900\n"
"Last-Translator: UTUMI Hirosi <utuhiro78@yahoo.co.jp>\n"
"Language-Team: Japanese <gnome-translation@gnome.gr.jp>\n"
msgid "iBus - Running"
msgstr "iBus - 実行中"
+#: panel/languagebar.py:81
+msgid "Switch engine"
+msgstr ""
+
#: setup/main.py:103
msgid "trigger"
msgstr "トリガー"
msgstr ""
"Project-Id-Version: 0.1.1.20080813\n"
"Report-Msgid-Bugs-To: http://code.google.com/p/ibus/issues/entry\n"
-"POT-Creation-Date: 2008-08-28 19:00+0800\n"
+"POT-Creation-Date: 2008-08-29 20:32+0800\n"
"PO-Revision-Date: 2008-08-13 21:59+0800\n"
"Last-Translator: Huang Peng <shawn.p.huang@gmail.com>\n"
"Language-Team: Huang Peng <shawn.p.huang@gmail.com>\n"
msgid "iBus - Running"
msgstr "iBus - 运行"
+#: panel/languagebar.py:81
+msgid "Switch engine"
+msgstr "切换引擎"
+
#: setup/main.py:103
msgid "trigger"
msgstr "开关"