diff --git a/aegisub/src/dialog_dummy_video.cpp b/aegisub/src/dialog_dummy_video.cpp index 2a78c4b19..aab3bad2a 100644 --- a/aegisub/src/dialog_dummy_video.cpp +++ b/aegisub/src/dialog_dummy_video.cpp @@ -152,7 +152,7 @@ DialogDummyVideo::DialogDummyVideo(wxWindow *parent) width = new wxTextCtrl(this, -1); height = new wxTextCtrl(this, -1); colour = new ColourButton(this, -1, wxSize(30, 17), lagi_wxColour(OPT_GET("Colour/Video Dummy/Last Colour")->GetColour())); - pattern = new wxCheckBox(this, -1, _("Checkerboard pattern")); + pattern = new wxCheckBox(this, -1, _("&Checkerboard pattern")); fps = new wxTextCtrl(this, Dummy_Video_FPS, wxString::Format("%f", OPT_GET("Video/Dummy/FPS")->GetDouble())); length = new wxSpinCtrl(this, Dummy_Video_Length, "", wxDefaultPosition, wxDefaultSize, 4096|wxALIGN_LEFT); length_display = new wxStaticText(this, -1, ""); diff --git a/aegisub/src/dialog_export.cpp b/aegisub/src/dialog_export.cpp index 3a537f208..b955c63a4 100644 --- a/aegisub/src/dialog_export.cpp +++ b/aegisub/src/dialog_export.cpp @@ -74,10 +74,10 @@ DialogExport::DialogExport(agi::Context *c) } } - wxButton *btn_up = new wxButton(this, -1, _("Move up"), wxDefaultPosition, wxSize(90, -1)); - wxButton *btn_down = new wxButton(this, -1, _("Move down"), wxDefaultPosition, wxSize(90, -1)); - wxButton *btn_all = new wxButton(this, -1, _("Select all"), wxDefaultPosition, wxSize(80, -1)); - wxButton *btn_none = new wxButton(this, -1, _("Select none"), wxDefaultPosition, wxSize(80, -1)); + wxButton *btn_up = new wxButton(this, -1, _("Move &up"), wxDefaultPosition, wxSize(90, -1)); + wxButton *btn_down = new wxButton(this, -1, _("Move &down"), wxDefaultPosition, wxSize(90, -1)); + wxButton *btn_all = new wxButton(this, -1, _("Select &all"), wxDefaultPosition, wxSize(80, -1)); + wxButton *btn_none = new wxButton(this, -1, _("Select &none"), wxDefaultPosition, wxSize(80, -1)); btn_up->Bind(wxEVT_COMMAND_BUTTON_CLICKED, &DialogExport::OnMoveUp, this); btn_down->Bind(wxEVT_COMMAND_BUTTON_CLICKED, &DialogExport::OnMoveDown, this); diff --git a/aegisub/src/dialog_kara_timing_copy.cpp b/aegisub/src/dialog_kara_timing_copy.cpp index 8bbe8812d..5fac3cffb 100644 --- a/aegisub/src/dialog_kara_timing_copy.cpp +++ b/aegisub/src/dialog_kara_timing_copy.cpp @@ -653,7 +653,7 @@ DialogKanjiTimer::DialogKanjiTimer(agi::Context *c) display = new KaraokeLineMatchDisplay(this); //Checkbox - Interpolate = new wxCheckBox(this,-1,_("Attempt to interpolate kanji."),wxDefaultPosition,wxDefaultSize,wxALIGN_LEFT); + Interpolate = new wxCheckBox(this,-1,_("Attempt to &interpolate kanji."),wxDefaultPosition,wxDefaultSize,wxALIGN_LEFT); Interpolate->SetValue(OPT_GET("Tool/Kanji Timer/Interpolation")->GetBool()); wxArrayString styles = subs->GetStyles(); @@ -665,14 +665,14 @@ DialogKanjiTimer::DialogKanjiTimer(agi::Context *c) wxStaticText *ShortcutKeys = new wxStaticText(this,-1,_("When the destination textbox has focus, use the following keys:\n\nRight Arrow: Increase dest. selection length\nLeft Arrow: Decrease dest. selection length\nUp Arrow: Increase source selection length\nDown Arrow: Decrease source selection length\nEnter: Link, accept line when done\nBackspace: Unlink last")); //Buttons - wxButton *Start = new wxButton(this,BUTTON_KTSTART,_("Start!")); - wxButton *Link = new wxButton(this,BUTTON_KTLINK,_("Link")); - wxButton *Unlink = new wxButton(this,BUTTON_KTUNLINK,_("Unlink")); - wxButton *SkipSourceLine = new wxButton(this,BUTTON_KTSKIPSOURCE,_("Skip Source Line")); - wxButton *SkipDestLine = new wxButton(this,BUTTON_KTSKIPDEST,_("Skip Dest Line")); - wxButton *GoBackLine = new wxButton(this,BUTTON_KTGOBACK,_("Go Back a Line")); - wxButton *AcceptLine = new wxButton(this,BUTTON_KTACCEPT,_("Accept Line")); - wxButton *CloseKT = new wxButton(this,wxID_CLOSE,_("Close")); + wxButton *Start = new wxButton(this,BUTTON_KTSTART,_("S&tart!")); + wxButton *Link = new wxButton(this,BUTTON_KTLINK,_("&Link")); + wxButton *Unlink = new wxButton(this,BUTTON_KTUNLINK,_("&Unlink")); + wxButton *SkipSourceLine = new wxButton(this,BUTTON_KTSKIPSOURCE,_("Skip &Source Line")); + wxButton *SkipDestLine = new wxButton(this,BUTTON_KTSKIPDEST,_("Skip &Dest Line")); + wxButton *GoBackLine = new wxButton(this,BUTTON_KTGOBACK,_("&Go Back a Line")); + wxButton *AcceptLine = new wxButton(this,BUTTON_KTACCEPT,_("&Accept Line")); + wxButton *CloseKT = new wxButton(this,wxID_CLOSE,_("&Close")); //Frame: Text DisplayBoxSizer->Add(display, 0, wxEXPAND|wxALL, 6); diff --git a/aegisub/src/dialog_paste_over.cpp b/aegisub/src/dialog_paste_over.cpp index 2b661232e..3eb25411d 100644 --- a/aegisub/src/dialog_paste_over.cpp +++ b/aegisub/src/dialog_paste_over.cpp @@ -99,10 +99,10 @@ DialogPasteOver::DialogPasteOver (wxWindow *parent, std::vector& options) // Top buttons wxSizer *TopButtonSizer = new wxBoxSizer(wxHORIZONTAL); - TopButtonSizer->Add(new wxButton(this, Paste_Over_All, _("All")),1,0,0); - TopButtonSizer->Add(new wxButton(this, Paste_Over_None, _("None")),1,0,0); - TopButtonSizer->Add(new wxButton(this, Paste_Over_Times, _("Times")),1,0,0); - TopButtonSizer->Add(new wxButton(this, Paste_Over_Text, _("Text")),1,0,0); + TopButtonSizer->Add(new wxButton(this, Paste_Over_All, _("&All")),1,0,0); + TopButtonSizer->Add(new wxButton(this, Paste_Over_None, _("&None")),1,0,0); + TopButtonSizer->Add(new wxButton(this, Paste_Over_Times, _("&Times")),1,0,0); + TopButtonSizer->Add(new wxButton(this, Paste_Over_Text, _("T&ext")),1,0,0); // Buttons wxStdDialogButtonSizer *ButtonSizer = new wxStdDialogButtonSizer(); diff --git a/aegisub/src/dialog_properties.cpp b/aegisub/src/dialog_properties.cpp index 775ae1b9c..56b56e717 100644 --- a/aegisub/src/dialog_properties.cpp +++ b/aegisub/src/dialog_properties.cpp @@ -103,7 +103,7 @@ DialogProperties::DialogProperties(agi::Context *c) ResX = new wxTextCtrl(this,-1,"",wxDefaultPosition,wxSize(50,20),0,NumValidator(c->ass->GetScriptInfo("PlayResX"))); ResY = new wxTextCtrl(this,-1,"",wxDefaultPosition,wxSize(50,20),0,NumValidator(c->ass->GetScriptInfo("PlayResY"))); wxStaticText *ResText = new wxStaticText(this,-1,"x"); - wxButton *FromVideo = new wxButton(this,-1,_("From video")); + wxButton *FromVideo = new wxButton(this,-1,_("From &video")); if (!c->videoController->IsLoaded()) { FromVideo->Enable(false); } diff --git a/aegisub/src/dialog_resample.cpp b/aegisub/src/dialog_resample.cpp index eb31cba15..354ff23ed 100644 --- a/aegisub/src/dialog_resample.cpp +++ b/aegisub/src/dialog_resample.cpp @@ -78,7 +78,7 @@ DialogResample::DialogResample(agi::Context *c) wxSizer *MarginSizer = new wxGridSizer(3,3,5,5); MarginTop = new wxTextCtrl(this,TEXT_MARGIN_T,"0",wxDefaultPosition,wxSize(50,-1),0); MarginLeft = new wxTextCtrl(this,TEXT_MARGIN_L,"0",wxDefaultPosition,wxSize(50,-1),0); - MarginSymmetrical = new wxCheckBox(this,CHECK_SYMMETRICAL,_("Symmetrical")); + MarginSymmetrical = new wxCheckBox(this,CHECK_SYMMETRICAL,_("&Symmetrical")); MarginRight = new wxTextCtrl(this,TEXT_MARGIN_R,"0",wxDefaultPosition,wxSize(50,-1),0); MarginBottom = new wxTextCtrl(this,TEXT_MARGIN_B,"0",wxDefaultPosition,wxSize(50,-1),0); MarginSizer->AddSpacer(1); @@ -103,13 +103,13 @@ DialogResample::DialogResample(agi::Context *c) ResX = new wxTextCtrl(this,-1,"",wxDefaultPosition,wxSize(50,-1),0,NumValidator(wxString::Format("%i",sw))); ResY = new wxTextCtrl(this,-1,"",wxDefaultPosition,wxSize(50,-1),0,NumValidator(wxString::Format("%i",sh))); wxStaticText *ResText = new wxStaticText(this,-1,_("x")); - wxButton *FromVideo = new wxButton(this,BUTTON_DEST_FROM_VIDEO,_("From video")); + wxButton *FromVideo = new wxButton(this,BUTTON_DEST_FROM_VIDEO,_("From &video")); if (!c->videoController->IsLoaded()) FromVideo->Enable(false); ResSizer->Add(ResX,1,wxRIGHT,5); ResSizer->Add(ResText,0,wxALIGN_CENTER | wxRIGHT,5); ResSizer->Add(ResY,1,wxRIGHT,5); ResSizer->Add(FromVideo,1,0,0); - Anamorphic = new wxCheckBox(this,CHECK_ANAMORPHIC,_("Change aspect ratio")); + Anamorphic = new wxCheckBox(this,CHECK_ANAMORPHIC,_("&Change aspect ratio")); ResBoxSizer->Add(ResSizer,1,wxEXPAND|wxBOTTOM,5); ResBoxSizer->Add(Anamorphic,0,0,0); diff --git a/aegisub/src/dialog_search_replace.cpp b/aegisub/src/dialog_search_replace.cpp index 95281e297..508b8de11 100644 --- a/aegisub/src/dialog_search_replace.cpp +++ b/aegisub/src/dialog_search_replace.cpp @@ -92,9 +92,9 @@ DialogSearchReplace::DialogSearchReplace (wxWindow *parent,bool _hasReplace,wxSt // Options sizer wxSizer *OptionsSizer = new wxBoxSizer(wxVERTICAL); - CheckMatchCase = new wxCheckBox(this,CHECK_MATCH_CASE,_("Match case")); - CheckRegExp = new wxCheckBox(this,CHECK_MATCH_CASE,_("Use regular expressions")); - CheckUpdateVideo = new wxCheckBox(this,CHECK_UPDATE_VIDEO,_("Update Video (slow)")); + CheckMatchCase = new wxCheckBox(this,CHECK_MATCH_CASE,_("&Match case")); + CheckRegExp = new wxCheckBox(this,CHECK_MATCH_CASE,_("&Use regular expressions")); + CheckUpdateVideo = new wxCheckBox(this,CHECK_UPDATE_VIDEO,_("Update &Video")); CheckMatchCase->SetValue(OPT_GET("Tool/Search Replace/Match Case")->GetBool()); CheckRegExp->SetValue(OPT_GET("Tool/Search Replace/RegExp")->GetBool()); //CheckRegExp->Enable(false); @@ -129,12 +129,12 @@ DialogSearchReplace::DialogSearchReplace (wxWindow *parent,bool _hasReplace,wxSt // Buttons wxSizer *ButtonSizer = new wxBoxSizer(wxVERTICAL); - wxButton *FindNext = new wxButton(this,BUTTON_FIND_NEXT,_("Find next")); + wxButton *FindNext = new wxButton(this,BUTTON_FIND_NEXT,_("&Find next")); FindNext->SetDefault(); ButtonSizer->Add(FindNext,0,wxEXPAND | wxBOTTOM,3); if (hasReplace) { - ButtonSizer->Add(new wxButton(this,BUTTON_REPLACE_NEXT,_("Replace next")),0,wxEXPAND | wxBOTTOM,3); - ButtonSizer->Add(new wxButton(this,BUTTON_REPLACE_ALL,_("Replace all")),0,wxEXPAND | wxBOTTOM,3); + ButtonSizer->Add(new wxButton(this,BUTTON_REPLACE_NEXT,_("Replace &next")),0,wxEXPAND | wxBOTTOM,3); + ButtonSizer->Add(new wxButton(this,BUTTON_REPLACE_ALL,_("Replace &all")),0,wxEXPAND | wxBOTTOM,3); } ButtonSizer->Add(new wxButton(this,wxID_CANCEL),0,wxEXPAND | wxBOTTOM,20); //ButtonSizer->Add(new wxButton(this,wxID_HELP),0,wxEXPAND | wxBOTTOM,0); diff --git a/aegisub/src/dialog_selected_choices.cpp b/aegisub/src/dialog_selected_choices.cpp index 47f596a98..c79e87a44 100644 --- a/aegisub/src/dialog_selected_choices.cpp +++ b/aegisub/src/dialog_selected_choices.cpp @@ -44,10 +44,10 @@ SelectedChoicesDialog::SelectedChoicesDialog(wxWindow *parent, wxString const& message, wxString const& caption, wxArrayString const& choices) { Create(parent, message, caption, choices); - wxButton *selAll = new wxButton(this, -1, _("Select All")); - wxButton *selNone = new wxButton(this, -1, _("Select None")); - Bind(wxEVT_COMMAND_BUTTON_CLICKED, &SelectedChoicesDialog::SelectAll, this, selAll->GetId()); - Bind(wxEVT_COMMAND_BUTTON_CLICKED, &SelectedChoicesDialog::SelectNone, this, selNone->GetId()); + wxButton *selAll = new wxButton(this, -1, _("Select &All")); + wxButton *selNone = new wxButton(this, -1, _("Select &None")); + selAll->Bind(wxEVT_COMMAND_BUTTON_CLICKED, &SelectedChoicesDialog::SelectAll, this); + selNone->Bind(wxEVT_COMMAND_BUTTON_CLICKED, &SelectedChoicesDialog::SelectNone, this); wxBoxSizer *buttonSizer = new wxBoxSizer(wxHORIZONTAL); buttonSizer->Add(selAll, wxSizerFlags(0).Left()); diff --git a/aegisub/src/dialog_selection.cpp b/aegisub/src/dialog_selection.cpp index d91057faa..5637646be 100644 --- a/aegisub/src/dialog_selection.cpp +++ b/aegisub/src/dialog_selection.cpp @@ -138,9 +138,9 @@ wxDialog (c->parent, -1, _("Select"), wxDefaultPosition, wxDefaultSize, wxCAPTIO { wxSizerFlags radio_flags = wxSizerFlags().Border(wxLEFT | wxRIGHT); wxSizer *match_radio_line = new wxBoxSizer(wxHORIZONTAL); - match_radio_line->Add(new wxRadioButton(this, -1, _("Matches"), wxDefaultPosition, wxDefaultSize, wxRB_GROUP), radio_flags); - match_radio_line->Add(select_unmatching_lines = new wxRadioButton(this, -1, _("Doesn't Match")), radio_flags); - match_radio_line->Add(case_sensitive = new wxCheckBox(this, -1, _("Match case")), radio_flags); + match_radio_line->Add(new wxRadioButton(this, -1, _("&Matches"), wxDefaultPosition, wxDefaultSize, wxRB_GROUP), radio_flags); + match_radio_line->Add(select_unmatching_lines = new wxRadioButton(this, -1, _("&Doesn't Match")), radio_flags); + match_radio_line->Add(case_sensitive = new wxCheckBox(this, -1, _("Match c&ase")), radio_flags); match_sizer->Add(match_radio_line); } match_sizer->Add(match_text = new wxTextCtrl(this, -1, lagi_wxString(OPT_GET("Tool/Select Lines/Text")->GetString())), main_flags); @@ -149,24 +149,24 @@ wxDialog (c->parent, -1, _("Select"), wxDefaultPosition, wxDefaultSize, wxCAPTIO } { - wxString modes[] = { _("Exact match"), _("Contains"), _("Regular Expression match") }; + wxString modes[] = { _("&Exact match"), _("&Contains"), _("&Regular Expression match") }; main_sizer->Add(match_mode = new wxRadioBox(this, -1, _("Mode"), wxDefaultPosition, wxDefaultSize, 3, modes, 1), main_flags); } { - wxString fields[] = { _("Text"), _("Style"), _("Actor"), _("Effect") }; + wxString fields[] = { _("&Text"), _("&Style"), _("Act&or"), _("E&ffect") }; main_sizer->Add(dialogue_field = new wxRadioBox(this, -1, _("In Field"), wxDefaultPosition, wxDefaultSize, 4, fields), main_flags); } { wxSizer *comment_sizer = new wxStaticBoxSizer(wxHORIZONTAL, this, _("Match dialogues/comments")); - comment_sizer->Add(apply_to_dialogue = new wxCheckBox(this, -1, _("Dialogues")), wxSizerFlags().Border()); - comment_sizer->Add(apply_to_comments = new wxCheckBox(this, -1, _("Comments")), wxSizerFlags().Border()); + comment_sizer->Add(apply_to_dialogue = new wxCheckBox(this, -1, _("D&ialogues")), wxSizerFlags().Border()); + comment_sizer->Add(apply_to_comments = new wxCheckBox(this, -1, _("Comme&nts")), wxSizerFlags().Border()); main_sizer->Add(comment_sizer, main_flags); } { - wxString actions[] = { _("Set selection"), _("Add to selection"), _("Subtract from selection"), _("Intersect with selection") }; + wxString actions[] = { _("Set se&lection"), _("&Add to selection"), _("S&ubtract from selection"), _("Intersect &with selection") }; main_sizer->Add(selection_change_type = new wxRadioBox(this, -1, _("Action"), wxDefaultPosition, wxDefaultSize, 4, actions, 1), main_flags); } diff --git a/aegisub/src/dialog_shift_times.cpp b/aegisub/src/dialog_shift_times.cpp index 33538a19b..da08f2949 100644 --- a/aegisub/src/dialog_shift_times.cpp +++ b/aegisub/src/dialog_shift_times.cpp @@ -65,11 +65,11 @@ DialogShiftTimes::DialogShiftTimes(agi::Context *context) SetIcon(BitmapToIcon(GETIMAGE(shift_times_toolbutton_24))); // Create controls - shift_by_time = new wxRadioButton(this, -1, _("Time: "), wxDefaultPosition, wxDefaultSize, wxRB_GROUP); + shift_by_time = new wxRadioButton(this, -1, _("&Time: "), wxDefaultPosition, wxDefaultSize, wxRB_GROUP); shift_by_time->SetToolTip(_("Shift by time")); shift_by_time->Bind(wxEVT_COMMAND_RADIOBUTTON_SELECTED, &DialogShiftTimes::OnByTime, this); - shift_by_frames = new wxRadioButton(this, -1 , _("Frames: ")); + shift_by_frames = new wxRadioButton(this, -1 , _("&Frames: ")); shift_by_frames->SetToolTip(_("Shift by frames")); shift_by_frames->Bind(wxEVT_COMMAND_RADIOBUTTON_SELECTED, &DialogShiftTimes::OnByFrames, this); @@ -79,21 +79,21 @@ DialogShiftTimes::DialogShiftTimes(agi::Context *context) shift_frames = new wxTextCtrl(this, -1); shift_frames->SetToolTip(_("Enter number of frames to shift by")); - shift_forward = new wxRadioButton(this, -1, _("Forward"), wxDefaultPosition, wxDefaultSize, wxRB_GROUP); + shift_forward = new wxRadioButton(this, -1, _("For&ward"), wxDefaultPosition, wxDefaultSize, wxRB_GROUP); shift_forward->SetToolTip(_("Shifts subs forward, making them appear later. Use if they are appearing too soon.")); - shift_backward = new wxRadioButton(this, -1, _("Backward")); + shift_backward = new wxRadioButton(this, -1, _("&Backward")); shift_backward->SetToolTip(_("Shifts subs backward, making them appear earlier. Use if they are appearing too late.")); - wxString selection_mode_vals[] = { _("All rows"), _("Selected rows"), _("Selection onward") }; + wxString selection_mode_vals[] = { _("&All rows"), _("Selected &rows"), _("Selection &onward") }; selection_mode = new wxRadioBox(this, -1, _("Affect"), wxDefaultPosition, wxDefaultSize, 3, selection_mode_vals, 1); - wxString time_field_vals[] = { _("Start and End times"), _("Start times only"), _("End times only") }; + wxString time_field_vals[] = { _("Start a&nd End times"), _("&Start times only"), _("&End times only") }; time_fields = new wxRadioBox(this, -1, _("Times"), wxDefaultPosition, wxDefaultSize, 3, time_field_vals, 1); history = new wxListBox(this, -1, wxDefaultPosition, wxSize(350, 100), 0, NULL, wxLB_HSCROLL); - wxButton *clear_button = new wxButton(this, -1, _("Clear")); + wxButton *clear_button = new wxButton(this, -1, _("&Clear")); clear_button->Bind(wxEVT_COMMAND_BUTTON_CLICKED, &DialogShiftTimes::OnClear, this); // Set initial control states diff --git a/aegisub/src/dialog_spellchecker.cpp b/aegisub/src/dialog_spellchecker.cpp index 177126050..7a4743f7d 100644 --- a/aegisub/src/dialog_spellchecker.cpp +++ b/aegisub/src/dialog_spellchecker.cpp @@ -118,19 +118,19 @@ DialogSpellChecker::DialogSpellChecker(agi::Context *context) wxButton *button; wxSizerFlags button_flags = wxSizerFlags().Expand().Bottom().Border(wxBOTTOM, 5); - actions_sizer->Add(button = new wxButton(this, -1, _("Replace")), button_flags); + actions_sizer->Add(button = new wxButton(this, -1, _("&Replace")), button_flags); button->Bind(wxEVT_COMMAND_BUTTON_CLICKED, &DialogSpellChecker::OnReplace, this); - actions_sizer->Add(button = new wxButton(this, -1, _("Replace all")), button_flags); + actions_sizer->Add(button = new wxButton(this, -1, _("Replace &all")), button_flags); button->Bind(wxEVT_COMMAND_BUTTON_CLICKED, &DialogSpellChecker::OnReplaceAll, this); - actions_sizer->Add(button = new wxButton(this, -1, _("Ignore")), button_flags); + actions_sizer->Add(button = new wxButton(this, -1, _("&Ignore")), button_flags); button->Bind(wxEVT_COMMAND_BUTTON_CLICKED, &DialogSpellChecker::OnIgnore, this); - actions_sizer->Add(button = new wxButton(this, -1, _("Ignore all")), button_flags); + actions_sizer->Add(button = new wxButton(this, -1, _("Ignore a&ll")), button_flags); button->Bind(wxEVT_COMMAND_BUTTON_CLICKED, &DialogSpellChecker::OnIgnoreAll, this); - actions_sizer->Add(add_button = new wxButton(this, -1, _("Add to dictionary")), button_flags); + actions_sizer->Add(add_button = new wxButton(this, -1, _("Add to &dictionary")), button_flags); button->Bind(wxEVT_COMMAND_BUTTON_CLICKED, &DialogSpellChecker::OnAdd, this); actions_sizer->Add(new HelpButton(this, "Spell Checker"), button_flags); diff --git a/aegisub/src/dialog_style_editor.cpp b/aegisub/src/dialog_style_editor.cpp index e30d98de6..adeacb1fe 100644 --- a/aegisub/src/dialog_style_editor.cpp +++ b/aegisub/src/dialog_style_editor.cpp @@ -122,10 +122,10 @@ DialogStyleEditor::DialogStyleEditor(wxWindow *parent, AssStyle *style, agi::Con StyleName = new wxTextCtrl(this, -1, style->name); FontName = new wxComboBox(this, -1, style->font, wxDefaultPosition, wxSize(150, -1), 0, 0, wxCB_DROPDOWN); FontSize = num_text_ctrl(this, style->fontsize, wxSize(50, -1)); - BoxBold = new wxCheckBox(this, -1, _("Bold")); - BoxItalic = new wxCheckBox(this, -1, _("Italic")); - BoxUnderline = new wxCheckBox(this, -1, _("Underline")); - BoxStrikeout = new wxCheckBox(this, -1, _("Strikeout")); + BoxBold = new wxCheckBox(this, -1, _("&Bold")); + BoxItalic = new wxCheckBox(this, -1, _("&Italic")); + BoxUnderline = new wxCheckBox(this, -1, _("&Underline")); + BoxStrikeout = new wxCheckBox(this, -1, _("&Strikeout")); colorButton[0] = new ColourButton(this, -1, wxSize(55, 16), style->primary.GetWXColor()); colorButton[1] = new ColourButton(this, -1, wxSize(55, 16), style->secondary.GetWXColor()); colorButton[2] = new ColourButton(this, -1, wxSize(55, 16), style->outline.GetWXColor()); @@ -140,7 +140,7 @@ DialogStyleEditor::DialogStyleEditor(wxWindow *parent, AssStyle *style, agi::Con Alignment = new wxRadioBox(this, -1, _("Alignment"), wxDefaultPosition, wxDefaultSize, 9, alignValues, 3, wxRA_SPECIFY_COLS); Outline = num_text_ctrl(this, style->outline_w, wxSize(50, -1)); Shadow = num_text_ctrl(this, style->shadow_w, wxSize(50, -1)); - OutlineType = new wxCheckBox(this, -1, _("Opaque box")); + OutlineType = new wxCheckBox(this, -1, _("&Opaque box")); ScaleX = num_text_ctrl(this, style->scalex); ScaleY = num_text_ctrl(this, style->scaley); Angle = num_text_ctrl(this, style->angle); diff --git a/aegisub/src/dialog_style_manager.cpp b/aegisub/src/dialog_style_manager.cpp index 44149c8a2..9be3af80d 100644 --- a/aegisub/src/dialog_style_manager.cpp +++ b/aegisub/src/dialog_style_manager.cpp @@ -114,11 +114,11 @@ DialogStyleManager::DialogStyleManager (agi::Context *context) wxSizer *StorageButtons = new wxBoxSizer(wxHORIZONTAL); wxSizer *StorageButtonsLow = new wxBoxSizer(wxVERTICAL); wxSizer *StorageListSizer = new wxBoxSizer(wxHORIZONTAL); - MoveToLocal = new wxButton(this, BUTTON_STORAGE_COPYTO, _("Copy to current script ->")); - StorageNew = new wxButton(this, BUTTON_STORAGE_NEW, _("New")); - StorageEdit = new wxButton(this, BUTTON_STORAGE_EDIT, _("Edit")); - StorageCopy = new wxButton(this, BUTTON_STORAGE_COPY, _("Copy")); - StorageDelete = new wxButton(this, BUTTON_STORAGE_DELETE, _("Delete")); + MoveToLocal = new wxButton(this, BUTTON_STORAGE_COPYTO, _("Copy to ¤t script ->")); + StorageNew = new wxButton(this, BUTTON_STORAGE_NEW, _("Ne&w")); + StorageEdit = new wxButton(this, BUTTON_STORAGE_EDIT, _("Ed&it")); + StorageCopy = new wxButton(this, BUTTON_STORAGE_COPY, _("C&opy")); + StorageDelete = new wxButton(this, BUTTON_STORAGE_DELETE, _("De&lete")); StorageButtons->Add(StorageNew,1,wxEXPAND | wxRIGHT,5); StorageButtons->Add(StorageEdit,1,wxEXPAND | wxRIGHT,5); StorageButtons->Add(StorageCopy,1,wxEXPAND | wxRIGHT,5); @@ -157,13 +157,13 @@ DialogStyleManager::DialogStyleManager (agi::Context *context) wxSizer *CurrentButtonsLow = new wxBoxSizer(wxVERTICAL); wxSizer *CurrentListSizer = new wxBoxSizer(wxHORIZONTAL); wxSizer *MoveImportSizer = new wxBoxSizer(wxHORIZONTAL); - MoveToStorage = new wxButton(this, BUTTON_CURRENT_COPYTO, _("<- Copy to storage")); + MoveToStorage = new wxButton(this, BUTTON_CURRENT_COPYTO, _("<- Copy to &storage")); MoveImportSizer->Add(MoveToStorage,1,wxEXPAND | wxRIGHT,5); - MoveImportSizer->Add(new wxButton(this, BUTTON_CURRENT_IMPORT, _("Import from script...")),1,wxEXPAND,0); - CurrentNew = new wxButton(this, BUTTON_CURRENT_NEW, _("New")); - CurrentEdit = new wxButton(this, BUTTON_CURRENT_EDIT, _("Edit")); - CurrentCopy = new wxButton(this, BUTTON_CURRENT_COPY, _("Copy")); - CurrentDelete = new wxButton(this, BUTTON_CURRENT_DELETE, _("Delete")); + MoveImportSizer->Add(new wxButton(this, BUTTON_CURRENT_IMPORT, _("&Import from script...")),1,wxEXPAND,0); + CurrentNew = new wxButton(this, BUTTON_CURRENT_NEW, _("&New")); + CurrentEdit = new wxButton(this, BUTTON_CURRENT_EDIT, _("&Edit")); + CurrentCopy = new wxButton(this, BUTTON_CURRENT_COPY, _("&Copy")); + CurrentDelete = new wxButton(this, BUTTON_CURRENT_DELETE, _("&Delete")); CurrentButtons->Add(CurrentNew,1,wxEXPAND | wxRIGHT,5); CurrentButtons->Add(CurrentEdit,1,wxEXPAND | wxRIGHT,5); CurrentButtons->Add(CurrentCopy,1,wxEXPAND | wxRIGHT,5); diff --git a/aegisub/src/dialog_styling_assistant.cpp b/aegisub/src/dialog_styling_assistant.cpp index 3bc5dd840..c9c3677c8 100644 --- a/aegisub/src/dialog_styling_assistant.cpp +++ b/aegisub/src/dialog_styling_assistant.cpp @@ -102,7 +102,7 @@ DialogStyling::DialogStyling(agi::Context *context) hotkey_box->Add(hotkey_grid, 0, wxEXPAND | wxBOTTOM, 5); - auto_seek = new wxCheckBox(this, -1, _("Seek video to line start time")); + auto_seek = new wxCheckBox(this, -1, _("&Seek video to line start time")); auto_seek->SetValue(true); hotkey_box->Add(auto_seek, 0, 0, 0); hotkey_box->AddStretchSpacer(1); @@ -114,11 +114,11 @@ DialogStyling::DialogStyling(agi::Context *context) wxSizer *actions_box = new wxStaticBoxSizer(wxHORIZONTAL, this, _("Actions")); actions_box->AddStretchSpacer(1); - play_audio = new wxButton(this, -1, _("Play Audio")); + play_audio = new wxButton(this, -1, _("Play &Audio")); play_audio->Enable(c->audioController->IsAudioOpen()); actions_box->Add(play_audio, 0, wxLEFT | wxRIGHT | wxBOTTOM, 5); - play_video = new wxButton(this, -1, _("Play Video")); + play_video = new wxButton(this, -1, _("Play &Video")); play_video->Enable(c->videoController->IsLoaded()); actions_box->Add(play_video, 0, wxBOTTOM | wxRIGHT, 5); diff --git a/aegisub/src/dialog_timing_processor.cpp b/aegisub/src/dialog_timing_processor.cpp index cd155d764..e0bf64237 100644 --- a/aegisub/src/dialog_timing_processor.cpp +++ b/aegisub/src/dialog_timing_processor.cpp @@ -88,25 +88,25 @@ DialogTimingProcessor::DialogTimingProcessor(agi::Context *c) wxArrayString styles = c->ass->GetStyles(); StyleList = new wxCheckListBox(this,TIMING_STYLE_LIST,wxDefaultPosition,wxSize(150,150),styles); StyleList->SetToolTip(_("Select styles to process. Unchecked ones will be ignored.")); - wxButton *all = new wxButton(this,BUTTON_SELECT_ALL,_("All")); + wxButton *all = new wxButton(this,BUTTON_SELECT_ALL,_("&All")); all->SetToolTip(_("Select all styles.")); - wxButton *none = new wxButton(this,BUTTON_SELECT_NONE,_("None")); + wxButton *none = new wxButton(this,BUTTON_SELECT_NONE,_("&None")); none->SetToolTip(_("Deselect all styles.")); // Options box wxSizer *optionsSizer = new wxStaticBoxSizer(wxHORIZONTAL,this,_("Options")); - onlySelection = new wxCheckBox(this,-1,_("Affect selection only")); + onlySelection = new wxCheckBox(this,-1,_("Affect &selection only")); onlySelection->SetValue(OPT_GET("Tool/Timing Post Processor/Only Selection")->GetBool()); optionsSizer->Add(onlySelection,1,wxALL,0); // Lead-in/out box wxSizer *LeadSizer = new wxStaticBoxSizer(wxHORIZONTAL,this,_("Lead-in/Lead-out")); - hasLeadIn = new wxCheckBox(this,CHECK_ENABLE_LEADIN,_("Add lead in:")); + hasLeadIn = new wxCheckBox(this,CHECK_ENABLE_LEADIN,_("Add lead &in:")); hasLeadIn->SetToolTip(_("Enable adding of lead-ins to lines.")); hasLeadIn->SetValue(OPT_GET("Tool/Timing Post Processor/Enable/Lead/IN")->GetBool()); leadIn = new wxTextCtrl(this,-1,"",wxDefaultPosition,wxSize(80,-1),0,NumValidator(leadInTime)); leadIn->SetToolTip(_("Lead in to be added, in milliseconds.")); - hasLeadOut = new wxCheckBox(this,CHECK_ENABLE_LEADOUT,_("Add lead out:")); + hasLeadOut = new wxCheckBox(this,CHECK_ENABLE_LEADOUT,_("Add lead &out:")); hasLeadOut->SetToolTip(_("Enable adding of lead-outs to lines.")); hasLeadOut->SetValue(OPT_GET("Tool/Timing Post Processor/Enable/Lead/OUT")->GetBool()); leadOut = new wxTextCtrl(this,-1,"",wxDefaultPosition,wxSize(80,-1),0,NumValidator(leadOutTime)); @@ -119,7 +119,7 @@ DialogTimingProcessor::DialogTimingProcessor(agi::Context *c) // Adjacent subs sizer wxSizer *AdjacentSizer = new wxStaticBoxSizer(wxHORIZONTAL,this,_("Make adjacent subtitles continuous")); - adjsEnable = new wxCheckBox(this,CHECK_ENABLE_ADJASCENT,_("Enable")); + adjsEnable = new wxCheckBox(this,CHECK_ENABLE_ADJASCENT,_("&Enable")); adjsEnable->SetToolTip(_("Enable snapping of subtitles together if they are within a certain distance of each other.")); adjsEnable->SetValue(OPT_GET("Tool/Timing Post Processor/Enable/Adjacent")->GetBool()); wxStaticText *adjsThresText = new wxStaticText(this,-1,_("Threshold:"),wxDefaultPosition,wxDefaultSize,wxALIGN_CENTRE); @@ -137,7 +137,7 @@ DialogTimingProcessor::DialogTimingProcessor(agi::Context *c) // Keyframes sizer KeyframesSizer = new wxStaticBoxSizer(wxHORIZONTAL,this,_("Keyframe snapping")); wxSizer *KeyframesFlexSizer = new wxFlexGridSizer(2,5,5,0); - keysEnable = new wxCheckBox(this,CHECK_ENABLE_KEYFRAME,_("Enable")); + keysEnable = new wxCheckBox(this,CHECK_ENABLE_KEYFRAME,_("E&nable")); keysEnable->SetToolTip(_("Enable snapping of subtitles to nearest keyframe, if distance is within threshold.")); keysEnable->SetValue(OPT_GET("Tool/Timing Post Processor/Enable/Keyframe")->GetBool()); wxStaticText *textStartBefore = new wxStaticText(this,-1,_("Starts before thres.:"),wxDefaultPosition,wxDefaultSize,wxALIGN_CENTRE); diff --git a/aegisub/src/dialog_translation.cpp b/aegisub/src/dialog_translation.cpp index f98c2186d..6994b9d3e 100644 --- a/aegisub/src/dialog_translation.cpp +++ b/aegisub/src/dialog_translation.cpp @@ -109,7 +109,7 @@ DialogTranslation::DialogTranslation(agi::Context *c) add_hotkey(hotkey_grid, this, "audio/play/selection", "Play Audio"); hotkey_box->Add(hotkey_grid, 0, wxEXPAND, 0); - seek_video = new wxCheckBox(this, -1, _("Enable preview")); + seek_video = new wxCheckBox(this, -1, _("Enable &preview")); seek_video->SetValue(true); hotkey_box->Add(seek_video, 0, wxTOP, 5); @@ -119,12 +119,12 @@ DialogTranslation::DialogTranslation(agi::Context *c) { wxStaticBoxSizer *actions_box = new wxStaticBoxSizer(wxVERTICAL, this, _("Actions")); - wxButton *play_audio = new wxButton(this, -1, _("Play Audio")); + wxButton *play_audio = new wxButton(this, -1, _("Play &Audio")); play_audio->Enable(c->audioController->IsAudioOpen()); play_audio->Bind(wxEVT_COMMAND_BUTTON_CLICKED, &DialogTranslation::OnPlayAudioButton, this); actions_box->Add(play_audio, 0, wxALL, 5); - wxButton *play_video = new wxButton(this, -1, _("Play Video")); + wxButton *play_video = new wxButton(this, -1, _("Play &Video")); play_video->Enable(c->videoController->IsLoaded()); play_video->Bind(wxEVT_COMMAND_BUTTON_CLICKED, &DialogTranslation::OnPlayVideoButton, this); actions_box->Add(play_video, 0, wxLEFT | wxRIGHT | wxBOTTOM, 5); diff --git a/aegisub/src/dialog_version_check.cpp b/aegisub/src/dialog_version_check.cpp index cb7842d57..67ddc1245 100644 --- a/aegisub/src/dialog_version_check.cpp +++ b/aegisub/src/dialog_version_check.cpp @@ -503,7 +503,7 @@ VersionCheckerResultDialog::VersionCheckerResultDialog(const wxString &main_text main_sizer->Add(new wxHyperlinkCtrl(this, -1, upd_iterator->url, upd_iterator->url), 0, wxALIGN_LEFT|wxBOTTOM, 6); } - automatic_check_checkbox = new wxCheckBox(this, -1, _("Auto Check for Updates")); + automatic_check_checkbox = new wxCheckBox(this, -1, _("&Auto Check for Updates")); automatic_check_checkbox->SetValue(OPT_GET("App/Auto/Check For Updates")->GetBool()); wxButton *remind_later_button = 0; diff --git a/aegisub/src/export_framerate.cpp b/aegisub/src/export_framerate.cpp index 568ce4cb3..2c7533e52 100644 --- a/aegisub/src/export_framerate.cpp +++ b/aegisub/src/export_framerate.cpp @@ -76,7 +76,7 @@ wxWindow *AssTransformFramerateFilter::GetConfigDialogWindow(wxWindow *parent, a // Input sizer wxSizer *InputSizer = new wxBoxSizer(wxHORIZONTAL); wxString initialInput; - wxButton *FromVideo = new wxButton(base,-1,_("From video")); + wxButton *FromVideo = new wxButton(base,-1,_("From &video")); if (Input->IsLoaded()) { initialInput = wxString::Format("%2.3f",Input->FPS()); FromVideo->Bind(wxEVT_COMMAND_BUTTON_CLICKED, &AssTransformFramerateFilter::OnFpsFromVideo, this); @@ -96,11 +96,11 @@ wxWindow *AssTransformFramerateFilter::GetConfigDialogWindow(wxWindow *parent, a wxSizer *OutputSizer = new wxBoxSizer(wxVERTICAL); // Output top line - RadioOutputVFR = new wxRadioButton(base,-1,_("Variable"),wxDefaultPosition,wxDefaultSize,wxRB_GROUP); + RadioOutputVFR = new wxRadioButton(base,-1,_("V&ariable"),wxDefaultPosition,wxDefaultSize,wxRB_GROUP); OutputSizerTop->Add(RadioOutputVFR,0,wxEXPAND,0); // Output bottom line - RadioOutputCFR = new wxRadioButton(base,-1,_("Constant: ")); + RadioOutputCFR = new wxRadioButton(base,-1,_("&Constant: ")); wxString initialOutput = initialInput; if (!Output->IsVFR()) { RadioOutputVFR->Enable(false); @@ -112,7 +112,7 @@ wxWindow *AssTransformFramerateFilter::GetConfigDialogWindow(wxWindow *parent, a OutputSizerBottom->AddStretchSpacer(1); // Reverse checkbox - Reverse = new wxCheckBox(base,-1,_("Reverse transformation")); + Reverse = new wxCheckBox(base,-1,_("&Reverse transformation")); // Output final OutputSizer->Add(OutputSizerTop,0,wxLEFT,5); diff --git a/aegisub/src/preferences.cpp b/aegisub/src/preferences.cpp index 4035d343c..167eb0fe9 100644 --- a/aegisub/src/preferences.cpp +++ b/aegisub/src/preferences.cpp @@ -297,9 +297,9 @@ Interface_Hotkeys::Interface_Hotkeys(wxTreebook *book, Preferences *parent) , model(new HotkeyDataViewModel(parent)) { quick_search = new wxSearchCtrl(this, -1); - wxButton *new_button = new wxButton(this, -1, _("New")); - wxButton *edit_button = new wxButton(this, -1, _("Edit")); - wxButton *delete_button = new wxButton(this, -1, _("Delete")); + wxButton *new_button = new wxButton(this, -1, _("&New")); + wxButton *edit_button = new wxButton(this, -1, _("&Edit")); + wxButton *delete_button = new wxButton(this, -1, _("&Delete")); new_button->Bind(wxEVT_COMMAND_BUTTON_CLICKED, &Interface_Hotkeys::OnNewButton, this); edit_button->Bind(wxEVT_COMMAND_BUTTON_CLICKED, &Interface_Hotkeys::OnEditButton, this); @@ -584,7 +584,7 @@ Preferences::Preferences(wxWindow *parent): wxDialog(parent, -1, _("Preferences" wxStdDialogButtonSizer *stdButtonSizer = CreateStdDialogButtonSizer(wxOK | wxCANCEL | wxAPPLY); applyButton = stdButtonSizer->GetApplyButton(); wxSizer *buttonSizer = new wxBoxSizer(wxHORIZONTAL); - wxButton *defaultButton = new wxButton(this, -1, _("Restore Defaults")); + wxButton *defaultButton = new wxButton(this, -1, _("&Restore Defaults")); buttonSizer->Add(defaultButton, wxSizerFlags(0).Expand()); buttonSizer->AddStretchSpacer(1); buttonSizer->Add(stdButtonSizer, wxSizerFlags(0).Expand()); diff --git a/aegisub/src/subs_edit_box.cpp b/aegisub/src/subs_edit_box.cpp index f5b66ec28..d277ba62e 100644 --- a/aegisub/src/subs_edit_box.cpp +++ b/aegisub/src/subs_edit_box.cpp @@ -170,7 +170,7 @@ SubsEditBox::SubsEditBox(wxWindow *parent, agi::Context *context) // Top controls wxArrayString styles; styles.Add("Default"); - CommentBox = new wxCheckBox(this,wxID_ANY,_("Comment")); + CommentBox = new wxCheckBox(this,wxID_ANY,_("&Comment")); StyleBox = new wxComboBox(this,wxID_ANY,"Default",wxDefaultPosition,wxSize(110,-1),styles,wxCB_READONLY | wxTE_PROCESS_ENTER); ActorBox = new wxComboBox(this,wxID_ANY,"Actor",wxDefaultPosition,wxSize(110,-1),styles,wxCB_DROPDOWN | wxTE_PROCESS_ENTER); Effect = new wxTextCtrl(this,wxID_ANY,"",wxDefaultPosition,wxSize(80,-1),wxTE_PROCESS_ENTER); @@ -204,11 +204,11 @@ SubsEditBox::SubsEditBox(wxWindow *parent, agi::Context *context) MAKE_BUTTON(button_color_two_16, _("Secondary color")); MAKE_BUTTON(button_color_three_16, _("Outline color")); MAKE_BUTTON(button_color_four_16, _("Shadow color")); - MAKE_BUTTON(button_audio_commit_16, _("Commits the text (Enter). Hold Ctrl to stay in line (%KEY%).")); + MAKE_BUTTON(button_audio_commit_16, _("Commits the text (Enter)")); #undef MAKE_BUTTON - ByTime = new wxRadioButton(this,wxID_ANY,_("Time"),wxDefaultPosition,wxDefaultSize,wxRB_GROUP); - ByFrame = new wxRadioButton(this,wxID_ANY,_("Frame")); + ByTime = new wxRadioButton(this,wxID_ANY,_("&Time"),wxDefaultPosition,wxDefaultSize,wxRB_GROUP); + ByFrame = new wxRadioButton(this,wxID_ANY,_("F&rame")); ByFrame->Enable(false); // Tooltips