mirror of
https://github.com/cookiengineer/audacity
synced 2025-10-26 15:23:48 +01: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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user