You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
mp_raise_NotImplementedError(MP_ERROR_TEXT("Only 8 or 16 bit mono with "MP_STRINGIFY(OVERSAMPLING) "x oversampling is supported."));
Behavior
This places only the following string in circuitpython.pot:
#: ports/atmel-samd/common-hal/audiobusio/PDMIn.c#: ports/raspberrypi/common-hal/audiobusio/PDMIn.cmsgid"Only 8 or 16 bit mono with "msgstr""
Description
Please change the message so it works properly.
One option is to simply write out "64x" in the source string and add a MP_STATIC_ASSERT that OVERSAMPLING==64.
Another option is to %d-format the number into the message.
Until one of these things is done, I don't think this message can be localized.
Additional information
This message occurs in two places:
ports/atmel-samd/common-hal/audiobusio/PDMIn.c|160| mp_raise_NotImplementedError(MP_ERROR_TEXT("Only 8 or 16 bit mono with " MP_STRINGIFY(OVERSAMPLING) "x oversampling is supported."));
ports/raspberrypi/common-hal/audiobusio/PDMIn.c|60| mp_raise_NotImplementedError(MP_ERROR_TEXT("Only 8 or 16 bit mono with " MP_STRINGIFY(OVERSAMPLING) "x oversampling is supported."));
The text was updated successfully, but these errors were encountered:
CircuitPython version
main
Code/REPL
Behavior
This places only the following string in
circuitpython.pot
:Description
Please change the message so it works properly.
One option is to simply write out "64x" in the source string and add a MP_STATIC_ASSERT that OVERSAMPLING==64.
Another option is to %d-format the number into the message.
Until one of these things is done, I don't think this message can be localized.
Additional information
This message occurs in two places:
The text was updated successfully, but these errors were encountered: