Commit c8766742 authored by Gildas Bazin's avatar Gildas Bazin

* mozilla/vlcshell.cpp: don't translate debug messages.
* modules/misc/logger/logger.c: compilation fix.
parent 3f74a523
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* logger.c : file logging plugin for vlc * logger.c : file logging plugin for vlc
***************************************************************************** *****************************************************************************
* Copyright (C) 2002 VideoLAN * 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> * Authors: Samuel Hocevar <sam@zoy.org>
* *
...@@ -88,12 +88,13 @@ static char *mode_list_text[] = { N_("Text"), N_("Html") }; ...@@ -88,12 +88,13 @@ static char *mode_list_text[] = { N_("Text"), N_("Html") };
#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(); 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_file( "logfile", NULL, NULL, N_("Log filename"), N_("Specify the log filename."), VLC_FALSE );
add_string( "logmode", "text", NULL, LOGMODE_TEXT, LOGMODE_LONGTEXT, add_string( "logmode", "text", NULL, LOGMODE_TEXT, LOGMODE_LONGTEXT,
VLC_FALSE ); VLC_FALSE );
change_string_list( mode_list, mode_list_text, 0 ); change_string_list( mode_list, mode_list_text, 0 );
set_description( _("File logging interface") );
set_capability( "interface", 0 ); set_capability( "interface", 0 );
set_callbacks( Open, Close ); set_callbacks( Open, Close );
vlc_module_end(); vlc_module_end();
...@@ -156,7 +157,7 @@ static int Open( vlc_object_t *p_this ) ...@@ -156,7 +157,7 @@ static int Open( vlc_object_t *p_this )
break; 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 */ /* Open the log file and remove any buffering for the stream */
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* vlcshell.cpp: a VLC plugin for Mozilla * vlcshell.cpp: a VLC plugin for Mozilla
***************************************************************************** *****************************************************************************
* Copyright (C) 2002 VideoLAN * 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> * Authors: Samuel Hocevar <sam@zoy.org>
* *
...@@ -73,9 +73,9 @@ ...@@ -73,9 +73,9 @@
#include "vlcplugin.h" #include "vlcplugin.h"
#if USE_LIBVLC #if USE_LIBVLC
# define WINDOW_TEXT _("(no picture)") # define WINDOW_TEXT "(no picture)"
#else #else
# define WINDOW_TEXT _("(no libvlc)") # define WINDOW_TEXT "(no libvlc)"
#endif #endif
/***************************************************************************** /*****************************************************************************
...@@ -133,7 +133,7 @@ NPError NPP_GetValue( NPP instance, NPPVariable variable, void *value ) ...@@ -133,7 +133,7 @@ NPError NPP_GetValue( NPP instance, NPPVariable variable, void *value )
#if USE_LIBVLC #if USE_LIBVLC
snprintf( psz_desc, 1000-1, PLUGIN_DESCRIPTION, VLC_Version() ); snprintf( psz_desc, 1000-1, PLUGIN_DESCRIPTION, VLC_Version() );
#else #else
snprintf( psz_desc, 1000-1, PLUGIN_DESCRIPTION, _("(disabled)") ); snprintf( psz_desc, 1000-1, PLUGIN_DESCRIPTION, "(disabled)" );
#endif #endif
psz_desc[1000-1] = 0; psz_desc[1000-1] = 0;
*((char **)value) = psz_desc; *((char **)value) = psz_desc;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment