Fixing Charts with Sugar and PHP 5.5x

"preg_replace /e" is deprecated in PHP 5.5.x. The following code change resolves the issue. Not sure if it breaks anything in builds that are actually using translation but it works if you are using English. Relevant lines start at 716.