From: Peng Huang Date: Sat, 10 Oct 2009 03:34:30 +0000 (+0800) Subject: Fix some problems. X-Git-Tag: 1.2.0.20091014~16 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=1a6b0f4b13b055571a54daa6c3fd121f534011bf;p=platform%2Fupstream%2Fibus.git Fix some problems. --- diff --git a/setup/main.py b/setup/main.py index 3edc498..7da0e83 100644 --- a/setup/main.py +++ b/setup/main.py @@ -72,7 +72,8 @@ class Setup(object): gettext.bindtextdomain("ibus", localedir) gettext.bind_textdomain_codeset("ibus", "UTF-8") gtk_builder_file = path.join(path.dirname(__file__), "./setup.ui") - self.__builder = gtk.Builder(); + self.__builder = gtk.Builder() + self.__builder.set_translation_domain("ibus") self.__builder.add_from_file(gtk_builder_file); self.__bus = None self.__init_bus() diff --git a/setup/setup.ui b/setup/setup.ui index cbc4fcd..103846d 100644 --- a/setup/setup.ui +++ b/setup/setup.ui @@ -1,7 +1,10 @@ + + + @@ -15,6 +18,7 @@ + @@ -29,8 +33,6 @@ - - 12 IBus Preferences @@ -78,7 +80,7 @@ True - Set the shortcut keys for turnning on or off input method + Set the shortcut keys for turnning on or off input method 0 Enable or disable: @@ -90,7 +92,7 @@ True - The shortcut keys for switching to next input method in the list + The shortcut keys for switching to next input method in the list 0 Next input method: @@ -105,7 +107,7 @@ True False - The shortcut keys for switching to previous input method in the list + The shortcut keys for switching to previous input method in the list 0 Previous input method: @@ -260,7 +262,7 @@ True - Set the orientation of candidates in lookup table + Set the orientation of candidates in lookup table 0 Candidates orientation: right @@ -297,7 +299,7 @@ True - Set the behavior of ibus how to show or hide language bar + Set the behavior of ibus how to show or hide language bar 0 Show language panel: right @@ -334,7 +336,7 @@ True False True - Show input method's name on language bar when check the checkbox + Show input method's name on language bar when check the checkbox True @@ -347,7 +349,7 @@ True True False - Show input method's name on language bar when check the checkbox + Show input method's name on language bar when check the checkbox True @@ -360,7 +362,7 @@ True True False - Use custom font for language bar and candidates + Use custom font for language bar and candidates True True @@ -374,7 +376,7 @@ True - Choice font for language bar and candidates + Choice font for language bar and candidates 0 Custom font: @@ -501,7 +503,7 @@ True True True - Add the selected input method into the enabled input methods + Add the selected input method into the enabled input methods True @@ -516,7 +518,7 @@ True True True - Remove the selected input method from the enabled input methods + Remove the selected input method from the enabled input methods True @@ -531,7 +533,7 @@ True True True - Move up the selected input method in the enabled input methods list + Move up the selected input method in the enabled input methods list True @@ -546,7 +548,7 @@ True True True - Move down the selected input method in the enabled input methods + Move down the selected input method in the enabled input methods True @@ -561,7 +563,7 @@ True True True - Show information of the selected input method + Show information of the selected input method True @@ -625,6 +627,9 @@ You may use up/down buttons to change it.</i></small> + + 1 + @@ -672,7 +677,7 @@ You may use up/down buttons to change it.</i></small> True True False - Use system keyboard (XKB) layout + Use system keyboard (XKB) layout True @@ -714,6 +719,9 @@ You may use up/down buttons to change it.</i></small> + + 2 + @@ -728,6 +736,7 @@ You may use up/down buttons to change it.</i></small> True + vertical @@ -785,6 +794,9 @@ Homepage: http://code.google.com/p/ibus + + 3 +