Commit 8b21c8fc authored by Christophe Mutricy's avatar Christophe Mutricy

i18n fixes pointed by Marian Hikanik

parent 3a004ff7
...@@ -85,13 +85,13 @@ struct filter_sys_t ...@@ -85,13 +85,13 @@ struct filter_sys_t
struct atomic_operation_t * p_atomic_operations; struct atomic_operation_t * p_atomic_operations;
}; };
#define MONO_DOWNMIX_TEXT ("Use downmix algorithme.") #define MONO_DOWNMIX_TEXT N_("Use downmix algorithme.")
#define MONO_DOWNMIX_LONGTEXT ("This option selects a stereo to mono " \ #define MONO_DOWNMIX_LONGTEXT N_("This option selects a stereo to mono " \
"downmix algorithm that is used in the headphone channel mixer. It" \ "downmix algorithm that is used in the headphone channel mixer. It" \
"gives the effect of standing in a room full of speakers." ) "gives the effect of standing in a room full of speakers." )
#define MONO_CHANNEL_TEXT ("Select channel to keep") #define MONO_CHANNEL_TEXT N_("Select channel to keep")
#define MONO_CHANNEL_LONGTEXT ("This option silences all other channels " \ #define MONO_CHANNEL_LONGTEXT N_("This option silences all other channels " \
"except the selected channel. Choose one from (0=left, 1=right " \ "except the selected channel. Choose one from (0=left, 1=right " \
"2=rear left, 3=rear right, 4=center, 5=left front)") "2=rear left, 3=rear right, 4=center, 5=left front)")
......
...@@ -149,7 +149,7 @@ void E_(ClosePostproc)( decoder_t *, void * ); ...@@ -149,7 +149,7 @@ void E_(ClosePostproc)( decoder_t *, void * );
#define LIBAVCODEC_PP_TEXT N_("FFmpeg post processing filter chains") #define LIBAVCODEC_PP_TEXT N_("FFmpeg post processing filter chains")
/* FIXME (cut/past from ffmpeg */ /* FIXME (cut/past from ffmpeg */
#define LIBAVCODEC_PP_LONGTEXT \ #define LIBAVCODEC_PP_LONGTEXT \
"<filterName>[:<option>[:<option>...]][[,|/][-]<filterName>[:<option>...]]...\n" \ N_("<filterName>[:<option>[:<option>...]][[,|/][-]<filterName>[:<option>...]]...\n" \
"long form example:\n" \ "long form example:\n" \
"vdeblock:autoq/hdeblock:autoq/linblenddeint default,-vdeblock\n" \ "vdeblock:autoq/hdeblock:autoq/linblenddeint default,-vdeblock\n" \
"short form example:\n" \ "short form example:\n" \
...@@ -181,7 +181,7 @@ void E_(ClosePostproc)( decoder_t *, void * ); ...@@ -181,7 +181,7 @@ void E_(ClosePostproc)( decoder_t *, void * );
"fa fast h1:a,v1:a,dr:a,al\n" \ "fa fast h1:a,v1:a,dr:a,al\n" \
"tn tmpnoise (3 Thresholds) Temporal Noise Reducer\n" \ "tn tmpnoise (3 Thresholds) Temporal Noise Reducer\n" \
" 1. <= 2. <= 3. larger -> stronger filtering\n" \ " 1. <= 2. <= 3. larger -> stronger filtering\n" \
"fq forceQuant <quantizer> Force quantizer\n" "fq forceQuant <quantizer> Force quantizer\n")
/* /*
* Encoder options * Encoder options
......
...@@ -42,10 +42,10 @@ static void DecoderClose ( vlc_object_t * ); ...@@ -42,10 +42,10 @@ static void DecoderClose ( vlc_object_t * );
#define DEBUG_TEXT \ #define DEBUG_TEXT \
"Enable debug" "Enable debug"
#define DEBUG_LONGTEXT \ #define DEBUG_LONGTEXT N_( \
"This integer when viewed in binary is a debugging mask\n" \ "This integer when viewed in binary is a debugging mask\n" \
"calls 1\n" \ "calls 1\n" \
"packet assembly info 2\n" "packet assembly info 2\n")
vlc_module_begin(); vlc_module_begin();
set_description( _("Philips OGT (SVCD subtitle) decoder") ); set_description( _("Philips OGT (SVCD subtitle) decoder") );
......
...@@ -166,13 +166,13 @@ BookmarksDialog::BookmarksDialog( intf_thread_t *_p_intf, wxWindow *p_parent ) ...@@ -166,13 +166,13 @@ BookmarksDialog::BookmarksDialog( intf_thread_t *_p_intf, wxWindow *p_parent )
wxButton *button_extract = wxButton *button_extract =
new wxButton( panel, ButtonExtract_Event, wxU(_("Extract")) ); new wxButton( panel, ButtonExtract_Event, wxU(_("Extract")) );
#define ADD_TEXT "Adds a bookmark at the current position in the stream" #define ADD_TEXT N_("Adds a bookmark at the current position in the stream")
#define REMOVE_TEXT "Removes the selected bookmarks" #define REMOVE_TEXT N_("Removes the selected bookmarks")
#define CLEAR_TEXT "Removes all the bookmarks for that stream" #define CLEAR_TEXT N_("Removes all the bookmarks for that stream")
#define EDIT_TEXT "Edit the properties of a bookmark" #define EDIT_TEXT N_("Edit the properties of a bookmark")
#define EXTRACT_TEXT "If you select two or more bookmarks, this will " \ #define EXTRACT_TEXT N_("If you select two or more bookmarks, this will " \
"launch the streaming/transcoding wizard to allow you to " \ "launch the streaming/transcoding wizard to allow you to " \
"stream or save the part of the stream between these bookmarks" "stream or save the part of the stream between these bookmarks")
button_add->SetToolTip( wxU(_( ADD_TEXT ) ) ); button_add->SetToolTip( wxU(_( ADD_TEXT ) ) );
button_del->SetToolTip( wxU(_( REMOVE_TEXT ) ) ); button_del->SetToolTip( wxU(_( REMOVE_TEXT ) ) );
button_clear->SetToolTip( wxU(_( CLEAR_TEXT ) ) ); button_clear->SetToolTip( wxU(_( CLEAR_TEXT ) ) );
......
...@@ -90,7 +90,7 @@ FileInfo::FileInfo( intf_thread_t *_p_intf, wxWindow *p_parent ): ...@@ -90,7 +90,7 @@ FileInfo::FileInfo( intf_thread_t *_p_intf, wxWindow *p_parent ):
panel_sizer->Add( notebook, 1, wxEXPAND | wxALL, 5 ); panel_sizer->Add( notebook, 1, wxEXPAND | wxALL, 5 );
#endif #endif
panel_sizer->Add( new wxButton( panel, wxID_CLOSE ) , panel_sizer->Add( new wxButton( panel, wxID_CLOSE, wxU(_("&Close")) ) ,
0, wxALL|wxALIGN_RIGHT, 5 ); 0, wxALL|wxALIGN_RIGHT, 5 );
panel_sizer->Layout(); panel_sizer->Layout();
......
...@@ -410,7 +410,7 @@ PrefsTreeCtrl::PrefsTreeCtrl( wxWindow *_p_parent, intf_thread_t *_p_intf, ...@@ -410,7 +410,7 @@ PrefsTreeCtrl::PrefsTreeCtrl( wxWindow *_p_parent, intf_thread_t *_p_intf,
i_image = 6; break; i_image = 6; break;
} }
current_item = AppendItem( root_item, current_item = AppendItem( root_item,
wxU( config_data->psz_name ), wxU( _(config_data->psz_name) ),
i_image, -1, config_data ); i_image, -1, config_data );
break; break;
...@@ -483,7 +483,7 @@ PrefsTreeCtrl::PrefsTreeCtrl( wxWindow *_p_parent, intf_thread_t *_p_intf, ...@@ -483,7 +483,7 @@ PrefsTreeCtrl::PrefsTreeCtrl( wxWindow *_p_parent, intf_thread_t *_p_intf,
#else #else
i_image = -1; i_image = -1;
#endif #endif
AppendItem( current_item, wxU( config_data->psz_name ), AppendItem( current_item, wxU( _(config_data->psz_name) ),
i_image, -1, config_data ); i_image, -1, config_data );
break; break;
} }
......
...@@ -709,7 +709,7 @@ void FileConfigControl::OnBrowse( wxCommandEvent& event ) ...@@ -709,7 +709,7 @@ void FileConfigControl::OnBrowse( wxCommandEvent& event )
#if defined( __WXMSW__ ) #if defined( __WXMSW__ )
wxOPEN wxOPEN
#else #else
wxOPEN | wxSAVE wxOPEN
#endif #endif
); );
if( dialog.ShowModal() == wxID_OK ) if( dialog.ShowModal() == wxID_OK )
......
...@@ -1360,7 +1360,7 @@ vlc_module_begin(); ...@@ -1360,7 +1360,7 @@ vlc_module_begin();
set_category( CAT_INPUT ); set_category( CAT_INPUT );
set_subcategory( SUBCAT_INPUT_GENERAL ); set_subcategory( SUBCAT_INPUT_GENERAL );
add_bool( "france", VLC_FALSE, NULL, "France", FRANCE_LONGTEXT, VLC_TRUE ); add_bool( "france", VLC_FALSE, NULL, N_("France"), FRANCE_LONGTEXT, VLC_TRUE );
set_section( N_( "Track settings" ), NULL ); set_section( N_( "Track settings" ), NULL );
add_integer( "program", 0, NULL, add_integer( "program", 0, 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