Commit dc8b128a authored by Christophe Mutricy's avatar Christophe Mutricy

forward port [17012] and make update-po

parent c1064aa4
......@@ -112,7 +112,7 @@ vlc_module_begin();
add_usage_hint( N_("cddax://[device-or-file][@[T]track]") );
set_description( _("Compact Disc Digital Audio (CD-DA) input") );
set_capability( "access2", 10 /* compare with priority of cdda */ );
set_shortname( N_("Audio Compact Disc"));
set_shortname( _("Audio Compact Disc"));
set_callbacks( CDDAOpen, CDDAClose );
add_shortcut( "cddax" );
add_shortcut( "cd" );
......
......@@ -181,7 +181,7 @@ static void Close( vlc_object_t *p_this );
vlc_module_begin();
set_shortname( _("DVB") );
set_description( N_("DVB input with v4l2 support") );
set_shortname( _("DVB input with v4l2 support") );
set_category( CAT_INPUT );
set_subcategory( SUBCAT_INPUT_ACCESS );
......
......@@ -60,7 +60,7 @@ static void Close( vlc_object_t * );
vlc_module_begin();
set_description( _("Screen Input") );
set_shortname( N_("Screen" ));
set_shortname( _("Screen" ));
set_category( CAT_INPUT );
set_subcategory( SUBCAT_INPUT_ACCESS );
......
......@@ -92,7 +92,7 @@ int E_(BlocksPerReadCallback) ( vlc_object_t *p_this, const char *psz_name,
*****************************************************************************/
vlc_module_begin();
set_shortname( N_("(Super) Video CD"));
set_shortname( _("(Super) Video CD"));
set_description( _("Video CD (VCD 1.0, 1.1, 2.0, SVCD, HQVCD) input") );
add_usage_hint( N_("vcdx://[device-or-file][@{P,S,T}num]") );
add_shortcut( "vcdx" );
......
......@@ -38,7 +38,7 @@ static void Close( vlc_object_t * );
vlc_module_begin();
set_description( _("Dummy stream output") );
set_shortname( N_( "Dummy" ));
set_shortname( _( "Dummy" ));
set_capability( "sout access", 0 );
set_category( CAT_SOUT );
set_subcategory( SUBCAT_SOUT_ACO );
......
......@@ -64,7 +64,7 @@ static void Close( vlc_object_t * );
vlc_module_begin();
set_description( _("File stream output") );
set_shortname( N_("File" ));
set_shortname( _("File" ));
set_capability( "sout access", 50 );
set_category( CAT_SOUT );
set_subcategory( SUBCAT_SOUT_ACO );
......
......@@ -90,7 +90,7 @@ static void Close( vlc_object_t * );
vlc_module_begin();
set_description( _("HTTP stream output") );
set_capability( "sout access", 0 );
set_shortname( N_("HTTP" ) );
set_shortname( _("HTTP" ) );
add_shortcut( "http" );
add_shortcut( "https" );
add_shortcut( "mmsh" );
......
......@@ -95,7 +95,7 @@ static void Close( vlc_object_t * );
vlc_module_begin();
set_description( _("UDP stream output") );
set_shortname( N_( "UDP" ) );
set_shortname( _( "UDP" ) );
set_category( CAT_SOUT );
set_subcategory( SUBCAT_SOUT_ACO );
add_integer( SOUT_CFG_PREFIX "caching", DEFAULT_PTS_DELAY / 1000, NULL, CACHING_TEXT, CACHING_LONGTEXT, VLC_TRUE );
......
......@@ -44,7 +44,7 @@ static void DoWork ( aout_instance_t *, aout_filter_t *, aout_buffer_t *,
* Module descriptor
*****************************************************************************/
vlc_module_begin();
set_description( N_("Simple decoder for Dolby Surround encoded streams") );
set_description( _("Simple decoder for Dolby Surround encoded streams") );
set_shortname( _("Dolby Surround decoder") );
set_category( CAT_INPUT );
set_subcategory( SUBCAT_INPUT_ACODEC );
......
......@@ -76,7 +76,7 @@ static block_t *Convert( filter_t *, block_t * );
"processed by this filter. Enabling this setting is not recommended.")
vlc_module_begin();
set_description( N_("Headphone virtual spatialization effect") );
set_description( _("Headphone virtual spatialization effect") );
set_shortname( _("Headphone effect") );
set_help( MODULE_DESCRIPTION );
set_category( CAT_AUDIO );
......
......@@ -68,7 +68,7 @@ static void Close( vlc_object_t * );
vlc_module_begin();
set_description( _("Equalizer with 10 bands") );
set_shortname( N_("Equalizer" ) );
set_shortname( _("Equalizer" ) );
set_capability( "audio filter", 0 );
set_category( CAT_AUDIO );
set_subcategory( SUBCAT_AUDIO_AFILTER );
......
......@@ -80,7 +80,7 @@ typedef struct aout_filter_sys_t
vlc_module_begin();
set_description( _("Volume normalizer") );
set_shortname( N_("Volume normalizer") );
set_shortname( _("Volume normalizer") );
set_category( CAT_AUDIO );
set_subcategory( SUBCAT_AUDIO_AFILTER );
add_shortcut( "volnorm" );
......
......@@ -47,7 +47,7 @@ static void DoWork( aout_instance_t *, aout_filter_t *,
vlc_module_begin();
set_description( _("Parametric Equalizer") );
set_shortname( N_("Parametric Equalizer" ) );
set_shortname( _("Parametric Equalizer" ) );
set_capability( "audio filter", 0 );
set_category( CAT_AUDIO );
set_subcategory( SUBCAT_AUDIO_AFILTER );
......
......@@ -108,7 +108,7 @@ static int format_int[] = { VLC_FOURCC('u','8',' ',' '),
#define FILE_LONGTEXT N_("File to which the audio samples will be written to.")
vlc_module_begin();
set_description( N_("File audio output") );
set_description( _("File audio output") );
set_shortname( _("File") );
set_category( CAT_AUDIO );
set_subcategory( SUBCAT_AUDIO_AOUT );
......
......@@ -109,7 +109,7 @@ static int PAOpenStream( aout_instance_t * );
vlc_module_begin();
set_shortname( "PortAudio" );
set_description( N_("PORTAUDIO audio output") );
set_shortname( _("PORTAUDIO audio output") );
set_category( CAT_AUDIO );
set_subcategory( SUBCAT_AUDIO_AOUT );
add_integer( "portaudio-device", 0, NULL,
......
......@@ -39,17 +39,16 @@ static int DecoderOpen ( vlc_object_t * );
static int PacketizerOpen( vlc_object_t * );
static void DecoderClose ( vlc_object_t * );
#define DEBUG_TEXT \
"Enable debug"
#define DEBUG_TEXT N_("Enable debug")
#define DEBUG_LONGTEXT N_( \
"This integer when viewed in binary is a debugging mask\n" \
#define DEBUG_LONGTEXT \
N_("This integer when viewed in binary is a debugging mask\n" \
"calls 1\n" \
"packet assembly info 2\n")
"packet assembly info 2\n" )
vlc_module_begin();
set_description( _("Philips OGT (SVCD subtitle) decoder") );
set_shortname( N_("SVCD subtitles"));
set_shortname( _("SVCD subtitles") );
set_category( CAT_INPUT );
set_subcategory( SUBCAT_INPUT_SCODEC );
set_capability( "decoder", 50 );
......
......@@ -47,15 +47,15 @@ static int Open ( vlc_object_t *p_this );
static void Close( vlc_object_t *p_this );
#define SUB_DELAY_LONGTEXT \
"Apply a delay to all subtitles (in 1/10s, eg 100 means 10s)."
N_("Apply a delay to all subtitles (in 1/10s, eg 100 means 10s).")
#define SUB_FPS_LONGTEXT \
"Override the normal frames per second settings. " \
"This will only work with MicroDVD and SubRIP (SRT) subtitles."
N_("Override the normal frames per second settings. " \
"This will only work with MicroDVD and SubRIP (SRT) subtitles.")
#define SUB_TYPE_LONGTEXT \
"Force the subtiles format. Valid values are : \"microdvd\", \"subrip\"," \
"\"ssa1\", \"ssa2-4\", \"ass\", \"vplayer\" " \
N_("Force the subtiles format. Valid values are : \"microdvd\", " \
"\"subrip\", \"ssa1\", \"ssa2-4\", \"ass\", \"vplayer\" " \
"\"sami\", \"dvdsubtitle\" and \"auto\" (meaning autodetection, this " \
"should always work)."
"should always work).")
static char *ppsz_sub_type[] =
{
"auto", "microdvd", "subrip", "subviewer", "ssa1",
......
......@@ -63,7 +63,7 @@ gint E_(GtkModeManage) ( intf_thread_t * p_intf );
* Module descriptor
*****************************************************************************/
vlc_module_begin();
set_description( N_("PDA Linux Gtk2+ interface") );
set_shortname( _("PDA Linux Gtk2+ interface") );
set_category( CAT_INTERFACE );
set_subcategory( SUBCAT_INTERFACE_MAIN );
// add_bool( "pda-autoplayfile", 1, GtkAutoPlayFile, AUTOPLAYFILE_TEXT, AUTOPLAYFILE_LONGTEXT, VLC_TRUE );
......
......@@ -471,7 +471,7 @@ void DialogsProvider::OnOpenDirectory( wxCommandEvent& event )
}
if( p_dir_dialog == NULL )
p_dir_dialog = new wxDirDialog( NULL );
p_dir_dialog = new wxDirDialog( NULL, wxU(_("Select a directory")) );
if( p_dir_dialog && p_dir_dialog->ShowModal() == wxID_OK )
{
......
......@@ -573,7 +573,7 @@ StringListConfigControl::StringListConfigControl( vlc_object_t *p_this,
{
wxButton *button =
new wxButton( this, wxID_HIGHEST+i,
wxU(p_item->ppsz_action_text[i]) );
wxU(_(p_item->ppsz_action_text[i])) );
sizer->Add( button, 0, wxALIGN_CENTER_VERTICAL | wxALL, 5);
}
......
......@@ -482,7 +482,7 @@ wxPanel *ExtraPanel::EqzPanel( wxWindow *parent )
top_sizer->Add( eq_restoredefaults_button, 0, wxALL, 2 );
top_sizer->Add( 0, 0, 1, wxALL, 2 );
smooth_text = new wxStaticText( panel, -1, wxU( "Smooth :" ));
smooth_text = new wxStaticText( panel, -1, wxU( _("Smooth :") ));
smooth_text->SetToolTip( wxU( SMOOTH_TIP ) );
top_sizer->Add( smooth_text, 0, wxALL, 2 );
......@@ -513,7 +513,7 @@ wxPanel *ExtraPanel::EqzPanel( wxWindow *parent )
eq_gridsizer->Add( band_sliders[i], 1, wxEXPAND|wxALL, 2 );
}
preamp_text = new wxStaticText( panel, -1, wxT( "Preamp\n12.0dB" ) );
preamp_text = new wxStaticText( panel, -1, wxU( _("Preamp\n12.0dB") ) );
wxFont font= preamp_text->GetFont();
font.SetPointSize(7);
preamp_text->SetFont( font );
......
......@@ -162,7 +162,7 @@ vlc_module_begin();
#endif
add_bool( "wx-labels", 0, NULL, LABEL_TEXT, LABEL_LONGTEXT, VLC_TRUE);
add_string( "wx-config-last", NULL, NULL,
"last config", "last config", VLC_TRUE );
N_("last config"), N_("last config"), VLC_TRUE );
change_autosave();
change_internal();
add_deprecated( "wxwin-config-last", VLC_FALSE); /*Deprecated since 0.8.4*/
......
......@@ -126,7 +126,7 @@ static char *mode_list_text[] = { N_("Text"), "HTML"
#endif
vlc_module_begin();
set_shortname( N_( "Logging" ) );
set_shortname( _( "Logging" ) );
set_description( _("File logging") );
set_category( CAT_ADVANCED );
......
......@@ -69,7 +69,7 @@ static int CheckAndSend( vlc_object_t *p_this, uint8_t* p_data, int i_offset );
vlc_module_begin();
set_category( CAT_INTERFACE );
set_subcategory( SUBCAT_INTERFACE_CONTROL );
set_shortname( N_( "Growl" ) );
set_shortname( _( "Growl" ) );
set_description( _("Growl Notification Plugin") );
add_string( "growl-server", SERVER_DEFAULT, NULL,
......
......@@ -67,7 +67,7 @@ static int SendToMSN( char * psz_msg );
vlc_module_begin();
set_category( CAT_INTERFACE );
set_subcategory( SUBCAT_INTERFACE_CONTROL );
set_shortname( N_( "MSN" ) );
set_shortname( _( "MSN" ) );
set_description( _("MSN Now-Playing") );
add_string( "msn-format", FORMAT_DEFAULT, NULL,
......
......@@ -56,7 +56,7 @@ static int Notify( vlc_object_t *, const char * );
vlc_module_begin();
set_category( CAT_INTERFACE );
set_subcategory( SUBCAT_INTERFACE_CONTROL );
set_shortname( N_( "Notify" ) );
set_shortname( _( "Notify" ) );
set_description( _("LibNotify Notification Plugin") );
add_integer( "notify-timeout", 4000,NULL,
......
......@@ -71,7 +71,7 @@ static picture_t *Filter( filter_t *, picture_t * );
vlc_module_begin();
set_description( _("Image properties filter") );
set_shortname( N_("Image adjust" ));
set_shortname( _("Image adjust" ));
set_category( CAT_VIDEO );
set_subcategory( SUBCAT_VIDEO_VFILTER );
set_capability( "video filter2", 0 );
......
......@@ -63,7 +63,7 @@ static int SendEvents( vlc_object_t *, char const *,
vlc_module_begin();
set_description( _("Clone video filter") );
set_capability( "video filter", 0 );
set_shortname( N_("Clone" ));
set_shortname( _("Clone" ));
set_category( CAT_VIDEO );
set_subcategory( SUBCAT_VIDEO_VFILTER );
......
......@@ -60,7 +60,7 @@ static int SendEvents( vlc_object_t *, char const *,
vlc_module_begin();
set_description( _("Crop video filter") );
set_shortname( N_("Crop" ));
set_shortname( _("Crop" ));
set_category( CAT_VIDEO );
set_subcategory( SUBCAT_VIDEO_VFILTER );
set_capability( "video filter", 0 );
......
......@@ -119,7 +119,7 @@ static char *mode_list_text[] = { N_("Discard"), N_("Blend"), N_("Mean"),
vlc_module_begin();
set_description( _("Deinterlacing video filter") );
set_shortname( N_("Deinterlace" ));
set_shortname( _("Deinterlace" ));
set_capability( "video filter", 0 );
set_category( CAT_VIDEO );
set_subcategory( SUBCAT_VIDEO_VFILTER );
......
......@@ -45,7 +45,7 @@ static picture_t *Filter( filter_t *, picture_t * );
*****************************************************************************/
vlc_module_begin();
set_description( _("Invert video filter") );
set_shortname( N_("Color inversion" ));
set_shortname( _("Color inversion" ));
set_category( CAT_VIDEO );
set_subcategory( SUBCAT_VIDEO_VFILTER );
set_capability( "video filter2", 0 );
......
......@@ -100,7 +100,7 @@ static char *ppsz_pos_descriptions[] =
vlc_module_begin();
set_description( _("Logo video filter") );
set_capability( "video filter", 0 );
set_shortname( N_("Logo overlay") );
set_shortname( _("Logo overlay") );
set_category( CAT_VIDEO );
set_subcategory( SUBCAT_VIDEO_SUBPIC );
add_shortcut( "logo" );
......
......@@ -57,7 +57,7 @@ static int MouseEvent ( vlc_object_t *, char const *,
*****************************************************************************/
vlc_module_begin();
set_description( _("Magnify/Zoom interactive video filter") );
set_shortname( N_( "Magnify" ));
set_shortname( _( "Magnify" ));
set_capability( "video filter", 0 );
set_category( CAT_VIDEO );
set_subcategory( SUBCAT_VIDEO_VFILTER );
......
......@@ -137,7 +137,7 @@ static char *ppsz_pos_descriptions[] =
*****************************************************************************/
vlc_module_begin();
set_capability( "sub filter", 0 );
set_shortname( N_("Marquee" ));
set_shortname( _("Marquee" ));
set_callbacks( CreateFilter, DestroyFilter );
set_category( CAT_VIDEO );
set_subcategory( SUBCAT_VIDEO_SUBPIC );
......
......@@ -184,8 +184,8 @@ static char *ppsz_align_descriptions[] =
#define CFG_PREFIX "mosaic-"
vlc_module_begin();
set_description( N_("Mosaic video sub filter") );
set_shortname( N_("Mosaic") );
set_description( _("Mosaic video sub filter") );
set_shortname( _("Mosaic") );
set_category( CAT_VIDEO );
set_subcategory( SUBCAT_VIDEO_SUBPIC);
set_capability( "sub filter", 0 );
......
......@@ -60,7 +60,7 @@ static int SendEvents ( vlc_object_t *, char const *,
vlc_module_begin();
set_description( _("Motion detect video filter") );
set_shortname( N_( "Motion detect" ));
set_shortname( _( "Motion detect" ));
set_category( CAT_VIDEO );
set_subcategory( SUBCAT_VIDEO_VFILTER );
set_capability( "video filter", 0 );
......
......@@ -115,8 +115,8 @@ vlc_module_begin();
OSD_UPDATE_LONGTEXT, VLC_TRUE );
set_capability( "sub filter", 100 );
set_description( N_("On Screen Display menu") );
set_shortname( N_("OSD menu") );
set_shortname( _("On Screen Display menu") );
set_shortname( _("OSD menu") );
add_shortcut( "osdmenu" );
/*
set_category( CAT_VIDEO );
......
......@@ -64,7 +64,7 @@ static char *type_list_text[] = { N_("Rotate by 90 degrees"),
vlc_module_begin();
set_description( _("Video transformation filter") );
set_shortname( N_("Transformation"));
set_shortname( _("Transformation"));
set_capability( "video filter", 0 );
set_category( CAT_VIDEO );
set_subcategory( SUBCAT_VIDEO_VFILTER );
......
......@@ -68,7 +68,7 @@ static int SendEvents( vlc_object_t *, char const *,
vlc_module_begin();
set_description( _("Wall video filter") );
set_shortname( N_("Image wall" ));
set_shortname( _("Image wall" ));
set_capability( "video filter", 0 );
set_category( CAT_VIDEO );
set_subcategory( SUBCAT_VIDEO_VFILTER );
......
......@@ -73,7 +73,7 @@ static void Display ( vout_thread_t *, picture_t * );
vlc_module_begin( );
set_description( _( "Snapshot module" ) );
set_shortname( N_("Snapshot") );
set_shortname( _("Snapshot") );
set_category( CAT_VIDEO );
set_subcategory( SUBCAT_VIDEO_VOUT );
......
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
......@@ -352,7 +352,7 @@ static void RunInterface( intf_thread_t *p_intf )
if( !strcmp( p_module->psz_object_name, ppsz_parser[0] ) )
{
val.psz_string = ppsz_parser[0];
text.psz_string = ppsz_parser[1];
text.psz_string = _(ppsz_parser[1]);
var_Change( p_intf, "intf-switch", VLC_VAR_ADDCHOICE,
&val, &text );
break;
......@@ -371,13 +371,13 @@ static void RunInterface( intf_thread_t *p_intf )
val.psz_string = "rc"; text.psz_string = "Console";
var_Change( p_intf, "intf-add", VLC_VAR_ADDCHOICE, &val, &text );
val.psz_string = "telnet"; text.psz_string = "Telnet Interface";
val.psz_string = "telnet"; text.psz_string = _("Telnet Interface");
var_Change( p_intf, "intf-add", VLC_VAR_ADDCHOICE, &val, &text );
val.psz_string = "http"; text.psz_string = "Web Interface";
val.psz_string = "http"; text.psz_string = _("Web Interface");
var_Change( p_intf, "intf-add", VLC_VAR_ADDCHOICE, &val, &text );
val.psz_string = "logger"; text.psz_string = "Debug logging";
val.psz_string = "logger"; text.psz_string = _("Debug logging");
var_Change( p_intf, "intf-add", VLC_VAR_ADDCHOICE, &val, &text );
val.psz_string = "gestures"; text.psz_string = "Mouse Gestures";
val.psz_string = "gestures"; text.psz_string = _("Mouse Gestures");
var_Change( p_intf, "intf-add", VLC_VAR_ADDCHOICE, &val, &text );
var_AddCallback( p_intf, "intf-add", AddIntfCallback, NULL );
......
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