]> git.sesse.net Git - vlc/commitdiff
* string review.
authorAnil Daoud <anil@videolan.org>
Sun, 25 Jan 2004 16:17:04 +0000 (16:17 +0000)
committerAnil Daoud <anil@videolan.org>
Sun, 25 Jan 2004 16:17:04 +0000 (16:17 +0000)
22 files changed:
modules/control/corba/README
modules/control/corba/client.py
modules/control/corba/corba.c
modules/control/corba/simpleplayer.py
modules/control/gestures.c
modules/control/hotkeys.c
modules/control/http.c
modules/control/joystick.c
modules/control/lirc/lirc.c
modules/control/ntservice.c
modules/control/rc/rc.c
mozilla/npvlc_rc.rc
mozilla/vlcshell.cpp
python/setup.py
python/vlcmodule.c
python/vlrs/rtsp.py
python/vlrs/sap.py
python/vlrs/vlrs.py
share/http/admin/browse.html
share/http/admin/index.html
share/http/index.html
share/http/info.html

index aa99b49847a37cd931c3fe26d7f60bc8c3411be3..be9a6f193a6f18f8ba2d559390d1c100aadd9e0d 100644 (file)
@@ -1,8 +1,8 @@
-$Id: README,v 1.1 2003/07/07 16:59:00 sam Exp $
+$Id: README,v 1.2 2004/01/25 16:17:03 anil Exp $
 * Module (server) side
 ** Dependencies
 
-To compile the CORBA plugin, you need the orbit2 developpement files
+To compile the CORBA module, you need the orbit2 developpement files
 (for Debian, install the package liborbi2-dev)
 
 ** How to run it ?
index d23006c3a088de19e9b951fa4c3eb7df21b4f99e..cee9a21bf04a04642edbff7ba5f68ff9dc35a0dc 100644 (file)
@@ -12,7 +12,7 @@ def quit ():
        except:
                pass
                
-print "Chargement de l'IDL"
+print "IDL loading"
 ORBit.load_typelib ("./MediaControl.so")
 import VLC
 
@@ -20,13 +20,13 @@ if len(sys.argv) < 1:
        print "Usage: %s" % sys.argv[0]
        sys.exit(1)
 
-print "Initialisation de l'ORB"
+print "ORB initialization"
 orb = CORBA.ORB_init()
 
 ior = open("/tmp/vlc-ior.ref").readline()
 mc = orb.string_to_object(ior)
 
-print "Objet mc %s" % mc
+print "Object mc %s" % mc
 
 pos = mc.get_media_position (0,0)
 print "pos = mc.get_media_position (0,0)"
index 71437d1150537054bfdd9d814ce12a8a16eac460..ae8a453fcf1be7253c1b21d849b84f5887ca48e6 100644 (file)
@@ -1,8 +1,8 @@
 /*****************************************************************************
- * corba.c : CORBA (ORBit) remote control plugin for vlc
+ * corba.c : CORBA (ORBit) remote control module for vlc
  *****************************************************************************
  * Copyright (C) 2001 VideoLAN
- * $Id: corba.c,v 1.3 2004/01/05 13:07:02 zorglub Exp $
+ * $Id: corba.c,v 1.4 2004/01/25 16:17:03 anil Exp $
  *
  * Authors: Olivier Aubert <oaubert at lisi dot univ-lyon1 dot fr>
  *
@@ -337,7 +337,7 @@ impl_VLC_MediaControl_get_media_position(impl_POA_VLC_MediaControl * servant,
     }
 
   /* We are asked for an AbsolutePosition. */
-  /* Cf plugins/gtk/gtk_display.c */
+  /* Cf modules/gui/gtk/gtk_display.c */
 
   /* The lock is taken by the currentOffset function */
   l_offset = currentOffset (p_input);
