]> git.deb.at Git - pkg/abook.git/blob - gettext.c
build system: updating gnuconfig files to 2013-06-10
[pkg/abook.git] / gettext.c
1 #ifdef HAVE_CONFIG_H
2 #       include "config.h"
3 #endif
4
5 #include <string.h>
6 #include "gettext.h"
7
8 const char *
9 sgettext(const char *msgid)
10 {
11         const char *msgval = gettext(msgid);
12
13         if(msgval == msgid)
14                 msgval = strrchr(msgid, '|') + 1;
15
16         return msgval;
17 }
18