mirror of
				https://github.com/node-red/node-red.git
				synced 2025-03-01 10:36:34 +00:00 
			
		
		
		
	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.