1
0
mirror of https://github.com/moparisthebest/wget synced 2024-07-03 16:38:41 -04:00

[svn] Workaround lack of ngettext.

This commit is contained in:
micah 2007-08-27 08:35:26 -07:00
parent 5d718ebfda
commit cfc064c9b7
2 changed files with 6 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2007-08-27 Micah Cowan <micah@cowan.name>
* wget.h: Added macro replacement for ngettext, for environs
that lack NLS.
2007-08-26 Micah Cowan <micah@cowan.name>
* spider.c (print_broken_links): Fixed incorrect plurals msgid

View File

@ -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