diff options
author | fujiwarat <takao.fujiwara1@gmail.com> | 2010-10-12 11:19:29 +0900 |
---|---|---|
committer | fujiwarat <takao.fujiwara1@gmail.com> | 2010-10-12 11:19:29 +0900 |
commit | f7f89e9bbd305994008db422b523dab67a6694d7 (patch) | |
tree | e5920a0de4683aa37e65498e2286f8c7069de614 /engine/engine.py | |
parent | cf6bba87884933cc8d0f96b11b63dd12eae0eee2 (diff) | |
download | ibus-anthy-f7f89e9bbd305994008db422b523dab67a6694d7.tar.gz |
Added menu item labels.
Diffstat (limited to 'engine/engine.py')
-rw-r--r-- | engine/engine.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/engine/engine.py b/engine/engine.py index f78212b..1978dff 100644 --- a/engine/engine.py +++ b/engine/engine.py @@ -224,6 +224,8 @@ class Engine(ibus.EngineBase): self.__set_dict_mode_props(anthy_props) self.__set_dict_config_props(anthy_props) anthy_props.append(ibus.Property(key=u"setup", + label=UN(_("Preferences - Anthy")), + icon=u"preferences-desktop", tooltip=UN(_("Configure Anthy")))) return anthy_props @@ -316,8 +318,8 @@ class Engine(ibus.EngineBase): if not path.exists(admin_command[0]): return + label = UN(_("Dictionary - Anthy")) if icon_path and path.exists(icon_path): - label = u"" icon = unicode(icon_path) else: # Translators: "Dic" means 'dictionary', One kanji may be good. |