16 lines
214 B
C
16 lines
214 B
C
|
#include "ephoto.h"
|
||
|
#include <string.h>
|
||
|
|
||
|
/*NLS Translator*/
|
||
|
char *sgettext(const char *msgid)
|
||
|
{
|
||
|
char *msgval = gettext(msgid);
|
||
|
|
||
|
if (msgval == msgid)
|
||
|
{
|
||
|
msgval = strrchr(msgid, '|') + 1;
|
||
|
}
|
||
|
|
||
|
return msgval;
|
||
|
}
|