forked from mia/Aegisub
Remove periods from the end of help strings
Originally committed to SVN as r6423.
This commit is contained in:
parent
2dcd4ff2a6
commit
4ea45627b5
14 changed files with 143 additions and 143 deletions
|
@ -69,7 +69,7 @@ struct app_about : public Command {
|
||||||
CMD_NAME("app/about")
|
CMD_NAME("app/about")
|
||||||
STR_MENU("&About...")
|
STR_MENU("&About...")
|
||||||
STR_DISP("About")
|
STR_DISP("About")
|
||||||
STR_HELP("About Aegisub.")
|
STR_HELP("About Aegisub")
|
||||||
|
|
||||||
void operator()(agi::Context *c) {
|
void operator()(agi::Context *c) {
|
||||||
AboutScreen(c->parent).ShowModal();
|
AboutScreen(c->parent).ShowModal();
|
||||||
|
@ -82,7 +82,7 @@ struct app_display_audio_subs : public Command {
|
||||||
CMD_NAME("app/display/audio_subs")
|
CMD_NAME("app/display/audio_subs")
|
||||||
STR_MENU("&Audio+Subs View")
|
STR_MENU("&Audio+Subs View")
|
||||||
STR_DISP("Audio+Subs View")
|
STR_DISP("Audio+Subs View")
|
||||||
STR_HELP("Display audio and subtitles only.")
|
STR_HELP("Display audio and subtitles only")
|
||||||
CMD_TYPE(COMMAND_VALIDATE | COMMAND_RADIO)
|
CMD_TYPE(COMMAND_VALIDATE | COMMAND_RADIO)
|
||||||
|
|
||||||
void operator()(agi::Context *) {
|
void operator()(agi::Context *) {
|
||||||
|
@ -104,7 +104,7 @@ struct app_display_full : public Command {
|
||||||
CMD_NAME("app/display/full")
|
CMD_NAME("app/display/full")
|
||||||
STR_MENU("&Full view")
|
STR_MENU("&Full view")
|
||||||
STR_DISP("Full view")
|
STR_DISP("Full view")
|
||||||
STR_HELP("Display audio, video and subtitles.")
|
STR_HELP("Display audio, video and subtitles")
|
||||||
CMD_TYPE(COMMAND_VALIDATE | COMMAND_RADIO)
|
CMD_TYPE(COMMAND_VALIDATE | COMMAND_RADIO)
|
||||||
|
|
||||||
void operator()(agi::Context *c) {
|
void operator()(agi::Context *c) {
|
||||||
|
@ -126,7 +126,7 @@ struct app_display_subs : public Command {
|
||||||
CMD_NAME("app/display/subs")
|
CMD_NAME("app/display/subs")
|
||||||
STR_MENU("S&ubs Only View")
|
STR_MENU("S&ubs Only View")
|
||||||
STR_DISP("Subs Only View")
|
STR_DISP("Subs Only View")
|
||||||
STR_HELP("Display subtitles only.")
|
STR_HELP("Display subtitles only")
|
||||||
CMD_TYPE(COMMAND_VALIDATE | COMMAND_RADIO)
|
CMD_TYPE(COMMAND_VALIDATE | COMMAND_RADIO)
|
||||||
|
|
||||||
void operator()(agi::Context *c) {
|
void operator()(agi::Context *c) {
|
||||||
|
@ -144,7 +144,7 @@ struct app_display_video_subs : public Command {
|
||||||
CMD_NAME("app/display/video_subs")
|
CMD_NAME("app/display/video_subs")
|
||||||
STR_MENU("&Video+Subs View")
|
STR_MENU("&Video+Subs View")
|
||||||
STR_DISP("Video+Subs View")
|
STR_DISP("Video+Subs View")
|
||||||
STR_HELP("Display video and subtitles only.")
|
STR_HELP("Display video and subtitles only")
|
||||||
CMD_TYPE(COMMAND_VALIDATE | COMMAND_RADIO)
|
CMD_TYPE(COMMAND_VALIDATE | COMMAND_RADIO)
|
||||||
|
|
||||||
void operator()(agi::Context *c) {
|
void operator()(agi::Context *c) {
|
||||||
|
@ -166,7 +166,7 @@ struct app_exit : public Command {
|
||||||
CMD_NAME("app/exit")
|
CMD_NAME("app/exit")
|
||||||
STR_MENU("E&xit")
|
STR_MENU("E&xit")
|
||||||
STR_DISP("Exit")
|
STR_DISP("Exit")
|
||||||
STR_HELP("Exit the application.")
|
STR_HELP("Exit the application")
|
||||||
|
|
||||||
void operator()(agi::Context *c) {
|
void operator()(agi::Context *c) {
|
||||||
wxGetApp().frame->Close();
|
wxGetApp().frame->Close();
|
||||||
|
@ -207,7 +207,7 @@ struct app_log : public Command {
|
||||||
CMD_NAME("app/log")
|
CMD_NAME("app/log")
|
||||||
STR_MENU("&Log window...")
|
STR_MENU("&Log window...")
|
||||||
STR_DISP("Log window")
|
STR_DISP("Log window")
|
||||||
STR_HELP("Event log.")
|
STR_HELP("View the event log")
|
||||||
|
|
||||||
void operator()(agi::Context *c) {
|
void operator()(agi::Context *c) {
|
||||||
(new LogWindow(c->parent))->Show(1);
|
(new LogWindow(c->parent))->Show(1);
|
||||||
|
@ -220,7 +220,7 @@ struct app_new_window : public Command {
|
||||||
CMD_NAME("app/new_window")
|
CMD_NAME("app/new_window")
|
||||||
STR_MENU("New &Window")
|
STR_MENU("New &Window")
|
||||||
STR_DISP("New Window")
|
STR_DISP("New Window")
|
||||||
STR_HELP("Open a new application window.")
|
STR_HELP("Open a new application window")
|
||||||
|
|
||||||
void operator()(agi::Context *) {
|
void operator()(agi::Context *) {
|
||||||
RestartAegisub();
|
RestartAegisub();
|
||||||
|
@ -233,7 +233,7 @@ struct app_options : public Command {
|
||||||
CMD_NAME("app/options")
|
CMD_NAME("app/options")
|
||||||
STR_MENU("&Options...")
|
STR_MENU("&Options...")
|
||||||
STR_DISP("Options")
|
STR_DISP("Options")
|
||||||
STR_HELP("Configure Aegisub.")
|
STR_HELP("Configure Aegisub")
|
||||||
|
|
||||||
void operator()(agi::Context *c) {
|
void operator()(agi::Context *c) {
|
||||||
try {
|
try {
|
||||||
|
@ -249,7 +249,7 @@ struct app_toggle_global_hotkeys : public Command {
|
||||||
CMD_NAME("app/toggle/global_hotkeys")
|
CMD_NAME("app/toggle/global_hotkeys")
|
||||||
STR_MENU("Toggle global hotkey overrides")
|
STR_MENU("Toggle global hotkey overrides")
|
||||||
STR_DISP("Toggle global hotkey overrides")
|
STR_DISP("Toggle global hotkey overrides")
|
||||||
STR_HELP("Toggle global hotkey overrides.")
|
STR_HELP("Toggle global hotkey overrides")
|
||||||
CMD_TYPE(COMMAND_TOGGLE)
|
CMD_TYPE(COMMAND_TOGGLE)
|
||||||
|
|
||||||
bool IsActive(const agi::Context *) {
|
bool IsActive(const agi::Context *) {
|
||||||
|
@ -267,7 +267,7 @@ struct app_updates : public Command {
|
||||||
CMD_NAME("app/updates")
|
CMD_NAME("app/updates")
|
||||||
STR_MENU("&Check for Updates...")
|
STR_MENU("&Check for Updates...")
|
||||||
STR_DISP("Check for Updates")
|
STR_DISP("Check for Updates")
|
||||||
STR_HELP("Check to see if there is a new version of Aegisub available.")
|
STR_HELP("Check to see if there is a new version of Aegisub available")
|
||||||
|
|
||||||
void operator()(agi::Context *) {
|
void operator()(agi::Context *) {
|
||||||
PerformVersionCheck(true);
|
PerformVersionCheck(true);
|
||||||
|
|
|
@ -76,7 +76,7 @@ struct audio_close : public validate_audio_open {
|
||||||
CMD_NAME("audio/close")
|
CMD_NAME("audio/close")
|
||||||
STR_MENU("&Close Audio")
|
STR_MENU("&Close Audio")
|
||||||
STR_DISP("Close Audio")
|
STR_DISP("Close Audio")
|
||||||
STR_HELP("Closes the currently open audio file.")
|
STR_HELP("Closes the currently open audio file")
|
||||||
|
|
||||||
void operator()(agi::Context *c) {
|
void operator()(agi::Context *c) {
|
||||||
c->audioController->CloseAudio();
|
c->audioController->CloseAudio();
|
||||||
|
@ -89,7 +89,7 @@ struct audio_open : public Command {
|
||||||
CMD_NAME("audio/open")
|
CMD_NAME("audio/open")
|
||||||
STR_MENU("&Open Audio File...")
|
STR_MENU("&Open Audio File...")
|
||||||
STR_DISP("Open Audio File")
|
STR_DISP("Open Audio File")
|
||||||
STR_HELP("Opens an audio file.")
|
STR_HELP("Opens an audio file")
|
||||||
|
|
||||||
void operator()(agi::Context *c) {
|
void operator()(agi::Context *c) {
|
||||||
try {
|
try {
|
||||||
|
@ -116,7 +116,7 @@ struct audio_open_blank : public Command {
|
||||||
CMD_NAME("audio/open/blank")
|
CMD_NAME("audio/open/blank")
|
||||||
STR_MENU("Open 2h30 Blank Audio")
|
STR_MENU("Open 2h30 Blank Audio")
|
||||||
STR_DISP("Open 2h30 Blank Audio")
|
STR_DISP("Open 2h30 Blank Audio")
|
||||||
STR_HELP("Open a 150 minutes blank audio clip, for debugging.")
|
STR_HELP("Open a 150 minutes blank audio clip, for debugging")
|
||||||
|
|
||||||
void operator()(agi::Context *c) {
|
void operator()(agi::Context *c) {
|
||||||
try {
|
try {
|
||||||
|
@ -134,7 +134,7 @@ struct audio_open_noise : public Command {
|
||||||
CMD_NAME("audio/open/noise")
|
CMD_NAME("audio/open/noise")
|
||||||
STR_MENU("Open 2h30 Noise Audio")
|
STR_MENU("Open 2h30 Noise Audio")
|
||||||
STR_DISP("Open 2h30 Noise Audio")
|
STR_DISP("Open 2h30 Noise Audio")
|
||||||
STR_HELP("Open a 150 minutes noise-filled audio clip, for debugging.")
|
STR_HELP("Open a 150 minutes noise-filled audio clip, for debugging")
|
||||||
|
|
||||||
void operator()(agi::Context *c) {
|
void operator()(agi::Context *c) {
|
||||||
try {
|
try {
|
||||||
|
@ -152,7 +152,7 @@ struct audio_open_video : public Command {
|
||||||
CMD_NAME("audio/open/video")
|
CMD_NAME("audio/open/video")
|
||||||
STR_MENU("Open Audio from &Video")
|
STR_MENU("Open Audio from &Video")
|
||||||
STR_DISP("Open Audio from Video")
|
STR_DISP("Open Audio from Video")
|
||||||
STR_HELP("Opens the audio from the current video file.")
|
STR_HELP("Opens the audio from the current video file")
|
||||||
CMD_TYPE(COMMAND_VALIDATE)
|
CMD_TYPE(COMMAND_VALIDATE)
|
||||||
|
|
||||||
bool Validate(const agi::Context *c) {
|
bool Validate(const agi::Context *c) {
|
||||||
|
@ -176,7 +176,7 @@ struct audio_view_spectrum : public Command {
|
||||||
CMD_NAME("audio/view/spectrum")
|
CMD_NAME("audio/view/spectrum")
|
||||||
STR_MENU("&Spectrum Display")
|
STR_MENU("&Spectrum Display")
|
||||||
STR_DISP("Spectrum Display")
|
STR_DISP("Spectrum Display")
|
||||||
STR_HELP("Display audio as a frequency-power spectrograph.")
|
STR_HELP("Display audio as a frequency-power spectrograph")
|
||||||
CMD_TYPE(COMMAND_RADIO)
|
CMD_TYPE(COMMAND_RADIO)
|
||||||
|
|
||||||
bool IsActive(const agi::Context *) {
|
bool IsActive(const agi::Context *) {
|
||||||
|
@ -194,7 +194,7 @@ struct audio_view_waveform : public Command {
|
||||||
CMD_NAME("audio/view/waveform")
|
CMD_NAME("audio/view/waveform")
|
||||||
STR_MENU("&Waveform Display")
|
STR_MENU("&Waveform Display")
|
||||||
STR_DISP("Waveform Display")
|
STR_DISP("Waveform Display")
|
||||||
STR_HELP("Display audio as a linear amplitude graph.")
|
STR_HELP("Display audio as a linear amplitude graph")
|
||||||
CMD_TYPE(COMMAND_RADIO)
|
CMD_TYPE(COMMAND_RADIO)
|
||||||
|
|
||||||
bool IsActive(const agi::Context *) {
|
bool IsActive(const agi::Context *) {
|
||||||
|
|
|
@ -61,7 +61,7 @@ struct am_manager : public Command {
|
||||||
CMD_NAME("am/manager")
|
CMD_NAME("am/manager")
|
||||||
STR_MENU("&Automation...")
|
STR_MENU("&Automation...")
|
||||||
STR_DISP("Automation")
|
STR_DISP("Automation")
|
||||||
STR_HELP("Open automation manager.")
|
STR_HELP("Open automation manager")
|
||||||
|
|
||||||
void operator()(agi::Context *c) {
|
void operator()(agi::Context *c) {
|
||||||
if (wxGetMouseState().CmdDown()) {
|
if (wxGetMouseState().CmdDown()) {
|
||||||
|
|
|
@ -79,7 +79,7 @@ struct edit_find_replace : public Command {
|
||||||
CMD_NAME("edit/find_replace")
|
CMD_NAME("edit/find_replace")
|
||||||
STR_MENU("Find and R&eplace...")
|
STR_MENU("Find and R&eplace...")
|
||||||
STR_DISP("Find and Replace")
|
STR_DISP("Find and Replace")
|
||||||
STR_HELP("Find and replace words in subtitles.")
|
STR_HELP("Find and replace words in subtitles")
|
||||||
|
|
||||||
void operator()(agi::Context *c) {
|
void operator()(agi::Context *c) {
|
||||||
c->videoController->Stop();
|
c->videoController->Stop();
|
||||||
|
@ -92,7 +92,7 @@ struct edit_line_copy : public validate_sel_nonempty {
|
||||||
CMD_NAME("edit/line/copy")
|
CMD_NAME("edit/line/copy")
|
||||||
STR_MENU("&Copy Lines")
|
STR_MENU("&Copy Lines")
|
||||||
STR_DISP("Copy Lines")
|
STR_DISP("Copy Lines")
|
||||||
STR_HELP("Copy subtitles.")
|
STR_HELP("Copy subtitles")
|
||||||
|
|
||||||
void operator()(agi::Context *c) {
|
void operator()(agi::Context *c) {
|
||||||
if (c->parent->FindFocus() == c->editBox) {
|
if (c->parent->FindFocus() == c->editBox) {
|
||||||
|
@ -109,7 +109,7 @@ struct edit_line_cut: public validate_sel_nonempty {
|
||||||
CMD_NAME("edit/line/cut")
|
CMD_NAME("edit/line/cut")
|
||||||
STR_MENU("Cu&t Lines")
|
STR_MENU("Cu&t Lines")
|
||||||
STR_DISP("Cut Lines")
|
STR_DISP("Cut Lines")
|
||||||
STR_HELP("Cut subtitles.")
|
STR_HELP("Cut subtitles")
|
||||||
|
|
||||||
void operator()(agi::Context *c) {
|
void operator()(agi::Context *c) {
|
||||||
if (c->parent->FindFocus() == c->editBox) {
|
if (c->parent->FindFocus() == c->editBox) {
|
||||||
|
@ -126,7 +126,7 @@ struct edit_line_delete : public validate_sel_nonempty {
|
||||||
CMD_NAME("edit/line/delete")
|
CMD_NAME("edit/line/delete")
|
||||||
STR_MENU("De&lete Lines")
|
STR_MENU("De&lete Lines")
|
||||||
STR_DISP("Delete Lines")
|
STR_DISP("Delete Lines")
|
||||||
STR_HELP("Delete currently selected lines.")
|
STR_HELP("Delete currently selected lines")
|
||||||
|
|
||||||
void operator()(agi::Context *c) {
|
void operator()(agi::Context *c) {
|
||||||
c->subsGrid->DeleteLines(c->subsGrid->GetSelection());
|
c->subsGrid->DeleteLines(c->subsGrid->GetSelection());
|
||||||
|
@ -139,7 +139,7 @@ struct edit_line_duplicate : public validate_sel_nonempty {
|
||||||
CMD_NAME("edit/line/duplicate")
|
CMD_NAME("edit/line/duplicate")
|
||||||
STR_MENU("&Duplicate Lines")
|
STR_MENU("&Duplicate Lines")
|
||||||
STR_DISP("Duplicate Lines")
|
STR_DISP("Duplicate Lines")
|
||||||
STR_HELP("Duplicate the selected lines.")
|
STR_HELP("Duplicate the selected lines")
|
||||||
|
|
||||||
void operator()(agi::Context *c) {
|
void operator()(agi::Context *c) {
|
||||||
wxArrayInt sels = c->subsGrid->GetSelection();
|
wxArrayInt sels = c->subsGrid->GetSelection();
|
||||||
|
@ -153,7 +153,7 @@ struct edit_line_duplicate_shift : public Command {
|
||||||
CMD_NAME("edit/line/duplicate/shift")
|
CMD_NAME("edit/line/duplicate/shift")
|
||||||
STR_MENU("D&uplicate and Shift by 1 Frame")
|
STR_MENU("D&uplicate and Shift by 1 Frame")
|
||||||
STR_DISP("Duplicate and Shift by 1 Frame")
|
STR_DISP("Duplicate and Shift by 1 Frame")
|
||||||
STR_HELP("Duplicate lines and shift by one frame.")
|
STR_HELP("Duplicate lines and shift by one frame")
|
||||||
CMD_TYPE(COMMAND_VALIDATE)
|
CMD_TYPE(COMMAND_VALIDATE)
|
||||||
|
|
||||||
bool Validate(const agi::Context *c) {
|
bool Validate(const agi::Context *c) {
|
||||||
|
@ -212,7 +212,7 @@ struct edit_line_join_as_karaoke : public validate_sel_multiple {
|
||||||
CMD_NAME("edit/line/join/as_karaoke")
|
CMD_NAME("edit/line/join/as_karaoke")
|
||||||
STR_MENU("As &Karaoke")
|
STR_MENU("As &Karaoke")
|
||||||
STR_DISP("As Karaoke")
|
STR_DISP("As Karaoke")
|
||||||
STR_HELP("Joins selected lines in a single one, as karaoke.")
|
STR_HELP("Joins selected lines in a single one, as karaoke")
|
||||||
|
|
||||||
void operator()(agi::Context *c) {
|
void operator()(agi::Context *c) {
|
||||||
combine_lines(c, combine_karaoke, _("join as karaoke"));
|
combine_lines(c, combine_karaoke, _("join as karaoke"));
|
||||||
|
@ -225,7 +225,7 @@ struct edit_line_join_concatenate : public validate_sel_multiple {
|
||||||
CMD_NAME("edit/line/join/concatenate")
|
CMD_NAME("edit/line/join/concatenate")
|
||||||
STR_MENU("&Concatenate")
|
STR_MENU("&Concatenate")
|
||||||
STR_DISP("Concatenate")
|
STR_DISP("Concatenate")
|
||||||
STR_HELP("Joins selected lines in a single one, concatenating text together.")
|
STR_HELP("Joins selected lines in a single one, concatenating text together")
|
||||||
|
|
||||||
void operator()(agi::Context *c) {
|
void operator()(agi::Context *c) {
|
||||||
combine_lines(c, combine_concat, _("join lines"));
|
combine_lines(c, combine_concat, _("join lines"));
|
||||||
|
@ -238,7 +238,7 @@ struct edit_line_join_keep_first : public validate_sel_multiple {
|
||||||
CMD_NAME("edit/line/join/keep_first")
|
CMD_NAME("edit/line/join/keep_first")
|
||||||
STR_MENU("Keep &First")
|
STR_MENU("Keep &First")
|
||||||
STR_DISP("Keep First")
|
STR_DISP("Keep First")
|
||||||
STR_HELP("Joins selected lines in a single one, keeping text of first and discarding remaining.")
|
STR_HELP("Joins selected lines in a single one, keeping text of first and discarding remaining")
|
||||||
|
|
||||||
void operator()(agi::Context *c) {
|
void operator()(agi::Context *c) {
|
||||||
combine_lines(c, combine_drop, _("join lines"));
|
combine_lines(c, combine_drop, _("join lines"));
|
||||||
|
@ -251,7 +251,7 @@ struct edit_line_paste : public Command {
|
||||||
CMD_NAME("edit/line/paste")
|
CMD_NAME("edit/line/paste")
|
||||||
STR_MENU("&Paste Lines")
|
STR_MENU("&Paste Lines")
|
||||||
STR_DISP("Paste Lines")
|
STR_DISP("Paste Lines")
|
||||||
STR_HELP("Paste subtitles.")
|
STR_HELP("Paste subtitles")
|
||||||
CMD_TYPE(COMMAND_VALIDATE)
|
CMD_TYPE(COMMAND_VALIDATE)
|
||||||
|
|
||||||
bool Validate(const agi::Context *) {
|
bool Validate(const agi::Context *) {
|
||||||
|
@ -278,7 +278,7 @@ struct edit_line_paste_over : public Command {
|
||||||
CMD_NAME("edit/line/paste/over")
|
CMD_NAME("edit/line/paste/over")
|
||||||
STR_MENU("Paste Lines &Over...")
|
STR_MENU("Paste Lines &Over...")
|
||||||
STR_DISP("Paste Lines Over")
|
STR_DISP("Paste Lines Over")
|
||||||
STR_HELP("Paste subtitles over others.")
|
STR_HELP("Paste subtitles over others")
|
||||||
CMD_TYPE(COMMAND_VALIDATE)
|
CMD_TYPE(COMMAND_VALIDATE)
|
||||||
|
|
||||||
bool Validate(const agi::Context *c) {
|
bool Validate(const agi::Context *c) {
|
||||||
|
@ -301,7 +301,7 @@ struct edit_line_recombine : public validate_sel_multiple {
|
||||||
CMD_NAME("edit/line/recombine")
|
CMD_NAME("edit/line/recombine")
|
||||||
STR_MENU("Recom&bine Lines")
|
STR_MENU("Recom&bine Lines")
|
||||||
STR_DISP("Recombine Lines")
|
STR_DISP("Recombine Lines")
|
||||||
STR_HELP("Recombine subtitles when they have been split and merged.")
|
STR_HELP("Recombine subtitles when they have been split and merged")
|
||||||
|
|
||||||
void operator()(agi::Context *c) {
|
void operator()(agi::Context *c) {
|
||||||
c->subsGrid->RecombineLines();
|
c->subsGrid->RecombineLines();
|
||||||
|
@ -314,7 +314,7 @@ struct edit_line_split_by_karaoke : public validate_sel_nonempty {
|
||||||
CMD_NAME("edit/line/split/by_karaoke")
|
CMD_NAME("edit/line/split/by_karaoke")
|
||||||
STR_MENU("Split Lines (by karaoke)")
|
STR_MENU("Split Lines (by karaoke)")
|
||||||
STR_DISP("Split Lines (by karaoke)")
|
STR_DISP("Split Lines (by karaoke)")
|
||||||
STR_HELP("Uses karaoke timing to split line into multiple smaller lines.")
|
STR_HELP("Uses karaoke timing to split line into multiple smaller lines")
|
||||||
|
|
||||||
void operator()(agi::Context *c) {
|
void operator()(agi::Context *c) {
|
||||||
AssKaraoke::SplitLines(c->selectionController->GetSelectedSet(), c);
|
AssKaraoke::SplitLines(c->selectionController->GetSelectedSet(), c);
|
||||||
|
@ -324,7 +324,7 @@ struct edit_line_split_by_karaoke : public validate_sel_nonempty {
|
||||||
/// Redoes last action.
|
/// Redoes last action.
|
||||||
struct edit_redo : public Command {
|
struct edit_redo : public Command {
|
||||||
CMD_NAME("edit/redo")
|
CMD_NAME("edit/redo")
|
||||||
STR_HELP("Redoes last action.")
|
STR_HELP("Redoes last action")
|
||||||
CMD_TYPE(COMMAND_VALIDATE | COMMAND_DYNAMIC_NAME)
|
CMD_TYPE(COMMAND_VALIDATE | COMMAND_DYNAMIC_NAME)
|
||||||
|
|
||||||
wxString StrMenu(const agi::Context *c) const {
|
wxString StrMenu(const agi::Context *c) const {
|
||||||
|
@ -351,7 +351,7 @@ struct edit_redo : public Command {
|
||||||
/// Undoes last action.
|
/// Undoes last action.
|
||||||
struct edit_undo : public Command {
|
struct edit_undo : public Command {
|
||||||
CMD_NAME("edit/undo")
|
CMD_NAME("edit/undo")
|
||||||
STR_HELP("Undoes last action.")
|
STR_HELP("Undoes last action")
|
||||||
CMD_TYPE(COMMAND_VALIDATE | COMMAND_DYNAMIC_NAME)
|
CMD_TYPE(COMMAND_VALIDATE | COMMAND_DYNAMIC_NAME)
|
||||||
|
|
||||||
wxString StrMenu(const agi::Context *c) const {
|
wxString StrMenu(const agi::Context *c) const {
|
||||||
|
|
|
@ -58,7 +58,7 @@ struct grid_line_next : public Command {
|
||||||
CMD_NAME("grid/line/next")
|
CMD_NAME("grid/line/next")
|
||||||
STR_MENU("Next Line")
|
STR_MENU("Next Line")
|
||||||
STR_DISP("Next Line")
|
STR_DISP("Next Line")
|
||||||
STR_HELP("Move to the next subtitle line.")
|
STR_HELP("Move to the next subtitle line")
|
||||||
|
|
||||||
void operator()(agi::Context *c) {
|
void operator()(agi::Context *c) {
|
||||||
c->selectionController->NextLine();
|
c->selectionController->NextLine();
|
||||||
|
@ -70,7 +70,7 @@ struct grid_line_next_create : public Command {
|
||||||
CMD_NAME("grid/line/next/create")
|
CMD_NAME("grid/line/next/create")
|
||||||
STR_MENU("Next Line")
|
STR_MENU("Next Line")
|
||||||
STR_DISP("Next Line")
|
STR_DISP("Next Line")
|
||||||
STR_HELP("Move to the next subtitle line, creating a new one if needed.")
|
STR_HELP("Move to the next subtitle line, creating a new one if needed")
|
||||||
|
|
||||||
void operator()(agi::Context *c) {
|
void operator()(agi::Context *c) {
|
||||||
AssDialogue *cur = c->selectionController->GetActiveLine();
|
AssDialogue *cur = c->selectionController->GetActiveLine();
|
||||||
|
@ -94,7 +94,7 @@ struct grid_line_prev : public Command {
|
||||||
CMD_NAME("grid/line/prev")
|
CMD_NAME("grid/line/prev")
|
||||||
STR_MENU("Previous Line")
|
STR_MENU("Previous Line")
|
||||||
STR_DISP("Previous Line")
|
STR_DISP("Previous Line")
|
||||||
STR_HELP("Move to the previous line.")
|
STR_HELP("Move to the previous line")
|
||||||
|
|
||||||
void operator()(agi::Context *c) {
|
void operator()(agi::Context *c) {
|
||||||
c->selectionController->PrevLine();
|
c->selectionController->PrevLine();
|
||||||
|
@ -106,7 +106,7 @@ struct grid_sort_actor : public Command {
|
||||||
CMD_NAME("grid/sort/actor")
|
CMD_NAME("grid/sort/actor")
|
||||||
STR_MENU("&Actor Name")
|
STR_MENU("&Actor Name")
|
||||||
STR_DISP("Actor Name")
|
STR_DISP("Actor Name")
|
||||||
STR_HELP("Sort all subtitles by their actor names.")
|
STR_HELP("Sort all subtitles by their actor names")
|
||||||
|
|
||||||
void operator()(agi::Context *c) {
|
void operator()(agi::Context *c) {
|
||||||
c->ass->Sort(AssFile::CompActor);
|
c->ass->Sort(AssFile::CompActor);
|
||||||
|
@ -132,7 +132,7 @@ struct grid_sort_end : public Command {
|
||||||
CMD_NAME("grid/sort/end")
|
CMD_NAME("grid/sort/end")
|
||||||
STR_MENU("&End Time")
|
STR_MENU("&End Time")
|
||||||
STR_DISP("End Time")
|
STR_DISP("End Time")
|
||||||
STR_HELP("Sort all subtitles by their end times.")
|
STR_HELP("Sort all subtitles by their end times")
|
||||||
|
|
||||||
void operator()(agi::Context *c) {
|
void operator()(agi::Context *c) {
|
||||||
c->ass->Sort(AssFile::CompEnd);
|
c->ass->Sort(AssFile::CompEnd);
|
||||||
|
@ -145,7 +145,7 @@ struct grid_sort_start : public Command {
|
||||||
CMD_NAME("grid/sort/start")
|
CMD_NAME("grid/sort/start")
|
||||||
STR_MENU("&Start Time")
|
STR_MENU("&Start Time")
|
||||||
STR_DISP("Start Time")
|
STR_DISP("Start Time")
|
||||||
STR_HELP("Sort all subtitles by their start times.")
|
STR_HELP("Sort all subtitles by their start times")
|
||||||
|
|
||||||
void operator()(agi::Context *c) {
|
void operator()(agi::Context *c) {
|
||||||
c->ass->Sort();
|
c->ass->Sort();
|
||||||
|
@ -158,7 +158,7 @@ struct grid_sort_style : public Command {
|
||||||
CMD_NAME("grid/sort/style")
|
CMD_NAME("grid/sort/style")
|
||||||
STR_MENU("St&yle Name")
|
STR_MENU("St&yle Name")
|
||||||
STR_DISP("Style Name")
|
STR_DISP("Style Name")
|
||||||
STR_HELP("Sort all subtitles by their style names.")
|
STR_HELP("Sort all subtitles by their style names")
|
||||||
|
|
||||||
void operator()(agi::Context *c) {
|
void operator()(agi::Context *c) {
|
||||||
c->ass->Sort(AssFile::CompStyle);
|
c->ass->Sort(AssFile::CompStyle);
|
||||||
|
@ -171,7 +171,7 @@ struct grid_tag_cycle_hiding : public Command {
|
||||||
CMD_NAME("grid/tag/cycle_hiding")
|
CMD_NAME("grid/tag/cycle_hiding")
|
||||||
STR_MENU("Cycle Tag Hiding")
|
STR_MENU("Cycle Tag Hiding")
|
||||||
STR_DISP("Cycle Tag Hiding")
|
STR_DISP("Cycle Tag Hiding")
|
||||||
STR_HELP("Cycle through tag hiding modes.")
|
STR_HELP("Cycle through tag hiding modes")
|
||||||
|
|
||||||
void operator()(agi::Context *) {
|
void operator()(agi::Context *) {
|
||||||
int tagMode = OPT_GET("Subtitle/Grid/Hide Overrides")->GetInt();
|
int tagMode = OPT_GET("Subtitle/Grid/Hide Overrides")->GetInt();
|
||||||
|
@ -197,7 +197,7 @@ struct grid_tags_hide : public Command {
|
||||||
CMD_NAME("grid/tags/hide")
|
CMD_NAME("grid/tags/hide")
|
||||||
STR_MENU("&Hide Tags")
|
STR_MENU("&Hide Tags")
|
||||||
STR_DISP("Hide Tags")
|
STR_DISP("Hide Tags")
|
||||||
STR_HELP("Hide override tags in the subtitle grid.")
|
STR_HELP("Hide override tags in the subtitle grid")
|
||||||
CMD_TYPE(COMMAND_RADIO)
|
CMD_TYPE(COMMAND_RADIO)
|
||||||
|
|
||||||
bool IsActive(const agi::Context *) {
|
bool IsActive(const agi::Context *) {
|
||||||
|
@ -215,7 +215,7 @@ struct grid_tags_show : public Command {
|
||||||
CMD_NAME("grid/tags/show")
|
CMD_NAME("grid/tags/show")
|
||||||
STR_MENU("Sh&ow Tags")
|
STR_MENU("Sh&ow Tags")
|
||||||
STR_DISP("Show Tags")
|
STR_DISP("Show Tags")
|
||||||
STR_HELP("Show full override tags in the subtitle grid.")
|
STR_HELP("Show full override tags in the subtitle grid")
|
||||||
CMD_TYPE(COMMAND_RADIO)
|
CMD_TYPE(COMMAND_RADIO)
|
||||||
|
|
||||||
bool IsActive(const agi::Context *) {
|
bool IsActive(const agi::Context *) {
|
||||||
|
@ -233,7 +233,7 @@ struct grid_tags_simplify : public Command {
|
||||||
CMD_NAME("grid/tags/simplify")
|
CMD_NAME("grid/tags/simplify")
|
||||||
STR_MENU("S&implify Tags")
|
STR_MENU("S&implify Tags")
|
||||||
STR_DISP("Simplify Tags")
|
STR_DISP("Simplify Tags")
|
||||||
STR_HELP("Replace override tags in the subtitle grid with a simplified placeholder.")
|
STR_HELP("Replace override tags in the subtitle grid with a simplified placeholder")
|
||||||
CMD_TYPE(COMMAND_RADIO)
|
CMD_TYPE(COMMAND_RADIO)
|
||||||
|
|
||||||
bool IsActive(const agi::Context *) {
|
bool IsActive(const agi::Context *) {
|
||||||
|
@ -307,7 +307,7 @@ struct grid_swap : public Command {
|
||||||
CMD_NAME("grid/swap")
|
CMD_NAME("grid/swap")
|
||||||
STR_MENU("Swap Lines")
|
STR_MENU("Swap Lines")
|
||||||
STR_DISP("Swap Lines")
|
STR_DISP("Swap Lines")
|
||||||
STR_HELP("Swaps the two selected lines.")
|
STR_HELP("Swaps the two selected lines")
|
||||||
CMD_TYPE(COMMAND_VALIDATE)
|
CMD_TYPE(COMMAND_VALIDATE)
|
||||||
|
|
||||||
bool Validate(const agi::Context *c) {
|
bool Validate(const agi::Context *c) {
|
||||||
|
|
|
@ -60,7 +60,7 @@ struct help_bugs : public Command {
|
||||||
CMD_NAME("help/bugs")
|
CMD_NAME("help/bugs")
|
||||||
STR_MENU("&Bug Tracker...")
|
STR_MENU("&Bug Tracker...")
|
||||||
STR_DISP("Bug Tracker")
|
STR_DISP("Bug Tracker")
|
||||||
STR_HELP("Visit Aegisub's bug tracker to report bugs and request new features.")
|
STR_HELP("Visit Aegisub's bug tracker to report bugs and request new features")
|
||||||
|
|
||||||
void operator()(agi::Context *c) {
|
void operator()(agi::Context *c) {
|
||||||
if (wxGetMouseState().CmdDown()) {
|
if (wxGetMouseState().CmdDown()) {
|
||||||
|
@ -82,7 +82,7 @@ struct help_contents : public Command {
|
||||||
CMD_NAME("help/contents")
|
CMD_NAME("help/contents")
|
||||||
STR_MENU("&Contents...")
|
STR_MENU("&Contents...")
|
||||||
STR_DISP("Contents")
|
STR_DISP("Contents")
|
||||||
STR_HELP("Help topics.")
|
STR_HELP("Help topics")
|
||||||
|
|
||||||
void operator()(agi::Context *) {
|
void operator()(agi::Context *) {
|
||||||
HelpButton::OpenPage("Main");
|
HelpButton::OpenPage("Main");
|
||||||
|
@ -95,7 +95,7 @@ struct help_files : public Command {
|
||||||
CMD_NAME("help/files")
|
CMD_NAME("help/files")
|
||||||
STR_MENU("All Fil&es")
|
STR_MENU("All Fil&es")
|
||||||
STR_DISP("All Files")
|
STR_DISP("All Files")
|
||||||
STR_HELP("Resource files.")
|
STR_HELP("Resource files")
|
||||||
|
|
||||||
void operator()(agi::Context *) {
|
void operator()(agi::Context *) {
|
||||||
char *shared_path = agi::util::OSX_GetBundleSharedSupportDirectory();
|
char *shared_path = agi::util::OSX_GetBundleSharedSupportDirectory();
|
||||||
|
@ -111,7 +111,7 @@ struct help_forums : public Command {
|
||||||
CMD_NAME("help/forums")
|
CMD_NAME("help/forums")
|
||||||
STR_MENU("&Forums...")
|
STR_MENU("&Forums...")
|
||||||
STR_DISP("Forums")
|
STR_DISP("Forums")
|
||||||
STR_HELP("Visit Aegisub's forums.")
|
STR_HELP("Visit Aegisub's forums")
|
||||||
|
|
||||||
void operator()(agi::Context *) {
|
void operator()(agi::Context *) {
|
||||||
wxLaunchDefaultBrowser("http://forum.aegisub.org/", wxBROWSER_NEW_WINDOW);
|
wxLaunchDefaultBrowser("http://forum.aegisub.org/", wxBROWSER_NEW_WINDOW);
|
||||||
|
@ -124,7 +124,7 @@ struct help_irc : public Command {
|
||||||
CMD_NAME("help/irc")
|
CMD_NAME("help/irc")
|
||||||
STR_MENU("&IRC Channel...")
|
STR_MENU("&IRC Channel...")
|
||||||
STR_DISP("IRC Channel")
|
STR_DISP("IRC Channel")
|
||||||
STR_HELP("Visit Aegisub's official IRC channel.")
|
STR_HELP("Visit Aegisub's official IRC channel")
|
||||||
|
|
||||||
void operator()(agi::Context *) {
|
void operator()(agi::Context *) {
|
||||||
wxLaunchDefaultBrowser("irc://irc.rizon.net/aegisub", wxBROWSER_NEW_WINDOW);
|
wxLaunchDefaultBrowser("irc://irc.rizon.net/aegisub", wxBROWSER_NEW_WINDOW);
|
||||||
|
@ -136,7 +136,7 @@ struct help_video : public Command {
|
||||||
CMD_NAME("help/video")
|
CMD_NAME("help/video")
|
||||||
STR_MENU("&Visual Typesetting...")
|
STR_MENU("&Visual Typesetting...")
|
||||||
STR_DISP("Visual Typesetting")
|
STR_DISP("Visual Typesetting")
|
||||||
STR_HELP("Open the manual page for Visual Typesetting.")
|
STR_HELP("Open the manual page for Visual Typesetting")
|
||||||
|
|
||||||
void operator()(agi::Context *) {
|
void operator()(agi::Context *) {
|
||||||
HelpButton::OpenPage("Visual Typesetting");
|
HelpButton::OpenPage("Visual Typesetting");
|
||||||
|
@ -148,7 +148,7 @@ struct help_website : public Command {
|
||||||
CMD_NAME("help/website")
|
CMD_NAME("help/website")
|
||||||
STR_MENU("&Website...")
|
STR_MENU("&Website...")
|
||||||
STR_DISP("Website")
|
STR_DISP("Website")
|
||||||
STR_HELP("Visit Aegisub's official website.")
|
STR_HELP("Visit Aegisub's official website")
|
||||||
|
|
||||||
void operator()(agi::Context *) {
|
void operator()(agi::Context *) {
|
||||||
wxLaunchDefaultBrowser("http://www.aegisub.org/", wxBROWSER_NEW_WINDOW);
|
wxLaunchDefaultBrowser("http://www.aegisub.org/", wxBROWSER_NEW_WINDOW);
|
||||||
|
|
|
@ -61,7 +61,7 @@ struct keyframe_close : public Command {
|
||||||
CMD_NAME("keyframe/close")
|
CMD_NAME("keyframe/close")
|
||||||
STR_MENU("Close Keyframes")
|
STR_MENU("Close Keyframes")
|
||||||
STR_DISP("Close Keyframes")
|
STR_DISP("Close Keyframes")
|
||||||
STR_HELP("Closes the currently open keyframes list.")
|
STR_HELP("Closes the currently open keyframes list")
|
||||||
CMD_TYPE(COMMAND_VALIDATE)
|
CMD_TYPE(COMMAND_VALIDATE)
|
||||||
|
|
||||||
bool Validate(const agi::Context *c) {
|
bool Validate(const agi::Context *c) {
|
||||||
|
@ -79,7 +79,7 @@ struct keyframe_open : public Command {
|
||||||
CMD_NAME("keyframe/open")
|
CMD_NAME("keyframe/open")
|
||||||
STR_MENU("Open Keyframes...")
|
STR_MENU("Open Keyframes...")
|
||||||
STR_DISP("Open Keyframes")
|
STR_DISP("Open Keyframes")
|
||||||
STR_HELP("Opens a keyframe list file.")
|
STR_HELP("Opens a keyframe list file")
|
||||||
|
|
||||||
void operator()(agi::Context *c) {
|
void operator()(agi::Context *c) {
|
||||||
wxString path = lagi_wxString(OPT_GET("Path/Last/Keyframes")->GetString());
|
wxString path = lagi_wxString(OPT_GET("Path/Last/Keyframes")->GetString());
|
||||||
|
@ -103,7 +103,7 @@ struct keyframe_save : public Command {
|
||||||
CMD_NAME("keyframe/save")
|
CMD_NAME("keyframe/save")
|
||||||
STR_MENU("Save Keyframes...")
|
STR_MENU("Save Keyframes...")
|
||||||
STR_DISP("Save Keyframes")
|
STR_DISP("Save Keyframes")
|
||||||
STR_HELP("Saves the current keyframe list.")
|
STR_HELP("Saves the current keyframe list")
|
||||||
CMD_TYPE(COMMAND_VALIDATE)
|
CMD_TYPE(COMMAND_VALIDATE)
|
||||||
|
|
||||||
bool Validate(const agi::Context *c) {
|
bool Validate(const agi::Context *c) {
|
||||||
|
|
|
@ -67,7 +67,7 @@ struct recent_audio_entry : public Command {
|
||||||
CMD_NAME("recent/audio/")
|
CMD_NAME("recent/audio/")
|
||||||
STR_MENU("Recent")
|
STR_MENU("Recent")
|
||||||
STR_DISP("Recent")
|
STR_DISP("Recent")
|
||||||
STR_HELP("Open recent audio.")
|
STR_HELP("Open recent audio")
|
||||||
|
|
||||||
void operator()(agi::Context *c, int id) {
|
void operator()(agi::Context *c, int id) {
|
||||||
try {
|
try {
|
||||||
|
@ -84,7 +84,7 @@ struct recent_keyframes_entry : public Command {
|
||||||
CMD_NAME("recent/keyframes/")
|
CMD_NAME("recent/keyframes/")
|
||||||
STR_MENU("Recent")
|
STR_MENU("Recent")
|
||||||
STR_DISP("Recent")
|
STR_DISP("Recent")
|
||||||
STR_HELP("Open recent keyframes.")
|
STR_HELP("Open recent keyframes")
|
||||||
|
|
||||||
void operator()(agi::Context *c, int id) {
|
void operator()(agi::Context *c, int id) {
|
||||||
c->videoController->LoadKeyframes(lagi_wxString(config::mru->GetEntry("Keyframes", id)));
|
c->videoController->LoadKeyframes(lagi_wxString(config::mru->GetEntry("Keyframes", id)));
|
||||||
|
@ -95,7 +95,7 @@ struct recent_subtitle_entry : public Command {
|
||||||
CMD_NAME("recent/subtitle/")
|
CMD_NAME("recent/subtitle/")
|
||||||
STR_MENU("Recent")
|
STR_MENU("Recent")
|
||||||
STR_DISP("Recent")
|
STR_DISP("Recent")
|
||||||
STR_HELP("Open recent subtitles.")
|
STR_HELP("Open recent subtitles")
|
||||||
|
|
||||||
void operator()(agi::Context *c, int id) {
|
void operator()(agi::Context *c, int id) {
|
||||||
wxGetApp().frame->LoadSubtitles(lagi_wxString(config::mru->GetEntry("Subtitle", id)));
|
wxGetApp().frame->LoadSubtitles(lagi_wxString(config::mru->GetEntry("Subtitle", id)));
|
||||||
|
@ -106,7 +106,7 @@ struct recent_timecodes_entry : public Command {
|
||||||
CMD_NAME("recent/timecodes/")
|
CMD_NAME("recent/timecodes/")
|
||||||
STR_MENU("Recent")
|
STR_MENU("Recent")
|
||||||
STR_DISP("Recent")
|
STR_DISP("Recent")
|
||||||
STR_HELP("Open recent timecodes.")
|
STR_HELP("Open recent timecodes")
|
||||||
|
|
||||||
void operator()(agi::Context *c, int id) {
|
void operator()(agi::Context *c, int id) {
|
||||||
c->videoController->LoadTimecodes(lagi_wxString(config::mru->GetEntry("Timecodes", id)));
|
c->videoController->LoadTimecodes(lagi_wxString(config::mru->GetEntry("Timecodes", id)));
|
||||||
|
@ -117,7 +117,7 @@ struct recent_video_entry : public Command {
|
||||||
CMD_NAME("recent/video/")
|
CMD_NAME("recent/video/")
|
||||||
STR_MENU("Recent")
|
STR_MENU("Recent")
|
||||||
STR_DISP("Recent")
|
STR_DISP("Recent")
|
||||||
STR_HELP("Open recent videos.")
|
STR_HELP("Open recent videos")
|
||||||
|
|
||||||
void operator()(agi::Context *c, int id) {
|
void operator()(agi::Context *c, int id) {
|
||||||
c->videoController->SetVideo(lagi_wxString(config::mru->GetEntry("Video", id)));
|
c->videoController->SetVideo(lagi_wxString(config::mru->GetEntry("Video", id)));
|
||||||
|
|
|
@ -86,7 +86,7 @@ struct subtitle_attachment : public Command {
|
||||||
CMD_NAME("subtitle/attachment")
|
CMD_NAME("subtitle/attachment")
|
||||||
STR_MENU("A&ttachments...")
|
STR_MENU("A&ttachments...")
|
||||||
STR_DISP("Attachments")
|
STR_DISP("Attachments")
|
||||||
STR_HELP("Open the attachment list.")
|
STR_HELP("Open the attachment list")
|
||||||
|
|
||||||
void operator()(agi::Context *c) {
|
void operator()(agi::Context *c) {
|
||||||
c->videoController->Stop();
|
c->videoController->Stop();
|
||||||
|
@ -100,7 +100,7 @@ struct subtitle_find : public Command {
|
||||||
CMD_NAME("subtitle/find")
|
CMD_NAME("subtitle/find")
|
||||||
STR_MENU("&Find...")
|
STR_MENU("&Find...")
|
||||||
STR_DISP("Find")
|
STR_DISP("Find")
|
||||||
STR_HELP("Find words in subtitles.")
|
STR_HELP("Find words in subtitles")
|
||||||
|
|
||||||
void operator()(agi::Context *c) {
|
void operator()(agi::Context *c) {
|
||||||
c->videoController->Stop();
|
c->videoController->Stop();
|
||||||
|
@ -114,7 +114,7 @@ struct subtitle_find_next : public Command {
|
||||||
CMD_NAME("subtitle/find/next")
|
CMD_NAME("subtitle/find/next")
|
||||||
STR_MENU("Find &Next")
|
STR_MENU("Find &Next")
|
||||||
STR_DISP("Find Next")
|
STR_DISP("Find Next")
|
||||||
STR_HELP("Find next match of last word.")
|
STR_HELP("Find next match of last word")
|
||||||
|
|
||||||
void operator()(agi::Context *c) {
|
void operator()(agi::Context *c) {
|
||||||
c->videoController->Stop();
|
c->videoController->Stop();
|
||||||
|
@ -145,7 +145,7 @@ struct subtitle_insert_after : public validate_nonempty_selection {
|
||||||
CMD_NAME("subtitle/insert/after")
|
CMD_NAME("subtitle/insert/after")
|
||||||
STR_MENU("&After Current")
|
STR_MENU("&After Current")
|
||||||
STR_DISP("After Current")
|
STR_DISP("After Current")
|
||||||
STR_HELP("Inserts a line after current.")
|
STR_HELP("Inserts a line after current")
|
||||||
|
|
||||||
void operator()(agi::Context *c) {
|
void operator()(agi::Context *c) {
|
||||||
int n = c->subsGrid->GetFirstSelRow();
|
int n = c->subsGrid->GetFirstSelRow();
|
||||||
|
@ -179,7 +179,7 @@ struct subtitle_insert_after_videotime : public validate_nonempty_selection_vide
|
||||||
CMD_NAME("subtitle/insert/after/videotime")
|
CMD_NAME("subtitle/insert/after/videotime")
|
||||||
STR_MENU("After Current, at Video Time")
|
STR_MENU("After Current, at Video Time")
|
||||||
STR_DISP("After Current, at Video Time")
|
STR_DISP("After Current, at Video Time")
|
||||||
STR_HELP("Inserts a line after current, starting at video time.")
|
STR_HELP("Inserts a line after current, starting at video time")
|
||||||
|
|
||||||
void operator()(agi::Context *c) {
|
void operator()(agi::Context *c) {
|
||||||
insert_subtitle_at_video(c, true);
|
insert_subtitle_at_video(c, true);
|
||||||
|
@ -192,7 +192,7 @@ struct subtitle_insert_before : public validate_nonempty_selection {
|
||||||
CMD_NAME("subtitle/insert/before")
|
CMD_NAME("subtitle/insert/before")
|
||||||
STR_MENU("&Before Current")
|
STR_MENU("&Before Current")
|
||||||
STR_DISP("Before Current")
|
STR_DISP("Before Current")
|
||||||
STR_HELP("Inserts a line before current.")
|
STR_HELP("Inserts a line before current")
|
||||||
|
|
||||||
void operator()(agi::Context *c) {
|
void operator()(agi::Context *c) {
|
||||||
int n = c->subsGrid->GetFirstSelRow();
|
int n = c->subsGrid->GetFirstSelRow();
|
||||||
|
@ -229,7 +229,7 @@ struct subtitle_insert_before_videotime : public validate_nonempty_selection_vid
|
||||||
CMD_NAME("subtitle/insert/before/videotime")
|
CMD_NAME("subtitle/insert/before/videotime")
|
||||||
STR_MENU("Before Current, at Video Time")
|
STR_MENU("Before Current, at Video Time")
|
||||||
STR_DISP("Before Current, at Video Time")
|
STR_DISP("Before Current, at Video Time")
|
||||||
STR_HELP("Inserts a line before current, starting at video time.")
|
STR_HELP("Inserts a line before current, starting at video time")
|
||||||
|
|
||||||
void operator()(agi::Context *c) {
|
void operator()(agi::Context *c) {
|
||||||
insert_subtitle_at_video(c, false);
|
insert_subtitle_at_video(c, false);
|
||||||
|
@ -242,7 +242,7 @@ struct subtitle_new : public Command {
|
||||||
CMD_NAME("subtitle/new")
|
CMD_NAME("subtitle/new")
|
||||||
STR_MENU("&New Subtitles")
|
STR_MENU("&New Subtitles")
|
||||||
STR_DISP("New Subtitles")
|
STR_DISP("New Subtitles")
|
||||||
STR_HELP("New subtitles.")
|
STR_HELP("New subtitles")
|
||||||
|
|
||||||
void operator()(agi::Context *c) {
|
void operator()(agi::Context *c) {
|
||||||
if (wxGetApp().frame->TryToCloseSubs() != wxCANCEL)
|
if (wxGetApp().frame->TryToCloseSubs() != wxCANCEL)
|
||||||
|
@ -256,7 +256,7 @@ struct subtitle_open : public Command {
|
||||||
CMD_NAME("subtitle/open")
|
CMD_NAME("subtitle/open")
|
||||||
STR_MENU("&Open Subtitles...")
|
STR_MENU("&Open Subtitles...")
|
||||||
STR_DISP("Open Subtitles")
|
STR_DISP("Open Subtitles")
|
||||||
STR_HELP("Opens a subtitles file.")
|
STR_HELP("Opens a subtitles file")
|
||||||
|
|
||||||
void operator()(agi::Context *c) {
|
void operator()(agi::Context *c) {
|
||||||
wxString path = lagi_wxString(OPT_GET("Path/Last/Subtitles")->GetString());
|
wxString path = lagi_wxString(OPT_GET("Path/Last/Subtitles")->GetString());
|
||||||
|
@ -273,7 +273,7 @@ struct subtitle_open_charset : public Command {
|
||||||
CMD_NAME("subtitle/open/charset")
|
CMD_NAME("subtitle/open/charset")
|
||||||
STR_MENU("Open Subtitles with &Charset...")
|
STR_MENU("Open Subtitles with &Charset...")
|
||||||
STR_DISP("Open Subtitles with Charset")
|
STR_DISP("Open Subtitles with Charset")
|
||||||
STR_HELP("Opens a subtitles file with a specific charset.")
|
STR_HELP("Opens a subtitles file with a specific charset")
|
||||||
|
|
||||||
void operator()(agi::Context *c) {
|
void operator()(agi::Context *c) {
|
||||||
// Initialize charsets
|
// Initialize charsets
|
||||||
|
@ -296,7 +296,7 @@ struct subtitle_open_video : public Command {
|
||||||
CMD_NAME("subtitle/open/video")
|
CMD_NAME("subtitle/open/video")
|
||||||
STR_MENU("Open Subtitles from &Video")
|
STR_MENU("Open Subtitles from &Video")
|
||||||
STR_DISP("Open Subtitles from Video")
|
STR_DISP("Open Subtitles from Video")
|
||||||
STR_HELP("Opens the subtitles from the current video file.")
|
STR_HELP("Opens the subtitles from the current video file")
|
||||||
CMD_TYPE(COMMAND_VALIDATE)
|
CMD_TYPE(COMMAND_VALIDATE)
|
||||||
|
|
||||||
void operator()(agi::Context *c) {
|
void operator()(agi::Context *c) {
|
||||||
|
@ -314,7 +314,7 @@ struct subtitle_properties : public Command {
|
||||||
CMD_NAME("subtitle/properties")
|
CMD_NAME("subtitle/properties")
|
||||||
STR_MENU("&Properties...")
|
STR_MENU("&Properties...")
|
||||||
STR_DISP("Properties")
|
STR_DISP("Properties")
|
||||||
STR_HELP("Open script properties window.")
|
STR_HELP("Open script properties window")
|
||||||
|
|
||||||
void operator()(agi::Context *c) {
|
void operator()(agi::Context *c) {
|
||||||
c->videoController->Stop();
|
c->videoController->Stop();
|
||||||
|
@ -350,7 +350,7 @@ struct subtitle_save : public Command {
|
||||||
CMD_NAME("subtitle/save")
|
CMD_NAME("subtitle/save")
|
||||||
STR_MENU("&Save Subtitles")
|
STR_MENU("&Save Subtitles")
|
||||||
STR_DISP("Save Subtitles")
|
STR_DISP("Save Subtitles")
|
||||||
STR_HELP("Saves subtitles.")
|
STR_HELP("Saves subtitles")
|
||||||
CMD_TYPE(COMMAND_VALIDATE)
|
CMD_TYPE(COMMAND_VALIDATE)
|
||||||
|
|
||||||
void operator()(agi::Context *c) {
|
void operator()(agi::Context *c) {
|
||||||
|
@ -368,7 +368,7 @@ struct subtitle_save_as : public Command {
|
||||||
CMD_NAME("subtitle/save/as")
|
CMD_NAME("subtitle/save/as")
|
||||||
STR_MENU("Save Subtitles &as...")
|
STR_MENU("Save Subtitles &as...")
|
||||||
STR_DISP("Save Subtitles as")
|
STR_DISP("Save Subtitles as")
|
||||||
STR_HELP("Saves subtitles with another name.")
|
STR_HELP("Saves subtitles with another name")
|
||||||
|
|
||||||
void operator()(agi::Context *c) {
|
void operator()(agi::Context *c) {
|
||||||
save_subtitles(c, "");
|
save_subtitles(c, "");
|
||||||
|
@ -380,7 +380,7 @@ struct subtitle_select_all : public Command {
|
||||||
CMD_NAME("subtitle/select/all")
|
CMD_NAME("subtitle/select/all")
|
||||||
STR_MENU("Select &All")
|
STR_MENU("Select &All")
|
||||||
STR_DISP("Select All")
|
STR_DISP("Select All")
|
||||||
STR_HELP("Selects all dialogue lines.")
|
STR_HELP("Selects all dialogue lines")
|
||||||
|
|
||||||
void operator()(agi::Context *c) {
|
void operator()(agi::Context *c) {
|
||||||
SelectionController<AssDialogue>::Selection sel;
|
SelectionController<AssDialogue>::Selection sel;
|
||||||
|
@ -396,7 +396,7 @@ struct subtitle_select_visible : public Command {
|
||||||
CMD_NAME("subtitle/select/visible")
|
CMD_NAME("subtitle/select/visible")
|
||||||
STR_MENU("Select Visible")
|
STR_MENU("Select Visible")
|
||||||
STR_DISP("Select Visible")
|
STR_DISP("Select Visible")
|
||||||
STR_HELP("Selects all lines that are currently visible on video frame.")
|
STR_HELP("Selects all lines that are currently visible on video frame")
|
||||||
CMD_TYPE(COMMAND_VALIDATE)
|
CMD_TYPE(COMMAND_VALIDATE)
|
||||||
|
|
||||||
void operator()(agi::Context *c) {
|
void operator()(agi::Context *c) {
|
||||||
|
@ -432,7 +432,7 @@ struct subtitle_spellcheck : public Command {
|
||||||
CMD_NAME("subtitle/spellcheck")
|
CMD_NAME("subtitle/spellcheck")
|
||||||
STR_MENU("Spell &Checker...")
|
STR_MENU("Spell &Checker...")
|
||||||
STR_DISP("Spell Checker")
|
STR_DISP("Spell Checker")
|
||||||
STR_HELP("Open spell checker.")
|
STR_HELP("Open spell checker")
|
||||||
|
|
||||||
void operator()(agi::Context *c) {
|
void operator()(agi::Context *c) {
|
||||||
c->videoController->Stop();
|
c->videoController->Stop();
|
||||||
|
|
|
@ -96,7 +96,7 @@ struct time_continuous_end : public validate_adjoinable {
|
||||||
CMD_NAME("time/continuous/end")
|
CMD_NAME("time/continuous/end")
|
||||||
STR_MENU("Change &End")
|
STR_MENU("Change &End")
|
||||||
STR_DISP("Change End")
|
STR_DISP("Change End")
|
||||||
STR_HELP("Changes times of subs so end times begin on next's start time.")
|
STR_HELP("Changes times of subs so end times begin on next's start time")
|
||||||
|
|
||||||
void operator()(agi::Context *c) {
|
void operator()(agi::Context *c) {
|
||||||
wxArrayInt sels = c->subsGrid->GetSelection();
|
wxArrayInt sels = c->subsGrid->GetSelection();
|
||||||
|
@ -110,7 +110,7 @@ struct time_continuous_start : public validate_adjoinable {
|
||||||
CMD_NAME("time/continuous/start")
|
CMD_NAME("time/continuous/start")
|
||||||
STR_MENU("Change &Start")
|
STR_MENU("Change &Start")
|
||||||
STR_DISP("Change Start")
|
STR_DISP("Change Start")
|
||||||
STR_HELP("Changes times of subs so start times begin on previous's end time.")
|
STR_HELP("Changes times of subs so start times begin on previous's end time")
|
||||||
|
|
||||||
void operator()(agi::Context *c) {
|
void operator()(agi::Context *c) {
|
||||||
wxArrayInt sels = c->subsGrid->GetSelection();
|
wxArrayInt sels = c->subsGrid->GetSelection();
|
||||||
|
@ -125,7 +125,7 @@ struct time_frame_current : public validate_video_loaded {
|
||||||
CMD_NAME("time/frame/current")
|
CMD_NAME("time/frame/current")
|
||||||
STR_MENU("Shift to &Current Frame")
|
STR_MENU("Shift to &Current Frame")
|
||||||
STR_DISP("Shift to Current Frame")
|
STR_DISP("Shift to Current Frame")
|
||||||
STR_HELP("Shift selection so that the active line starts at current frame.")
|
STR_HELP("Shift selection so that the active line starts at current frame")
|
||||||
|
|
||||||
void operator()(agi::Context *c) {
|
void operator()(agi::Context *c) {
|
||||||
if (!c->videoController->IsLoaded()) return;
|
if (!c->videoController->IsLoaded()) return;
|
||||||
|
@ -152,7 +152,7 @@ struct time_shift : public Command {
|
||||||
CMD_NAME("time/shift")
|
CMD_NAME("time/shift")
|
||||||
STR_MENU("S&hift Times...")
|
STR_MENU("S&hift Times...")
|
||||||
STR_DISP("Shift Times")
|
STR_DISP("Shift Times")
|
||||||
STR_HELP("Shift subtitles by time or frames.")
|
STR_HELP("Shift subtitles by time or frames")
|
||||||
|
|
||||||
void operator()(agi::Context *c) {
|
void operator()(agi::Context *c) {
|
||||||
c->videoController->Stop();
|
c->videoController->Stop();
|
||||||
|
@ -183,7 +183,7 @@ struct time_snap_end_video : public validate_video_loaded {
|
||||||
CMD_NAME("time/snap/end_video")
|
CMD_NAME("time/snap/end_video")
|
||||||
STR_MENU("Snap &End to Video")
|
STR_MENU("Snap &End to Video")
|
||||||
STR_DISP("Snap End to Video")
|
STR_DISP("Snap End to Video")
|
||||||
STR_HELP("Set end of selected subtitles to current video frame.")
|
STR_HELP("Set end of selected subtitles to current video frame")
|
||||||
|
|
||||||
void operator()(agi::Context *c) {
|
void operator()(agi::Context *c) {
|
||||||
snap_subs_video(c, false);
|
snap_subs_video(c, false);
|
||||||
|
@ -195,7 +195,7 @@ struct time_snap_scene : public validate_video_loaded {
|
||||||
CMD_NAME("time/snap/scene")
|
CMD_NAME("time/snap/scene")
|
||||||
STR_MENU("Snap to S&cene")
|
STR_MENU("Snap to S&cene")
|
||||||
STR_DISP("Snap to Scene")
|
STR_DISP("Snap to Scene")
|
||||||
STR_HELP("Set start and end of subtitles to the keyframes around current video frame.")
|
STR_HELP("Set start and end of subtitles to the keyframes around current video frame")
|
||||||
|
|
||||||
void operator()(agi::Context *c) {
|
void operator()(agi::Context *c) {
|
||||||
VideoContext *con = c->videoController;
|
VideoContext *con = c->videoController;
|
||||||
|
@ -276,7 +276,7 @@ struct time_snap_start_video : public validate_video_loaded {
|
||||||
CMD_NAME("time/snap/start_video")
|
CMD_NAME("time/snap/start_video")
|
||||||
STR_MENU("Snap &Start to Video")
|
STR_MENU("Snap &Start to Video")
|
||||||
STR_DISP("Snap Start to Video")
|
STR_DISP("Snap Start to Video")
|
||||||
STR_HELP("Set start of selected subtitles to current video frame.")
|
STR_HELP("Set start of selected subtitles to current video frame")
|
||||||
|
|
||||||
void operator()(agi::Context *c) {
|
void operator()(agi::Context *c) {
|
||||||
snap_subs_video(c, true);
|
snap_subs_video(c, true);
|
||||||
|
|
|
@ -60,7 +60,7 @@ struct timecode_close : public Command {
|
||||||
CMD_NAME("timecode/close")
|
CMD_NAME("timecode/close")
|
||||||
STR_MENU("Close Timecodes File")
|
STR_MENU("Close Timecodes File")
|
||||||
STR_DISP("Close Timecodes File")
|
STR_DISP("Close Timecodes File")
|
||||||
STR_HELP("Closes the currently open timecodes file.")
|
STR_HELP("Closes the currently open timecodes file")
|
||||||
CMD_TYPE(COMMAND_VALIDATE)
|
CMD_TYPE(COMMAND_VALIDATE)
|
||||||
|
|
||||||
bool Validate(const agi::Context *c) {
|
bool Validate(const agi::Context *c) {
|
||||||
|
@ -78,7 +78,7 @@ struct timecode_open : public Command {
|
||||||
CMD_NAME("timecode/open")
|
CMD_NAME("timecode/open")
|
||||||
STR_MENU("Open Timecodes File...")
|
STR_MENU("Open Timecodes File...")
|
||||||
STR_DISP("Open Timecodes File")
|
STR_DISP("Open Timecodes File")
|
||||||
STR_HELP("Opens a VFR timecodes v1 or v2 file.")
|
STR_HELP("Opens a VFR timecodes v1 or v2 file")
|
||||||
|
|
||||||
void operator()(agi::Context *c) {
|
void operator()(agi::Context *c) {
|
||||||
wxString path = lagi_wxString(OPT_GET("Path/Last/Timecodes")->GetString());
|
wxString path = lagi_wxString(OPT_GET("Path/Last/Timecodes")->GetString());
|
||||||
|
@ -97,7 +97,7 @@ struct timecode_save : public Command {
|
||||||
CMD_NAME("timecode/save")
|
CMD_NAME("timecode/save")
|
||||||
STR_MENU("Save Timecodes File...")
|
STR_MENU("Save Timecodes File...")
|
||||||
STR_DISP("Save Timecodes File")
|
STR_DISP("Save Timecodes File")
|
||||||
STR_HELP("Saves a VFR timecodes v2 file.")
|
STR_HELP("Saves a VFR timecodes v2 file")
|
||||||
CMD_TYPE(COMMAND_VALIDATE)
|
CMD_TYPE(COMMAND_VALIDATE)
|
||||||
|
|
||||||
bool Validate(const agi::Context *c) {
|
bool Validate(const agi::Context *c) {
|
||||||
|
|
|
@ -71,7 +71,7 @@ struct tool_assdraw : public Command {
|
||||||
CMD_NAME("tool/assdraw")
|
CMD_NAME("tool/assdraw")
|
||||||
STR_MENU("ASSDraw3...")
|
STR_MENU("ASSDraw3...")
|
||||||
STR_DISP("ASSDraw3")
|
STR_DISP("ASSDraw3")
|
||||||
STR_HELP("Launch ASSDraw3 tool for vector drawing.")
|
STR_HELP("Launch ASSDraw3 tool for vector drawing")
|
||||||
|
|
||||||
void operator()(agi::Context *) {
|
void operator()(agi::Context *) {
|
||||||
wxExecute("\"" + StandardPaths::DecodePath("?data/ASSDraw3.exe") + "\"");
|
wxExecute("\"" + StandardPaths::DecodePath("?data/ASSDraw3.exe") + "\"");
|
||||||
|
@ -83,7 +83,7 @@ struct tool_export : public Command {
|
||||||
CMD_NAME("tool/export")
|
CMD_NAME("tool/export")
|
||||||
STR_MENU("&Export Subtitles...")
|
STR_MENU("&Export Subtitles...")
|
||||||
STR_DISP("Export Subtitles")
|
STR_DISP("Export Subtitles")
|
||||||
STR_HELP("Saves a copy of subtitles with processing applied to it.")
|
STR_HELP("Saves a copy of subtitles with processing applied to it")
|
||||||
|
|
||||||
void operator()(agi::Context *c) {
|
void operator()(agi::Context *c) {
|
||||||
c->videoController->Stop();
|
c->videoController->Stop();
|
||||||
|
@ -97,7 +97,7 @@ struct tool_font_collector : public Command {
|
||||||
CMD_NAME("tool/font_collector")
|
CMD_NAME("tool/font_collector")
|
||||||
STR_MENU("&Fonts Collector...")
|
STR_MENU("&Fonts Collector...")
|
||||||
STR_DISP("Fonts Collector")
|
STR_DISP("Fonts Collector")
|
||||||
STR_HELP("Open fonts collector.")
|
STR_HELP("Open fonts collector")
|
||||||
|
|
||||||
void operator()(agi::Context *c) {
|
void operator()(agi::Context *c) {
|
||||||
c->videoController->Stop();
|
c->videoController->Stop();
|
||||||
|
@ -111,7 +111,7 @@ struct tool_line_select : public Command {
|
||||||
CMD_NAME("tool/line/select")
|
CMD_NAME("tool/line/select")
|
||||||
STR_MENU("S&elect Lines...")
|
STR_MENU("S&elect Lines...")
|
||||||
STR_DISP("Select Lines")
|
STR_DISP("Select Lines")
|
||||||
STR_HELP("Selects lines based on defined criteria.")
|
STR_HELP("Selects lines based on defined criteria")
|
||||||
|
|
||||||
void operator()(agi::Context *c) {
|
void operator()(agi::Context *c) {
|
||||||
(new DialogSelection(c))->Show();
|
(new DialogSelection(c))->Show();
|
||||||
|
@ -124,7 +124,7 @@ struct tool_resampleres : public Command {
|
||||||
CMD_NAME("tool/resampleres")
|
CMD_NAME("tool/resampleres")
|
||||||
STR_MENU("&Resample Resolution...")
|
STR_MENU("&Resample Resolution...")
|
||||||
STR_DISP("Resample Resolution")
|
STR_DISP("Resample Resolution")
|
||||||
STR_HELP("Changes resolution and modifies subtitles to conform to change.")
|
STR_HELP("Changes resolution and modifies subtitles to conform to change")
|
||||||
|
|
||||||
void operator()(agi::Context *c) {
|
void operator()(agi::Context *c) {
|
||||||
c->videoController->Stop();
|
c->videoController->Stop();
|
||||||
|
@ -138,7 +138,7 @@ struct tool_style_assistant : public Command {
|
||||||
CMD_NAME("tool/style/assistant")
|
CMD_NAME("tool/style/assistant")
|
||||||
STR_MENU("St&yling Assistant...")
|
STR_MENU("St&yling Assistant...")
|
||||||
STR_DISP("Styling Assistant")
|
STR_DISP("Styling Assistant")
|
||||||
STR_HELP("Open styling assistant.")
|
STR_HELP("Open styling assistant")
|
||||||
|
|
||||||
void operator()(agi::Context *c) {
|
void operator()(agi::Context *c) {
|
||||||
c->videoController->Stop();
|
c->videoController->Stop();
|
||||||
|
@ -160,7 +160,7 @@ struct tool_styling_assistant_commit : public tool_styling_assistant_validator {
|
||||||
CMD_NAME("tool/styling_assistant/commit")
|
CMD_NAME("tool/styling_assistant/commit")
|
||||||
STR_MENU("&Accept changes")
|
STR_MENU("&Accept changes")
|
||||||
STR_DISP("Accept changes")
|
STR_DISP("Accept changes")
|
||||||
STR_HELP("Commit changes and move to the next line.")
|
STR_HELP("Commit changes and move to the next line")
|
||||||
|
|
||||||
void operator()(agi::Context *c) {
|
void operator()(agi::Context *c) {
|
||||||
c->stylingAssistant->Commit(true);
|
c->stylingAssistant->Commit(true);
|
||||||
|
@ -172,7 +172,7 @@ struct tool_styling_assistant_preview : public tool_styling_assistant_validator
|
||||||
CMD_NAME("tool/styling_assistant/preview")
|
CMD_NAME("tool/styling_assistant/preview")
|
||||||
STR_MENU("&Preview changes")
|
STR_MENU("&Preview changes")
|
||||||
STR_DISP("Preview changes")
|
STR_DISP("Preview changes")
|
||||||
STR_HELP("Commit changes and stay on the current line.")
|
STR_HELP("Commit changes and stay on the current line")
|
||||||
|
|
||||||
void operator()(agi::Context *c) {
|
void operator()(agi::Context *c) {
|
||||||
c->stylingAssistant->Commit(false);
|
c->stylingAssistant->Commit(false);
|
||||||
|
@ -184,7 +184,7 @@ struct tool_style_manager : public Command {
|
||||||
CMD_NAME("tool/style/manager")
|
CMD_NAME("tool/style/manager")
|
||||||
STR_MENU("&Styles Manager...")
|
STR_MENU("&Styles Manager...")
|
||||||
STR_DISP("Styles Manager")
|
STR_DISP("Styles Manager")
|
||||||
STR_HELP("Open styles manager.")
|
STR_HELP("Open styles manager")
|
||||||
|
|
||||||
void operator()(agi::Context *c) {
|
void operator()(agi::Context *c) {
|
||||||
c->videoController->Stop();
|
c->videoController->Stop();
|
||||||
|
@ -198,7 +198,7 @@ struct tool_time_kanji : public Command {
|
||||||
CMD_NAME("tool/time/kanji")
|
CMD_NAME("tool/time/kanji")
|
||||||
STR_MENU("&Kanji Timer...")
|
STR_MENU("&Kanji Timer...")
|
||||||
STR_DISP("Kanji Timer")
|
STR_DISP("Kanji Timer")
|
||||||
STR_HELP("Open Kanji timer.")
|
STR_HELP("Open Kanji timer")
|
||||||
|
|
||||||
void operator()(agi::Context *c) {
|
void operator()(agi::Context *c) {
|
||||||
DialogKanjiTimer(c).ShowModal();
|
DialogKanjiTimer(c).ShowModal();
|
||||||
|
@ -211,7 +211,7 @@ struct tool_time_postprocess : public Command {
|
||||||
CMD_NAME("tool/time/postprocess")
|
CMD_NAME("tool/time/postprocess")
|
||||||
STR_MENU("&Timing Post-Processor...")
|
STR_MENU("&Timing Post-Processor...")
|
||||||
STR_DISP("Timing Post-Processor")
|
STR_DISP("Timing Post-Processor")
|
||||||
STR_HELP("Runs a post-processor for timing to deal with lead-ins, lead-outs, scene timing and etc.")
|
STR_HELP("Runs a post-processor for timing to deal with lead-ins, lead-outs, scene timing and etc")
|
||||||
|
|
||||||
void operator()(agi::Context *c) {
|
void operator()(agi::Context *c) {
|
||||||
DialogTimingProcessor(c).ShowModal();
|
DialogTimingProcessor(c).ShowModal();
|
||||||
|
@ -224,7 +224,7 @@ struct tool_translation_assistant : public Command {
|
||||||
CMD_NAME("tool/translation_assistant")
|
CMD_NAME("tool/translation_assistant")
|
||||||
STR_MENU("&Translation Assistant...")
|
STR_MENU("&Translation Assistant...")
|
||||||
STR_DISP("Translation Assistant")
|
STR_DISP("Translation Assistant")
|
||||||
STR_HELP("Open translation assistant.")
|
STR_HELP("Open translation assistant")
|
||||||
|
|
||||||
void operator()(agi::Context *c) {
|
void operator()(agi::Context *c) {
|
||||||
c->videoController->Stop();
|
c->videoController->Stop();
|
||||||
|
@ -254,7 +254,7 @@ struct tool_translation_assistant_commit : public tool_translation_assistant_val
|
||||||
CMD_NAME("tool/translation_assistant/commit")
|
CMD_NAME("tool/translation_assistant/commit")
|
||||||
STR_MENU("&Accept changes")
|
STR_MENU("&Accept changes")
|
||||||
STR_DISP("Accept changes")
|
STR_DISP("Accept changes")
|
||||||
STR_HELP("Commit changes and move to the next line.")
|
STR_HELP("Commit changes and move to the next line")
|
||||||
|
|
||||||
void operator()(agi::Context *c) {
|
void operator()(agi::Context *c) {
|
||||||
c->translationAssistant->Commit(true);
|
c->translationAssistant->Commit(true);
|
||||||
|
@ -266,7 +266,7 @@ struct tool_translation_assistant_preview : public tool_translation_assistant_va
|
||||||
CMD_NAME("tool/translation_assistant/preview")
|
CMD_NAME("tool/translation_assistant/preview")
|
||||||
STR_MENU("&Preview changes")
|
STR_MENU("&Preview changes")
|
||||||
STR_DISP("Preview changes")
|
STR_DISP("Preview changes")
|
||||||
STR_HELP("Commit changes and stay on the current line.")
|
STR_HELP("Commit changes and stay on the current line")
|
||||||
|
|
||||||
void operator()(agi::Context *c) {
|
void operator()(agi::Context *c) {
|
||||||
c->translationAssistant->Commit(false);
|
c->translationAssistant->Commit(false);
|
||||||
|
@ -278,7 +278,7 @@ struct tool_translation_assistant_next : public tool_translation_assistant_valid
|
||||||
CMD_NAME("tool/translation_assistant/next")
|
CMD_NAME("tool/translation_assistant/next")
|
||||||
STR_MENU("&Next Line")
|
STR_MENU("&Next Line")
|
||||||
STR_DISP("Next Line")
|
STR_DISP("Next Line")
|
||||||
STR_HELP("Move to the next line without committing changes.")
|
STR_HELP("Move to the next line without committing changes")
|
||||||
|
|
||||||
void operator()(agi::Context *c) {
|
void operator()(agi::Context *c) {
|
||||||
c->translationAssistant->NextBlock();
|
c->translationAssistant->NextBlock();
|
||||||
|
@ -290,7 +290,7 @@ struct tool_translation_assistant_prev : public tool_translation_assistant_valid
|
||||||
CMD_NAME("tool/translation_assistant/prev")
|
CMD_NAME("tool/translation_assistant/prev")
|
||||||
STR_MENU("&Previous Line")
|
STR_MENU("&Previous Line")
|
||||||
STR_DISP("Previous Line")
|
STR_DISP("Previous Line")
|
||||||
STR_HELP("Move to the previous line without committing changes.")
|
STR_HELP("Move to the previous line without committing changes")
|
||||||
|
|
||||||
void operator()(agi::Context *c) {
|
void operator()(agi::Context *c) {
|
||||||
c->translationAssistant->PrevBlock();
|
c->translationAssistant->PrevBlock();
|
||||||
|
@ -303,7 +303,7 @@ struct tool_translation_assistant_insert : public tool_translation_assistant_val
|
||||||
CMD_NAME("tool/translation_assistant/insert_original")
|
CMD_NAME("tool/translation_assistant/insert_original")
|
||||||
STR_MENU("&Insert Original")
|
STR_MENU("&Insert Original")
|
||||||
STR_DISP("Insert Original")
|
STR_DISP("Insert Original")
|
||||||
STR_HELP("Insert the untranslated text.")
|
STR_HELP("Insert the untranslated text")
|
||||||
|
|
||||||
void operator()(agi::Context *c) {
|
void operator()(agi::Context *c) {
|
||||||
c->translationAssistant->InsertOriginal();
|
c->translationAssistant->InsertOriginal();
|
||||||
|
|
|
@ -89,7 +89,7 @@ struct video_aspect_cinematic : public validator_video_loaded {
|
||||||
CMD_NAME("video/aspect/cinematic")
|
CMD_NAME("video/aspect/cinematic")
|
||||||
STR_MENU("&Cinematic (2.35)")
|
STR_MENU("&Cinematic (2.35)")
|
||||||
STR_DISP("Cinematic (235)")
|
STR_DISP("Cinematic (235)")
|
||||||
STR_HELP("Forces video to 2.35 aspect ratio.")
|
STR_HELP("Forces video to 2.35 aspect ratio")
|
||||||
CMD_TYPE(COMMAND_VALIDATE | COMMAND_RADIO)
|
CMD_TYPE(COMMAND_VALIDATE | COMMAND_RADIO)
|
||||||
|
|
||||||
bool IsActive(const agi::Context *c) {
|
bool IsActive(const agi::Context *c) {
|
||||||
|
@ -108,7 +108,7 @@ struct video_aspect_custom : public validator_video_loaded {
|
||||||
CMD_NAME("video/aspect/custom")
|
CMD_NAME("video/aspect/custom")
|
||||||
STR_MENU("C&ustom...")
|
STR_MENU("C&ustom...")
|
||||||
STR_DISP("Custom")
|
STR_DISP("Custom")
|
||||||
STR_HELP("Forces video to a custom aspect ratio.")
|
STR_HELP("Forces video to a custom aspect ratio")
|
||||||
CMD_TYPE(COMMAND_VALIDATE | COMMAND_RADIO)
|
CMD_TYPE(COMMAND_VALIDATE | COMMAND_RADIO)
|
||||||
|
|
||||||
bool IsActive(const agi::Context *c) {
|
bool IsActive(const agi::Context *c) {
|
||||||
|
@ -168,7 +168,7 @@ struct video_aspect_default : public validator_video_loaded {
|
||||||
CMD_NAME("video/aspect/default")
|
CMD_NAME("video/aspect/default")
|
||||||
STR_MENU("&Default")
|
STR_MENU("&Default")
|
||||||
STR_DISP("Default")
|
STR_DISP("Default")
|
||||||
STR_HELP("Leave video on original aspect ratio.")
|
STR_HELP("Leave video on original aspect ratio")
|
||||||
CMD_TYPE(COMMAND_VALIDATE | COMMAND_RADIO)
|
CMD_TYPE(COMMAND_VALIDATE | COMMAND_RADIO)
|
||||||
|
|
||||||
bool IsActive(const agi::Context *c) {
|
bool IsActive(const agi::Context *c) {
|
||||||
|
@ -187,7 +187,7 @@ struct video_aspect_full : public validator_video_loaded {
|
||||||
CMD_NAME("video/aspect/full")
|
CMD_NAME("video/aspect/full")
|
||||||
STR_MENU("&Fullscreen (4:3)")
|
STR_MENU("&Fullscreen (4:3)")
|
||||||
STR_DISP("Fullscreen (4:3)")
|
STR_DISP("Fullscreen (4:3)")
|
||||||
STR_HELP("Forces video to 4:3 aspect ratio.")
|
STR_HELP("Forces video to 4:3 aspect ratio")
|
||||||
CMD_TYPE(COMMAND_VALIDATE | COMMAND_RADIO)
|
CMD_TYPE(COMMAND_VALIDATE | COMMAND_RADIO)
|
||||||
|
|
||||||
bool IsActive(const agi::Context *c) {
|
bool IsActive(const agi::Context *c) {
|
||||||
|
@ -206,7 +206,7 @@ struct video_aspect_wide : public validator_video_loaded {
|
||||||
CMD_NAME("video/aspect/wide")
|
CMD_NAME("video/aspect/wide")
|
||||||
STR_MENU("&Widescreen (16:9)")
|
STR_MENU("&Widescreen (16:9)")
|
||||||
STR_DISP("Widescreen (16:9)")
|
STR_DISP("Widescreen (16:9)")
|
||||||
STR_HELP("Forces video to 16:9 aspect ratio.")
|
STR_HELP("Forces video to 16:9 aspect ratio")
|
||||||
CMD_TYPE(COMMAND_VALIDATE | COMMAND_RADIO)
|
CMD_TYPE(COMMAND_VALIDATE | COMMAND_RADIO)
|
||||||
|
|
||||||
bool IsActive(const agi::Context *c) {
|
bool IsActive(const agi::Context *c) {
|
||||||
|
@ -225,7 +225,7 @@ struct video_close : public validator_video_loaded {
|
||||||
CMD_NAME("video/close")
|
CMD_NAME("video/close")
|
||||||
STR_MENU("&Close Video")
|
STR_MENU("&Close Video")
|
||||||
STR_DISP("Close Video")
|
STR_DISP("Close Video")
|
||||||
STR_HELP("Closes the currently open video file.")
|
STR_HELP("Closes the currently open video file")
|
||||||
|
|
||||||
void operator()(agi::Context *c) {
|
void operator()(agi::Context *c) {
|
||||||
c->videoController->SetVideo("");
|
c->videoController->SetVideo("");
|
||||||
|
@ -237,7 +237,7 @@ struct video_copy_coordinates : public validator_video_loaded {
|
||||||
CMD_NAME("video/copy_coordinates")
|
CMD_NAME("video/copy_coordinates")
|
||||||
STR_MENU("Copy coordinates to Clipboard")
|
STR_MENU("Copy coordinates to Clipboard")
|
||||||
STR_DISP("Copy coordinates to Clipboard")
|
STR_DISP("Copy coordinates to Clipboard")
|
||||||
STR_HELP("Copy the current coordinates of the mouse over the video to the clipboard.")
|
STR_HELP("Copy the current coordinates of the mouse over the video to the clipboard")
|
||||||
|
|
||||||
void operator()(agi::Context *c) {
|
void operator()(agi::Context *c) {
|
||||||
if (wxTheClipboard->Open()) {
|
if (wxTheClipboard->Open()) {
|
||||||
|
@ -252,7 +252,7 @@ struct video_detach : public validator_video_loaded {
|
||||||
CMD_NAME("video/detach")
|
CMD_NAME("video/detach")
|
||||||
STR_MENU("&Detach Video")
|
STR_MENU("&Detach Video")
|
||||||
STR_DISP("Detach Video")
|
STR_DISP("Detach Video")
|
||||||
STR_HELP("Detach video, displaying it in a separate Window.")
|
STR_HELP("Detach video, displaying it in a separate Window")
|
||||||
CMD_TYPE(COMMAND_VALIDATE | COMMAND_TOGGLE)
|
CMD_TYPE(COMMAND_VALIDATE | COMMAND_TOGGLE)
|
||||||
|
|
||||||
bool IsActive(const agi::Context *c) {
|
bool IsActive(const agi::Context *c) {
|
||||||
|
@ -274,7 +274,7 @@ struct video_details : public validator_video_loaded {
|
||||||
CMD_NAME("video/details")
|
CMD_NAME("video/details")
|
||||||
STR_MENU("Show &Video Details...")
|
STR_MENU("Show &Video Details...")
|
||||||
STR_DISP("Show Video Details")
|
STR_DISP("Show Video Details")
|
||||||
STR_HELP("Shows video details.")
|
STR_HELP("Shows video details")
|
||||||
|
|
||||||
void operator()(agi::Context *c) {
|
void operator()(agi::Context *c) {
|
||||||
c->videoController->Stop();
|
c->videoController->Stop();
|
||||||
|
@ -306,7 +306,7 @@ struct video_frame_copy : public validator_video_loaded {
|
||||||
CMD_NAME("video/frame/copy")
|
CMD_NAME("video/frame/copy")
|
||||||
STR_MENU("Copy image to Clipboard")
|
STR_MENU("Copy image to Clipboard")
|
||||||
STR_DISP("Copy image to Clipboard")
|
STR_DISP("Copy image to Clipboard")
|
||||||
STR_HELP("Copy the currently displayed frame to the clipboard.")
|
STR_HELP("Copy the currently displayed frame to the clipboard")
|
||||||
|
|
||||||
void operator()(agi::Context *c) {
|
void operator()(agi::Context *c) {
|
||||||
if (wxTheClipboard->Open()) {
|
if (wxTheClipboard->Open()) {
|
||||||
|
@ -321,7 +321,7 @@ struct video_frame_copy_raw : public validator_video_loaded {
|
||||||
CMD_NAME("video/frame/copy/raw")
|
CMD_NAME("video/frame/copy/raw")
|
||||||
STR_MENU("Copy image to Clipboard (no subtitles)")
|
STR_MENU("Copy image to Clipboard (no subtitles)")
|
||||||
STR_DISP("Copy image to Clipboard (no subtitles)")
|
STR_DISP("Copy image to Clipboard (no subtitles)")
|
||||||
STR_HELP("Copy the currently displayed frame to the clipboard, without the subtitles.")
|
STR_HELP("Copy the currently displayed frame to the clipboard, without the subtitles")
|
||||||
|
|
||||||
void operator()(agi::Context *c) {
|
void operator()(agi::Context *c) {
|
||||||
if (wxTheClipboard->Open()) {
|
if (wxTheClipboard->Open()) {
|
||||||
|
@ -336,7 +336,7 @@ struct video_frame_next : public validator_video_loaded {
|
||||||
CMD_NAME("video/frame/next")
|
CMD_NAME("video/frame/next")
|
||||||
STR_MENU("Next Frame")
|
STR_MENU("Next Frame")
|
||||||
STR_DISP("Next Frame")
|
STR_DISP("Next Frame")
|
||||||
STR_HELP("Seek to the next frame.")
|
STR_HELP("Seek to the next frame")
|
||||||
|
|
||||||
void operator()(agi::Context *c) {
|
void operator()(agi::Context *c) {
|
||||||
c->videoController->NextFrame();
|
c->videoController->NextFrame();
|
||||||
|
@ -348,7 +348,7 @@ struct video_frame_next_boundary : public validator_video_loaded {
|
||||||
CMD_NAME("video/frame/next/boundary")
|
CMD_NAME("video/frame/next/boundary")
|
||||||
STR_MENU("Next Boundary")
|
STR_MENU("Next Boundary")
|
||||||
STR_DISP("Next Boundary")
|
STR_DISP("Next Boundary")
|
||||||
STR_HELP("Seek to the next subtitle boundary.")
|
STR_HELP("Seek to the next subtitle boundary")
|
||||||
|
|
||||||
void operator()(agi::Context *c) {
|
void operator()(agi::Context *c) {
|
||||||
AssDialogue *active_line = c->selectionController->GetActiveLine();
|
AssDialogue *active_line = c->selectionController->GetActiveLine();
|
||||||
|
@ -378,7 +378,7 @@ struct video_frame_next_keyframe : public validator_video_loaded {
|
||||||
CMD_NAME("video/frame/next/keyframe")
|
CMD_NAME("video/frame/next/keyframe")
|
||||||
STR_MENU("Next Keyframe")
|
STR_MENU("Next Keyframe")
|
||||||
STR_DISP("Next Keyframe")
|
STR_DISP("Next Keyframe")
|
||||||
STR_HELP("Seek to the next keyframe.")
|
STR_HELP("Seek to the next keyframe")
|
||||||
|
|
||||||
void operator()(agi::Context *c) {
|
void operator()(agi::Context *c) {
|
||||||
std::vector<int> const& kf = c->videoController->GetKeyFrames();
|
std::vector<int> const& kf = c->videoController->GetKeyFrames();
|
||||||
|
@ -393,7 +393,7 @@ struct video_frame_next_large : public validator_video_loaded {
|
||||||
CMD_NAME("video/frame/next/large")
|
CMD_NAME("video/frame/next/large")
|
||||||
STR_MENU("Fast jump forward")
|
STR_MENU("Fast jump forward")
|
||||||
STR_DISP("Fast jump forward")
|
STR_DISP("Fast jump forward")
|
||||||
STR_HELP("Fast jump forward.")
|
STR_HELP("Fast jump forward")
|
||||||
|
|
||||||
void operator()(agi::Context *c) {
|
void operator()(agi::Context *c) {
|
||||||
c->videoController->JumpToFrame(
|
c->videoController->JumpToFrame(
|
||||||
|
@ -407,7 +407,7 @@ struct video_frame_prev : public validator_video_loaded {
|
||||||
CMD_NAME("video/frame/prev")
|
CMD_NAME("video/frame/prev")
|
||||||
STR_MENU("Previous Frame")
|
STR_MENU("Previous Frame")
|
||||||
STR_DISP("Previous Frame")
|
STR_DISP("Previous Frame")
|
||||||
STR_HELP("Seek to the previous frame.")
|
STR_HELP("Seek to the previous frame")
|
||||||
|
|
||||||
void operator()(agi::Context *c) {
|
void operator()(agi::Context *c) {
|
||||||
c->videoController->PrevFrame();
|
c->videoController->PrevFrame();
|
||||||
|
@ -419,7 +419,7 @@ struct video_frame_prev_boundary : public validator_video_loaded {
|
||||||
CMD_NAME("video/frame/prev/boundary")
|
CMD_NAME("video/frame/prev/boundary")
|
||||||
STR_MENU("Previous Boundary")
|
STR_MENU("Previous Boundary")
|
||||||
STR_DISP("Previous Boundary")
|
STR_DISP("Previous Boundary")
|
||||||
STR_HELP("Seek to the previous subtitle boundary.")
|
STR_HELP("Seek to the previous subtitle boundary")
|
||||||
|
|
||||||
void operator()(agi::Context *c) {
|
void operator()(agi::Context *c) {
|
||||||
AssDialogue *active_line = c->selectionController->GetActiveLine();
|
AssDialogue *active_line = c->selectionController->GetActiveLine();
|
||||||
|
@ -449,7 +449,7 @@ struct video_frame_prev_keyframe : public validator_video_loaded {
|
||||||
CMD_NAME("video/frame/prev/keyframe")
|
CMD_NAME("video/frame/prev/keyframe")
|
||||||
STR_MENU("Previous Keyframe")
|
STR_MENU("Previous Keyframe")
|
||||||
STR_DISP("Previous Keyframe")
|
STR_DISP("Previous Keyframe")
|
||||||
STR_HELP("Seek to the previous keyframe.")
|
STR_HELP("Seek to the previous keyframe")
|
||||||
|
|
||||||
void operator()(agi::Context *c) {
|
void operator()(agi::Context *c) {
|
||||||
std::vector<int> const& kf = c->videoController->GetKeyFrames();
|
std::vector<int> const& kf = c->videoController->GetKeyFrames();
|
||||||
|
@ -522,7 +522,7 @@ struct video_frame_save : public validator_video_loaded {
|
||||||
CMD_NAME("video/frame/save")
|
CMD_NAME("video/frame/save")
|
||||||
STR_MENU("Save PNG snapshot")
|
STR_MENU("Save PNG snapshot")
|
||||||
STR_DISP("Save PNG snapshot")
|
STR_DISP("Save PNG snapshot")
|
||||||
STR_HELP("Save the currently displayed frame to a PNG file in the video's directory.")
|
STR_HELP("Save the currently displayed frame to a PNG file in the video's directory")
|
||||||
|
|
||||||
void operator()(agi::Context *c) {
|
void operator()(agi::Context *c) {
|
||||||
save_snapshot(c, false);
|
save_snapshot(c, false);
|
||||||
|
@ -534,7 +534,7 @@ struct video_frame_save_raw : public validator_video_loaded {
|
||||||
CMD_NAME("video/frame/save/raw")
|
CMD_NAME("video/frame/save/raw")
|
||||||
STR_MENU("Save PNG snapshot (no subtitles)")
|
STR_MENU("Save PNG snapshot (no subtitles)")
|
||||||
STR_DISP("Save PNG snapshot (no subtitles)")
|
STR_DISP("Save PNG snapshot (no subtitles)")
|
||||||
STR_HELP("Save the currently displayed frame without the subtitles to a PNG file in the video's directory.")
|
STR_HELP("Save the currently displayed frame without the subtitles to a PNG file in the video's directory")
|
||||||
|
|
||||||
void operator()(agi::Context *c) {
|
void operator()(agi::Context *c) {
|
||||||
save_snapshot(c, true);
|
save_snapshot(c, true);
|
||||||
|
@ -546,7 +546,7 @@ struct video_jump : public validator_video_loaded {
|
||||||
CMD_NAME("video/jump")
|
CMD_NAME("video/jump")
|
||||||
STR_MENU("&Jump to...")
|
STR_MENU("&Jump to...")
|
||||||
STR_DISP("Jump to")
|
STR_DISP("Jump to")
|
||||||
STR_HELP("Jump to frame or time.")
|
STR_HELP("Jump to frame or time")
|
||||||
|
|
||||||
void operator()(agi::Context *c) {
|
void operator()(agi::Context *c) {
|
||||||
c->videoController->Stop();
|
c->videoController->Stop();
|
||||||
|
@ -562,7 +562,7 @@ struct video_jump_end : public validator_video_loaded {
|
||||||
CMD_NAME("video/jump/end")
|
CMD_NAME("video/jump/end")
|
||||||
STR_MENU("Jump Video to &End")
|
STR_MENU("Jump Video to &End")
|
||||||
STR_DISP("Jump Video to End")
|
STR_DISP("Jump Video to End")
|
||||||
STR_HELP("Jumps the video to the end frame of current subtitle.")
|
STR_HELP("Jumps the video to the end frame of current subtitle")
|
||||||
|
|
||||||
void operator()(agi::Context *c) {
|
void operator()(agi::Context *c) {
|
||||||
if (AssDialogue *active_line = c->selectionController->GetActiveLine()) {
|
if (AssDialogue *active_line = c->selectionController->GetActiveLine()) {
|
||||||
|
@ -576,7 +576,7 @@ struct video_jump_start : public validator_video_loaded {
|
||||||
CMD_NAME("video/jump/start")
|
CMD_NAME("video/jump/start")
|
||||||
STR_MENU("Jump Video to &Start")
|
STR_MENU("Jump Video to &Start")
|
||||||
STR_DISP("Jump Video to Start")
|
STR_DISP("Jump Video to Start")
|
||||||
STR_HELP("Jumps the video to the start frame of current subtitle.")
|
STR_HELP("Jumps the video to the start frame of current subtitle")
|
||||||
|
|
||||||
void operator()(agi::Context *c) {
|
void operator()(agi::Context *c) {
|
||||||
if (AssDialogue *active_line = c->selectionController->GetActiveLine()) {
|
if (AssDialogue *active_line = c->selectionController->GetActiveLine()) {
|
||||||
|
@ -590,7 +590,7 @@ struct video_open : public Command {
|
||||||
CMD_NAME("video/open")
|
CMD_NAME("video/open")
|
||||||
STR_MENU("&Open Video...")
|
STR_MENU("&Open Video...")
|
||||||
STR_DISP("Open Video")
|
STR_DISP("Open Video")
|
||||||
STR_HELP("Opens a video file.")
|
STR_HELP("Opens a video file")
|
||||||
|
|
||||||
void operator()(agi::Context *c) {
|
void operator()(agi::Context *c) {
|
||||||
wxString path = lagi_wxString(OPT_GET("Path/Last/Video")->GetString());
|
wxString path = lagi_wxString(OPT_GET("Path/Last/Video")->GetString());
|
||||||
|
@ -609,7 +609,7 @@ struct video_open_dummy : public Command {
|
||||||
CMD_NAME("video/open/dummy")
|
CMD_NAME("video/open/dummy")
|
||||||
STR_MENU("&Use Dummy Video...")
|
STR_MENU("&Use Dummy Video...")
|
||||||
STR_DISP("Use Dummy Video")
|
STR_DISP("Use Dummy Video")
|
||||||
STR_HELP("Opens a video clip with solid colour.")
|
STR_HELP("Opens a video clip with solid colour")
|
||||||
|
|
||||||
void operator()(agi::Context *c) {
|
void operator()(agi::Context *c) {
|
||||||
wxString fn;
|
wxString fn;
|
||||||
|
@ -665,7 +665,7 @@ struct video_show_overscan : public validator_video_loaded {
|
||||||
CMD_NAME("video/show_overscan")
|
CMD_NAME("video/show_overscan")
|
||||||
STR_MENU("Show &Overscan Mask")
|
STR_MENU("Show &Overscan Mask")
|
||||||
STR_DISP("Show Overscan Mask")
|
STR_DISP("Show Overscan Mask")
|
||||||
STR_HELP("Show a mask over the video, indicating areas that might get cropped off by overscan on televisions.")
|
STR_HELP("Show a mask over the video, indicating areas that might get cropped off by overscan on televisions")
|
||||||
CMD_TYPE(COMMAND_VALIDATE | COMMAND_TOGGLE)
|
CMD_TYPE(COMMAND_VALIDATE | COMMAND_TOGGLE)
|
||||||
|
|
||||||
bool IsActive(const agi::Context *) {
|
bool IsActive(const agi::Context *) {
|
||||||
|
@ -684,7 +684,7 @@ public:
|
||||||
CMD_NAME("video/zoom/100")
|
CMD_NAME("video/zoom/100")
|
||||||
STR_MENU("&100%")
|
STR_MENU("&100%")
|
||||||
STR_DISP("100%")
|
STR_DISP("100%")
|
||||||
STR_HELP("Set zoom to 100%.")
|
STR_HELP("Set zoom to 100%")
|
||||||
CMD_TYPE(COMMAND_VALIDATE | COMMAND_RADIO)
|
CMD_TYPE(COMMAND_VALIDATE | COMMAND_RADIO)
|
||||||
|
|
||||||
bool IsActive(const agi::Context *c) {
|
bool IsActive(const agi::Context *c) {
|
||||||
|
@ -716,7 +716,7 @@ public:
|
||||||
CMD_NAME("video/zoom/200")
|
CMD_NAME("video/zoom/200")
|
||||||
STR_MENU("&200%")
|
STR_MENU("&200%")
|
||||||
STR_DISP("200%")
|
STR_DISP("200%")
|
||||||
STR_HELP("Set zoom to 200%.")
|
STR_HELP("Set zoom to 200%")
|
||||||
CMD_TYPE(COMMAND_VALIDATE | COMMAND_RADIO)
|
CMD_TYPE(COMMAND_VALIDATE | COMMAND_RADIO)
|
||||||
|
|
||||||
bool IsActive(const agi::Context *c) {
|
bool IsActive(const agi::Context *c) {
|
||||||
|
@ -735,7 +735,7 @@ public:
|
||||||
CMD_NAME("video/zoom/50")
|
CMD_NAME("video/zoom/50")
|
||||||
STR_MENU("&50%")
|
STR_MENU("&50%")
|
||||||
STR_DISP("50%")
|
STR_DISP("50%")
|
||||||
STR_HELP("Set zoom to 50%.")
|
STR_HELP("Set zoom to 50%")
|
||||||
CMD_TYPE(COMMAND_VALIDATE | COMMAND_RADIO)
|
CMD_TYPE(COMMAND_VALIDATE | COMMAND_RADIO)
|
||||||
|
|
||||||
bool IsActive(const agi::Context *c) {
|
bool IsActive(const agi::Context *c) {
|
||||||
|
@ -753,7 +753,7 @@ struct video_zoom_in : public validator_video_attached {
|
||||||
CMD_NAME("video/zoom/in")
|
CMD_NAME("video/zoom/in")
|
||||||
STR_MENU("Zoom In")
|
STR_MENU("Zoom In")
|
||||||
STR_DISP("Zoom In")
|
STR_DISP("Zoom In")
|
||||||
STR_HELP("Zoom video in.")
|
STR_HELP("Zoom video in")
|
||||||
|
|
||||||
void operator()(agi::Context *c) {
|
void operator()(agi::Context *c) {
|
||||||
c->videoDisplay->SetZoom(c->videoDisplay->GetZoom() + .125);
|
c->videoDisplay->SetZoom(c->videoDisplay->GetZoom() + .125);
|
||||||
|
@ -765,7 +765,7 @@ struct video_zoom_out : public validator_video_attached {
|
||||||
CMD_NAME("video/zoom/out")
|
CMD_NAME("video/zoom/out")
|
||||||
STR_MENU("Zoom Out")
|
STR_MENU("Zoom Out")
|
||||||
STR_DISP("Zoom Out")
|
STR_DISP("Zoom Out")
|
||||||
STR_HELP("Zoom video out.")
|
STR_HELP("Zoom video out")
|
||||||
|
|
||||||
void operator()(agi::Context *c) {
|
void operator()(agi::Context *c) {
|
||||||
c->videoDisplay->SetZoom(c->videoDisplay->GetZoom() - .125);
|
c->videoDisplay->SetZoom(c->videoDisplay->GetZoom() - .125);
|
||||||
|
|
|
@ -63,49 +63,49 @@ namespace {
|
||||||
CMD_NAME("video/tool/cross")
|
CMD_NAME("video/tool/cross")
|
||||||
STR_MENU("Standard")
|
STR_MENU("Standard")
|
||||||
STR_DISP("Standard")
|
STR_DISP("Standard")
|
||||||
STR_HELP("Standard mode, double click sets position.")
|
STR_HELP("Standard mode, double click sets position")
|
||||||
};
|
};
|
||||||
|
|
||||||
struct visual_mode_drag : public visual_tool_command<VisualToolDrag> {
|
struct visual_mode_drag : public visual_tool_command<VisualToolDrag> {
|
||||||
CMD_NAME("video/tool/drag")
|
CMD_NAME("video/tool/drag")
|
||||||
STR_MENU("Drag")
|
STR_MENU("Drag")
|
||||||
STR_DISP("Drag")
|
STR_DISP("Drag")
|
||||||
STR_HELP("Drag subtitles.")
|
STR_HELP("Drag subtitles")
|
||||||
};
|
};
|
||||||
|
|
||||||
struct visual_mode_rotate_z : public visual_tool_command<VisualToolRotateZ> {
|
struct visual_mode_rotate_z : public visual_tool_command<VisualToolRotateZ> {
|
||||||
CMD_NAME("video/tool/rotate/z")
|
CMD_NAME("video/tool/rotate/z")
|
||||||
STR_MENU("Rotate Z")
|
STR_MENU("Rotate Z")
|
||||||
STR_DISP("Rotate Z")
|
STR_DISP("Rotate Z")
|
||||||
STR_HELP("Rotate subtitles on their Z axis.")
|
STR_HELP("Rotate subtitles on their Z axis")
|
||||||
};
|
};
|
||||||
|
|
||||||
struct visual_mode_rotate_xy : public visual_tool_command<VisualToolRotateXY> {
|
struct visual_mode_rotate_xy : public visual_tool_command<VisualToolRotateXY> {
|
||||||
CMD_NAME("video/tool/rotate/xy")
|
CMD_NAME("video/tool/rotate/xy")
|
||||||
STR_MENU("Rotate XY")
|
STR_MENU("Rotate XY")
|
||||||
STR_DISP("Rotate XY")
|
STR_DISP("Rotate XY")
|
||||||
STR_HELP("Rotate subtitles on their X and Y axes.")
|
STR_HELP("Rotate subtitles on their X and Y axes")
|
||||||
};
|
};
|
||||||
|
|
||||||
struct visual_mode_scale : public visual_tool_command<VisualToolScale> {
|
struct visual_mode_scale : public visual_tool_command<VisualToolScale> {
|
||||||
CMD_NAME("video/tool/scale")
|
CMD_NAME("video/tool/scale")
|
||||||
STR_MENU("Scale")
|
STR_MENU("Scale")
|
||||||
STR_DISP("Scale")
|
STR_DISP("Scale")
|
||||||
STR_HELP("Scale subtitles on X and Y axes.")
|
STR_HELP("Scale subtitles on X and Y axes")
|
||||||
};
|
};
|
||||||
|
|
||||||
struct visual_mode_clip : public visual_tool_command<VisualToolClip> {
|
struct visual_mode_clip : public visual_tool_command<VisualToolClip> {
|
||||||
CMD_NAME("video/tool/clip")
|
CMD_NAME("video/tool/clip")
|
||||||
STR_MENU("Clip")
|
STR_MENU("Clip")
|
||||||
STR_DISP("Clip")
|
STR_DISP("Clip")
|
||||||
STR_HELP("Clip subtitles to a rectangle.")
|
STR_HELP("Clip subtitles to a rectangle")
|
||||||
};
|
};
|
||||||
|
|
||||||
struct visual_mode_vector_clip : public visual_tool_command<VisualToolVectorClip> {
|
struct visual_mode_vector_clip : public visual_tool_command<VisualToolVectorClip> {
|
||||||
CMD_NAME("video/tool/vector_clip")
|
CMD_NAME("video/tool/vector_clip")
|
||||||
STR_MENU("Vector Clip")
|
STR_MENU("Vector Clip")
|
||||||
STR_DISP("Vector Clip")
|
STR_DISP("Vector Clip")
|
||||||
STR_HELP("Clip subtitles to a vectorial area.")
|
STR_HELP("Clip subtitles to a vectorial area")
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue