1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-08-03 17:39:25 +02:00

Fix internationalization of pitch names...

... Translations were in the catalog, but weren't used.

Affects Change Pitch effect and Plot Spectrum cross-hair readouts.

See for instance Czech (cs) locale, where "H" should replace "B".
This commit is contained in:
Paul Licameli 2019-12-01 13:55:24 -05:00
parent 3704336a58
commit 84efd63a70

View File

@ -148,7 +148,7 @@ wxString PitchName(const double dMIDInote, const PitchNameChoice choice)
default: wxASSERT(false); break;
}
return table[PitchIndex(dMIDInote)];
return GetCustomTranslation( table[PitchIndex(dMIDInote)] );
}
wxString PitchName_Absolute(const double dMIDInote, const PitchNameChoice choice)