You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Erik Huelsmann <e....@gmx.net> on 2004/04/18 07:43:25 UTC

Unbreaking xgettext support (was: svn commit: r9408 - in trunk: . build/generator build/win32 subversion/libsvn_subr)

> -/* Until Win32 gets gettext functionality, leave these disabled. */
> +/* Setup gettext macros */
>  #define N_(x) (x)
> +#ifdef ENABLE_NLS
> +#define PACKAGE_NAME "subversion"

I'd like to move the PACKAGE_NAME up above the ENABLE_NLS, because I have a
patch here to unbreak xgettext support which requires PACKAGE_NAME to be
always-defined.

> +#include <locale.h>
> +#include <libintl.h>
> +#define _(x) dgettext(PACKAGE_NAME, x)
> +#else
>  #define _(x) (x)

Here I'd like to add defines for gettext and dgettext; also to no-op macro's
like you did for _.

> +#endif


Any objections anybody?

-- 
NEU : GMX Internet.FreeDSL
Ab sofort DSL-Tarif ohne Grundgebühr: http://www.gmx.net/info


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org