repo.or.cz
/
abook.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
use automake 1.11, autoconf 2.65
[abook.git]
/
gettext.c
blob
0dd9dbf7f9fc46b4ddcd22c9e912e8956691e595
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