Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Inline block localization failing for zh-CN #3985

Closed
jwunderl opened this issue Apr 16, 2021 · 0 comments · Fixed by microsoft/pxt#8152
Closed

Inline block localization failing for zh-CN #3985

jwunderl opened this issue Apr 16, 2021 · 0 comments · Fixed by microsoft/pxt#8152

Comments

@jwunderl
Copy link
Member

jwunderl commented Apr 16, 2021

Describe the bug

likely just a parsing issue failing on the - before the = since I think this is the only block attribute we have that has a dash

namespace test {
    //% block="this failed"
    //% block.loc.zh-CN="this succeeded"
    export function testMyStuff() { }
}

To Reproduce
Steps to reproduce the behavior:

  1. Go to makecode.com/playground
  2. paste the snippet above
  3. switch to simplified chinese
  4. See error

Expected behavior

should work

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant