sizer->Add( bytes_text, 0, wxEXPAND|wxRIGHT, 5);
wxBoxSizer *button_sizer = new wxBoxSizer( wxHORIZONTAL );
- wxButton *ok_button = new wxButton( this, wxID_OK );
+ wxButton *ok_button = new wxButton( this, wxID_OK, wxU(_("&OK") ) );
ok_button->SetDefault();
button_sizer->Add( ok_button );
- button_sizer->Add( new wxButton( this, wxID_CANCEL ) );
+ button_sizer->Add( new wxButton( this, wxID_CANCEL, wxU(_("&Cancel") ) ) );
panel_sizer->Add( sizer, 0, wxEXPAND | wxTOP|wxBOTTOM, 5 );
panel_sizer->Add( button_sizer, 0, wxEXPAND | wxBOTTOM, 5 );
wxPanel *panel = new wxPanel( main_panel, -1 );
wxBoxSizer *panel_sizer = new wxBoxSizer( wxVERTICAL );
wxButton *button_add =
- new wxButton( panel, wxID_ADD );
+ new wxButton( panel, wxID_ADD, wxU(_("Add")) );
wxButton *button_del =
- new wxButton( panel, wxID_DELETE );
+ new wxButton( panel, wxID_DELETE, wxU(_("&Delete")) );
wxButton *button_clear =
- new wxButton( panel, wxID_CLEAR );
+ new wxButton( panel, wxID_CLEAR, wxU(_("&Clear")) );
wxButton *button_edit =
new wxButton( panel, ButtonEdit_Event, wxU(_("Edit")) );
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 ) ) );
wxLC_REPORT | wxSUNKEN_BORDER );
list_ctrl->InsertColumn( 0, wxU(_("Description")) );
list_ctrl->SetColumnWidth( 0, 240 );
- list_ctrl->InsertColumn( 1, wxU(_("Size offset")) );
- list_ctrl->InsertColumn( 2, wxU(_("Time offset")) );
+ list_ctrl->InsertColumn( 1, wxU(_("Bytes")) );
+ list_ctrl->InsertColumn( 2, wxU(_("Time")) );
sizer->Add( panel, 0, wxEXPAND | wxALL, 1 );
sizer->Add( list_ctrl, 1, wxEXPAND | wxALL, 1 );