]> git.sesse.net Git - vlc/blobdiff - modules/misc/logger/logger.c
string review by Christophe Mutricy aka xtophe
[vlc] / modules / misc / logger / logger.c
index c9ae2677fbf9b295a4dfedc156a6d55ed801b318..c1336b5a61919530ae605a9918c8989d1079f763 100644 (file)
@@ -2,7 +2,7 @@
  * logger.c : file logging plugin for vlc
  *****************************************************************************
  * Copyright (C) 2002 VideoLAN
- * $Id: logger.c,v 1.9 2003/11/05 00:39:16 gbazin Exp $
+ * $Id: logger.c,v 1.10 2004/01/25 17:20:19 kuehne Exp $
  *
  * Authors: Samuel Hocevar <sam@zoy.org>
  *
@@ -85,15 +85,15 @@ static char *mode_list[] = { "text", "html" };
 static char *mode_list_text[] = { N_("Text"), N_("Html") };
 
 #define LOGMODE_TEXT N_("Log format")
-#define LOGMODE_LONGTEXT N_("Specify the log format. Available choices are \"text\" (default) and \"html\"")
+#define LOGMODE_LONGTEXT N_("Specify the log format. Available choices are \"text\" (default) and \"html\".")
 
 vlc_module_begin();
     add_category_hint( N_("Miscellaneous"), NULL, VLC_FALSE );
-    add_file( "logfile", NULL, NULL, N_("log filename"), N_("Specify the log filename."), VLC_FALSE );
+    add_file( "logfile", NULL, NULL, N_("Log filename"), N_("Specify the log filename."), VLC_FALSE );
     add_string( "logmode", "text", NULL, LOGMODE_TEXT, LOGMODE_LONGTEXT,
                 VLC_FALSE );
         change_string_list( mode_list, mode_list_text, 0 );
-    set_description( _("file logging interface") );
+    set_description( _("File logging interface") );
     set_capability( "interface", 0 );
     set_callbacks( Open, Close );
 vlc_module_end();
@@ -107,7 +107,7 @@ static int Open( vlc_object_t *p_this )
     char *psz_mode, *psz_file;
 
     CONSOLE_INTRO_MSG;
-    msg_Info( p_intf, _("Using the logger interface plugin...") );
+    msg_Info( p_intf, "Using the logger interface module..." );
 
     /* Allocate instance and initialize some members */
     p_intf->p_sys = (intf_sys_t *)malloc( sizeof( intf_sys_t ) );
@@ -156,7 +156,7 @@ static int Open( vlc_object_t *p_this )
             break;
         }
 
-        msg_Warn( p_intf, "no log filename provided, using `%s'", psz_file );
+        msg_Warn( p_intf, no log filename provided, using `%s'", psz_file );
     }
 
     /* Open the log file and remove any buffering for the stream */