Commit f5171b85 authored by Carlos Perell Marn's avatar Carlos Perell Marn Committed by Carlos Perelló Marín
Browse files

drop the 2 from the package name, and set GETTEXT_PACKAGE add

2001-11-01  Carlos Perell Marn <carlos@gnome-db.org>

	* configure.in: drop the 2 from the package name, and set
	GETTEXT_PACKAGE
	* acconfig.h: add GETTEXT_PACKAGE
	* src/main.c: modified the gettext args to use GETTEXT_PACKAGE
parent e6f0347c
2001-11-01 Carlos Perell Marn <carlos@gnome-db.org>
* configure.in: drop the 2 from the package name, and set
GETTEXT_PACKAGE
* acconfig.h: add GETTEXT_PACKAGE
* src/main.c: modified the gettext args to use GETTEXT_PACKAGE
2001-10-31 Carlos Perell Marn <carlos@gnome-db.org>
* src/glade-placeholder.[ch] (glade_placeholder_remove_all):
......
......@@ -14,3 +14,4 @@
#undef USING_OAF
#undef PIXMAPS_DIR
#undef WIDGETS_DIR
#undef GETTEXT_PACKAGE
......@@ -3,7 +3,7 @@ dnl Process this file with autoconf to produce a configure script.
AC_PREREQ(2.52)
AC_INIT(src/glade-widget.c)
AM_INIT_AUTOMAKE(glade2, 0.0.22)
AM_INIT_AUTOMAKE(glade, 0.0.22)
AM_MAINTAINER_MODE
AM_CONFIG_HEADER(config.h)
......@@ -24,6 +24,9 @@ AC_CHECK_HEADERS(os2.h)
dnl ================================================================
dnl Gettext stuff.
dnl ================================================================
GETTEXT_PACKAGE=glade-2.0
AC_SUBST(GETTEXT_PACKAGE)
AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE,"$GETTEXT_PACKAGE")
ALL_LINGUAS="az es nn no ru sv ta tr"
AM_GLIB_GNU_GETTEXT
......
......@@ -103,10 +103,10 @@ main (int argc, char *argv[])
#ifdef ENABLE_NLS
setlocale (LC_ALL, "");
bindtextdomain (PACKAGE, GLADE_LOCALEDIR);
textdomain (PACKAGE);
bindtextdomain (GETTEXT_PACKAGE, GLADE_LOCALEDIR);
textdomain (GETTEXT_PACKAGE);
#if 0
g_print ("textdomain %s\n", PACKAGE);
g_print ("textdomain %s\n", GETTEXT_PACKAGE);
g_print ("localedir %s\n", GLADE_LOCALEDIR);
g_print (_("Translate me\n"));
#endif
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment