* logger.c : file logging plugin for vlc
*****************************************************************************
* Copyright (C) 2002 VideoLAN
- * $Id: logger.c,v 1.10 2004/01/25 17:20:19 kuehne Exp $
+ * $Id: logger.c,v 1.11 2004/01/25 17:52:17 gbazin Exp $
*
* Authors: Samuel Hocevar <sam@zoy.org>
*
#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 );
+ set_description( _("File logging interface") );
+
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_capability( "interface", 0 );
set_callbacks( Open, Close );
vlc_module_end();
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 */
* vlcshell.cpp: a VLC plugin for Mozilla
*****************************************************************************
* Copyright (C) 2002 VideoLAN
- * $Id: vlcshell.cpp,v 1.28 2004/01/25 16:17:03 anil Exp $
+ * $Id: vlcshell.cpp,v 1.29 2004/01/25 17:52:17 gbazin Exp $
*
* Authors: Samuel Hocevar <sam@zoy.org>
*
#include "vlcplugin.h"
#if USE_LIBVLC
-# define WINDOW_TEXT _("(no picture)")
+# define WINDOW_TEXT "(no picture)"
#else
-# define WINDOW_TEXT _("(no libvlc)")
+# define WINDOW_TEXT "(no libvlc)"
#endif
/*****************************************************************************
#if USE_LIBVLC
snprintf( psz_desc, 1000-1, PLUGIN_DESCRIPTION, VLC_Version() );
#else
- snprintf( psz_desc, 1000-1, PLUGIN_DESCRIPTION, _("(disabled)") );
+ snprintf( psz_desc, 1000-1, PLUGIN_DESCRIPTION, "(disabled)" );
#endif
psz_desc[1000-1] = 0;
*((char **)value) = psz_desc;