<commit_before>{* displays a cell with the languages of the translation set *}
	{if isset($trads) && (count($trads) > 1 || $trads[0].langName)}
		{if $td eq 'y'}<td style="vertical-align:top;text-align: left; width:42px;">{/if}
		{if isset($verbose) && $verbose eq 'y'}{tr}The main text of this page is available in the following languages{/tr}:{/if}
			{if isset($type) && $type == 'article'}
				<form action="tiki-read_article.php" method="get">
				<select name="articleId" onchange="this.form.submit()">
					{section name=i loop=$trads}
					<option value="{$trads[i].objId|escape}">{$trads[i].langName|escape}</option>
					{/section}
				</select>
				</form>
			{else} {* get method to have the param in the url *}
				{jq}
				{{if $beingStaged == 'y'}
					var page_to_translate = '{$approvedPageName|escape:"quotes"}';
				{else}
					var page_to_translate = '{$page|escape:"quotes"}';
				{/if}}
				function quick_switch_language( element )
				{
					var index = element.selectedIndex;
					var option = element.options[index];

					if( option.value == "-" )
						return;
					else if( option.value == "_translate_" ) {
						element.form.action = "tiki-edit_translation.php";<commit_msg>[FIX] {jq notonready=true} for "normal" JS (makes language select dropdown work again)<commit_after>{* displays a cell with the languages of the translation set *}
	{if isset($trads) && (count($trads) > 1 || $trads[0].langName)}
		{if $td eq 'y'}<td style="vertical-align:top;text-align: left; width:42px;">{/if}
		{if isset($verbose) && $verbose eq 'y'}{tr}The main text of this page is available in the following languages{/tr}:{/if}
			{if isset($type) && $type == 'article'}
				<form action="tiki-read_article.php" method="get">
				<select name="articleId" onchange="this.form.submit()">
					{section name=i loop=$trads}
					<option value="{$trads[i].objId|escape}">{$trads[i].langName|escape}</option>
					{/section}
				</select>
				</form>
			{else} {* get method to have the param in the url *}
				{jq notonready=true}
				{{if $beingStaged == 'y'}
					var page_to_translate = '{$approvedPageName|escape:"quotes"}';
				{else}
					var page_to_translate = '{$page|escape:"quotes"}';
				{/if}}
				function quick_switch_language( element )
				{
					var index = element.selectedIndex;
					var option = element.options[index];

					if( option.value == "-" )
						return;
					else if( option.value == "_translate_" ) {
						element.form.action = "tiki-edit_translation.php";
{'fraction_non_alphanumeric': 0.17687074829931973, 'fraction_numerical': 0.003201280512204882, 'mean_word_length': 3.798464491362764, 'pattern_counts': {'":': 0, '<': 17, '<?xml version=': 0, '>': 19, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7124235', 'n_tokens_mistral': 1014, 'n_tokens_neox': 834, 'n_words': 205}