Fix rtmp access_output building

Mark description & shortnames as translatable with N_
(Thanks for testing the build before committing, I think the source code
had the same review)
This commit is contained in:
Rafaël Carré 2008-05-24 18:51:10 +02:00
parent 86af35f240
commit 04e6970605
3 changed files with 6 additions and 5 deletions

View File

@ -28,6 +28,7 @@
#endif #endif
#include <vlc/vlc.h> #include <vlc/vlc.h>
#include <vlc_plugin.h>
#include <vlc_sout.h> #include <vlc_sout.h>
#include <vlc_network.h> /* DOWN: #include <network.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-" #define SOUT_CFG_PREFIX "sout-rtmp-"
vlc_module_begin(); vlc_module_begin();
set_description( _("RTMP stream output") ); set_description( N_("RTMP stream output") );
set_shortname( _("RTMP" ) ); set_shortname( N_("RTMP" ) );
set_capability( "sout access", 50 ); set_capability( "sout access", 50 );
set_category( CAT_SOUT ); set_category( CAT_SOUT );
set_subcategory( SUBCAT_SOUT_STREAM ); set_subcategory( SUBCAT_SOUT_STREAM );

View File

@ -265,7 +265,7 @@ static playlist_t *pl_Get( services_discovery_t *p_sd )
vlc_module_begin(); vlc_module_begin();
set_shortname( "UPnP" ); 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_category( CAT_PLAYLIST );
set_subcategory( SUBCAT_PLAYLIST_SD ); set_subcategory( SUBCAT_PLAYLIST_SD );
set_capability( "services_discovery", 0 ); set_capability( "services_discovery", 0 );

View File

@ -279,9 +279,9 @@ static const char *ppsz_channel_assignment_descriptions[] = {
* Module descriptor * Module descriptor
*****************************************************************************/ *****************************************************************************/
vlc_module_begin(); vlc_module_begin();
set_description( _("AtmoLight Filter") ); set_description( N_("AtmoLight Filter") );
set_help( MODULE_DESCRIPTION ); set_help( MODULE_DESCRIPTION );
set_shortname( _( "AtmoLight" )); set_shortname( N_( "AtmoLight" ));
set_capability( "video filter2", 0 ); set_capability( "video filter2", 0 );
set_category( CAT_VIDEO ); set_category( CAT_VIDEO );