capplet NLS support
- From: Yuusuke Tahara <m5021212 u-aizu ac jp>
- To: gnome-pilot-list gnome org
- Subject: capplet NLS support
- Date: Wed, 08 Dec 1999 15:23:08 +0900
Hi,
Please apply this patch for gettextized messages on a capplet.
--- gnome-pilot-0.1.46.orig/capplet/gpilotd-control-applet.c Tue Dec 7 00:57:51 1999
+++ gnome-pilot-0.1.46/capplet/gpilotd-control-applet.c Wed Dec 8 14:54:02 1999
@@ -2,7 +2,7 @@
/* */
/* Copyright 1998 Red Hat Software */
/* Author: Michael Fulbright <msf@redhat.com> */
-
+#include <config.h>
#include <pwd.h>
#include <sys/types.h>
#include <signal.h>
@@ -890,6 +890,9 @@
int
main( int argc, char *argv[] )
{
+ bindtextdomain (PACKAGE, GNOMELOCALEDIR);
+ textdomain (PACKAGE);
+
/* we're a capplet */
switch(gnome_capplet_init ("gpilot control applet", VERSION, argc, argv,
NULL,
--- Tahara Yuusuke <m5021212@u-aizu.ac.jp>
-> The University of Aizu / Department of Computer Systems
-> http://www.u-aizu.ac.jp/~m5021212/
-> http://gehenna.u-aizu.ac.jp/~tahara/
-> ICQ: 38459330(@work), 35702748(@lab), 14439176(@home)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]