2 Commits

Author SHA1 Message Date
Jeff Epler
918e244c13
Add some more synthetic messages
.. so that nobody ever accidentally translates %S, %q, or %s.
These only appear inside MP_ERROR_TEXT for technical reasons.
2023-11-15 07:22:02 -06:00
Jeff Epler
46bfbad1bb
Add locale.getlocale()
This returns the localization of the running CircuitPython, such as
en_US, fr, etc.

Additional changes are needed in build infrastructure since the
string "en_US" should not appear to be translated in weblate, ever;
instead the value comes from the translation metadata.

Closes: #8602
2023-11-14 21:20:03 -06:00