diff --git a/src/ChangeLog b/src/ChangeLog index 5d906615..4eb61f4a 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,8 @@ +2007-08-27 Micah Cowan + + * wget.h: Added macro replacement for ngettext, for environs + that lack NLS. + 2007-08-26 Micah Cowan * spider.c (print_broken_links): Fixed incorrect plurals msgid diff --git a/src/wget.h b/src/wget.h index 6d35190f..45b34d60 100644 --- a/src/wget.h +++ b/src/wget.h @@ -55,6 +55,7 @@ so, delete this exception statement from your version. */ # endif /* not HAVE_LIBINTL_H */ #else /* not HAVE_NLS */ # define _(string) (string) +# define ngettext(sing, plur, num) ((num) == 1 ? (sing) : (plur)) #endif /* not HAVE_NLS */ /* A pseudo function call that serves as a marker for the automated