1
0
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:
RichardAsh1981@gmail.com 2014-10-02 21:34:01 +00:00
parent d36a95b0a2
commit a6150f3443
7 changed files with 14 additions and 14 deletions

View File

@ -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) {

View File

@ -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()

View File

@ -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

View File

@ -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

View File

@ -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();

View File

@ -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__)

View File

@ -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);