[vlc-commits] logger: do not enumerate choices (wrong) in long text
Rémi Denis-Courmont
git at videolan.org
Sun Jan 22 19:00:46 CET 2012
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sun Jan 22 19:00:24 2012 +0100| [bf52416f89c8cecc4a75d14c2f0f3fd49f9dc4b3] | committer: Rémi Denis-Courmont
logger: do not enumerate choices (wrong) in long text
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=bf52416f89c8cecc4a75d14c2f0f3fd49f9dc4b3
---
modules/misc/logger.c | 14 +++-----------
1 files changed, 3 insertions(+), 11 deletions(-)
diff --git a/modules/misc/logger.c b/modules/misc/logger.c
index 9927357..7e065ff 100644
--- a/modules/misc/logger.c
+++ b/modules/misc/logger.c
@@ -124,20 +124,12 @@ static const char *const mode_list_text[] = { N_("Text"), "HTML"
};
#define LOGMODE_TEXT N_("Log format")
-#ifndef HAVE_SYSLOG_H
-#define LOGMODE_LONGTEXT N_("Specify the log format. Available choices are " \
- "\"text\" (default) and \"html\".")
-#else
-
-#define LOGMODE_LONGTEXT N_("Specify the log format. Available choices are " \
- "\"text\" (default), \"html\", \"syslog\" (special mode to send to " \
- "syslog instead of file), and \"android\" (special mode to send to " \
- "android logging facility).")
+#define LOGMODE_LONGTEXT N_("Specify the logging format.")
+#ifdef HAVE_SYSLOG_H
#define SYSLOG_FACILITY_TEXT N_("Syslog facility")
#define SYSLOG_FACILITY_LONGTEXT N_("Select the syslog facility where logs " \
- "will be forwarded. Available choices are \"user\" (default), \"daemon\", " \
- "and \"local0\" through \"local7\".")
+ "will be forwarded.")
/* First in list is the default facility used. */
#define DEFINE_SYSLOG_FACILITY \
More information about the vlc-commits
mailing list