1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-06-22 07:10:06 +02:00

String changes: Exporting 'the audio' rather than 'the entire project'.

This commit is contained in:
James Crook 2017-12-17 17:34:28 +00:00
parent 4da9e41e03
commit d9bab5347a
7 changed files with 9 additions and 9 deletions

View File

@ -451,7 +451,7 @@ ProgressResult ExportCL::Export(AudacityProject *project,
ProgressDialog progress(_("Export"), ProgressDialog progress(_("Export"),
selectionOnly ? selectionOnly ?
_("Exporting the selected audio using command-line encoder") : _("Exporting the selected audio using command-line encoder") :
_("Exporting the entire project using command-line encoder")); _("Exporting the audio using command-line encoder"));
// Start piping the mixed data to the command // Start piping the mixed data to the command
while (updateResult == ProgressResult::Success && process.IsActive() && os->IsOk()) { while (updateResult == ProgressResult::Success && process.IsActive() && os->IsOk()) {

View File

@ -873,7 +873,7 @@ ProgressResult ExportFFmpeg::Export(AudacityProject *project,
ProgressDialog progress(wxFileName(fName).GetName(), ProgressDialog progress(wxFileName(fName).GetName(),
selectionOnly ? selectionOnly ?
wxString::Format(_("Exporting selected audio as %s"), ExportFFmpegOptions::fmts[mSubFormat].Description()) : wxString::Format(_("Exporting selected audio as %s"), ExportFFmpegOptions::fmts[mSubFormat].Description()) :
wxString::Format(_("Exporting entire file as %s"), ExportFFmpegOptions::fmts[mSubFormat].Description())); wxString::Format(_("Exporting the audio as %s"), ExportFFmpegOptions::fmts[mSubFormat].Description()));
while (updateResult == ProgressResult::Success) { while (updateResult == ProgressResult::Success) {
auto pcmNumSamples = mixer->Process(pcmBufferSize); auto pcmNumSamples = mixer->Process(pcmBufferSize);

View File

@ -337,7 +337,7 @@ ProgressResult ExportFLAC::Export(AudacityProject *project,
ProgressDialog progress(wxFileName(fName).GetName(), ProgressDialog progress(wxFileName(fName).GetName(),
selectionOnly ? selectionOnly ?
_("Exporting the selected audio as FLAC") : _("Exporting the selected audio as FLAC") :
_("Exporting the entire project as FLAC")); _("Exporting the audio as FLAC"));
while (updateResult == ProgressResult::Success) { while (updateResult == ProgressResult::Success) {
auto samplesThisRun = mixer->Process(SAMPLES_PER_RUN); auto samplesThisRun = mixer->Process(SAMPLES_PER_RUN);

View File

@ -270,7 +270,7 @@ ProgressResult ExportMP2::Export(AudacityProject *project,
ProgressDialog progress(wxFileName(fName).GetName(), ProgressDialog progress(wxFileName(fName).GetName(),
selectionOnly ? selectionOnly ?
wxString::Format(_("Exporting selected audio at %ld kbps"), bitrate) : wxString::Format(_("Exporting selected audio at %ld kbps"), bitrate) :
wxString::Format(_("Exporting entire file at %ld kbps"), bitrate)); wxString::Format(_("Exporting the audio at %ld kbps"), bitrate));
while (updateResult == ProgressResult::Success) { while (updateResult == ProgressResult::Success) {
auto pcmNumSamples = mixer->Process(pcmBufferSize); auto pcmNumSamples = mixer->Process(pcmBufferSize);

View File

@ -1828,19 +1828,19 @@ ProgressResult ExportMP3::Export(AudacityProject *project,
if (rmode == MODE_SET) { if (rmode == MODE_SET) {
title.Printf(selectionOnly ? title.Printf(selectionOnly ?
_("Exporting selected audio with %s preset") : _("Exporting selected audio with %s preset") :
_("Exporting entire file with %s preset"), _("Exporting the audio with %s preset"),
FindName(setRates, WXSIZEOF(setRates), brate).c_str()); FindName(setRates, WXSIZEOF(setRates), brate).c_str());
} }
else if (rmode == MODE_VBR) { else if (rmode == MODE_VBR) {
title.Printf(selectionOnly ? title.Printf(selectionOnly ?
_("Exporting selected audio with VBR quality %s") : _("Exporting selected audio with VBR quality %s") :
_("Exporting entire file with VBR quality %s"), _("Exporting the audio with VBR quality %s"),
FindName(varRates, WXSIZEOF(varRates), brate).c_str()); FindName(varRates, WXSIZEOF(varRates), brate).c_str());
} }
else { else {
title.Printf(selectionOnly ? title.Printf(selectionOnly ?
_("Exporting selected audio at %d Kbps") : _("Exporting selected audio at %d Kbps") :
_("Exporting entire file at %d Kbps"), _("Exporting the audio at %d Kbps"),
brate); brate);
} }

View File

@ -260,7 +260,7 @@ ProgressResult ExportOGG::Export(AudacityProject *project,
ProgressDialog progress(wxFileName(fName).GetName(), ProgressDialog progress(wxFileName(fName).GetName(),
selectionOnly ? selectionOnly ?
_("Exporting the selected audio as Ogg Vorbis") : _("Exporting the selected audio as Ogg Vorbis") :
_("Exporting the entire project as Ogg Vorbis")); _("Exporting the audio as Ogg Vorbis"));
while (updateResult == ProgressResult::Success && !eos) { while (updateResult == ProgressResult::Success && !eos) {
float **vorbis_buffer = vorbis_analysis_buffer(&dsp, SAMPLES_PER_RUN); float **vorbis_buffer = vorbis_analysis_buffer(&dsp, SAMPLES_PER_RUN);

View File

@ -493,7 +493,7 @@ ProgressResult ExportPCM::Export(AudacityProject *project,
selectionOnly ? selectionOnly ?
wxString::Format(_("Exporting the selected audio as %s"), wxString::Format(_("Exporting the selected audio as %s"),
formatStr.c_str()) : formatStr.c_str()) :
wxString::Format(_("Exporting the entire project as %s"), wxString::Format(_("Exporting the audio as %s"),
formatStr.c_str())); formatStr.c_str()));
while (updateResult == ProgressResult::Success) { while (updateResult == ProgressResult::Success) {