use automake 1.11, autoconf 2.65
[abook.git] / gettext.c
blob0dd9dbf7f9fc46b4ddcd22c9e912e8956691e595
1 #ifdef HAVE_CONFIG_H
2 # include "config.h"
3 #endif
5 #include <string.h>
6 #include "gettext.h"
8 const char *
9 sgettext(const char *msgid)
11 const char *msgval = gettext(msgid);
13 if(msgval == msgid)
14 msgval = strrchr(msgid, '|') + 1;
16 return msgval;