Skip to content

Commit 9120a91

Browse files
zlomzlomarch1t3cht
authored andcommitted
Fix strings in commands
timecode.cpp -- Fix file types names video.cpp -- Fix descriptions of "video play" commands: "video/play" -> fixed grammar; "video/play/line" -> made description slightly more verbose to prevent it from fetching translation from "audio/play/line"'s STR_DISP (or STR_MENU, idk) vis_tool.cpp -- Remove suffixes from visual vector tools
1 parent 6f7e314 commit 9120a91

File tree

3 files changed

+11
-11
lines changed

3 files changed

+11
-11
lines changed

src/command/timecode.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ struct timecode_open final : public Command {
7070
STR_HELP("Open a VFR timecodes v1 or v2 file")
7171

7272
void operator()(agi::Context *c) override {
73-
auto str = from_wx(_("All Supported Formats") + " (*.txt)|*.txt|" + _("All Files") + " (*.*)|*.*");
73+
auto str = from_wx(_("Text Files") + " (*.txt)|*.txt|" + _("All Files") + " (*.*)|*.*");
7474
auto filename = OpenFileSelector(_("Open Timecodes File"), "Path/Last/Timecodes", "", "", str, c->parent);
7575
if (!filename.empty())
7676
c->project->LoadTimecodes(filename);
@@ -90,7 +90,7 @@ struct timecode_save final : public Command {
9090
}
9191

9292
void operator()(agi::Context *c) override {
93-
auto str = from_wx(_("All Supported Formats") + " (*.txt)|*.txt|" + _("All Files") + " (*.*)|*.*");
93+
auto str = from_wx(_("Text Files") + " (*.txt)|*.txt|" + _("All Files") + " (*.*)|*.*");
9494
auto filename = SaveFileSelector(_("Save Timecodes File"), "Path/Last/Timecodes", "", "", str, c->parent);
9595
if (filename.empty()) return;
9696

src/command/video.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -632,7 +632,7 @@ struct video_play final : public validator_video_loaded {
632632
CMD_ICON(button_play)
633633
STR_MENU("Play")
634634
STR_DISP("Play")
635-
STR_HELP("Play video starting on this position")
635+
STR_HELP("Play the video starting on this position")
636636

637637
void operator()(agi::Context *c) override {
638638
c->videoController->Play();
@@ -644,7 +644,7 @@ struct video_play_line final : public validator_video_loaded {
644644
CMD_ICON(button_playline)
645645
STR_MENU("Play line")
646646
STR_DISP("Play line")
647-
STR_HELP("Play current line")
647+
STR_HELP("Play the video for the current line")
648648

649649
void operator()(agi::Context *c) override {
650650
c->videoController->PlayLine();

src/command/vis_tool.cpp

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -138,49 +138,49 @@ namespace {
138138
CMD_ICON(visual_vector_clip_line)
139139
STR_MENU("Line")
140140
STR_DISP("Line")
141-
STR_HELP("Appends a line")
141+
STR_HELP("Append a line")
142142
};
143143
struct visual_mode_vclip_bicubic final : public visual_tool_vclip_command<VCLIP_BICUBIC> {
144144
CMD_NAME("video/tool/vclip/bicubic")
145145
CMD_ICON(visual_vector_clip_bicubic)
146146
STR_MENU("Bicubic")
147147
STR_DISP("Bicubic")
148-
STR_HELP("Appends a bezier bicubic curve")
148+
STR_HELP("Append a bezier bicubic curve")
149149
};
150150
struct visual_mode_vclip_convert final : public visual_tool_vclip_command<VCLIP_CONVERT> {
151151
CMD_NAME("video/tool/vclip/convert")
152152
CMD_ICON(visual_vector_clip_convert)
153153
STR_MENU("Convert")
154154
STR_DISP("Convert")
155-
STR_HELP("Converts a segment between line and bicubic")
155+
STR_HELP("Convert a segment between line and bicubic")
156156
};
157157
struct visual_mode_vclip_insert final : public visual_tool_vclip_command<VCLIP_INSERT> {
158158
CMD_NAME("video/tool/vclip/insert")
159159
CMD_ICON(visual_vector_clip_insert)
160160
STR_MENU("Insert")
161161
STR_DISP("Insert")
162-
STR_HELP("Inserts a control point")
162+
STR_HELP("Insert a control point")
163163
};
164164
struct visual_mode_vclip_remove final : public visual_tool_vclip_command<VCLIP_REMOVE> {
165165
CMD_NAME("video/tool/vclip/remove")
166166
CMD_ICON(visual_vector_clip_remove)
167167
STR_MENU("Remove")
168168
STR_DISP("Remove")
169-
STR_HELP("Removes a control point")
169+
STR_HELP("Remove a control point")
170170
};
171171
struct visual_mode_vclip_freehand final : public visual_tool_vclip_command<VCLIP_FREEHAND> {
172172
CMD_NAME("video/tool/vclip/freehand")
173173
CMD_ICON(visual_vector_clip_freehand)
174174
STR_MENU("Freehand")
175175
STR_DISP("Freehand")
176-
STR_HELP("Draws a freehand shape")
176+
STR_HELP("Draw a freehand shape")
177177
};
178178
struct visual_mode_vclip_freehand_smooth final : public visual_tool_vclip_command<VCLIP_FREEHAND_SMOOTH> {
179179
CMD_NAME("video/tool/vclip/freehand_smooth")
180180
CMD_ICON(visual_vector_clip_freehand_smooth)
181181
STR_MENU("Freehand smooth")
182182
STR_DISP("Freehand smooth")
183-
STR_HELP("Draws a smoothed freehand shape")
183+
STR_HELP("Draw a smoothed freehand shape")
184184
};
185185
}
186186

0 commit comments

Comments
 (0)