Commit 1ed12db8 authored by Christophe Mutricy's avatar Christophe Mutricy

Backports [16795] and [16796] - i18n fixes

parent 4305ade2
......@@ -352,7 +352,7 @@ inline char *config_CategoryNameGet( int i_value )
{
if( categories_array[i].i_id == i_value )
{
return categories_array[i].psz_name;
return _(categories_array[i].psz_name);
}
i++;
}
......@@ -366,7 +366,7 @@ inline char *config_CategoryHelpGet( int i_value )
{
if( categories_array[i].i_id == i_value )
{
return categories_array[i].psz_help;
return _(categories_array[i].psz_help);
}
i++;
}
......
......@@ -149,7 +149,7 @@ void E_(ClosePostproc)( decoder_t *, void * );
#define LIBAVCODEC_PP_TEXT N_("FFmpeg post processing filter chains")
/* FIXME (cut/past from ffmpeg */
#define LIBAVCODEC_PP_LONGTEXT \
"<filterName>[:<option>[:<option>...]][[,|/][-]<filterName>[:<option>...]]...\n" \
N_("<filterName>[:<option>[:<option>...]][[,|/][-]<filterName>[:<option>...]]...\n" \
"long form example:\n" \
"vdeblock:autoq/hdeblock:autoq/linblenddeint default,-vdeblock\n" \
"short form example:\n" \
......@@ -181,7 +181,7 @@ void E_(ClosePostproc)( decoder_t *, void * );
"fa fast h1:a,v1:a,dr:a,al\n" \
"tn tmpnoise (3 Thresholds) Temporal Noise Reducer\n" \
" 1. <= 2. <= 3. larger -> stronger filtering\n" \
"fq forceQuant <quantizer> Force quantizer\n"
"fq forceQuant <quantizer> Force quantizer\n")
/*
* Encoder options
......
......@@ -42,10 +42,10 @@ static void DecoderClose ( vlc_object_t * );
#define DEBUG_TEXT \
"Enable debug"
#define DEBUG_LONGTEXT \
#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") );
......
......@@ -166,13 +166,13 @@ BookmarksDialog::BookmarksDialog( intf_thread_t *_p_intf, wxWindow *p_parent )
wxButton *button_extract =
new wxButton( panel, ButtonExtract_Event, wxU(_("Extract")) );
#define ADD_TEXT "Adds a bookmark at the current position in the stream"
#define REMOVE_TEXT "Removes the selected bookmarks"
#define CLEAR_TEXT "Removes all the bookmarks for that stream"
#define EDIT_TEXT "Edit the properties of a bookmark"
#define EXTRACT_TEXT "If you select two or more bookmarks, this will " \
#define ADD_TEXT N_("Adds a bookmark at the current position in the stream")
#define REMOVE_TEXT N_("Removes the selected bookmarks")
#define CLEAR_TEXT N_("Removes all the bookmarks for that stream")
#define EDIT_TEXT N_("Edit the properties of a bookmark")
#define EXTRACT_TEXT N_("If you select two or more bookmarks, this will " \
"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_del->SetToolTip( wxU(_( REMOVE_TEXT ) ) );
button_clear->SetToolTip( wxU(_( CLEAR_TEXT ) ) );
......
......@@ -90,7 +90,7 @@ FileInfo::FileInfo( intf_thread_t *_p_intf, wxWindow *p_parent ):
panel_sizer->Add( notebook, 1, wxEXPAND | wxALL, 5 );
#endif
panel_sizer->Add( new wxButton( panel, wxID_CLOSE ) ,
panel_sizer->Add( new wxButton( panel, wxID_CLOSE, wxU(_("&Close")) ) ,
0, wxALL|wxALIGN_RIGHT, 5 );
panel_sizer->Layout();
......
......@@ -410,7 +410,7 @@ PrefsTreeCtrl::PrefsTreeCtrl( wxWindow *_p_parent, intf_thread_t *_p_intf,
i_image = 6; break;
}
current_item = AppendItem( root_item,
wxU( config_data->psz_name ),
wxU( _(config_data->psz_name) ),
i_image, -1, config_data );
break;
......@@ -483,7 +483,7 @@ PrefsTreeCtrl::PrefsTreeCtrl( wxWindow *_p_parent, intf_thread_t *_p_intf,
#else
i_image = -1;
#endif
AppendItem( current_item, wxU( config_data->psz_name ),
AppendItem( current_item, wxU( _(config_data->psz_name) ),
i_image, -1, config_data );
break;
}
......
......@@ -709,7 +709,7 @@ void FileConfigControl::OnBrowse( wxCommandEvent& event )
#if defined( __WXMSW__ )
wxOPEN
#else
wxOPEN | wxSAVE
wxOPEN
#endif
);
if( dialog.ShowModal() == wxID_OK )
......
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