tools/inc/lib/jsgettext/: misc fixes
This commit is contained in:
@@ -66,7 +66,7 @@ class PoeditParser {
|
||||
}
|
||||
|
||||
public function toJSON($outputFilename, $varName = 'l10n') {
|
||||
$str = "$varName = " . $this->getJSON();
|
||||
$str = "$varName = " . $this->getJSON() . ";";
|
||||
return file_put_contents($outputFilename, $str) !== false;
|
||||
}
|
||||
|
||||
@@ -80,4 +80,4 @@ class PoeditParser {
|
||||
}
|
||||
|
||||
|
||||
?>
|
||||
?>
|
||||
|
Reference in New Issue
Block a user