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:
parent
5d718ebfda
commit
cfc064c9b7
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user