1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-06-16 08:09:32 +02:00

Restore hyphenation of plug-in as preferred form.

This commit is contained in:
Steve Daulton 2015-05-21 16:56:34 +01:00
parent 89ee04294c
commit 4abd816c52
6 changed files with 7 additions and 8 deletions

View File

@ -1,4 +1,4 @@
;nyquist plugin ;nyquist plug-in
;version 4 ;version 4
;type process ;type process
;name "Spectral edit multi tool" ;name "Spectral edit multi tool"

View File

@ -1,4 +1,4 @@
;nyquist plugin ;nyquist plug-in
;version 4 ;version 4
;type process ;type process
;preview enabled ;preview enabled

View File

@ -1,4 +1,4 @@
;nyquist plugin ;nyquist plug-in
;version 4 ;version 4
;type process ;type process
;preview enabled ;preview enabled

View File

@ -1,4 +1,4 @@
;nyquist plugin ;nyquist plug-in
;version 4 ;version 4
;type process ;type process
;name "Crossfade Tracks..." ;name "Crossfade Tracks..."

View File

@ -1,4 +1,3 @@
;nyquist plug-in ;nyquist plug-in
;version 3 ;version 3
;type generate ;type generate

View File

@ -1263,10 +1263,10 @@ void NyquistEffect::Parse(wxString line)
return; return;
} }
// As of version 4 plugins ";nyquist plug-in" is depricated in favour of ";nyquist plugin". // Consistency decission is for "plug-in" as the correct spelling
// The hyphenated version must be maintained while we support plugin versions < 4. // "plugin" is allowed as an undocumented convenience.
if (len == 2 && tokens[0] == wxT("nyquist") && if (len == 2 && tokens[0] == wxT("nyquist") &&
(tokens[1] == wxT("plugin") || tokens[1] == wxT("plug-in"))) { (tokens[1] == wxT("plug-in") || tokens[1] == wxT("plugin"))) {
mOK = true; mOK = true;
return; return;
} }