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