[gq-commit] gq/src i18n.h,1.1,1.2
Status: Beta
Brought to you by:
sur5r
From: <sta...@us...> - 2002-10-11 13:51:32
|
Update of /cvsroot/gqclient/gq/src In directory usw-pr-cvs1:/tmp/cvs-serv26965 Modified Files: i18n.h Log Message: * Added missing #define for ngettext in case we do not use I18N * Added prototype for the S_ function (allowing for prefix tags in messages) Index: i18n.h =================================================================== RCS file: /cvsroot/gqclient/gq/src/i18n.h,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** i18n.h 24 Apr 2002 05:46:33 -0000 1.1 --- i18n.h 11 Oct 2002 13:51:27 -0000 1.2 *************** *** 45,48 **** --- 45,49 ---- # define textdomain(String) (String) # define gettext(String) (String) + # define ngettext(String1, StringN, n) (((n) == 1) ? (String1) : (StringN)) # define dgettext(Domain,Message) (Message) # define dcgettext(Domain,Message,Type) (Message) *************** *** 51,54 **** --- 52,57 ---- # define N_(String) (String) #endif + + char *S_(const char *msgid); #endif |