First step for translation in JS File
Merge branch 'master' of https://github.com/emoncms/emoncms
Add system to translate sentences in JS File.
For JS File an array (LANG_JS) is created in module_langjs.php file.
We need to include it as js file before all other JS and use it for translation.
This permit to use getText system like all other translation in the project.
Use mysqli->real_escape_string instead of preg_replace for dashboard content to allow °,% in units
Update JS translation system to use function instead of directly array
Merge pull request #72 from PlaneteDomo/master

Translation of JS File + dashboard content