@@ -459,7 +459,7 @@ impl_VLC_MediaControl_start(impl_POA_VLC_MediaControl * servant,
     {
       /* FIXME: we should raise an appropriate exception, but we must
          define it in the IDL first */
-      msg_Err (servant->p_intf, "Error: no playlist available.");
+      msg_Err (servant->p_intf, "no playlist available");
       return;
     }
 
@@ -474,7 +474,7 @@ impl_VLC_MediaControl_start(impl_POA_VLC_MediaControl * servant,
     {
         vlc_mutex_unlock( &p_playlist->object_lock );
         vlc_object_release( p_playlist );
-        msg_Err (servant->p_intf, "Error: playlist empty.");
+        msg_Err (servant->p_intf, "playlist empty");
     }
 
   return;
@@ -486,7 +486,7 @@ impl_VLC_MediaControl_pause(impl_POA_VLC_MediaControl * servant,
 {
   input_thread_t *p_input = servant->p_intf->p_sys->p_input;
 
-  msg_Warn (servant->p_intf, "Calling MediaControl::pause");
+  msg_Warn (servant->p_intf, "calling MediaControl::pause");
 
   if( p_input != NULL )
     {
@@ -502,7 +502,7 @@ impl_VLC_MediaControl_resume(impl_POA_VLC_MediaControl * servant,
 {
   input_thread_t *p_input = servant->p_intf->p_sys->p_input;
 
-  msg_Warn (servant->p_intf, "Calling MediaControl::resume");
+  msg_Warn (servant->p_intf, "calling MediaControl::resume");
 
   if( p_input != NULL )
     {
@@ -520,7 +520,7 @@ impl_VLC_MediaControl_stop(impl_POA_VLC_MediaControl * servant,
   playlist_t * p_playlist = vlc_object_find( p_intf, VLC_OBJECT_PLAYLIST,
                                              FIND_ANYWHERE );
 
-  msg_Warn (servant->p_intf, "Calling MediaControl::stop");
+  msg_Warn (servant->p_intf, "calling MediaControl::stop");
 
   if( p_playlist != NULL )
     {
@@ -535,7 +535,7 @@ static void
 impl_VLC_MediaControl_exit(impl_POA_VLC_MediaControl * servant,
                            CORBA_Environment * ev)
 {
-  msg_Warn (servant->p_intf, "Calling MediaControl::exit");
+  msg_Warn (servant->p_intf, "calling MediaControl::exit");
 
   vlc_mutex_lock( &servant->p_intf->change_lock );
   servant->p_intf->b_die = TRUE;
@@ -551,11 +551,11 @@ impl_VLC_MediaControl_add_to_playlist(impl_POA_VLC_MediaControl * servant,
   playlist_t * p_playlist = vlc_object_find( p_intf, VLC_OBJECT_PLAYLIST,
                                              FIND_ANYWHERE );
 
-  msg_Warn (servant->p_intf, "Calling MediaControl::add_to_playlist %s", psz_file);
+  msg_Warn (servant->p_intf, "calling MediaControl::add_to_playlist %s", psz_file);
 
   if ( p_playlist == NULL )
     {
-      msg_Err (servant->p_intf, "Error: no playlist defined");
+      msg_Err (servant->p_intf, "no playlist defined");
       /* FIXME: should return an exception */
       return;
     }
@@ -577,7 +577,7 @@ impl_VLC_MediaControl_get_playlist(impl_POA_VLC_MediaControl * servant,
                                               FIND_ANYWHERE );
    int i_playlist_size;
 
-   msg_Warn (servant->p_intf, "Calling MediaControl::get_playlist");
+   msg_Warn (servant->p_intf, "calling MediaControl::get_playlist");
 
    vlc_mutex_lock( &p_playlist->object_lock );
    i_playlist_size = p_playlist->i_size;
@@ -611,8 +611,7 @@ static void Run          ( intf_thread_t * );
  * Module descriptor
  *****************************************************************************/
 vlc_module_begin();
-    add_category_hint( N_("Corba control"), NULL, VLC_FALSE );
-    set_description( _("corba control module") );
+    set_description( _("Corba control module") );
     set_capability( "interface", 10 );
     set_callbacks( Open, Close );
 vlc_module_end();
@@ -658,7 +657,7 @@ static void Close( vlc_object_t *p_this )
 
   ev = CORBA_exception__alloc ();
   CORBA_ORB_shutdown (p_intf->p_sys->orb, FALSE, ev);
-  handle_exception_no_servant (p_intf, "Erreur dans Close");
+  handle_exception_no_servant (p_intf, "erreur dans Close");
 
   if( p_intf->p_sys->p_input )
     {
@@ -684,7 +683,7 @@ static gboolean Manage (gpointer p_interface)
   b_work_pending = CORBA_ORB_work_pending (p_intf->p_sys->orb, ev);
   if(ev->_major != CORBA_NO_EXCEPTION)
     {
-      msg_Err (p_intf, "Exception dans la vérif d'événements CORBA");
+      msg_Err (p_intf, "exception in the CORBA events check");
       return FALSE;
     }
 
@@ -775,21 +774,21 @@ static void Run ( intf_thread_t *p_intf )
      cleaning it */
   /* p_intf->p_sys->orb = gnome_CORBA_init ("VLC", NULL, &argc, &argv, 0, NULL, ev); */
 
-  handle_exception_no_servant (p_intf, "Exception during CORBA_ORB_init");
+  handle_exception_no_servant (p_intf, "exception during CORBA_ORB_init");
 
   p_intf->p_sys->root_poa = (PortableServer_POA)CORBA_ORB_resolve_initial_references(p_intf->p_sys->orb, "RootPOA", ev);
-  handle_exception ("Exception during RootPOA initialization");
+  handle_exception ("exception during RootPOA initialization");
 
   p_intf->p_sys->mc = impl_VLC_MediaControl__create(p_intf->p_sys->root_poa, ev);
-  handle_exception ("Exception during MediaControl initialization");
+  handle_exception ("exception during MediaControl initialization");
 
   servant = (impl_POA_VLC_MediaControl*)PortableServer_POA_reference_to_servant(p_intf->p_sys->root_poa, p_intf->p_sys->mc, ev);
-  handle_exception ("Exception during MediaControl access");
+  handle_exception ("exception during MediaControl access");
 
   servant->p_intf = p_intf;
 
   psz_objref = CORBA_ORB_object_to_string(p_intf->p_sys->orb, p_intf->p_sys->mc, ev);
-  handle_exception ("Exception during IOR generation");
+  handle_exception ("exception during IOR generation");
 
   msg_Warn (p_intf, "MediaControl IOR :");
   msg_Warn (p_intf, psz_objref);
@@ -800,7 +799,7 @@ static void Run ( intf_thread_t *p_intf )
     fp = fopen (VLC_IOR_FILE, "w");
     if (fp == NULL)
       {
-        msg_Err (servant->p_intf, "Cannot write the IOR to %s (%d).", VLC_IOR_FILE, errno);
+        msg_Err (servant->p_intf, "cannot write the IOR to %s (%d).", VLC_IOR_FILE, errno);
       }
     else
       {
@@ -812,11 +811,11 @@ static void Run ( intf_thread_t *p_intf )
 
   msg_Warn (p_intf, "get_the_POAManager (state  %s)", p_intf->p_sys->root_poa);
   p_intf->p_sys->root_poa_manager = PortableServer_POA__get_the_POAManager(p_intf->p_sys->root_poa, ev);
-  handle_exception ("Exception during POAManager resolution");
+  handle_exception ("exception during POAManager resolution");
 
-  msg_Warn (p_intf, "Activating POAManager");
+  msg_Warn (p_intf, "activating POAManager");
   PortableServer_POAManager_activate(p_intf->p_sys->root_poa_manager, ev);
-  handle_exception ("Exception during POAManager activation");
+  handle_exception ("exception during POAManager activation");
 
   msg_Info(p_intf, "corba remote control interface initialized" );
 
@@ -832,12 +831,12 @@ static void Run ( intf_thread_t *p_intf )
     name_service = CORBA_ORB_resolve_initial_references (p_intf->p_sys->orb,
                                                          "NameService",
                                                          ev);
-    handle_exception ("Error: could not get name service: %s\n",
+    handle_exception ("could not get name service: %s\n",
                    CORBA_exception_id(ev));
     msg_Warn (p_intf, "Name service OK");
 
     CosNaming_NamingContext_bind (name_service, &name, p_intf->p_sys->mc, ev);
-      handle_exception ("Error: could not register object: %s\n",
+      handle_exception ("could not register object: %s\n",
       CORBA_exception_id(ev));
   }
     */
@@ -847,7 +846,7 @@ static void Run ( intf_thread_t *p_intf )
   i_event_source = g_timeout_add (INTF_IDLE_SLEEP / 10000,
                                 Manage,
                                 p_intf);
-  msg_Warn (p_intf, "Entering mainloop");
+  msg_Warn (p_intf, "entering mainloop");
 
   p_intf->p_sys->corbaloop = g_main_loop_new (NULL, FALSE);
   g_main_loop_run (p_intf->p_sys->corbaloop);
@@ -856,6 +855,6 @@ static void Run ( intf_thread_t *p_intf )
   g_source_remove( i_event_source );
   unlink (VLC_IOR_FILE);
 
-  msg_Warn (p_intf, "Normal termination of VLC corba plugin");
+  msg_Warn (p_intf, "normal termination of VLC corba module");
   return;
 }
index d437119495a7d79b50ee0ccbb5743006fb4901b8..94a83b7ebc6c8f36fd4be93c0823ae4b922bdc0c 100644 (file)
@@ -72,7 +72,7 @@ class DVDControl (Connect):
         self.gui.get_widget ("win").set_title (title)
         
     def launch_player (self):
-        """Launch the VLC corba plugin"""
+        """Launch the VLC corba module"""
         #print "Launching vlc server..."
         # FIXME: spawn is portable, but how can we make sure that
         # launch-vlc-corba launches the application in the background ?
index 9db5b98ac91b9b0f033d8ab40b323b62c238080f..bbe1029b6abec66c41ef8e1cf1dd060e294704f0 100644 (file)
@@ -1,8 +1,8 @@
 /*****************************************************************************
- * geatures.c: control vlc with mouse gestures
+ * gestures.c: control vlc with mouse gestures
  *****************************************************************************
- * Copyright (C) 2002 VideoLAN
- * $Id: gestures.c,v 1.6 2003/11/05 00:39:16 gbazin Exp $
+ * Copyright (C) 2004 VideoLAN
+ * $Id: gestures.c,v 1.7 2004/01/25 16:17:03 anil Exp $
  *
  * Authors: Sigmund Augdal <sigmunau@idi.ntnu.no>
  *
@@ -74,25 +74,24 @@ static void RunIntf        ( intf_thread_t *p_intf );
 /*****************************************************************************
  * Module descriptor
  *****************************************************************************/
-#define THRESHOLD_TEXT N_( "Motion threshold" )
+#define THRESHOLD_TEXT N_( "Motion threshold (10-100)" )
 #define THRESHOLD_LONGTEXT N_( \
-    "the amount of movement required for a mouse" \
-    " gesture to be recorded" )
+    "Amount of movement required for a mouse" \
+    " gesture to be recorded." )
 
-#define BUTTON_TEXT N_( "Mouse button" )
+#define BUTTON_TEXT N_( "Trigger button" )
 #define BUTTON_LONGTEXT N_( \
-    "the mouse button to be held down during mouse gestures" )
+    "You can set the trigger button for mouse gestures here." )
 
 static char *button_list[] = { "left", "middle", "right" };
 static char *button_list_text[] = { N_("Left"), N_("Middle"), N_("Right") };
 
 vlc_module_begin();
-    add_category_hint( N_( "Gestures" ), NULL, VLC_FALSE );
     add_integer( "gestures-threshold", 30, NULL, THRESHOLD_TEXT, THRESHOLD_LONGTEXT, VLC_TRUE );
     add_string( "gestures-button", "right", NULL,
                 BUTTON_TEXT, BUTTON_LONGTEXT, VLC_FALSE );
         change_string_list( button_list, button_list_text, 0 );
-    set_description( _("mouse gestures control interface") );
+    set_description( _("Mouse gestures control interface") );
 
     set_capability( "interface", 0 );
     set_callbacks( E_(Open), E_(Close) );
@@ -199,7 +198,7 @@ static void RunIntf( intf_thread_t *p_intf )
                 p_intf->p_vlc->b_die = VLC_TRUE;
                 break;
             case GESTURE(DOWN,LEFT,UP,RIGHT):
-                msg_Dbg(p_intf, "A square!" );
+                msg_Dbg(p_intf, "a square!" );
                 break;
             default:
                 break;
index fff42d7d0d676844251d0fc382c6b657067dc3e1..de91423b337c5ba83ef445dfb99db77483a23d81 100755 (executable)
@@ -1,8 +1,8 @@
 /*****************************************************************************
  * hotkeys.c: Hotkey handling for vlc
  *****************************************************************************
- * Copyright (C) 2003 VideoLAN
- * $Id: hotkeys.c,v 1.15 2003/12/15 13:38:27 hartman Exp $
+ * Copyright (C) 2004 VideoLAN
+ * $Id: hotkeys.c,v 1.16 2004/01/25 16:17:03 anil Exp $
  *
  * Authors: Sigmund Augdal <sigmunau@idi.ntnu.no>
  *
@@ -80,10 +80,10 @@ static void SetBookmark ( intf_thread_t *, int );
 #define BOOKMARK9_TEXT N_("Playlist bookmark 9")
 #define BOOKMARK10_TEXT N_("Playlist bookmark 10")
 #define BOOKMARK_LONGTEXT N_( \
-    "This option allows you to define playlist bookmarks")
+    "This option allows you to define playlist bookmarks.")
 
 vlc_module_begin();
-    set_description( _("hotkey interface") );
+    set_description( _("Hotkeys management interface") );
     add_string( "bookmark1", NULL, NULL,
                 BOOKMARK1_TEXT, BOOKMARK_LONGTEXT, VLC_FALSE ); 
     add_string( "bookmark2", NULL, NULL,
@@ -232,7 +232,7 @@ static void Run( intf_thread_t *p_intf )
         if( i_action == ACTIONID_QUIT )
         {
             p_intf->p_vlc->b_die = VLC_TRUE;
-            vout_OSDMessage( VLC_OBJECT(p_intf), _("Quit" ) );
+            vout_OSDMessage( VLC_OBJECT(p_intf), _( "Quit" ) );
             continue;
         }
         else if( i_action == ACTIONID_VOL_UP )
@@ -257,7 +257,7 @@ static void Run( intf_thread_t *p_intf )
             aout_VolumeMute( p_intf, &i_newvol );
             if( i_newvol == 0 )
             {
-                vout_OSDMessage( VLC_OBJECT(p_intf), "Mute" );
+                vout_OSDMessage( VLC_OBJECT(p_intf), _( "Mute" ) );
             }
             else
             {
@@ -483,7 +483,7 @@ static int KeyEvent( vlc_object_t *p_this, char const *psz_var,
     vlc_mutex_lock( &p_intf->p_sys->change_lock );
     if ( p_intf->p_sys->i_size == BUFFER_SIZE )
     {
-        msg_Warn( p_intf, "Event buffer full, dropping keypress" );
+        msg_Warn( p_intf, "event buffer full, dropping keypress" );
         vlc_mutex_unlock( &p_intf->p_sys->change_lock );
         return VLC_EGENERIC;
     }
@@ -554,7 +554,7 @@ static void SetBookmark( intf_thread_t *p_intf, int i_num )
         var_Create( p_intf, psz_bookmark_name, VLC_VAR_STRING|VLC_VAR_DOINHERIT );
         val.psz_string = strdup( p_playlist->pp_items[p_playlist->i_index]->psz_uri );
         var_Set( p_intf, psz_bookmark_name, val );
-        msg_Info( p_intf, "Setting playlist bookmark %i to %s", i_num, val.psz_string );
+        msg_Info( p_intf, "setting playlist bookmark %i to %s", i_num, val.psz_string );
         vlc_object_release( p_playlist );
     }
 }
index c108c46b676bd1843106b09dc038df9ff0305bd0..dca627d26b8e610ffe5d23fdcb719528abc61f6b 100644 (file)
@@ -2,7 +2,7 @@
  * http.c :  http mini-server ;)
  *****************************************************************************
  * Copyright (C) 2001-2004 VideoLAN
- * $Id: http.c,v 1.49 2004/01/18 07:35:31 fenrir Exp $
+ * $Id: http.c,v 1.50 2004/01/25 16:17:03 anil Exp $
  *
  * Authors: Gildas Bazin <gbazin@netcourrier.com>
  *          Laurent Aimar <fenrir@via.ecp.fr>
@@ -71,13 +71,12 @@ static void Close        ( vlc_object_t * );
 
 #define HOST_TEXT N_( "Host address" )
 #define HOST_LONGTEXT N_( \
-    "You can set the address and port on which the http interface will bind" )
+    "You can set the address and port the http interface will bind to." )
 #define SRC_TEXT N_( "Source directory" )
 #define SRC_LONGTEXT N_( "Source directory" )
 
 vlc_module_begin();
     set_description( _("HTTP remote control interface") );
-    add_category_hint( N_("HTTP remote control"), NULL, VLC_TRUE );
         add_string ( "http-host", NULL, NULL, HOST_TEXT, HOST_LONGTEXT, VLC_TRUE );
         add_string ( "http-src",  NULL, NULL, SRC_TEXT,  SRC_LONGTEXT,  VLC_TRUE );
     set_capability( "interface", 0 );
@@ -586,7 +585,7 @@ static int ParseDirectory( intf_thread_t *p_intf, char *psz_root,
             f = malloc( sizeof( httpd_file_callback_args_t ) );
             if( !f )
             {
-                msg_Err( p_intf, "Out of memory" );
+                msg_Err( p_intf, "out of memory" );
                 closedir( p_dir );
                 return( VLC_ENOMEM );
             }
@@ -597,7 +596,7 @@ static int ParseDirectory( intf_thread_t *p_intf, char *psz_root,
 
             if( !f->name || !f->mime )
             {
-                msg_Err( p_intf , "Unable to parse directory" );
+                msg_Err( p_intf , "unable to parse directory" );
                 closedir( p_dir );
                 free( f );
                 return( VLC_ENOMEM );
@@ -626,7 +625,7 @@ static int ParseDirectory( intf_thread_t *p_intf, char *psz_root,
                 f = malloc( sizeof( httpd_file_callback_args_t ) );
                 if( !f )
                 {
-                    msg_Err( p_intf, "Out of memory" );
+                    msg_Err( p_intf, "out of memory" );
                     closedir( p_dir );
                     return( VLC_ENOMEM );
                 }
index a1af79d5d6388e57720d54289ccf61aa3f5c42fe..970a4bab1de2de2600841a28be9db3a8dead0f94 100644 (file)
@@ -1,8 +1,8 @@
 /*****************************************************************************
  * joystick.c: control vlc with a joystick
  *****************************************************************************
- * Copyright (C) 2002 VideoLAN
- * $Id: joystick.c,v 1.3 2003/12/22 02:24:51 sam Exp $
+ * Copyright (C) 2004 VideoLAN
+ * $Id: joystick.c,v 1.4 2004/01/25 16:17:03 anil Exp $
  *
  * Authors: Clément Stenac <zorglub@via.ecp.fr>
  *
@@ -137,33 +137,30 @@ static void Run       ( intf_thread_t *p_intf );
  *****************************************************************************/
 #define THRESHOLD_TEXT N_( "Motion threshold" )
 #define THRESHOLD_LONGTEXT N_( \
-    "The amount of joystick movement required for a movement to be " \
-    "recorded (0->32767)" )
+    "Amount of joystick movement required for a movement to be " \
+    "recorded (0->32767)." )
 
 #define DEVICE_TEXT N_( "Joystick device" )
 #define DEVICE_LONGTEXT N_( \
-    "The joystick device (usually /dev/js0 or /dev/input/js0)")
+    "The joystick device (usually /dev/js0 or /dev/input/js0).")
 
-#define REPEAT_TEXT N_( "Repeat time" )
+#define REPEAT_TEXT N_( "Repeat time (ms)" )
 #define REPEAT_LONGTEXT N_( \
-    "The time waited before the action is repeated if it is still " \
-    "triggered, in milliseconds" )
+    "Delay waited before the action is repeated if it is still " \
+    "triggered, in milliseconds." )
 
-#define WAIT_TEXT N_( "Wait time")
+#define WAIT_TEXT N_( "Wait time (ms)")
 #define WAIT_LONGTEXT N_(\
    "The time waited before the repeat starts, in milliseconds.")
 
-#define SEEK_TEXT N_( "Max seek interval")
+#define SEEK_TEXT N_( "Max seek interval (seconds)")
 #define SEEK_LONGTEXT N_(\
    "The maximum number of seconds that will be seeked at a time." )
 
 #define MAP_TEXT N_( "Action mapping")
-#define MAP_LONGTEXT N_(\
-   "Allows you to remap the actions. For details," \
-   " please have a look at http://wiki.videolan.org/index.php/Joystick" )
+#define MAP_LONGTEXT N_( "Allows you to remap the actions." )
 
 vlc_module_begin();
-    add_category_hint( N_( "Joystick" ), NULL, VLC_FALSE );
     add_integer( "motion-threshold", DEFAULT_THRESHOLD , NULL,
                      THRESHOLD_TEXT, THRESHOLD_LONGTEXT, VLC_TRUE );
     add_string( "joystick-device", DEFAULT_DEVICE , NULL,
@@ -176,7 +173,7 @@ vlc_module_begin();
                      SEEK_TEXT, SEEK_LONGTEXT, VLC_TRUE );
     add_string("joystick-mapping",DEFAULT_MAPPING,NULL,
                     MAP_TEXT,MAP_LONGTEXT, VLC_TRUE );
-    set_description( _("joystick control interface") );
+    set_description( _("Joystick control interface") );
     set_capability( "interface", 0 );
     set_callbacks( Open, Close );
 vlc_module_end();
@@ -316,7 +313,7 @@ static int Init( intf_thread_t * p_intf )
 
         if( p_intf->p_sys->i_fd == -1 )
         {
-            msg_Warn( p_intf, "Unable to open %s for reading: %s"
+            msg_Warn( p_intf, "unable to open %s for reading: %s"
                                 ,psz_device,strerror(errno));
             return -1;
         }
@@ -342,12 +339,12 @@ static int Init( intf_thread_t * p_intf )
 
         if ( ! psz_parse)
         {
-            msg_Warn (p_intf,"Invalid mapping. Aborting" );
+            msg_Warn (p_intf,"invalid mapping. aborting." );
             return -1;
         }
         if( !strlen( psz_parse ) )
         {
-            msg_Warn( p_intf, "Invalid mapping. Aborting" );
+            msg_Warn( p_intf, "invalid mapping, aborting." );
             return -1;
         }
 
@@ -438,7 +435,7 @@ static int handle_event ( intf_thread_t *p_intf, struct js_event event)
             abs(event.value - p_intf->p_sys->axes[2].i_value) > 200 )
         {
             p_intf->p_sys->axes[2].i_value = event.value;
-            msg_Dbg( p_intf , "Updating volume" );
+            msg_Dbg( p_intf , "updating volume" );
             /* This way, the volume is between 0 and 1024 */
             aout_VolumeSet( p_intf, (32767-event.value)/64 );
             return 0;
@@ -482,13 +479,13 @@ static int handle_event ( intf_thread_t *p_intf, struct js_event event)
                 if( p_intf->p_sys->axes[i_axe].i_value
                               > p_intf->p_sys->i_threshold )
                 {
-                    msg_Dbg(p_intf,"Up for axis %i\n",i_axe);
+                    msg_Dbg(p_intf,"up for axis %i\n",i_axe);
                     p_intf->p_sys->axes[i_axe].pf_actup(p_intf);
                 }
                 else if( p_intf->p_sys->axes[i_axe].i_value
                                 < -p_intf->p_sys->i_threshold )
                 {
-                    msg_Dbg(p_intf,"Down for axis %i\n",i_axe);
+                    msg_Dbg(p_intf,"down for axis %i\n",i_axe);
                     p_intf->p_sys->axes[i_axe].pf_actdown(p_intf);
                 }
 
@@ -497,7 +494,7 @@ static int handle_event ( intf_thread_t *p_intf, struct js_event event)
     }
     else if( event.type == JS_EVENT_BUTTON)
     {
-        msg_Dbg(p_intf,"Button %i %s",event.number,
+        msg_Dbg(p_intf,"button %i %s",event.number,
                         event.value ? "pressed":"released");
         if(event.number >1) return 0; /* Only trigger 2 buttons */
         if(event.value == 1) /* Button pressed */
@@ -549,7 +546,7 @@ static int Forward(intf_thread_t *p_intf)
 {
     if(p_intf->p_sys->p_input)
     {
-        msg_Dbg(p_intf,"Seeking %f seconds",p_intf->p_sys->f_seconds);
+        msg_Dbg(p_intf,"seeking %f seconds",p_intf->p_sys->f_seconds);
         input_Seek( p_intf->p_sys->p_input, p_intf->p_sys->f_seconds,
                     INPUT_SEEK_SECONDS | INPUT_SEEK_CUR);
     return 0;
@@ -562,7 +559,7 @@ static int Back(intf_thread_t *p_intf)
 {
     if(p_intf->p_sys->p_input)
     {
-        msg_Dbg(p_intf,"Seeking -%f seconds",p_intf->p_sys->f_seconds);
+        msg_Dbg(p_intf,"seeking -%f seconds",p_intf->p_sys->f_seconds);
         input_Seek( p_intf->p_sys->p_input, -(p_intf->p_sys->f_seconds),
                     INPUT_SEEK_SECONDS | INPUT_SEEK_CUR );
         return 0;
index 6262f869603cffd998e0e399fc76a04377c2a7e4..8c6fe4a23e4883e331c906e7529fe03ec0e68a41 100644 (file)
@@ -1,8 +1,8 @@
 /*****************************************************************************
- * lirc.c : lirc plugin for vlc
+ * lirc.c : lirc module for vlc
  *****************************************************************************
- * Copyright (C) 2002 VideoLAN
- * $Id: lirc.c,v 1.9 2003/12/22 14:32:55 sam Exp $
+ * Copyright (C) 2004 VideoLAN
+ * $Id: lirc.c,v 1.10 2004/01/25 16:17:03 anil Exp $
  *
  * Author: Sigmund Augdal <sigmunau@idi.ntnu.no>
  *
@@ -61,7 +61,7 @@ static void Feedback( intf_thread_t *, char * );
  * Module descriptor
  *****************************************************************************/
 vlc_module_begin();
-    set_description( _("infrared remote control interface") );
+    set_description( _("Infrared remote control interface") );
     set_capability( "interface", 0 );
     set_callbacks( Open, Close );
 vlc_module_end();
index 9513c23cf386d92e21ee213c8655fc090552a70b..6cb8d1da18ef37b3cab88b92580d751264e5e694 100755 (executable)
@@ -1,8 +1,8 @@
 /*****************************************************************************
  * ntservice.c: Windows NT/2K/XP service interface
  *****************************************************************************
- * Copyright (C) 2001 VideoLAN
- * $Id: ntservice.c,v 1.4 2003/12/22 02:24:51 sam Exp $
+ * Copyright (C) 2004 VideoLAN
+ * $Id: ntservice.c,v 1.5 2004/01/25 16:17:03 anil Exp $
  *
  * Authors: Gildas Bazin <gbazin@netcourrier.com>
  *
@@ -54,7 +54,6 @@ static void Close   ( vlc_object_t * );
 
 vlc_module_begin();
     set_description( _("Windows NT/2K/XP service interface") );
-    add_category_hint( N_("NT service"), NULL, VLC_TRUE );
     add_bool( "ntservice-install", 0, NULL,
               INSTALL_TEXT, INSTALL_LONGTEXT, VLC_TRUE );
     add_bool( "ntservice-uninstall", 0, NULL,
@@ -158,7 +157,7 @@ static int NTServiceInstall( intf_thread_t *p_intf )
     SC_HANDLE handle = OpenSCManager( NULL, NULL, SC_MANAGER_ALL_ACCESS );
     if( handle == NULL )
     {
-        msg_Err( p_intf, "Could not connect to SCM database" );
+        msg_Err( p_intf, "could not connect to SCM database" );
         return VLC_EGENERIC;
     }
 
@@ -185,20 +184,20 @@ static int NTServiceInstall( intf_thread_t *p_intf )
     {
         if( GetLastError() != ERROR_SERVICE_EXISTS )
         {
-            msg_Err( p_intf, "Could not create new service: \"%s\" (%s)",
+            msg_Err( p_intf, "could not create new service: \"%s\" (%s)",
                      p_sys->psz_service ,psz_path );
             CloseServiceHandle( handle );
             return VLC_EGENERIC;
         }
         else
         {
-            msg_Warn( p_intf, "Service \"%s\" already exists",
+            msg_Warn( p_intf, "service \"%s\" already exists",
                       p_sys->psz_service );
         }
     }
     else
     {
-        msg_Warn( p_intf, "Service successfuly created" );
+        msg_Warn( p_intf, "service successfuly created" );
     }
 
     if( service ) CloseServiceHandle( service );
@@ -214,7 +213,7 @@ static int NTServiceUninstall( intf_thread_t *p_intf )
     SC_HANDLE handle = OpenSCManager( NULL, NULL, SC_MANAGER_ALL_ACCESS );
     if( handle == NULL )
     {
-        msg_Err( p_intf, "Could not connect to SCM database" );
+        msg_Err( p_intf, "could not connect to SCM database" );
         return VLC_EGENERIC;
     }
 
@@ -222,7 +221,7 @@ static int NTServiceUninstall( intf_thread_t *p_intf )
     SC_HANDLE service = OpenService( handle, p_sys->psz_service, DELETE );
     if( service == NULL )
     {
-        msg_Err( p_intf, "Could not open service" );
+        msg_Err( p_intf, "could not open service" );
         CloseServiceHandle( handle );
         return VLC_EGENERIC;
     }
@@ -230,12 +229,12 @@ static int NTServiceUninstall( intf_thread_t *p_intf )
     /* Remove the service */
     if( !DeleteService( service ) )
     {
-        msg_Err( p_intf, "Could not delete service \"%s\"",
+        msg_Err( p_intf, "could not delete service \"%s\"",
                  p_sys->psz_service );
     }
     else
     {
-        msg_Dbg( p_intf, "Service deleted successfuly" );
+        msg_Dbg( p_intf, "service deleted successfuly" );
     }
 
     CloseServiceHandle( service );
@@ -260,7 +259,7 @@ static void WINAPI ServiceDispatch( DWORD numArgs, char **args )
         RegisterServiceCtrlHandler( p_sys->psz_service, &ServiceCtrlHandler );
     if( p_sys->hStatus == (SERVICE_STATUS_HANDLE)0 )
     {
-        msg_Err( p_intf, "Failed to register service control handler" );
+        msg_Err( p_intf, "failed to register service control handler" );
         return;
     }
 
index 304fb5030c2bce6aa51d31dfce1e0486f525764d..a7a3ab6979290b882685d364f77edc3995597edb 100644 (file)
@@ -1,8 +1,8 @@
 /*****************************************************************************
- * rc.c : remote control stdin/stdout plugin for vlc
+ * rc.c : remote control stdin/stdout module for vlc
  *****************************************************************************
- * Copyright (C) 2001 VideoLAN
- * $Id: rc.c,v 1.41 2004/01/05 13:07:02 zorglub Exp $
+ * Copyright (C) 2004 VideoLAN
+ * $Id: rc.c,v 1.42 2004/01/25 16:17:03 anil Exp $
  *
  * Author: Peter Surda <shurdeek@panorama.sth.ac.at>
  *
@@ -78,7 +78,7 @@ static int  AudioConfig  ( vlc_object_t *, char const *,
 #define POS_LONGTEXT N_("Show the current position in seconds within the stream from time to time.")
 
 #define TTY_TEXT N_("Fake TTY")
-#define TTY_LONGTEXT N_("Force the rc plugin to use stdin as if it was a TTY.")
+#define TTY_LONGTEXT N_("Force the rc module to use stdin as if it was a TTY.")
 
 vlc_module_begin();
     add_category_hint( N_("Remote control"), NULL, VLC_TRUE );
@@ -86,7 +86,7 @@ vlc_module_begin();
 #ifdef HAVE_ISATTY
     add_bool( "fake-tty", 0, NULL, TTY_TEXT, TTY_LONGTEXT, VLC_TRUE );
 #endif
-    set_description( _("remote control interface") );
+    set_description( _("Remote control interface") );
     set_capability( "interface", 20 );
     set_callbacks( Activate, NULL );
 vlc_module_end();
@@ -114,7 +114,7 @@ static int Activate( vlc_object_t *p_this )
 
     CONSOLE_INTRO_MSG;
 
-    printf( "remote control interface initialized, `h' for help\n" );
+    printf( "Remote control interface initialized, `h' for help\n" );
     return VLC_SUCCESS;
 }
 
@@ -452,7 +452,7 @@ static void Run( intf_thread_t *p_intf )
             case '?':
             case 'h':
             case 'H':
-                printf("+----[ remote control commands ]\n");
+                printf("+----[ Remote control commands ]\n");
                 printf("| \n");
                 printf("| add XYZ  . . . . . . . . . . add XYZ to playlist\n");
                 printf("| playlist . . .  show items currently in playlist\n");
index 5eb718e11ddcc9f84540aacfa6bc2844b3480ee3..bf45552905a05ac80651442e6f76306045595fdd 100644 (file)
@@ -31,14 +31,14 @@ BEGIN
     BEGIN
         BLOCK "040904e4"
         BEGIN
-            VALUE "ProductName", "VLC Multimedia Plugin\0"
+            VALUE "ProductName", "VLC multimedia plugin\0"
             VALUE "ProductVersion", STRINGIFY( VERSION )
             VALUE "OriginalFilename", "npvlc.dll\0"
             VALUE "FileVersion", STRINGIFY( VERSION )
             VALUE "FileDescription", "VLC multimedia plugin Version "STRINGIFY( VERSION )"<br><br>VideoLAN WWW: <a href=""http://www.videolan.org/"">http://www.videolan.org/</a>\0"
             VALUE "InternalName", "npvlc\0"
             VALUE "CompanyName", "VideoLAN Team\0"
-            VALUE "LegalCopyright", "Copyright VideoLAN \251 1996-2003\0"
+            VALUE "LegalCopyright", "Copyright VideoLAN \251 1996-2004\0"
             VALUE "MIMEType", "audio/mpeg|audio/x-mpeg|video/mpeg|video/x-mpeg|video/mpeg-system|video/x-mpeg-system|video/mpeg4|audio/mpeg4|application/mpeg4-iod|application/mpeg4-muxcodetable|video/x-msvideo|video/quicktime|application/x-ogg|application/x-vlc-plugin|video/x-ms-asf-plugin|application/x-mplayer2|video/x-ms-wmv\0"
             VALUE "FileExtents", "mp2,mp3,mpga,mpega|mp2,mp3,mpga,mpega|mpg,mpeg,mpe|mpg,mpeg,mpe|mpg,mpeg,vob|mpg,mpeg,vob|mp4,mpg4|mp4,mpg4|mp4,mpg4|mp4,mpg4|avi|mov,qt|ogg|\0"
             VALUE "FileOpenName", "MPEG audio|MPEG audio|MPEG video|MPEG video|MPEG video|MPEG video|MPEG-4 video|MPEG-4 audio|MPEG-4 video|MPEG-4 video|AVI video|QuickTime video|Ogg stream|VLC plugin\0"
index 070d1c124308376eb394db61bd903b35c18df367..9f3a63cff8c735936797717201a6b64a6669df48 100644 (file)
@@ -2,7 +2,7 @@
  * vlcshell.cpp: a VLC plugin for Mozilla
  *****************************************************************************
  * Copyright (C) 2002 VideoLAN
- * $Id: vlcshell.cpp,v 1.27 2003/11/20 17:48:44 gbazin Exp $
+ * $Id: vlcshell.cpp,v 1.28 2004/01/25 16:17:03 anil 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;
index 6e77ec55bb25d25e45aefb5fd63a64f9c538ced4..0ef9a4ed8d8861f4cace8240f49cf2575bb0edf6 100644 (file)
@@ -18,6 +18,6 @@ vlc = Extension('vlc',
 
 setup (name = 'PackageName',
        version = '1.0',
-       description = 'This is a demo package',
+       description = 'This is a demonstration package',
        ext_modules = [vlc])
 
index 6ea4605ce2ca277a2d7ce1e2a57b579a23faba66..6576bc1fbfb41d3099cdfbda2b2547fd05cdd10e 100644 (file)
@@ -77,12 +77,12 @@ static PyObject *vlc_pause(PyObject *self, PyObject *args)
 
 
 static PyMethodDef VlcMethods[] = {
-    {"create", vlc_create, METH_VARARGS, "Create a vlc thread."},
-    {"init", vlc_init, METH_VARARGS, "Initialize a vlc thread."},
-    {"addTarget", vlc_addTarget, METH_VARARGS, "Add a target in the playlist."},
-    {"play", vlc_play, METH_VARARGS, "Play"},
-    {"stop", vlc_stop, METH_VARARGS, "Stop"},
-    {"pause", vlc_pause, METH_VARARGS, "Pause"},
+    {"create", vlc_create, METH_VARARGS, _("Create a vlc thread.")},
+    {"init", vlc_init, METH_VARARGS, _("Initialize a vlc thread.")},
+    {"addTarget", vlc_addTarget, METH_VARARGS, _("Add a target in the playlist.")},
+    {"play", vlc_play, METH_VARARGS, _("Play")},
+    {"stop", vlc_stop, METH_VARARGS, _("Stop")},
+    {"pause", vlc_pause, METH_VARARGS, _("Pause")},
     {NULL, NULL, 0, NULL}        /* Sentinel */
 };
 
index 1b353bb96b665f310a0b828157941cea4e6ffa94..72357613de22210d629c472eff4158dba0287da1 100755 (executable)
@@ -18,12 +18,12 @@ class RtspServerHandler(SocketServer.StreamRequestHandler):
     
     version = "RTSP/1.0"
     ok = "200 OK"
-    badRequest = "400 Bad Request"
+    badRequest = "400 Bad request"
     uriNotFound = "404 Not found"
-    sessionNotFound = "454 Session Not Found"
-    invalidHeader = "456 Header Field Not Valid for Resource"
-    internalError = "500 Internal Server Error"
-    notImplemented = "501 Not Implemented"
+    sessionNotFound = "454 Session not found"
+    invalidHeader = "456 Header field not valid for resource"
+    internalError = "500 Internal server error"
+    notImplemented = "501 Not implemented"
     
     def error(self, message, cseq):
         self.wfile.write(self.version + " " + message + "\r\n" + \
@@ -48,7 +48,7 @@ class RtspServerHandler(SocketServer.StreamRequestHandler):
         return response
 
     def pingMethod(self, msg):
-        "Handle an PING request"
+        "Handle a PING request"
         cseq = msg.getheader('cseq')
         id = msg.getheader('Session')
         if id is None:
index 0185307287219afab641218a0472a487bc70f119..1fefc45e3f817b10f5ffabe72326af563c8cd828 100644 (file)
@@ -9,7 +9,7 @@ import cfg,socket,struct,time,threading
 
 
 def ntpTime():
-    "return the current time in NTP decimal format"
+    "Return the current time in NTP decimal format"
     return "%d" % (int(time.time()) + 2208988800L)
 
 
index 7f8df9dface389c009266699e6641254c48eb568..ca79cc82a78077d51e6ff7d8c454d420a630046a 100755 (executable)
@@ -16,7 +16,7 @@ from session import SessionList
 PORT = 1554
 
 if len(sys.argv) == 1:
-    print "usage: vlrs <playlist>\n"
+    print "Usage: vlrs <playlist>\n"
     sys.exit()
 
 cfg.playlist = PlayList()
index 27d918dd3164817b35c3d32528e0eaa2c47a6459..6382ba7bca54e6c7f227b6c5da67f5674b343ffb 100644 (file)
@@ -1,6 +1,6 @@
 <html>
 <head>
-    <title>VLC Media Player - Browser</title>
+    <title>VLC media player - Browser</title>
 
     <vlc id="if" param1="'control' url_extract strlen"/>
         <meta http-equiv="refresh" content="0;URL=/admin/browse.html?dir=<vlc id="value" param1="'dir' url_extract" />" />
@@ -9,7 +9,7 @@
     <vlc id="control" param1="add"/>
 </head>
 <body>
-    <h2><center><a href="/">VLC Media Player <vlc id="value" param1="version" /></a></center></h2>
+    <h2><center><a href="/">VLC media player <vlc id="value" param1="version" /></a></center></h2>
     <hr/>
     <table  width="100%" border=0 cellspacing=1 cellpadding=2>
     <tr>
@@ -17,7 +17,7 @@
         <th align="left" bgcolor="#cccccc">Size</th>
         <th align="left" bgcolor="#cccccc">Date</th>
     </tr>
-    <p>This page is disabled (Change _directory_ into directory to enable it but you should think about security)</p>
+    <p>This page is default disabled for security reasons (change _directory_ into directory to enable it).</p>
     <vlc id="rpn" param1="'dir' url_extract" />
     <vlc id="foreach" param1="file" param2="_directory_" />
         <tr>
index 9af1336c87e56866310ae1c994193337c651d416..2f94b391b44a1d36be2fe55cec718b7a867256d6 100644 (file)
@@ -2,7 +2,7 @@
 
 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
  <head>
-    <title>VLC Media Player</title>
+    <title>VLC media player</title>
     <style>
         body {font-family:Verdana, Arial, Sans Serif; }
         h2 { text-align:center; }
@@ -35,7 +35,7 @@
     <vlc id="set" param1="sout" param2="string" />
 </head>
 <body>
-    <h2><a href="/">VLC Media Player - Admin <vlc id="value" param1="version" /></a></h2>
+    <h2><a href="/">VLC media player - Admin <vlc id="value" param1="version" /></a></h2>
 
 <div class="section-ctr">Shutdown VLC<br /> <form method="get" action=""> <input type="submit" name="control" value="shutdown" /> </form></div>
 
@@ -60,7 +60,7 @@
    <div class="section">
     <table border="1" cellspacing="0" >
     <tr>
-        <th>Id</th><th>URL</th><th>Mime</th><th>Protected</th><th>usage</th>
+        <th>Id</th><th>URL</th><th>Mime</th><th>Protected</th><th>Usage</th>
     </tr>
     <vlc id="foreach" param1="url" param2="urls" />
         <vlc id="if" param1="url.stream 0 =" /> 
@@ -81,7 +81,7 @@
    <div class="section">
     <table border="1" cellspacing="0" >
     <tr>
-        <th>Id</th><th>URL</th><th>Mime</th><th>Protected</th><th>usage</th>
+        <th>Id</th><th>URL</th><th>Mime</th><th>Protected</th><th>Usage</th>
     </tr>
     <vlc id="foreach" param1="url" param2="urls" />
         <vlc id="if" param1="url.stream" />
index 1285da332a3a56040851311fa9e90165ebdaeef1..140ffa66985ab0b52bd9f588ceba266dd8813327 100644 (file)
@@ -3,7 +3,7 @@
 
 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
  <head>
-    <title>VLC Media Player</title>
+    <title>VLC media player</title>
     <link href="/style.css" title="Default" rel="stylesheet" />
 
     <vlc id="if" param1="url_param"/>
  </head>
  <body>
     <h2>
-     <a href="http://www.videolan.org/">VLC Media Player <vlc id="value" param1="version" /></a> (http interface)</h2>
+     <a href="http://www.videolan.org/">VLC media player<vlc id="value" param1="version" /></a> (http interface)</h2>
     <div class="sectitle">Control VLC</div>
     <div class="section">
      <table class="add">
       <tr>
-       <td nowrap="nowrap">Current State: <vlc id="value" param1="stream_state" /></td>
+       <td nowrap="nowrap">Current state: <vlc id="value" param1="stream_state" /></td>
        <td align="right"><a href="info.html">Information</a> <a href="admin/">Administration</a></td>
       </tr>
       <tr>
@@ -63,7 +63,7 @@
       <tr>
         <td>
           <form method="get" action="">
-          Current Volume: <vlc id="value" param1="volume" /> <input type="text" name="value" size="5"/><input type="hidden" name="control" value="volume"/><input type="submit" name="Set" value="Set"/>
+          Current volume level: <vlc id="value" param1="volume" /> <input type="text" name="value" size="5"/><input type="hidden" name="control" value="volume"/><input type="submit" name="Set" value="Set"/>
           </form>
         </td>
       </tr>
index 56682c7547e50bbf13f8976f69a7a5f6825ec725..e707eaea83cec32afa6d00e25ec6c3caa8ad0368 100644 (file)
@@ -1,9 +1,9 @@
 <html>
 <head>
-    <title>VLC Media Player - Informations</title>
+    <title>VLC media player - Informations</title>
 </head>
 <body>
-    <h2><center><a href="http://www.videolan.org/">VLC Media Player <vlc id="value" param1="version" /></a></center></h2>
+    <h2><center><a href="http://www.videolan.org/">VLC media player <vlc id="value" param1="version" /></a></center></h2>
     <hr/>
     <vlc id="foreach" param1="cat" param2="informations" />
         <p> <vlc id="value" param1="cat.name" />