<commit_before><?php
/*-------------------------------------------------------+
| PHP-Fusion Content Management System
| Copyright (C) PHP-Fusion Inc
| http://www.php-fusion.co.uk/
+--------------------------------------------------------+
| Filename: translate_include.php
| Author: <NAME> (Wooya)
+--------------------------------------------------------+
| This program is released as free software under the
| Affero GPL license. You can redistribute it and/or
| modify it under the terms of this license which you
| can read by viewing the included agpl.txt or online
| at www.gnu.org/licenses/agpl.html. Removal of this
| copyright header is strictly prohibited without
| written permission from the original author(s).
+--------------------------------------------------------*/
if (!defined("IN_FUSION")) {
	die("Denied");
	exit;
}
function translate_lang_names($language) {
	$translated_langs = array(
						"Chinese" => '中文',
						"Danish" => "Dansk",
						"Dutch" => "Dutch",
						"English" => "English",
						"French" => "Francais",
						"German" => "Deutsch",
						"Hungarian" => "Magyar",
						"Italian" => "Italiano",
						"Lithuanian" => "Lithuanian",
						"Malay"=>"Malay",
						"Persian" => "Persian",
						"Polish" => "Polski",
					  	"Russian" => "Russkij",
						"Spanish" => "Espanol",
						"Swedish" => "Svenska",
						"Turkish" => "Türkiye",
						"Ukrainian" => "Ukrayin'ska",
						"Norwegian" => "Norsk"
						);
	if ($language != '') {
		if ($translated_langs[$language] != '') {
			return $translated_langs[$language];
		} else {
			return $language;
		}
	} else {
		return $language;
	}
}

function translate_country_names($country) {
	$translated_countries = array("Hungary" => "Magyarország", "Poland" => "Polska", "Italy" => "Italia",
								  "Germany" => "Deutchland");
	if ($translated_countries[$country] != '') {
		return $translated_countries[$country];
	} else {
		return $country;
	}
}<commit_msg>Update again with native unicode<commit_after><?php
/*-------------------------------------------------------+
| PHP-Fusion Content Management System
| Copyright (C) PHP-Fusion Inc
| http://www.php-fusion.co.uk/
+--------------------------------------------------------+
| Filename: translate_include.php
| Author: <NAME> (Wooya)
+--------------------------------------------------------+
| This program is released as free software under the
| Affero GPL license. You can redistribute it and/or
| modify it under the terms of this license which you
| can read by viewing the included agpl.txt or online
| at www.gnu.org/licenses/agpl.html. Removal of this
| copyright header is strictly prohibited without
| written permission from the original author(s).
+--------------------------------------------------------*/
if (!defined("IN_FUSION")) {
	die("Denied");
	exit;
}
function translate_lang_names($language) {
	$translated_langs = array(
						"Chinese" => '中文',
						"Danish" => "Dansk",
						"Dutch" => "Dutch",
						"English" => "English",
						"French" => "Francais",
						"German" => "Deutsch",
						"Hungarian" => "Magyar",
						"Italian" => "Italiano",
						"Lithuanian" => "Lithuanian",
						"Malay"=>"Malay",
						"Persian" => "Persian",
						"Polish" => "Polski",
					  	"Russian" => "Русский",
						"Spanish" => "Espanol",
						"Swedish" => "Svenska",
						"Turkish" => "Türkiye",
						"Ukrainian" => "Українська",
						"Norwegian" => "Norsk"
						);
	if ($language != '') {
		if ($translated_langs[$language] != '') {
			return $translated_langs[$language];
		} else {
			return $language;
		}
	} else {
		return $language;
	}
}

function translate_country_names($country) {
	$translated_countries = array("Hungary" => "Magyarország", "Poland" => "Polska", "Italy" => "Italia",
								  "Germany" => "Deutchland");
	if ($translated_countries[$country] != '') {
		return $translated_countries[$country];
	} else {
		return $country;
	}
}
{'fraction_non_alphanumeric': 0.2668195718654434, 'fraction_numerical': 0.0, 'mean_word_length': 2.2357790601813683, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 49, 'https://': 0, 'lorem ipsum': 0, 'www.': 4, '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': '5084114', 'n_tokens_mistral': 1461, 'n_tokens_neox': 1190, 'n_words': 286}