diff options
author | Cash Costello <cash.costello@gmail.com> | 2012-07-06 04:36:25 -0700 |
---|---|---|
committer | Cash Costello <cash.costello@gmail.com> | 2012-07-06 04:36:25 -0700 |
commit | 3cf836cb73e82ba20ff5066df703ed25d5822b20 (patch) | |
tree | d926b0be4705730677edc36368f2975242a47a3e /mod/tinymce/views/default/js/tinymce.php | |
parent | b2f46500941a2093734e7672a4de79aabd95b9fc (diff) | |
parent | 8e3a2760ef88077aa04dc1905f5bce0348bdb3d7 (diff) | |
download | elgg-3cf836cb73e82ba20ff5066df703ed25d5822b20.tar.gz elgg-3cf836cb73e82ba20ff5066df703ed25d5822b20.tar.bz2 |
Merge pull request #294 from sembrestels/tiny18n
Fixes #1852. TinyMCE i18n
Diffstat (limited to 'mod/tinymce/views/default/js/tinymce.php')
-rw-r--r-- | mod/tinymce/views/default/js/tinymce.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/mod/tinymce/views/default/js/tinymce.php b/mod/tinymce/views/default/js/tinymce.php index e6e2865a5..51e99c223 100644 --- a/mod/tinymce/views/default/js/tinymce.php +++ b/mod/tinymce/views/default/js/tinymce.php @@ -38,6 +38,7 @@ elgg.tinymce.init = function() { mode : "specific_textareas", editor_selector : "elgg-input-longtext", theme : "advanced", + language : "<?php echo tinymce_get_site_language(); ?>", plugins : "lists,spellchecker,autosave,fullscreen,paste", relative_urls : false, remove_script_host : false, @@ -86,4 +87,4 @@ elgg.tinymce.init = function() { } } -elgg.register_hook_handler('init', 'system', elgg.tinymce.init);
\ No newline at end of file +elgg.register_hook_handler('init', 'system', elgg.tinymce.init); |