Files
blockly/msg/json
Aaron Dodson c6e58c4f92 feat: Add support for displaying toast-style notifications. (#8896)
* feat: Allow resetting alert/prompt/confirm to defaults.

* chore: Add unit tests for Blockly.dialog.

* fix: Removed TEST_ONLY hack from Blockly.dialog.

* feat: Add a default toast notification implementation.

* feat: Add support for toasts to Blockly.dialog.

* chore: Add tests for default toast implementation.

* chore: Fix docstring.

* refactor: Use default arguments for dialog functions.

* refactor: Add 'close' to the list of messages.

* chore: Add new message in several other places.

* chore: clarify docstrings.

* feat: Make toast assertiveness configurable.
2025-04-21 15:32:45 -07:00
..
2021-08-05 10:39:22 -07:00

Blockly

Messages

This directory contains "messages" files, which are JSON-format files containing human-translated strings that are needed by Blockly.

Translating

We do not accept pull requests for files in this directory. Instead, we use Translatewiki to manage translations for Blockly. Please refer to the detailed instructions on how to help us translate Blockly on the Blockly Developers site.

There is one notable exception: because the language is not supported by Translatewiki, contributors to the Klingon translation may submit PRs making changes to tlh.json directly.

Building

Blockly cannot use the files in this directory directly. Instead, they must first be converted into executable .js files we call "langfiles". This is done automatically as needed by the build system, but you can also run this build step manually by invoking npm run langfiles; the output will be found in build/msg/.

Additional Information

For more information about Blockly, see the main Blockly README.