mirror of
https://github.com/cookiengineer/audacity
synced 2025-08-03 09:29:30 +02:00
Don't internationalize "e" (introducing numeric exponent)
This commit is contained in:
parent
5cef2cd3e4
commit
44b30ca4e1
@ -547,7 +547,10 @@ bool FloatingPointValidatorBase::ValidatePrecision(const wxString& s) const
|
|||||||
|
|
||||||
// If user typed exponent 'e' the number of decimal digits is not
|
// If user typed exponent 'e' the number of decimal digits is not
|
||||||
// important at all. But we must know that 'e' position.
|
// important at all. But we must know that 'e' position.
|
||||||
size_t posExp = s.Lower().Find(_("e"));
|
// PRL: I can't find anything in lconv or std::numpunct that describes
|
||||||
|
// alternatives to e. So just use a plain string literal. Don't trouble
|
||||||
|
// with i18n.
|
||||||
|
size_t posExp = s.Lower().Find("e");
|
||||||
if ( posExp == wxString::npos )
|
if ( posExp == wxString::npos )
|
||||||
posExp = s.length();
|
posExp = s.length();
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user