diff options
author | Huang Peng <shawn.p.huang@gmail.com> | 2008-08-13 23:20:43 +0800 |
---|---|---|
committer | Huang Peng <shawn.p.huang@gmail.com> | 2008-08-13 23:20:43 +0800 |
commit | 190702f40ccb0ded38707086b2ca7ed54632cde0 (patch) | |
tree | d19b210c41ba90e35b668f5b2f12270de46a6980 | |
parent | 0d020d985ca471ed77e6178a15f6ff7367848195 (diff) | |
download | ibus-anthy-190702f40ccb0ded38707086b2ca7ed54632cde0.tar.gz |
Add i18n support.
-rw-r--r-- | ibus-anthy.spec.in | 5 | ||||
-rw-r--r-- | po/LINGUAS | 2 | ||||
-rw-r--r-- | po/POTFILES.in | 6 | ||||
-rw-r--r-- | po/zh_CN.po | 37 |
4 files changed, 47 insertions, 3 deletions
diff --git a/ibus-anthy.spec.in b/ibus-anthy.spec.in index eb46e78..13200e6 100644 --- a/ibus-anthy.spec.in +++ b/ibus-anthy.spec.in @@ -38,13 +38,12 @@ rm -rf $RPM_BUILD_ROOT make DESTDIR=${RPM_BUILD_ROOT} install rm -f $RPM_BUILD_ROOT%{python_sitearch}/_anthy.la -# %find_lang %{name} +%find_lang %{name} %clean rm -rf $RPM_BUILD_ROOT -%files -# -f %{name}.lang +%files -f %{name}.lang %defattr(-,root,root,-) %doc AUTHORS COPYING README # %dir %{python_sitearch}/ibus diff --git a/po/LINGUAS b/po/LINGUAS new file mode 100644 index 0000000..22bdb91 --- /dev/null +++ b/po/LINGUAS @@ -0,0 +1,2 @@ +zh_CN + diff --git a/po/POTFILES.in b/po/POTFILES.in index e69de29..c001de4 100644 --- a/po/POTFILES.in +++ b/po/POTFILES.in @@ -0,0 +1,6 @@ +./python-config.py +./engine/main.py +./engine/tables.py +./engine/engine.py +./engine/test.py +./engine/factory.py diff --git a/po/zh_CN.po b/po/zh_CN.po new file mode 100644 index 0000000..da0c508 --- /dev/null +++ b/po/zh_CN.po @@ -0,0 +1,37 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) YEAR Huang Peng <shawn.p.huang@gmail.com> +# This file is distributed under the same license as the PACKAGE package. +# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: PACKAGE VERSION\n" +"Report-Msgid-Bugs-To: http://code.google.com/p/ibus/issues/entry\n" +"POT-Creation-Date: 2008-08-13 23:18+0800\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" +"Language-Team: LANGUAGE <LL@li.org>\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#: engine/engine.py:218 +msgid "あ" +msgstr "" + +#: engine/engine.py:225 +msgid "ア" +msgstr "" + +#: engine/engine.py:232 +msgid "ア" +msgstr "" + +#: engine/engine.py:240 +msgid "A" +msgstr "" + +#: engine/engine.py:246 +msgid "A" +msgstr "" |