summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfujiwarat <takao.fujiwara1@gmail.com>2010-10-12 11:19:29 +0900
committerfujiwarat <takao.fujiwara1@gmail.com>2010-10-12 11:19:29 +0900
commitf7f89e9bbd305994008db422b523dab67a6694d7 (patch)
treee5920a0de4683aa37e65498e2286f8c7069de614
parentcf6bba87884933cc8d0f96b11b63dd12eae0eee2 (diff)
downloadibus-anthy-f7f89e9bbd305994008db422b523dab67a6694d7.tar.gz
Added menu item labels.
-rw-r--r--engine/engine.py4
-rw-r--r--ibus-anthy.spec.in5
-rw-r--r--setup/setup.glade4
3 files changed, 6 insertions, 7 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.
diff --git a/ibus-anthy.spec.in b/ibus-anthy.spec.in
index 82cbde2..418afe7 100644
--- a/ibus-anthy.spec.in
+++ b/ibus-anthy.spec.in
@@ -13,14 +13,11 @@ Source0: http://ibus.googlecode.com/files/%{name}-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: anthy-devel
-# sleep, touch
-BuildRequires: coreutils
BuildRequires: gettext-devel
BuildRequires: intltool >= 0.41.1
BuildRequires: libtool
BuildRequires: pkgconfig
-BuildRequires: python-devel
-BuildRequires: sed
+BuildRequires: python2-devel
BuildRequires: swig
Requires: pygtk2 >= 2.15.2
diff --git a/setup/setup.glade b/setup/setup.glade
index fe24541..b6ab96d 100644
--- a/setup/setup.glade
+++ b/setup/setup.glade
@@ -677,7 +677,7 @@ Wnn
<property name="visible">True</property>
<property name="xalign">0</property>
<property name="use_underline">True</property>
- <property name="label" translatable="yes">Thumb Shift _Left Key:</property>
+ <property name="label" translatable="yes">_Left Thumb Shift Key:</property>
<property name="mnemonic_widget">thumb:ls</property>
</widget>
<packing>
@@ -712,7 +712,7 @@ Wnn
<property name="visible">True</property>
<property name="xalign">0</property>
<property name="use_underline">True</property>
- <property name="label" translatable="yes">_Thumb Shift Right Key:</property>
+ <property name="label" translatable="yes">Right _Thumb Shift Key:</property>
<property name="mnemonic_widget">thumb:rs</property>
</widget>
<packing>