[vlc-devel] [PATCH 2/2] logger/file: Use defines for logfile text and longtext

Marvin Scholz epirat07 at gmail.com
Fri Sep 8 21:49:34 CEST 2017

Make it consistent with the rest of the options text and longtexts
 modules/logger/file.c | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/modules/logger/file.c b/modules/logger/file.c
index dc13f90e18..48c0d8c45e 100644
--- a/modules/logger/file.c
+++ b/modules/logger/file.c
@@ -205,6 +205,9 @@ static const char *const verbosity_text[] = { N_("Default"), N_("Info"), N_("Err
 #define FILE_LOG_TEXT N_("Log to file")
 #define FILE_LOG_LONGTEXT N_("Log all VLC messages to a text file.")
+#define LOGFILE_NAME_TEXT N_("Log filename")
+#define LOGFILE_NAME_LONGTEXT N_("Specify the log filename.")
 #define LOGMODE_TEXT N_("Log format")
 #define LOGMODE_LONGTEXT N_("Specify the logging format.")
@@ -222,7 +225,7 @@ vlc_module_begin()
     add_bool("file-logging", false, FILE_LOG_TEXT, FILE_LOG_LONGTEXT, false)
     add_savefile("logfile", NULL,
-                 N_("Log filename"), N_("Specify the log filename."), false)
     add_string("logmode", "text", LOGMODE_TEXT, LOGMODE_LONGTEXT, false)
         change_string_list(mode_list, mode_list_text)
     add_integer("log-verbose", -1, LOGVERBOSE_TEXT, LOGVERBOSE_LONGTEXT, false)
2.11.0 (Apple Git-81)

More information about the vlc-devel mailing list