diff options
Diffstat (limited to 'views/default/js/languages.php')
-rw-r--r-- | views/default/js/languages.php | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/views/default/js/languages.php b/views/default/js/languages.php index 34367aaf1..009e8159c 100644 --- a/views/default/js/languages.php +++ b/views/default/js/languages.php @@ -1,9 +1,9 @@ -<?php
-/**
- * @uses $vars['language']
- */
-global $CONFIG;
-
-$language = $vars['language'];
-
+<?php +/** + * @uses $vars['language'] + */ +global $CONFIG; + +$language = $vars['language']; + echo json_encode($CONFIG->translations[$language]);
\ No newline at end of file |