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

Add comments about URL-Help (Bug 299)

Bug 299 is an review and enhance request for all error messages to show the iconic help link.
These comments may help a little with identifying where they are and aren't needed.
This commit is contained in:
James Crook 2017-08-16 17:58:27 +01:00
parent 296ba29a78
commit 47372cfe7d

View File

@ -1236,8 +1236,10 @@ void CommandManager::TellUserWhyDisallowed( const wxString & Name, CommandFlag f
auto missingFlags = flagsRequired & (~flagsGot ); auto missingFlags = flagsRequired & (~flagsGot );
if( missingFlags & AudioIONotBusyFlag ) if( missingFlags & AudioIONotBusyFlag )
// This reason will not be shown, because options that require it will be greyed our.
reason = _("You can only do this when playing and recording are\nstopped. (Pausing is not sufficient.)"); reason = _("You can only do this when playing and recording are\nstopped. (Pausing is not sufficient.)");
else if( missingFlags & StereoRequiredFlag ) else if( missingFlags & StereoRequiredFlag )
// This reason will not be shown, because the stereo-to-mono is greyed out if not allowed.
reason = _("You must first select some stereo audio to perform this\naction. (You cannot use this with mono.)"); reason = _("You must first select some stereo audio to perform this\naction. (You cannot use this with mono.)");
// In reporting the issue with cut or copy, we don't tell the user they could also select some text in a label. // In reporting the issue with cut or copy, we don't tell the user they could also select some text in a label.
else if(( missingFlags & TimeSelectedFlag ) || (missingFlags &CutCopyAvailableFlag )){ else if(( missingFlags & TimeSelectedFlag ) || (missingFlags &CutCopyAvailableFlag )){