diff options
author | Sergey Poznyakoff <gray@gnu.org.ua> | 2009-04-27 00:50:31 +0300 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org.ua> | 2009-04-27 00:50:31 +0300 |
commit | fe8f5226e8bc39bdc75e40e1c1ea464e9fc60ad3 (patch) | |
tree | 611a7c8505a0eb77a2b84de5dab80b6ca02a14e6 /src/tagr.h | |
parent | d50fc04ded36255465184a16c70eb4c50acdb199 (diff) | |
download | tagr-fe8f5226e8bc39bdc75e40e1c1ea464e9fc60ad3.tar.gz tagr-fe8f5226e8bc39bdc75e40e1c1ea464e9fc60ad3.tar.bz2 |
Provide i18n markers
Diffstat (limited to 'src/tagr.h')
-rw-r--r-- | src/tagr.h | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -21,5 +21,4 @@ | |||
21 | #include <grecs.h> | 21 | #include <grecs.h> |
22 | 22 | ||
23 | #define LOGFACILITY LOG_LOCAL5 | ||
24 | #define TAGR_CONFIGFILE SYSCONFDIR "/tagr.conf" | 23 | #define TAGR_CONFIGFILE SYSCONFDIR "/tagr.conf" |
25 | #define TAGR_TEMPLATE SYSCONFDIR "/tagr.tmpl" | 24 | #define TAGR_TEMPLATE SYSCONFDIR "/tagr.tmpl" |
@@ -28,6 +27,8 @@ | |||
28 | #define TAGR_DBMODE 0600 | 27 | #define TAGR_DBMODE 0600 |
29 | 28 | ||
30 | #define _(s) s | 29 | #define _(s) gettext (s) |
31 | #define N_(s) s | 30 | #define N_(s) s |
31 | #define gettext(s) s | ||
32 | #define ngettext(s,p,c) ((c) == 1 ? (s) : (p)) | ||
32 | 33 | ||
33 | struct monitor | 34 | struct monitor |