]> git.sesse.net Git - vlc/commitdiff
* mozilla/vlcshell.cpp: don't translate debug messages.
authorGildas Bazin <gbazin@videolan.org>
Sun, 25 Jan 2004 17:52:17 +0000 (17:52 +0000)
committerGildas Bazin <gbazin@videolan.org>
Sun, 25 Jan 2004 17:52:17 +0000 (17:52 +0000)
* modules/misc/logger/logger.c: compilation fix.

modules/misc/logger/logger.c
mozilla/vlcshell.cpp

index c1336b5a61919530ae605a9918c8989d1079f763..7135f212f662e6b875f111ec369308cff1b9bf42 100644 (file)
@@ -2,7 +2,7 @@
  * 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>
  *
@@ -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\".")
 
 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();
@@ -156,7 +157,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 */
index 9f3a63cff8c735936797717201a6b64a6669df48..24401e6caf40a7d7189cf03066c65ad052bafde2 100644 (file)
@@ -2,7 +2,7 @@
  * 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>
  *
@@ -73,9 +73,9 @@
 #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
 
 /*****************************************************************************
@@ -133,7 +133,7 @@ NPError NPP_GetValue( NPP instance, NPPVariable variable, void *value )
 #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;