mirror of
https://github.com/cookiengineer/audacity
synced 2025-04-30 23:59:41 +02:00
Commit Steve's patch for Bug 728
This commit is contained in:
parent
d36a95b0a2
commit
a6150f3443
@ -1029,7 +1029,7 @@ void NyqBench::OnOpen(wxCommandEvent & e)
|
||||
_("Load Nyquist script"),
|
||||
mPath.GetPath(),
|
||||
wxEmptyString,
|
||||
_("Nyquist scripts (*.ny)|*.ny|Lisp scripts (*.lsp)|*.lsp|All files|*.*"),
|
||||
_("Nyquist scripts (*.ny)|*.ny|Lisp scripts (*.lsp)|*.lsp|All files|*"),
|
||||
wxFD_OPEN | wxRESIZE_BORDER);
|
||||
|
||||
if (dlog.ShowModal() != wxID_OK) {
|
||||
@ -1075,7 +1075,7 @@ void NyqBench::OnSaveAs(wxCommandEvent & e)
|
||||
_("Save Nyquist script"),
|
||||
mPath.GetFullPath(),
|
||||
wxEmptyString,
|
||||
_("Nyquist scripts (*.ny)|*.ny|Lisp scripts (*.lsp)|*.lsp|All files|*.*"),
|
||||
_("Nyquist scripts (*.ny)|*.ny|Lisp scripts (*.lsp)|*.lsp|All files|*"),
|
||||
wxFD_SAVE | wxFD_OVERWRITE_PROMPT | wxRESIZE_BORDER);
|
||||
|
||||
if (dlog.ShowModal() != wxID_OK) {
|
||||
|
@ -273,7 +273,7 @@ public:
|
||||
wxString GetLibraryTypeString()
|
||||
{
|
||||
/* i18n-hint: do not translate avformat. Preserve the computer gibberish.*/
|
||||
return _("Only avformat.dll|*avformat*.dll|Dynamically Linked Libraries (*.dll)|*.dll|All Files (*.*)|*");
|
||||
return _("Only avformat.dll|*avformat*.dll|Dynamically Linked Libraries (*.dll)|*.dll|All Files|*");
|
||||
}
|
||||
|
||||
wxString GetLibAVFormatPath()
|
||||
|
@ -516,7 +516,7 @@ void LabelDialog::OnImport(wxCommandEvent & WXUNUSED(event))
|
||||
path, // Path
|
||||
wxT(""), // Name
|
||||
wxT(".txt"), // Extension
|
||||
_("Text files (*.txt)|*.txt|All files (*.*)|*.*"),
|
||||
_("Text files (*.txt)|*.txt|All files|*"),
|
||||
wxRESIZE_BORDER, // Flags
|
||||
this); // Parent
|
||||
|
||||
|
@ -4659,7 +4659,7 @@ void AudacityProject::OnImportLabels()
|
||||
path, // Path
|
||||
wxT(""), // Name
|
||||
wxT(".txt"), // Extension
|
||||
_("Text files (*.txt)|*.txt|All files (*.*)|*.*"),
|
||||
_("Text files (*.txt)|*.txt|All files|*"),
|
||||
wxRESIZE_BORDER, // Flags
|
||||
this); // Parent
|
||||
|
||||
@ -4704,7 +4704,7 @@ void AudacityProject::OnImportMIDI()
|
||||
path, // Path
|
||||
wxT(""), // Name
|
||||
wxT(""), // Extension
|
||||
_("MIDI and Allegro files (*.mid;*.midi;*.gro)|*.mid;*.midi;*.gro|MIDI files (*.mid;*.midi)|*.mid;*.midi|Allegro files (*.gro)|*.gro|All files (*.*)|*.*"),
|
||||
_("MIDI and Allegro files (*.mid;*.midi;*.gro)|*.mid;*.midi;*.gro|MIDI files (*.mid;*.midi)|*.mid;*.midi|Allegro files (*.gro)|*.gro|All files|*"),
|
||||
wxRESIZE_BORDER, // Flags
|
||||
this); // Parent
|
||||
|
||||
@ -4740,7 +4740,7 @@ void AudacityProject::OnImportRaw()
|
||||
path, // Path
|
||||
wxT(""), // Name
|
||||
wxT(""), // Extension
|
||||
_("All files (*)|*"),
|
||||
_("All files|*"),
|
||||
wxRESIZE_BORDER, // Flags
|
||||
this); // Parent
|
||||
|
||||
|
@ -1711,7 +1711,7 @@ void ExportFFmpegOptions::OnImportPresets(wxCommandEvent& WXUNUSED(event))
|
||||
_("Select xml file with presets to import"),
|
||||
gPrefs->Read(wxT("/FileFormats/FFmpegPresetDir")),
|
||||
wxEmptyString,
|
||||
wxString(_("XML files (*.xml)|*.xml|All files (*.*)|*.*")),
|
||||
wxString(_("XML files (*.xml)|*.xml|All files|*")),
|
||||
wxFD_OPEN);
|
||||
if (dlg.ShowModal() == wxID_CANCEL) return;
|
||||
path = dlg.GetPath();
|
||||
@ -1731,7 +1731,7 @@ void ExportFFmpegOptions::OnExportPresets(wxCommandEvent& WXUNUSED(event))
|
||||
_("Select xml file to export presets into"),
|
||||
gPrefs->Read(wxT("/FileFormats/FFmpegPresetDir")),
|
||||
wxEmptyString,
|
||||
wxString(_("XML files (*.xml)|*.xml|All files (*.*)|*.*")),
|
||||
wxString(_("XML files (*.xml)|*.xml|All files|*")),
|
||||
wxFD_SAVE|wxFD_OVERWRITE_PROMPT);
|
||||
if (dlg.ShowModal() == wxID_CANCEL) return;
|
||||
path = dlg.GetPath();
|
||||
|
@ -1412,7 +1412,7 @@ wxString MP3Exporter::GetLibraryName()
|
||||
|
||||
wxString MP3Exporter::GetLibraryTypeString()
|
||||
{
|
||||
return _("Only lame_enc.dll|lame_enc.dll|Dynamically Linked Libraries (*.dll)|*.dll|All Files (*.*)|*");
|
||||
return _("Only lame_enc.dll|lame_enc.dll|Dynamically Linked Libraries (*.dll)|*.dll|All Files|*");
|
||||
}
|
||||
|
||||
#elif defined(__WXMAC__)
|
||||
|
@ -329,7 +329,7 @@ void KeyConfigPrefs::OnImport(wxCommandEvent & WXUNUSED(event))
|
||||
path,
|
||||
file,
|
||||
wxT(""),
|
||||
_("XML files (*.xml)|*.xml|All files (*.*)|*.*"),
|
||||
_("XML files (*.xml)|*.xml|All files|*"),
|
||||
wxRESIZE_BORDER,
|
||||
this);
|
||||
|
||||
@ -361,7 +361,7 @@ void KeyConfigPrefs::OnExport(wxCommandEvent & WXUNUSED(event))
|
||||
path,
|
||||
file,
|
||||
wxT("xml"),
|
||||
_("XML files (*.xml)|*.xml|All files (*.*)|*.*"),
|
||||
_("XML files (*.xml)|*.xml|All files|*"),
|
||||
wxFD_SAVE | wxFD_OVERWRITE_PROMPT | wxRESIZE_BORDER,
|
||||
this);
|
||||
|
||||
@ -914,7 +914,7 @@ void KeyConfigPrefs::OnImport(wxCommandEvent & WXUNUSED(event))
|
||||
path,
|
||||
file,
|
||||
wxT(""),
|
||||
_("XML files (*.xml)|*.xml|All files (*.*)|*.*"),
|
||||
_("XML files (*.xml)|*.xml|All files|*"),
|
||||
wxRESIZE_BORDER,
|
||||
this);
|
||||
|
||||
@ -946,7 +946,7 @@ void KeyConfigPrefs::OnExport(wxCommandEvent & WXUNUSED(event))
|
||||
path,
|
||||
file,
|
||||
wxT("xml"),
|
||||
_("XML files (*.xml)|*.xml|All files (*.*)|*.*"),
|
||||
_("XML files (*.xml)|*.xml|All files|*"),
|
||||
wxFD_SAVE | wxFD_OVERWRITE_PROMPT | wxRESIZE_BORDER,
|
||||
this);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user