On Sat, 2003-07-12 at 08:55, Brook Keele wrote:
I understand what gettext is, but glade is generating this bit of code. #ifdef ENABLE_NLS bindtextdomain (GETTEXT_PACKAGE, PACKAGE_LOCALE_DIR); bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8"); textdomain (GETTEXT_PACKAGE); #endif The problem is: GETTEXT_PACKAGE isn't defined anywhere. On top of that I can't find any good documentation that tells me what it is supposed to contain. i.e. the location of gettext? Anyone else ever have this problem?
GETTEXT_PACKAGE should be defined in configure.in. For example: [...] GETTEXT_PACKAGE=gnomechat AC_SUBST(GETTEXT_PACKAGE) AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE,"$GETTEXT_PACKAGE", [Package Name for Gettext]) ALL_LINGUAS="am ca cs da es fr ms nl no pt pt_BR sr sr Latn sv" AM_GLIB_GNU_GETTEXT [...] The "am cs..." string should be blank at first (translators can add their languages to this). -- Peace, Jim Cape http://ignore-your.tv "It is literally true that, like Christianity, Socialism has conquered the world by defeating itself." -- Alexander Berkman, ABC of Anarchism
Attachment:
signature.asc
Description: This is a digitally signed message part