summaryrefslogtreecommitdiff
path: root/tools/inc/lib/jsgettext/PoeditParser.php
diff options
context:
space:
mode:
authorczaks <marcin@6irc.net>2013-07-03 00:50:43 -0400
committerMichael Foster <savetheinternet@tinyboard.org>2013-07-31 15:58:45 -0400
commit291a0f02cb8a87f05a5cf19c26ad95af528e53de (patch)
treecc3255d32a5be5d94312b6ea095ca8c79a54a11a /tools/inc/lib/jsgettext/PoeditParser.php
parent73fb2cfe5531a74a6368ed653ef1026774febcd0 (diff)
tools/inc/lib/jsgettext/: misc fixes
Diffstat (limited to 'tools/inc/lib/jsgettext/PoeditParser.php')
-rw-r--r--tools/inc/lib/jsgettext/PoeditParser.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/inc/lib/jsgettext/PoeditParser.php b/tools/inc/lib/jsgettext/PoeditParser.php
index 5ed0ac00..eebd816e 100644
--- a/tools/inc/lib/jsgettext/PoeditParser.php
+++ b/tools/inc/lib/jsgettext/PoeditParser.php
@@ -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 {
}
-?> \ No newline at end of file
+?>