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

"Add" string not translated in component_method block #3150

Open
1 of 8 tasks
ewpatton opened this issue Mar 21, 2024 · 0 comments
Open
1 of 8 tasks

"Add" string not translated in component_method block #3150

ewpatton opened this issue Mar 21, 2024 · 0 comments

Comments

@ewpatton
Copy link
Member

Describe the bug

For the clock related methods, AddYear, etc., we have the Add string hard-coded in the block definition rather than using a translation from the messages file. This makes it impossible for translators to change this text.

Affects

  • Designer
  • Blocks editor
  • Projects Explorer
  • Companion
  • Compiled apps
  • Buildserver
  • Debugging
  • Other... (please describe)

Expected behavior

The "Add" string on the clock blocks should be translatable and present in blocklyeditor/src/msg/ai_blockly/messages.json.

Steps to reproduce

  1. Add a Clock component
  2. Add some of the Add* blocks in the blocks workspace
  3. Change the language to anything other than English and note that the Add string will never change.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant