gpointing-device-settings r42 - in trunk: . po src
- From: hiikezoe svn gnome org
- To: svn-commits-list gnome org
- Subject: gpointing-device-settings r42 - in trunk: . po src
- Date: Fri, 27 Feb 2009 10:25:29 +0000 (UTC)
Author: hiikezoe
Date: Fri Feb 27 10:25:29 2009
New Revision: 42
URL: http://svn.gnome.org/viewvc/gpointing-device-settings?rev=42&view=rev
Log:
added Japanese message.
Added:
trunk/po/LINGUAS
trunk/po/ja.po
Modified:
trunk/.gitignore
trunk/configure.ac
trunk/src/Makefile.am
trunk/src/gpointing-device-settings.c
Modified: trunk/.gitignore
==============================================================================
--- trunk/.gitignore (original)
+++ trunk/.gitignore Fri Feb 27 10:25:29 2009
@@ -23,6 +23,7 @@
coverage
coverage.info
*.gcno
+data/touchpad.ui
po/Makefile.in.in
po/POTFILES
po/gpointing-device-settings.pot
Modified: trunk/configure.ac
==============================================================================
--- trunk/configure.ac (original)
+++ trunk/configure.ac Fri Feb 27 10:25:29 2009
@@ -21,6 +21,8 @@
AC_SUBST(GETTEXT_PACKAGE)
AC_DEFINE_UNQUOTED([GETTEXT_PACKAGE], ["$GETTEXT_PACKAGE"], [Gettext package])
+AM_GLIB_GNU_GETTEXT
+
if test "x$GCC" = "xyes"; then
case " $CFLAGS " in
*[\ \ ]-Wall[\ \ ]*) ;;
Added: trunk/po/LINGUAS
==============================================================================
--- (empty file)
+++ trunk/po/LINGUAS Fri Feb 27 10:25:29 2009
@@ -0,0 +1 @@
+ja
Modified: trunk/src/Makefile.am
==============================================================================
--- trunk/src/Makefile.am (original)
+++ trunk/src/Makefile.am Fri Feb 27 10:25:29 2009
@@ -30,6 +30,7 @@
bin_PROGRAMS = gpointing-device-settings
gpointing_device_settings_CFLAGS = \
+ -DLOCALEDIR=\""$(localedir)"\" \
$(GPDS_CFLAGS) \
$(COVERAGE_CFLAGS)
Modified: trunk/src/gpointing-device-settings.c
==============================================================================
--- trunk/src/gpointing-device-settings.c (original)
+++ trunk/src/gpointing-device-settings.c Fri Feb 27 10:25:29 2009
@@ -108,6 +108,10 @@
{
GtkWidget *dialog, *notebook, *content_area;
+ bindtextdomain(GETTEXT_PACKAGE, LOCALEDIR);
+ bind_textdomain_codeset(GETTEXT_PACKAGE, "UTF-8");
+ textdomain(GETTEXT_PACKAGE);
+
gtk_init(&argc, &argv);
gpds_init();
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]