summaryrefslogtreecommitdiffabout
path: root/src/log.c
authorSergey Poznyakoff <gray@gnu.org.ua>2009-04-26 21:50:31 (GMT)
committer Sergey Poznyakoff <gray@gnu.org.ua>2009-04-26 21:50:31 (GMT)
commitfe8f5226e8bc39bdc75e40e1c1ea464e9fc60ad3 (patch) (side-by-side diff)
tree611a7c8505a0eb77a2b84de5dab80b6ca02a14e6 /src/log.c
parentd50fc04ded36255465184a16c70eb4c50acdb199 (diff)
downloadtagr-fe8f5226e8bc39bdc75e40e1c1ea464e9fc60ad3.tar.gz
tagr-fe8f5226e8bc39bdc75e40e1c1ea464e9fc60ad3.tar.bz2
Provide i18n markers
Diffstat (limited to 'src/log.c') (more/less context) (ignore whitespace changes)
-rw-r--r--src/log.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/log.c b/src/log.c
index de847c9..e5ae4e1 100644
--- a/src/log.c
+++ b/src/log.c
@@ -31,3 +31,3 @@
-int log_facility = LOGFACILITY;
+int log_facility = LOG_FACILITY;
char *log_tag;
@@ -53,8 +53,8 @@ int syslog_level[] = {
char *level_str[] = {
- "debug",
- "info",
- "notice",
- "warning",
- "error",
- "CRITICAL",
+ N_("debug"),
+ N_("info"),
+ N_("notice"),
+ N_("warning"),
+ N_("error"),
+ N_("CRITICAL"),
};
@@ -67,3 +67,3 @@ vlogmsg (int level, const char *fmt, va_list ap)
{
- fprintf (stderr, "%s: %s: ", log_tag, level_str[level]);
+ fprintf (stderr, "%s: %s: ", log_tag, gettext (level_str[level]));
vfprintf (stderr, fmt, ap);

Return to:

Send suggestions and report system problems to the System administrator.