forked from mia/Aegisub
Tweak a few strings to make them easier to translate
Originally committed to SVN as r6211.
This commit is contained in:
parent
eaa1001d7a
commit
3efdef2224
2 changed files with 8 additions and 11 deletions
|
@ -93,10 +93,10 @@ struct grid_tag_cycle_hiding : public Command {
|
||||||
tagMode = (tagMode+1)%3;
|
tagMode = (tagMode+1)%3;
|
||||||
|
|
||||||
// Show on status bar
|
// Show on status bar
|
||||||
wxString message = _("ASS Override Tag mode set to ");
|
wxString message;
|
||||||
if (tagMode == 0) message += _("show full tags.");
|
if (tagMode == 0) message = _("ASS Override Tag mode set to show full tags.");
|
||||||
if (tagMode == 1) message += _("simplify tags.");
|
if (tagMode == 1) message = _("ASS Override Tag mode set to simplify tags.");
|
||||||
if (tagMode == 2) message += _("hide tags.");
|
if (tagMode == 2) message = _("ASS Override Tag mode set to hide tags.");
|
||||||
wxGetApp().frame->StatusTimeout(message,10000);
|
wxGetApp().frame->StatusTimeout(message,10000);
|
||||||
|
|
||||||
// Set option
|
// Set option
|
||||||
|
|
|
@ -141,19 +141,16 @@ std::map<int,wxString> FFmpegSourceProvider::GetTracksOfType(FFMS_Indexer *Index
|
||||||
int FFmpegSourceProvider::AskForTrackSelection(const std::map<int,wxString> &TrackList, FFMS_TrackType Type) {
|
int FFmpegSourceProvider::AskForTrackSelection(const std::map<int,wxString> &TrackList, FFMS_TrackType Type) {
|
||||||
std::vector<int> TrackNumbers;
|
std::vector<int> TrackNumbers;
|
||||||
wxArrayString Choices;
|
wxArrayString Choices;
|
||||||
wxString TypeName = "";
|
|
||||||
if (Type == FFMS_TYPE_VIDEO)
|
|
||||||
TypeName = _("video");
|
|
||||||
else if (Type == FFMS_TYPE_AUDIO)
|
|
||||||
TypeName = _("audio");
|
|
||||||
|
|
||||||
for (std::map<int,wxString>::const_iterator i = TrackList.begin(); i != TrackList.end(); i++) {
|
for (std::map<int,wxString>::const_iterator i = TrackList.begin(); i != TrackList.end(); i++) {
|
||||||
Choices.Add(wxString::Format(_("Track %02d: %s"), i->first, i->second));
|
Choices.Add(wxString::Format(_("Track %02d: %s"), i->first, i->second));
|
||||||
TrackNumbers.push_back(i->first);
|
TrackNumbers.push_back(i->first);
|
||||||
}
|
}
|
||||||
|
|
||||||
int Choice = wxGetSingleChoiceIndex(wxString::Format(_("Multiple %s tracks detected, please choose the one you wish to load:"), TypeName),
|
int Choice = wxGetSingleChoiceIndex(
|
||||||
wxString::Format(_("Choose %s track"), TypeName), Choices);
|
Type == FFMS_TYPE_VIDEO ? _("Multiple video tracks detected, please choose the one you wish to load:") : _("Multiple audio tracks detected, please choose the one you wish to load:"),
|
||||||
|
Type == FFMS_TYPE_VIDEO ? _("Choose video track") : _("Choose audio track"),
|
||||||
|
Choices);
|
||||||
|
|
||||||
if (Choice < 0)
|
if (Choice < 0)
|
||||||
return Choice;
|
return Choice;
|
||||||
|
|
Loading…
Reference in a new issue