diff options
Diffstat (limited to 'core/Command/L10n/CreateJs.php')
-rw-r--r-- | core/Command/L10n/CreateJs.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/Command/L10n/CreateJs.php b/core/Command/L10n/CreateJs.php index 9c14490b97f..d060f166b85 100644 --- a/core/Command/L10n/CreateJs.php +++ b/core/Command/L10n/CreateJs.php @@ -105,11 +105,11 @@ class CreateJs extends Command implements CompletionAwareInterface { $jsTrans = array(); foreach ($translations as $id => $val) { if (is_array($val)) { - $val = '[ ' . join(',', $val) . ']'; + $val = '[ ' . implode(',', $val) . ']'; } $jsTrans[] = "\"$id\" : \"$val\""; } - $content .= join(",\n ", $jsTrans); + $content .= implode(",\n ", $jsTrans); $content .= "\n},\n\"$plurals\");\n"; file_put_contents($jsFile, $content); |