Completed Proposal Improvements to Export progress dialogs

From Audacity Wiki
Revision as of 11:16, 18 November 2017 by PeterSampson (talk | contribs) (Details: copying in material from Steve's email on the topic)
Jump to: navigation, search
Proposal pages help us get from feature requests into actual plans. This page is a proposal to ...
Proposal pages are used on an ongoing basis by the Audacity development team and are open to edits from visitors to the wiki. They are a good way to get community feedback on a proposal.


  • Note: Proposals for Google Summer of Code projects are significantly different in structure, are submitted via Google's web app and may or may not have a corresponding proposal page.


The Problem

TBP


Proposed Feature

TBP


Developer/QA Backing

TBP


Use Cases

TBP


Details

It's a bit peculiar how this is done, in that the message comes from the exporter, so each exporter has it's own messages. For each exporter there is a choice of two messages, depending on whether the "selectionOnly" flag is set or not.

Command line exporter: _("Exporting the selected audio using command-line encoder") : _("Exporting the entire project using command-line encoder"));

FFmpeg exporter: wxString::Format(_("Exporting selected audio as %s"), ExportFFmpegOptions::fmts[mSubFormat].Description()) : wxString::Format(_("Exporting entire file as %s"), ExportFFmpegOptions::fmts[mSubFormat].Description()));

FLAC exporter: _("Exporting the selected audio as FLAC") : _("Exporting the entire project as FLAC"));

MP2 Exporter: wxString::Format(_("Exporting selected audio at %ld kbps"), bitrate) : wxString::Format(_("Exporting entire file at %ld kbps"), bitrate));

MP3 Exporter: if (rmode == MODE_SET) { title.Printf(selectionOnly ? _("Exporting selected audio with %s preset") : _("Exporting entire file with %s preset"), FindName(setRates, WXSIZEOF(setRates), brate).c_str()); } else if (rmode == MODE_VBR) { title.Printf(selectionOnly ? _("Exporting selected audio with VBR quality %s") : _("Exporting entire file with VBR quality %s"), FindName(varRates, WXSIZEOF(varRates), brate).c_str()); } else { title.Printf(selectionOnly ? _("Exporting selected audio at %d Kbps") : _("Exporting entire file at %d Kbps"), brate); }

OGG exporter: _("Exporting the selected audio as Ogg Vorbis") : _("Exporting the entire project as Ogg Vorbis"));

PCM exporter: wxString::Format(_("Exporting the selected audio as %s"), formatStr.c_str()) : wxString::Format(_("Exporting the entire project as %s"), formatStr.c_str()));


It would probably be better if all of these messages were handled in one place rather than multiple (near but inconsistent) duplications, but that is probably more than we want to change with an imminent freeze, especially as RM is wanting to minimise translation string changes.


GUI Examples

Not required

Previous Feature Requests relating to this proposal

TBP