mirror of
https://github.com/enso-org/enso.git
synced 2024-12-25 16:53:10 +03:00
770e18768a
- Closes https://github.com/enso-org/cloud-v2/issues/861 - Adds a `getText` function and React Context to abstract away all text that is shown to users The main immediate benefit is making all text much more discoverable - both being able to know of every piece of text used across the entire application, and making it a lot easier to refactor certain strings when needed rather than having to hunt for strings to replace (and potentially miss one). The longer term benefit is that this will make it easy to add localization, by simply adding another JSON file with the same keys as the existing one, and adding a little bit of logic. # Important Notes None |
||
---|---|---|
.. | ||
assets | ||
client | ||
common | ||
content-config | ||
dashboard | ||
esbuild-plugin-copy-directories | ||
icons | ||
ts-plugin-namespace-auto-import | ||
types |