mirror of
https://github.com/mirror/wget.git
synced 2025-02-28 21:00:25 +08:00
gettext: Use gnulib's gettext.h for compatibility
Fixes issues with gettext on Solaris Reported-by: Kiyoshi KANAZAWA <yoi_no_myoujou@yahoo.co.jp>
This commit is contained in:
parent
c83f344564
commit
3d8e765c1d
@ -47,6 +47,7 @@ getopt-gnu
|
||||
getpass-gnu
|
||||
getpeername
|
||||
getsockname
|
||||
gettext
|
||||
gitlog-to-changelog
|
||||
git-version-gen
|
||||
gnupload
|
||||
|
@ -58,13 +58,8 @@ as that of the covered work. */
|
||||
|
||||
/* `gettext (FOO)' is long to write, so we use `_(FOO)'. If NLS is
|
||||
unavailable, _(STRING) simply returns STRING. */
|
||||
#if ENABLE_NLS
|
||||
# include <libintl.h>
|
||||
# define _(STRING) gettext(STRING)
|
||||
#else
|
||||
# define _(STRING) STRING
|
||||
# define ngettext(STRING1,STRING2,N) STRING2
|
||||
#endif
|
||||
#include "gettext.h"
|
||||
#define _(STRING) gettext(STRING)
|
||||
|
||||
/* A pseudo function call that serves as a marker for the automated
|
||||
extraction of messages, but does not call gettext(). The run-time
|
||||
|
Loading…
Reference in New Issue
Block a user