1
0
mirror of https://github.com/node-red/node-red.git synced 2023-10-10 13:36:53 +02:00
Nick O'Leary 5b2f24f842
Handle i18n properly when key is a valid sub-identifier
Fixes #2028
The i18n library will, be default, return a string containing
an error message about the key resolving to an object. We cannot
distinguish that string from others to handle ourselves.

The `returnObjectTrees` option will cause it to return the object
rather than error. We can then test for that and return the original
key if the object is returned - which is the desired result.
2019-01-17 14:44:41 +00:00
..
2018-10-25 11:18:13 +01:00
2018-08-17 22:10:54 +01:00
2018-08-21 13:57:59 +01:00
2019-01-10 13:34:47 +00:00
2018-08-21 13:43:11 +01:00

@node-red/editor-client

Node-RED editor resources module.

This provides all of the client-side resources of the Node-RED editor application.

Source

The main Node-RED modules are maintained as a monorepo on GitHub.