Commit 322ff71a authored by Anthony Wong's avatar Anthony Wong

Imported Upstream version 2.0

parent 49d10c20
......@@ -3,4 +3,5 @@
# IBus Cangjie was written by these people:
Benau <benau2006@yahoo.com.hk>
Koala Yeung <koalay@gmail.com>
Mathieu Bridon <bochecha@fedoraproject.org>
......@@ -6,17 +6,14 @@ SUBDIRS = po
# -- scripts/ ------------------------
bin_SCRIPTS = \
scripts/ibus-setup-cangjie \
$(NULL)
bin_SCRIPTS = scripts/ibus-setup-cangjie
pkglibexec_SCRIPTS = \
scripts/ibus-engine-cangjie \
$(NULL)
pkglibexec_SCRIPTS = scripts/ibus-engine-cangjie
libexecdir = $(prefix)/lib
scripts/ibus-%-cangjie: scripts/ibus-%-cangjie.in Makefile
$(MKDIR_P) scripts
$(AM_V_GEN) \
$(MKDIR_P) scripts; \
sed -e 's&@PYTHON_PATH@&$(PYTHON)&g' \
-e 's&@CANGJIE_GETTEXT_PACKAGE@&$(GETTEXT_PACKAGE)&g' \
-e 's&@LOCALEDIR@&$(localedir)&g' \
......@@ -25,37 +22,36 @@ scripts/ibus-%-cangjie: scripts/ibus-%-cangjie.in Makefile
# -- data/ ---------------------------
ibus_cangjie_data_DATA = \
data/setup.ui \
$(NULL)
ibus_cangjie_data_DATA = data/setup.ui
ibus_cangjie_datadir = $(pkgdatadir)
component_DATA = \
data/cangjie.xml \
data/quick.xml \
$(NULL)
@INTLTOOL_XML_RULE@
appdata_in_files = data/cangjie.appdata.xml.in data/quick.appdata.xml.in
appdata_DATA = $(appdata_in_files:.xml.in=.xml)
appdatadir = $(datadir)/appdata
component_in_in_files = data/cangjie.xml.in.in data/quick.xml.in.in
component_DATA = $(component_in_in_files:.xml.in.in=.xml)
componentdir = $(COMPONENT_DIR)
%.xml.in: %.xml.in.in
$(AM_V_GEN) \
sed -e 's&@_VERSION@&$(VERSION)&g' \
-e 's&@BINDIR@&$(bindir)&g' \
-e 's&@ICON16DIR@&$(icon16dir)&g' \
-e 's&@PKGLIBEXECDIR@&$(pkglibexecdir)&g' $< > $@
desktop_in_files = \
data/ibus-setup-cangjie.desktop.in \
data/ibus-setup-quick.desktop.in \
$(NULL)
desktop_DATA = \
data/ibus-setup-cangjie.desktop \
data/ibus-setup-quick.desktop \
gsettings_in_files = data/org.cangjians.ibus.cangjie.gschema.xml.in data/org.cangjians.ibus.quick.gschema.xml.in
gsettings_SCHEMAS = $(gsettings_in_files:.xml.in=.xml)
@GSETTINGS_RULES@
desktop_in_in_files = \
data/ibus-setup-cangjie.desktop.in.in \
data/ibus-setup-quick.desktop.in.in \
$(NULL)
desktop_in_files = $(desktop_in_in_files:.desktop.in.in=.desktop.in)
desktop_DATA = $(desktop_in_files:.desktop.in=.desktop)
desktopdir = $(datadir)/applications
@INTLTOOL_DESKTOP_RULE@
%.xml: %.xml.in
$(AM_V_GEN) \
( \
bindir=${bindir}; \
pkglibexecdir=${pkglibexecdir}; \
s=`cat $<`; \
eval "echo \"$${s}\""; \
) > $@
%.desktop.in: %.desktop.in.in
$(AM_V_GEN) \
( \
......@@ -64,20 +60,20 @@ desktopdir = $(datadir)/applications
eval "echo \"$${s}\""; \
) > $@
icon16dir = $(datadir)/icons/hicolor/16x16/intl
icon16_DATA = data/icons/16x16/cangjie.png data/icons/16x16/quick.png
iconscalabledir = $(datadir)/icons/hicolor/scalable/intl
iconscalable_DATA = data/icons/scalable/cangjie.svg data/icons/scalable/quick.svg
icon_files = $(icon16_DATA) $(iconscalable_DATA)
# -- src/ ----------------------------
ibus_cangjie_PYTHON = \
src/__init__.py \
src/config.py \
src/engine.py \
src/setup.py \
$(NULL)
ibus_cangjiedir = $(pythondir)/ibus_cangjie
nodist_ibus_cangjie_PYTHON = src/config.py
ibus_cangjie_setup_PYTHON = \
src/setup/__init__.py \
$(NULL)
ibus_cangjie_setupdir = $(ibus_cangjiedir)/setup
# -- Testing -------------------------
......@@ -87,14 +83,14 @@ tests/run_tests: tests/run_tests.in
$(MKDIR_P) tests
sed -e 's&@PYTHON_BIN@&$(PYTHON)&g' \
-e 's&@SRCDIR@&$(srcdir)&g' $< > $@
-e 's&@BUILDDIR@&$(builddir)&g' $< > $@
chmod +x $@
check-local:
cat tests/run_tests.log
# -- Common --------------------------
AUTHORS:
@if test -d "$(srcdir)/.git"; then \
$(AM_V_GEN) \
if test -d "$(srcdir)/.git"; then \
echo Creating $@ && \
( cd "$(top_srcdir)" && \
echo -e '# Generated by Makefile. Do not edit.\n#'; \
......@@ -104,32 +100,38 @@ AUTHORS:
|| ( rm -f $@.tmp ; echo Failed to generate $@ >&2 ); \
fi
# The INTLTOOL_XML_RULE stuff doesn't create that directory properly, so let's
# help it a bit
BUILT_SOURCES = $(top_builddir)/data
$(top_builddir)/data:
$(AM_V_GEN) $(MKDIR_P) $(top_builddir)/data
CLEANFILES = \
data/cangjie.xml \
data/cangjie.xml.in \
data/quick.xml \
data/quick.xml.in \
data/ibus-setup-cangjie.desktop \
data/ibus-setup-cangjie.desktop.in \
data/ibus-setup-quick.desktop \
data/ibus-setup-quick.desktop.in \
scripts/ibus-engine-cangjie \
scripts/ibus-setup-cangjie \
$(appdata_DATA) \
$(component_DATA) \
$(component_in_files) \
$(desktop_DATA) \
$(desktop_in_files) \
$(gsettings_SCHEMAS) \
$(bin_SCRIPTS) \
$(pkglibexec_SCRIPTS) \
src/*.pyc \
src/setup/*.pyc \
tests/run_tests \
$(NULL)
EXTRA_DIST = \
autogen.sh \
data/setup.ui \
data/ibus-setup-cangjie.desktop.in.in \
data/ibus-setup-quick.desktop.in.in \
scripts/ibus-engine-cangjie.in \
scripts/ibus-setup-cangjie.in \
$(appdata_in_files) \
$(component_in_in_files) \
$(desktop_in_in_files) \
$(gsettings_in_files) \
$(icon_files) \
README.md \
$(wildcard $(srcdir)/scripts/*.in) \
tests/run_tests.in \
tests/__init__.py \
$(wildcard $(srcdir)/tests/test_*.py) \
$(NULL)
.PHONY: AUTHORS
.PHONY: AUTHORS $(top_builddir)/data
This diff is collapsed.
This is an IBus engine for users of the Cangjie and Quick input methods.
It is primarily intended to Hong Kong people who want to input Traditional
Chinese, as they are (by far) the majority of Cangjie and Quick users.
However, it should work for others as well (e.g to input Simplified Chinese).
Note that the actual input logic is handled by libcangjie:
https://github.com/wanleung/libcangjie/
Getting the source code
=======================
The Git sources are available at the following address:
https://github.com/bochecha/ibus-cangjie
Release tarballs can be found at:
http://ibus-cangjie.opensource.hk/downloads/ibus-cangjie/
Installing
==========
This is pretty much a standard Autotools project. You can install it with the
usual sequence::
$ ./configure
$ make
# make install
Of course, if you got the sources from Git, you will need to run the
``autogen.sh`` script first.
Dependencies
============
To use this engine, you will need the following:
- Python >= 3.2
-> http://python.org
- ibus >= 1.4.1
Note that the GObject-Introspection bindings must be enabled
-> https://code.google.com/p/ibus/
- pycangjie
-> https://github.com/bochecha/pycangjie
- the Python 3 GObject bindings
-> https://live.gnome.org/PyGObject
- pycanberra (optional)
This is needed to play event sounds, especially to give feedback to the
user on incorrect inputs.
-> https://github.com/psykoyiko/pycanberra
Note that we require a Python 3 version of pycanberra, as can be found
in this (yet-unmerged) pull request:
-> https://github.com/psykoyiko/pycanberra/pull/2
IBus Cangjie will fail gracefully if pycanberra is not available though,
and just won't play any sound.
Legal
=====
This software is released under the terms of the GNU General Public
License (GPL) version 3 or any later version.
We won't ask you to sign a copyright assignment or any other long and tedious
legal document, so just send us your patches!
This is an IBus engine for users of the Cangjie and Quick input methods.
It is primarily intended to Hong Kong people who want to input Traditional
Chinese, as they are (by far) the majority of Cangjie and Quick users.
However, it should work for others as well (e.g to input Simplified Chinese).
Note that the actual input logic is handled by
[libcangjie](https://github.com/Cangjians/libcangjie).
Development happens [on github](https://github.com/Cangjians/ibus-cangjie),
and stable release tarballs will be available when we reach that point.
## Legalities
IBus Cangjie is offered under the terms of the
[GNU General Public License, either version 3 or any later version](http://www.gnu.org/licenses/lgpl.html).
We won't ask you to sign a copyright assignment or any other kind of silly and
tedious legal document, so just send us patches and/or pull requests!
This diff is collapsed.
This diff is collapsed.
AC_PREREQ(2.63)
AC_INIT([ibus-cangjie], [1.0], [https://github.com/bochecha/ibus-cangjie], [ibus-cangjie])
AC_INIT([ibus-cangjie], [2.0], [https://github.com/Cangjians/ibus-cangjie/issues], [ibus-cangjie], [https://github.com/Cangjians/ibus-cangjie])
AC_CONFIG_HEADERS([config.h])
AC_CONFIG_MACRO_DIR([m4])
......@@ -28,22 +28,34 @@ AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE, "$GETTEXT_PACKAGE",
# check for Python
AM_PATH_PYTHON([3.2.3])
# check for the cangjie Python module
AC_MSG_CHECKING([the cangjie Python module])
FOUND_PY_CANGJIE=$($PYTHON -c 'import cangjie' 2>/dev/null; echo $?)
AS_IF([test "$FOUND_PY_CANGJIE" != 0], [AC_MSG_RESULT([no]); AC_MSG_ERROR([Please install the cangjie Python module])])
AC_MSG_RESULT([yes])
# check for IBus
PKG_CHECK_MODULES(IBUS, [ibus-1.0 >= 1.4.1])
AC_MSG_CHECKING(for ibus component dir)
PKG_CHECK_MODULES(IBus, [ibus-1.0 >= 1.4.1])
AC_MSG_CHECKING(for IBus component dir)
IBUS_COMPONENT_DIR="`$PKG_CONFIG --variable=pkgdatadir ibus-1.0`/component"
AC_MSG_RESULT($IBUS_COMPONENT_DIR)
# check for the IBus bindings
AC_MSG_CHECKING([the IBus introspection-based bindings])
FOUND_PY_IBUS=$($PYTHON -c 'from gi.repository import IBus' 2>/dev/null; echo $?)
AS_IF([test "$FOUND_PY_IBUS" != 0], [AC_MSG_RESULT([no]); AC_MSG_ERROR([Please install the IBus introspection-based bindings])])
AC_MSG_RESULT([yes])
COMPONENT_DIR="${datadir}/ibus/component"
AC_SUBST(COMPONENT_DIR)
EXPANDED_COMPONENT_DIR=`eval echo $COMPONENT_DIR`
GLIB_GSETTINGS
# OUTPUT files
AC_CONFIG_FILES([
Makefile
data/cangjie.xml.in
data/quick.xml.in
po/Makefile.in
])
......
<?xml version="1.0" encoding="UTF-8"?>
<application>
<id type="inputmethod">cangjie.xml</id>
<licence>CC0</licence>
<_name>Cangjie</_name>
<_summary>Cangjie input method</_summary>
<description>
<_p>Cangjie is a radical-based input method, designed to input both
Traditional and Simplified Chinese, as well as Japanese.</_p>
<_p>As it is rarely used outside of Hong Kong (where it is one of the two
most used input methods), we strive to provide the best input
experience for people of the SAR by default, but provide useful options
for others.</_p>
</description>
<url type="homepage">http://cangjians.github.io/ibus-cangjie</url>
<updatecontact>hklug@googlegroups.com</updatecontact>
</application>
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright (c) 2012-2013 - The IBus Cangjie authors
......@@ -17,12 +19,11 @@ You should have received a copy of the GNU General Public License
along with ibus-cangjie. If not, see <http://www.gnu.org/licenses/>.
-->
<?xml version=\"1.0\" encoding=\"utf-8\"?>
<component>
<name>org.freedesktop.IBus.Cangjie</name>
<description>Cangjie Component</description>
<exec>${pkglibexecdir}/ibus-engine-cangjie --ibus cangjie</exec>
<version>@VERSION@</version>
<exec>@PKGLIBEXECDIR@/ibus-engine-cangjie --ibus cangjie</exec>
<version>@_VERSION@</version>
<author>The IBus Cangjie authors</author>
<license>GPLv3+</license>
<homepage>https://github.com/bochecha/ibus-cangjie</homepage>
......@@ -36,9 +37,10 @@ along with ibus-cangjie. If not, see <http://www.gnu.org/licenses/>.
<language>zh_HK</language>
<layout>us</layout>
<symbol>倉頡</symbol>
<icon>@ICON16DIR@/cangjie.png</icon>
<license>GPLv3+</license>
<author>The IBus Cangjie authors</author>
<setup>${bindir}/ibus-setup-cangjie cangjie</setup>
<setup>@BINDIR@/ibus-setup-cangjie cangjie</setup>
<rank>0</rank>
</engine>
</engines>
......
[Desktop Entry]
Encoding=UTF-8
# The title of the preferences window for Cangjie
_Name=Cangjie Preferences
# Tooltip for the preferences "app" for Cangjie
_Comment=Set preferences for the Cangjie input method
Exec=${bindir}/ibus-setup-cangjie cangjie
Icon=ibus-setup-cangjie
......
[Desktop Entry]
Encoding=UTF-8
# The title of the preferences window for Quick
_Name=Quick Preferences
# Tooltip for the preferences "app" for Quick
_Comment=Set preferences for the Quick input method
Exec=${bindir}/ibus-setup-cangjie quick
Icon=ibus-setup-quick
......
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
width="48px"
height="48px"
id="svg4129"
version="1.1"
inkscape:version="0.48.4 r9939"
sodipodi:docname="cangjie_icon.svg">
<defs
id="defs4131" />
<sodipodi:namedview
id="base"
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1.0"
inkscape:pageopacity="0.0"
inkscape:pageshadow="2"
inkscape:zoom="0.70710678"
inkscape:cx="-121.83836"
inkscape:cy="-130.08959"
inkscape:current-layer="layer3"
showgrid="true"
inkscape:grid-bbox="true"
inkscape:document-units="px"
inkscape:window-width="791"
inkscape:window-height="431"
inkscape:window-x="379"
inkscape:window-y="103"
inkscape:window-maximized="0"
showguides="true"
inkscape:guide-bbox="true" />
<metadata
id="metadata4134">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<dc:title />
</cc:Work>
</rdf:RDF>
</metadata>
<g
id="layer1"
inkscape:label="Layer 1"
inkscape:groupmode="layer">
<rect
style="fill:#241f1c;stroke:none"
id="rect2995"
width="48.035294"
height="48.035294"
x="0.010605275"
y="-0.0029392394"
ry="5.138659" />
<g
transform="scale(0.94074527,1.062987)"
style="font-size:11.17495537px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#b3b3b3;fill-opacity:1;stroke:none;font-family:'文泉驛等寬微米黑';-inkscape-font-specification:'文泉驛等寬微米黑'"
id="text2997" />
<g
inkscape:groupmode="layer"
id="layer3"
inkscape:label="text_fine"
style="display:inline">
<g
style="font-size:44.13543700999999686px;font-style:normal;font-variant:normal;font-weight:500;font-stretch:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#b3b3b3;fill-opacity:1;stroke:none;font-family:'文泉驛點陣正黑';-inkscape-font-specification:'文泉驛點陣正黑 Medium'"
id="text3005">
<path
d="m 17.940131,44.06285 c -1.063172,-0.08621 -2.140696,-0.08621 -3.232576,0 0.08619,-1.83898 0.129291,-5.272691 0.129303,-10.301142 -1.580381,3.850358 -4.094604,6.795591 -7.5426771,8.835707 -0.5459499,-1.120629 -1.4079692,-1.867712 -2.5860607,-2.241252 2.3274506,-0.976957 4.2238933,-2.499858 5.6893338,-4.568708 2.155041,-2.930863 3.103262,-6.66628 2.844667,-11.206263 l -0.0431,-6.982364 10.861455,0 c -1.494188,-1.609082 -3.06019,-3.131983 -4.698011,-4.568708 l 2.11195,-2.456757 c 2.2987,1.982672 4.439382,4.123354 6.422051,6.422051 l -0.732717,0.603414 9.568425,0 0,12.240687 -20.81779,0 c -0.143682,1.034433 -0.387921,2.025755 -0.732717,2.97397 l 22.714234,0 0,11.163163 -2.97397,0 0,-2.413657 -17.0249,0 c -1.5e-5,1.005686 0.01435,1.838972 0.0431,2.499859 m 16.981799,-9.094314 -17.111102,0 c -1.5e-5,1.666574 0.01435,3.160741 0.0431,4.482505 l 17.068001,0 0,-4.482505 m -18.74894,-7.284071 17.585213,0 0,-3.146374 -17.585213,0 0,3.146374 m 17.585213,-5.258324 0,-2.715364 -17.585213,0.0431 0,2.672263 17.585213,0 M 23.974273,2.7720795 c 1.063136,0.5172475 2.198128,0.9626241 3.40498,1.3361314 l -1.034424,1.5947374 c 0.948198,1.1493922 2.097557,2.3993203 3.448081,3.7497881 2.528563,2.6148216 5.617466,4.7555026 9.266717,6.4220506 2.011343,0.948244 4.094556,1.767163 6.249647,2.456758 -1.034465,0.517232 -1.781549,1.278682 -2.241253,2.284354 C 38.959022,19.236686 35.324174,17.297142 32.163465,14.797262 29.261304,12.584769 26.775815,10.286051 24.70699,7.9011 21.373827,12.211228 17.451638,15.802975 12.940414,18.676353 10.756621,20.02687 8.4148019,21.176229 5.9149485,22.124434 5.5126699,21.061293 4.8086874,20.213641 3.8029989,19.581474 c 2.4998555,-0.919468 4.8847758,-2.011359 7.1547681,-3.275677 3.677941,-2.04009 6.479505,-4.252606 8.404697,-6.6375555 1.695289,-2.1550195 3.232557,-4.4537379 4.611809,-6.896162"
style="font-family:'文泉驛正黑';-inkscape-font-specification:'文泉驛正黑 Medium';fill:#b3b3b3;fill-opacity:1"
id="path3010"
inkscape:connector-curvature="0" />
</g>
</g>
</g>
</svg>
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
width="48px"
height="48px"
id="svg4217"
version="1.1"
inkscape:version="0.48.4 r9939"
sodipodi:docname="新文件 17">
<defs
id="defs4219" />
<sodipodi:namedview
id="base"
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1.0"
inkscape:pageopacity="0.0"
inkscape:pageshadow="2"
inkscape:zoom="2.8284271"
inkscape:cx="6.5451161"
inkscape:cy="27.346582"
inkscape:current-layer="layer1"
showgrid="true"
inkscape:grid-bbox="true"
inkscape:document-units="px"
inkscape:window-width="731"
inkscape:window-height="431"
inkscape:window-x="0"
inkscape:window-y="27"
inkscape:window-maximized="0" />
<metadata
id="metadata4222">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<dc:title></dc:title>
</cc:Work>
</rdf:RDF>
</metadata>
<g
id="layer1"
inkscape:label="Layer 1"
inkscape:groupmode="layer">
<rect
style="fill:#241f1c;stroke:none"
id="rect2995-3"
width="48.008625"
height="48.008625"
x="0.016937939"
y="-0.01227719"
ry="5.1358061" />
<g
transform="scale(0.94074527,1.062987)"
style="font-size:11.16875076px;font-style:normal;font-variant:normal;font-weight:500;font-stretch:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#b3b3b3;fill-opacity:1;stroke:none;font-family:'文泉驛正黑';-inkscape-font-specification:'文泉驛正黑 Medium'"
id="text2997-1">
<path
d="m 18.877893,7.7123535 10.365999,0 0,-3.1412115 2.984151,0 0,3.1412115 10.523058,0 0,2.8270905 -10.523058,0 0,3.141212 8.952453,0 0,10.523058 -8.952453,0 0,11.465422 -2.984151,0 0,-10.837179 c -2.408284,3.769462 -5.497139,6.75361 -9.266574,8.952453 l -2.198849,-2.827091 c 3.664731,-1.780012 6.544172,-4.031211 8.638332,-6.753605 l -6.125362,0 0,-10.523058 8.952453,0 0,-3.141212 -10.365999,0 0,-2.8270905 m 4.240636,13.6642705 6.125363,0 0,-4.868878 -6.125363,0 0,4.868878 m 9.109514,-4.868878 0,4.868878 5.968302,0 0,-4.868878 -5.968302,0 m 3.141211,9.109513 c 2.931765,1.570616 5.601792,3.402988 8.01009,5.497121 l -2.198848,2.355908 c -2.303589,-2.198842 -4.868909,-4.031213 -7.695969,-5.49712 l 1.884727,-2.355909 M 10.239562,5.670566 c 2.094134,1.3612219 3.978859,2.9841796 5.65418,4.868878 l -2.198848,2.67003 C 11.914868,11.115359 10.030143,9.3876942 8.0407135,8.0264747 L 10.239562,5.670566 m -2.6700302,13.036028 7.8530292,0 0,15.077816 c 1.256473,0.942366 2.853254,1.622961 4.790347,2.041787 1.937064,0.418829 6.151519,0.628243 12.643377,0.628242 l 10.99424,0 -1.570605,3.455333 -12.564847,0 c -4.60713,-3e-6 -7.957752,-0.314123 -10.051877,-0.942363 -2.094153,-0.628244 -3.926524,-1.62296 -5.49712,-2.984151 L 9.6113193,40.538014 7.4124712,37.239742 C 9.0877805,36.29738 10.710738,35.302664 12.281349,34.255591 l 0,-12.564846 -4.7118172,0 0,-2.984151"
style="font-size:40.20750809px;font-weight:normal;fill:#b3b3b3;font-family:'文泉驛等寬微米黑';-inkscape-font-specification:'文泉驛等寬微米黑'"
id="path4240" />
</g>
</g>
</svg>
<?xml version="1.0" encoding="UTF-8"?>
<schemalist gettext-domain="ibus-cangjie">
<schema path="/org/cangjians/ibus/cangjie/" id="org.cangjians.ibus.cangjie">
<key type="i" name="version">
<default>3</default>
<summary>Input Method version</summary>
<description>The version of the Cangjie input method.</description>
</key>
<key type="b" name="include-allzh">
<default>false</default>
<summary>Include all Chinese characters</summary>
<description>Include all Chinese characters in addition to the characters part of the default set.</description>
</key>
<key type="b" name="include-jp">
<default>false</default>
<summary>Include Japanese characters</summary>
<description>Include Japanese characters in addition to the characters part of the default set.</description>
</key>
<key type="b" name="include-zhuyin">
<default>false</default>
<summary>Include the Zhuyin / Bopomofo alphabet</summary>
<description>Include characters part of the Zhuyin / Bopomofo alphabet in addition to the characters part of the default set.</description>
</key>
<key type="b" name="include-symbols">
<default>false</default>
<summary>Include miscellaneous symbols</summary>
<description>Include various symbols in addition to the characters part of the default set.</description>
</key>
<key type="b" name="halfwidth-chars">
<default>false</default>
<summary>Use half-width characters</summary>
<description>Use half-width variants of numbers, punctuation and other characters.</description>
</key>
</schema>
</schemalist>
<?xml version="1.0" encoding="UTF-8"?>
<schemalist gettext-domain="ibus-cangjie">
<schema path="/org/cangjians/ibus/quick/" id="org.cangjians.ibus.quick">
<key type="i" name="version">
<default>3</default>
<summary>Input Method Version</summary>
<description>The version of the Cangjie input method.</description>
</key>
<key type="b" name="include-allzh">
<default>false</default>
<summary>Include all Chinese characters</summary>
<description>Include all Chinese characters in addition to the characters part of the default set.</description>
</key>
<key type="b" name="include-jp">
<default>false</default>
<summary>Include Japanese characters</summary>
<description>Include Japanese characters in addition to the characters part of the default set.</description>
</key>
<key type="b" name="include-zhuyin">
<default>false</default>
<summary>Include the Zhuyin / Bopomofo alphabet</summary>
<description>Include characters part of the Zhuyin / Bopomofo alphabet in addition to the characters part of the default set.</description>
</key>
<key type="b" name="include-symbols">
<default>false</default>
<summary>Include miscellaneous symbols</summary>
<description>Include various symbols in addition to the characters part of the default set.</description>
</key>
<key type="b" name="halfwidth-chars">
<default>false</default>
<summary>Use half-width characters</summary>
<description>Use half-width variants of numbers, punctuation and other characters.</description>
</key>
</schema>
</schemalist>
<?xml version="1.0" encoding="UTF-8"?>
<application>
<id type="inputmethod">quick.xml</id>
<licence>CC0</licence>
<_name>Quick</_name>
<_summary>Quick input method</_summary>
<description>
<_p>Quick (also known as “Simplified Cangjie”) is a radical-based input
method, designed to input both Traditional and Simplified Chinese, as
well as Japanese.</_p>
<_p>As it is rarely used outside of Hong Kong (where it is one of the two
most used input methods), we strive to provide the best input
experience for people of the SAR by default, but provide useful options
for others.</_p>
</description>
<url type="homepage">http://cangjians.github.io/ibus-cangjie</url>
<updatecontact>hklug@googlegroups.com</updatecontact>
</application>
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright (c) 2012-2013 - The IBus Cangjie authors
......@@ -17,12 +19,11 @@ You should have received a copy of the GNU General Public License
along with ibus-cangjie. If not, see <http://www.gnu.org/licenses/>.
-->
<?xml version=\"1.0\" encoding=\"utf-8\"?>
<component>
<name>org.freedesktop.IBus.Quick</name>
<description>Quick Component</description>
<exec>${pkglibexecdir}/ibus-engine-cangjie --ibus quick</exec>
<version>@VERSION@</version>
<exec>@PKGLIBEXECDIR@/ibus-engine-cangjie --ibus quick</exec>
<version>@_VERSION@</version>
<author>The IBus Cangjie authors</author>
<license>GPLv3+</license>
<homepage>https://github.com/bochecha/ibus-cangjie</homepage>
......@@ -36,9 +37,10 @@ along with ibus-cangjie. If not, see <http://www.gnu.org/licenses/>.
<language>zh_HK</language>
<layout>us</layout>
<symbol>速成</symbol>
<icon>@ICON16DIR@/quick.png</icon>
<license>GPLv3+</license>
<author>The IBus Cangjie authors</author>
<setup>${bindir}/ibus-setup-cangjie quick</setup>
<setup>@BINDIR@/ibus-setup-cangjie quick</setup>
<rank>0</rank>
</engine>
</engines>
......
This diff is collapsed.
# Please keep this list sorted alphabetically
zh_CN
pt_BR
zh_HK
zh_TW
data/cangjie.appdata.xml.in
data/quick.appdata.xml.in
data/ibus-setup-cangjie.desktop.in.in
data/ibus-setup-quick.desktop.in.in
[type: gettext/glade]data/setup.ui
src/config.py
src/setup/__init__.py
src/engine.py
src/setup.py
# XX translation for ibus-cangjie
# Copyright (C) 2012-2013 - The IBus Cangjie authors
# This file is distributed under the same license as the ibus-cangjie package.
#
# Translators:
# Enrico Nicoletto <enrico.BR@gmx.co.uk>, 2013
msgid ""
msgstr ""
"Project-Id-Version: ibus-cangjie\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2013-12-10 14:58+0800\n"
"PO-Revision-Date: 2013-12-15 15:29+0000\n"
"Last-Translator: Enrico Nicoletto <enrico.BR@gmx.co.uk>\n"
"Language-Team: Portuguese (Brazil) (http://www.transifex.com/projects/p/ibus-cangjie/language/pt_BR/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Language: pt_BR\n"
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
#: ../data/cangjie.appdata.xml.in.h:1
msgid "Cangjie"
msgstr "Cangjie"
#: ../data/cangjie.appdata.xml.in.h:2
msgid "Cangjie input method"
msgstr "Método de entrada Cangjie"
#: ../data/cangjie.appdata.xml.in.h:3
msgid ""
"Cangjie is a radical-based input method, designed to input both Traditional "
"and Simplified Chinese, as well as Japanese."
msgstr "Cangjie é um método de entrada baseado no radical da palavra, projetado para permitir a entrada de caracteres tanto de Chinês Tradicional quanto de Chinês Simplificado, bem como de Japonês."
#: ../data/cangjie.appdata.xml.in.h:4 ../data/quick.appdata.xml.in.h:4
msgid ""
"As it is rarely used outside of Hong Kong (where it is one of the two most "
"used input methods), we strive to provide the best input experience for "
"people of the SAR by default, but provide useful options for others."
msgstr "Já que tal método é dificilmente usado fora de Hong Kong (onde este é um dos dois métodos de entrada mais usados), nos empenhamos a oferecer, por padrão, a melhor experiência de método de entrada para as pessoas desta região administrativa especial, mas também é oferecido opções úteis para os outros."