Michael Teeuw
d0eeb55999
Merge pull request #1186 from BonySimon/patch-1
...
Fix exception on translation of objects
2018-03-25 14:55:52 +02:00
Michael Teeuw
08c0d39b23
Update translator.js
2018-03-25 14:55:42 +02:00
Steelskin3
0388f5787a
Fix exception on translation of objects
...
Sometimes, the content of translations[module.name][key] is not a string but an entire object. It cause a crash on template.replace(...) of createStringFromTemplate(...). It is currently the case of MMM-Voice-Control and the previous commit have broked this module (10 month ago... I am surprised to be the first founded it)
2018-02-23 11:51:59 +01:00
fewieden
d709a44960
strip comments unit test
2018-02-13 07:17:46 +01:00
fewieden
85528761eb
only load core callback if there is one available
2018-02-11 09:07:41 +01:00
fewieden
daa0755920
add missing parameter in documentation
2018-02-10 12:38:55 +01:00
Mikko Tapionlinna
ee88897b18
Add better support for translations with backwards compatibility
2017-04-25 23:15:34 +03:00
Michael Teeuw
7a067a0f6e
Finish translation system. #191
2016-05-11 12:38:41 +02:00
Nicholas Hubbard
15887994fe
JSCS Says Goodbye
2016-05-03 19:13:46 -04:00
Michael Teeuw
52a9caa96e
Fix for #222
2016-04-23 16:57:03 +02:00
Christopher
920f720699
fix indent
2016-04-21 08:47:07 +02:00
Christopher
4529675ca6
add l18n ability
...
fixes #191
2016-04-21 01:03:26 +02:00