Closed martinwork closed 1 year ago
Reported in support ticket https://support.microbit.org/helpdesk/tickets/59496 (private)
This also happens when going from Italian back to English.
The issue should be https://crowdin.com/translate/makecode/65/en-it?filter=basic&value=0#17298 swapping the field name (name to note). I added a check to discard translations that broke things a few years back but it must be missing a case for this one, easiest to start looking from there: https://github.com/microsoft/pxt/blob/addWebUsbDisabledHelpButton/pxtlib/service.ts#L765
Note that fixing this will probably mean notes break in italian, so we'll most likely want to add an upgrade rule in this check: https://github.com/microsoft/pxt-microbit/blob/master/editor/patch.ts#L45 (and probably fix by making hasEquivalentParameters
reject this block rather than fixing the translation, cause getting rid of the broken translation I linked will immediately break all those projects)
Describe the bug Changing language to Italian sets all play tone block notes to Middle C
To Reproduce Steps to reproduce the behavior:
Expected behavior play tone blocks retain their note values when the language is changed.
Screenshots
micro:bit version (please complete the following information): not hardware related
Desktop (please complete the following information):