Open manuq opened 11 months ago
The issue here is that "mySprite.bottom/abajo" is translating back to "mySprite.x"
The issue here is that "mySprite.bottom/abajo" is translating back to "mySprite.x"
Yes, but is this a translation issue? I would expect that the code is decoupled from the translations. Isn't this the case in Arcade?
It does this for both Spanish locales but works OK for the other languages. It seems to want to reset to the first property get()
on sprites. The property will not change if left in the context of the JavaScript editor when the language is changed. Investigating further...
Here's the behavior in blocks:
@ganicke exactly! Thanks for picturing the bug. Going from Spanish to English the "down" property is replaced by the "x" property in some blocks. Going back to Spanish the property is left as "x".
Describe the bug I did a game with the editor in Spanish (MX). Then I switched to English and the game was broken. It seems Sprite bottom (translated as "abajo" in Spanish) ends up replaced by Sprite x in a couple of places. I did a minimum example where the bug can be reproduced: https://github.com/manuq/language-bug
To Reproduce Steps to reproduce the behavior:
Expected behavior The game should work consistently regardless of the language.
Screenshots Here are the blocks in Spanish:
And then after switching to English they become:
Desktop (please complete the following information):