[PATCH] making balsa use i18n
- From: Michael Glauche <mg plum de>
- To: balsa-list gnome org
- Subject: [PATCH] making balsa use i18n
- Date: Wed, 27 Jan 1999 11:01:28 +0100
Here's a little patch that make balsa use gettext. :)
Sending it with balsa .. so hope it works !
regards,
Michael
? diffs
Index: Makefile.am
===================================================================
RCS file: /cvs/gnome/balsa/src/Makefile.am,v
retrieving revision 1.50
diff -u -r1.50 Makefile.am
--- Makefile.am 1998/12/26 22:15:26 1.50
+++ Makefile.am 1999/01/27 09:58:38
@@ -41,7 +41,9 @@
INCLUDES=-I. -I${top_srcdir}/libbalsa -I${top_srcdir} -I$(top_srcdir)/idl \
- -I$(top_builddir)/idl -I${top_builddir}/libmutt $(GNOME_INCLUDEDIR)
+ -I$(top_builddir)/idl -I${top_builddir}/libmutt $(GNOME_INCLUDEDIR) \
+ -DGNOMELOCALEDIR=\""$(datadir)/locale"\" \
+ -DLOCALEDIR=\"$(datadir)/locale\"
balsa_LDADD = \
$(top_builddir)/libbalsa/libbalsa.a \
Index: main.c
===================================================================
RCS file: /cvs/gnome/balsa/src/main.c,v
retrieving revision 1.47
diff -u -r1.47 main.c
--- main.c 1999/01/13 23:05:55 1.47
+++ main.c 1999/01/27 09:58:39
@@ -149,6 +149,10 @@
int
main (int argc, char *argv[])
{
+
+ bindtextdomain(PACKAGE, GNOMELOCALEDIR);
+ textdomain(PACKAGE);
+
balsa_init (argc, argv);
balsa_app_init ();
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]