mirror of
https://github.com/node-red/node-red.git
synced 2023-10-10 13:36:53 +02:00
5b2f24f842
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. |
||
---|---|---|
.. | ||
@node-red | ||
node-red |