<commit_before><script type="text/javascript" src="{{ request.META.SCRIPT_NAME}}/site_static/js/tiny_mce/jquery.tinymce.js"></script>
<script type="text/javascript">
        $(function() {
                window.EVIL_TINY_OPTIONS = {
	                //mode: 'specific_textarea',
                        mode: 'exact', 

	                {% if request.LANGUAGE_CODE == "ru" %}
   	                  'language': 'ru',
                        {% endif %}

	                {% if request.LANGUAGE_CODE == "es" %}
   	                  'language': 'es',
                        {% endif %}

	                {% if request.LANGUAGE_CODE == "sq" %}
   	                  'language': 'sq',
                        {% endif %}

                        // Location of TinyMCE script
                        script_url : '{{ request.META.SCRIPT_NAME}}/site_static/js/tiny_mce/tiny_mce.js',

                        // General options
                        theme : "advanced",
                        plugins : "pagebreak,style,layer,table,save,advhr,advimage,advlink,emotions,iespell,inlinepopups,insertdatetime,preview,media,searchreplace,print,contextmenu,paste,directionality,fullscreen,noneditable,visualchars,nonbreaking,xhtmlxtras,template,bookilink,bookiimage,bookimessage,bookifootnotes,bookicomments,booki",

                        // Theme options
                        theme_advanced_buttons1 : "undo,redo,|,cut,copy,paste,|,search,replace,|,bold,italic,underline,strikethrough,|,bullist,numlist,|,justifyleft,justifycenter,justifyright,justifyfull,|,bookilink,unlink,anchor,bookiimage,|,bookiadv",
                        theme_advanced_buttons2 : "pastetext,pasteword,|,formatselect,fontselect,fontsizeselect,|,outdent,indent,blockquote,|,forecolor,backcolor,|,cleanup,code,fullscreen,bookifootnotes",
                        theme_advanced_buttons3 : "tablecontrols,|,hr,removeformat,visualaid,|,sub,sup,|,charmap,iespell,|,print,|,ltr,rtl,|,pagebreak,bookimessage",

                        theme_advanced_buttons4 : "",
                        theme_advanced_toolbar_location : "top",
                        theme_advanced_toolbar_align : "left",
                        theme_advanced_statusbar_location : "bottom",
                        theme_advanced_resizing : true,
	                theme_advanced_fonts :  "Arial=arial,helvetica,sans-serif;"+
	                                        "Courier New=courier new,courier;"+
	                                        "Georgia=georgia,palatino;"+
                                                "Tahoma=tahoma,arial,helvetica,sans-serif;"+
                                                "Times New Roman=times new roman,times;"+
                                                "Verdana=verdana,geneva;"+
                                                "Impact=impact,chicago;"+
                                                "Wingdings=wingdings,zapf dingbats",
<commit_msg>BK-519 TinyMCE should switch to Italian interface if user selected Italian interface<commit_after><script type="text/javascript" src="{{ request.META.SCRIPT_NAME}}/site_static/js/tiny_mce/jquery.tinymce.js"></script>
<script type="text/javascript">
        $(function() {
                window.EVIL_TINY_OPTIONS = {
	                //mode: 'specific_textarea',
                        mode: 'exact', 

	                {% if request.LANGUAGE_CODE == "ru" %}
   	                  'language': 'ru',
                        {% endif %}

	                {% if request.LANGUAGE_CODE == "es" %}
   	                  'language': 'es',
                        {% endif %}

	                {% if request.LANGUAGE_CODE == "sq" %}
   	                  'language': 'sq',
                        {% endif %}

	                {% if request.LANGUAGE_CODE == "it" %}
   	                  'language': 'it',
                        {% endif %}

                        // Location of TinyMCE script
                        script_url : '{{ request.META.SCRIPT_NAME}}/site_static/js/tiny_mce/tiny_mce.js',

                        // General options
                        theme : "advanced",
                        plugins : "pagebreak,style,layer,table,save,advhr,advimage,advlink,emotions,iespell,inlinepopups,insertdatetime,preview,media,searchreplace,print,contextmenu,paste,directionality,fullscreen,noneditable,visualchars,nonbreaking,xhtmlxtras,template,bookilink,bookiimage,bookimessage,bookifootnotes,bookicomments,booki",

                        // Theme options
                        theme_advanced_buttons1 : "undo,redo,|,cut,copy,paste,|,search,replace,|,bold,italic,underline,strikethrough,|,bullist,numlist,|,justifyleft,justifycenter,justifyright,justifyfull,|,bookilink,unlink,anchor,bookiimage,|,bookiadv",
                        theme_advanced_buttons2 : "pastetext,pasteword,|,formatselect,fontselect,fontsizeselect,|,outdent,indent,blockquote,|,forecolor,backcolor,|,cleanup,code,fullscreen,bookifootnotes",
                        theme_advanced_buttons3 : "tablecontrols,|,hr,removeformat,visualaid,|,sub,sup,|,charmap,iespell,|,print,|,ltr,rtl,|,pagebreak,bookimessage",

                        theme_advanced_buttons4 : "",
                        theme_advanced_toolbar_location : "top",
                        theme_advanced_toolbar_align : "left",
                        theme_advanced_statusbar_location : "bottom",
                        theme_advanced_resizing : true,
	                theme_advanced_fonts :  "Arial=arial,helvetica,sans-serif;"+
	                                        "Courier New=courier new,courier;"+
	                                        "Georgia=georgia,palatino;"+
                                                "Tahoma=tahoma,arial,helvetica,sans-serif;"+
                                                "Times New Roman=times new roman,times;"+
                                                "Verdana=verdana,geneva;"+
                                                "Impact=impact,chicago;"+
                                                "Wingdings=wingdings,zapf dingbats",

{'fraction_non_alphanumeric': 0.11180532719500165, 'fraction_numerical': 0.0018086155869779677, 'mean_word_length': 1.704757670075589, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 24, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3863637', 'n_tokens_mistral': 1755, 'n_tokens_neox': 1550, 'n_words': 167}