Fix rtmp access_output building
authorRafaël Carré <funman@videolan.org>
Sat, 24 May 2008 16:51:10 +0000 (18:51 +0200)
committerRafaël Carré <funman@videolan.org>
Sat, 24 May 2008 16:51:10 +0000 (18:51 +0200)
Mark description & shortnames as translatable with N_
(Thanks for testing the build before committing, I think the source code
had the same review)

modules/access_output/rtmp.c
modules/services_discovery/upnp_intel.cpp
modules/video_filter/atmo/atmo.cpp

index f701c0c..6e7cfda 100644 (file)
@@ -28,6 +28,7 @@
 #endif
 
 #include <vlc/vlc.h>
+#include <vlc_plugin.h>
 #include <vlc_sout.h>
 
 #include <vlc_network.h> /* DOWN: #include <network.h> */
@@ -50,8 +51,8 @@ static void Close( vlc_object_t * );
 #define SOUT_CFG_PREFIX "sout-rtmp-"
 
 vlc_module_begin();
-    set_description( _("RTMP stream output") );
-    set_shortname( _("RTMP" ) );
+    set_description( N_("RTMP stream output") );
+    set_shortname( N_("RTMP" ) );
     set_capability( "sout access", 50 );
     set_category( CAT_SOUT );
     set_subcategory( SUBCAT_SOUT_STREAM );
index aac3d67..c602756 100644 (file)
@@ -265,7 +265,7 @@ static playlist_t *pl_Get( services_discovery_t *p_sd )
 
 vlc_module_begin();
 set_shortname( "UPnP" );
-set_description( _( "Universal Plug'n'Play discovery ( Intel SDK )" ) );
+set_description( N_( "Universal Plug'n'Play discovery ( Intel SDK )" ) );
 set_category( CAT_PLAYLIST );
 set_subcategory( SUBCAT_PLAYLIST_SD );
 set_capability( "services_discovery", 0 );
index a6e62f0..cadf18d 100644 (file)
@@ -279,9 +279,9 @@ static const char *ppsz_channel_assignment_descriptions[] = {
 * Module descriptor
 *****************************************************************************/
 vlc_module_begin();
-set_description( _("AtmoLight Filter") );
+set_description( N_("AtmoLight Filter") );
 set_help( MODULE_DESCRIPTION );
-set_shortname( _( "AtmoLight" ));
+set_shortname( N_( "AtmoLight" ));
 set_capability( "video filter2", 0 );
 
 set_category( CAT_VIDEO );