summaryrefslogtreecommitdiff
path: root/engine
diff options
context:
space:
mode:
authorfujiwarat <takao.fujiwara1@gmail.com>2019-04-23 16:25:55 +0900
committerfujiwarat <takao.fujiwara1@gmail.com>2019-04-23 16:25:55 +0900
commit07dd943cdf4ced7a230392bc7e257c0cb73e04d8 (patch)
treea72b71a03d8c95750eaa38cefe39f767afc357a8 /engine
parent3fbb74be726d10ae79ceddf1ed3077a497349e58 (diff)
downloadibus-anthy-07dd943cdf4ced7a230392bc7e257c0cb73e04d8.tar.gz
default.xml: Rename to default.inputMethod.xml to use ibus.its
ibus-anthy.appdata.xml: Add translatable=no in name tag and will file a patch upstream later. default.xml: It has a translatable string in the descriptoin tag and use ibus.its from the ibus core package to extract it.
Diffstat (limited to 'engine')
-rw-r--r--engine/python2/Makefile.am3
-rw-r--r--engine/python2/anthy.inputMethod.xml.in.in (renamed from engine/python2/anthy.xml.in.in)0
-rw-r--r--engine/python2/default.inputMethod.xml.in.in (renamed from engine/python2/default.xml.in.in)4
-rw-r--r--engine/python3/Makefile.am3
-rw-r--r--engine/python3/anthy.inputMethod.xml.in.in (renamed from engine/python3/anthy.xml.in.in)0
-rw-r--r--engine/python3/default.inputMethod.xml.in.in (renamed from engine/python3/default.xml.in.in)4
6 files changed, 6 insertions, 8 deletions
diff --git a/engine/python2/Makefile.am b/engine/python2/Makefile.am
index 3aeef80..66e75ff 100644
--- a/engine/python2/Makefile.am
+++ b/engine/python2/Makefile.am
@@ -79,10 +79,9 @@ enginedir = $(pkgdatadir)/engine
# $(SYMBOL_XML) cannot be extracted in Makefile but $(libexecdir) can be
# extracted to ${exec_prefix}/libexec so use capital @LIBEXECDIR@ here.
-%.xml: %.xml.in
+%.xml: %.inputMethod.xml.in
sed -e "s|\@LIBEXECDIR\@|$(libexecdir)|g" \
-e "s|\@PKGDATADIR\@|$(pkgdatadir)|g" \
- -e "s|_description|description|g" \
$< > $@
ibus-engine-anthy: ibus-engine-anthy.in
diff --git a/engine/python2/anthy.xml.in.in b/engine/python2/anthy.inputMethod.xml.in.in
index 414ef32..414ef32 100644
--- a/engine/python2/anthy.xml.in.in
+++ b/engine/python2/anthy.inputMethod.xml.in.in
diff --git a/engine/python2/default.xml.in.in b/engine/python2/default.inputMethod.xml.in.in
index 3550b04..72bd852 100644
--- a/engine/python2/default.xml.in.in
+++ b/engine/python2/default.inputMethod.xml.in.in
@@ -9,8 +9,8 @@
@LAYOUT_XML@
<layout_variant></layout_variant>
<layout_option></layout_option>
- <longname>Anthy</longname>
- <_description>Anthy Input Method</_description>
+ <longname translatable="no">Anthy</longname>
+ <description>Anthy Input Method</description>
<rank>99</rank>
@HOTKEYS_XML@
@SYMBOL_XML@
diff --git a/engine/python3/Makefile.am b/engine/python3/Makefile.am
index 3aeef80..66e75ff 100644
--- a/engine/python3/Makefile.am
+++ b/engine/python3/Makefile.am
@@ -79,10 +79,9 @@ enginedir = $(pkgdatadir)/engine
# $(SYMBOL_XML) cannot be extracted in Makefile but $(libexecdir) can be
# extracted to ${exec_prefix}/libexec so use capital @LIBEXECDIR@ here.
-%.xml: %.xml.in
+%.xml: %.inputMethod.xml.in
sed -e "s|\@LIBEXECDIR\@|$(libexecdir)|g" \
-e "s|\@PKGDATADIR\@|$(pkgdatadir)|g" \
- -e "s|_description|description|g" \
$< > $@
ibus-engine-anthy: ibus-engine-anthy.in
diff --git a/engine/python3/anthy.xml.in.in b/engine/python3/anthy.inputMethod.xml.in.in
index 414ef32..414ef32 100644
--- a/engine/python3/anthy.xml.in.in
+++ b/engine/python3/anthy.inputMethod.xml.in.in
diff --git a/engine/python3/default.xml.in.in b/engine/python3/default.inputMethod.xml.in.in
index 3550b04..72bd852 100644
--- a/engine/python3/default.xml.in.in
+++ b/engine/python3/default.inputMethod.xml.in.in
@@ -9,8 +9,8 @@
@LAYOUT_XML@
<layout_variant></layout_variant>
<layout_option></layout_option>
- <longname>Anthy</longname>
- <_description>Anthy Input Method</_description>
+ <longname translatable="no">Anthy</longname>
+ <description>Anthy Input Method</description>
<rank>99</rank>
@HOTKEYS_XML@
@SYMBOL_XML@