From 59a919d29c3b8f02a1d779b56ead6dbd9095b546 Mon Sep 17 00:00:00 2001 From: Daiki Ueno Date: Fri, 18 Jun 2010 18:23:51 +0900 Subject: [PATCH] intltoolize. --- Makefile.am | 2 +- TODO | 6 +----- configure.ac | 9 +++++++++ po/LINGUAS | 2 ++ po/POTFILES.in | 1 + po/ja.po | 45 +++++++++++++++++++++++++++++++++++++++++++++ 6 files changed, 59 insertions(+), 6 deletions(-) create mode 100644 po/LINGUAS create mode 100644 po/POTFILES.in create mode 100644 po/ja.po diff --git a/Makefile.am b/Makefile.am index 549108c3..86c34eb0 100644 --- a/Makefile.am +++ b/Makefile.am @@ -17,4 +17,4 @@ # 02110-1301 USA ACLOCAL_AMFLAGS = -I m4 -SUBDIRS = eek src tests docs +SUBDIRS = eek src tests docs po diff --git a/TODO b/TODO index 058095d6..15acf022 100644 --- a/TODO +++ b/TODO @@ -1,18 +1,14 @@ - packaging --- intltoolize -- GIR -- .spec -- debian -- add more tests --- add more doc comments including sample code - eekboard -- xklavier "model" and "options" configuration -- delay xklavier config menu creation --- typing monitor (create a full-screen window and handle all the key events) +-- a11y - libeek --- GtkDrawingArea backend --- compute font sizes from keysym types (LETTER or FUNCTION) -- matchbox-keyboard layout engine -- delay initialization of XKB and XKL layouts diff --git a/configure.ac b/configure.ac index dbe78d17..e52bfeaf 100644 --- a/configure.ac +++ b/configure.ac @@ -23,6 +23,7 @@ AM_INIT_AUTOMAKE AM_PROG_CC_C_O AC_CONFIG_MACRO_DIR([m4]) LT_INIT +IT_PROG_INTLTOOL([0.35.0]) PKG_CHECK_MODULES([GLIB2], [glib-2.0], , [AC_MSG_ERROR([GLib2 not found])]) @@ -78,8 +79,15 @@ GTK_DOC_CHECK([1.14],[--flavour no-tmpl]) EEK_API_VERSION=0.1 AC_SUBST(EEK_API_VERSION) +dnl to re-generate eek/*-keysym-labels.txt AC_CHECK_PROGS([PYTHON], [python]) +dnl define GETTEXT_* variables +GETTEXT_PACKAGE=$PACKAGE +AC_SUBST(GETTEXT_PACKAGE) +AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE,"$GETTEXT_PACKAGE", [Define to the read-only architecture-independent data directory.]) +AM_GLIB_GNU_GETTEXT + AC_CONFIG_HEADERS([eek/config.h]) AC_CONFIG_FILES([Makefile eek/Makefile @@ -88,6 +96,7 @@ tests/Makefile docs/Makefile docs/reference/Makefile docs/reference/eek/Makefile +po/Makefile.in eek/libeek.pc eek/libeek-clutter.pc eek/libeek-xkb.pc diff --git a/po/LINGUAS b/po/LINGUAS new file mode 100644 index 00000000..0b0433d9 --- /dev/null +++ b/po/LINGUAS @@ -0,0 +1,2 @@ +ja + diff --git a/po/POTFILES.in b/po/POTFILES.in new file mode 100644 index 00000000..12c10abd --- /dev/null +++ b/po/POTFILES.in @@ -0,0 +1 @@ +src/eekboard.c diff --git a/po/ja.po b/po/ja.po new file mode 100644 index 00000000..f5236b53 --- /dev/null +++ b/po/ja.po @@ -0,0 +1,45 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the PACKAGE package. +# FIRST AUTHOR , YEAR. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: PACKAGE VERSION\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2010-06-18 18:10+0900\n" +"PO-Revision-Date: 2010-06-18 18:20+0900\n" +"Last-Translator: Daiki Ueno \n" +"Language-Team: Japanese\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#: ../src/eekboard.c:143 +msgid "_File" +msgstr "ファイル" + +#: ../src/eekboard.c:144 +msgid "_Keyboard" +msgstr "キーボード" + +#: ../src/eekboard.c:145 +msgid "_Help" +msgstr "ヘルプ" + +#: ../src/eekboard.c:147 +msgid "Set Layout" +msgstr "レイアウトの設定" + +#: ../src/eekboard.c:153 +msgid "Monitor Key Typing" +msgstr "打鍵モニタ" + +#: ../src/eekboard.c:171 +msgid "A virtual keyboard for GNOME" +msgstr "GNOME 向け仮想キーボード" + +#: ../src/eekboard.c:175 +msgid "Eekboard web site" +msgstr "Eekboard のウェブサイト"