<commit_before><!Doctype html>
<html>
<head>
	<meta charset="utf-8">
	<title>Impressum &middot; hutt.io</title>
	<link rel="stylesheet" href="css/style.css" />
	<link rel="stylesheet" href="css/font-awesome.css" />
</head>
<body>
	<div class="container">
		<h1>Impressum</h1>
		<h2>Angaben gemäß § 5 TMG:</h2>
		<NAME><br />
		c/o <NAME><br/>
		Pariser Platz 4a<br/>
		10117 Berlin<br/>
		<h2>Kontakt:</h2>
		E-Mail: <img src="css/mail.png" alt="E-Mail-Adresse" /><br />
		PGP: <a href="https://hutt.io/pubkey.asc">C59B 6CD5 E980 6365 A69C 9046 9BAD 2EA1 5BCF 1DFF</a><br />
		<a href="/">&laquo; Zurück</a>
	</div>
</body>
</html><commit_msg>added translation for imprint, linked contact page<commit_after><!Doctype html>
<html>
<head>
	<meta charset="utf-8" />
	<title>Impressum &middot; hutt.io</title>
	<meta name="robots" content="noindex,nofollow" />
	<link rel="stylesheet" href="css/style.css" />
	<link rel="stylesheet" href="css/font-awesome.css" />
</head>
<body>
	<!-- i18n - lang switch buttons -->
	<div id="langSwitch">
		<button id="de-btn">DE</button>
		<button id="en-btn">EN</button>
	</div>
	<div class="container">
		<h1>Impressum</h1>
		<h2>Angaben gemäß § 5 TMG:</h2>
		<NAME><br />
		c/o <NAME><br/>
		Pariser Platz 4a<br/>
		10117 Berlin<br/>
		<h2 data-translatable>Kontakt: // Contact:</h2>
		E-Mail: <img src="css/mail.png" alt="E-Mail-Adresse" /><br />
		PGP: <a href="https://hutt.io/pubkey.asc">C59B 6CD5 E980 6365 A69C 9046 9BAD 2EA1 5BCF 1DFF</a>
		<br />
		<p data-translatable>
		<span>Du kannst auch <a href="/contact.html" style="text-decoration: underline;">auf anderem Weg Kontakt mit mir aufnehmen</a>.</span>
		<span>There're several ways to <a href="/contact.html" style="text-decoration: underline;">get in touch with me</a>.</span>
		</p>
		<br />
		<a href="/">&laquo; Zurück</a>
	</div>
	<!-- i18n -->
	<script type="text/javascript" src="js/i18n.js"></script>
    <script>
		//i18n init
		var deButton = document.getElementById('de-btn'),
			enButton = document.getElementById('en-btn'),
			languages = ['de', 'en'],
			defaultLanguage = 'de',
			currentLanguage = 'de'
			i18n = domI18n({
				selector: '[data-translatable]',
				separator: ' // ',
				languages: languages,
				defaultLanguage: defaultLanguage,
				currentLanguage: currentLanguage
			});

		// function to style language buttons based on currentLanguage
		function toggleLangStyles(id) {
			var i, e,
				ancestor = document.getElementById('langSwitch'),
    			descendents = ancestor.getElementsByTagName('button');
    		for (i = 0; i < descendents.length; i++) {
    			e = descendents[i];
    			if(e.id != id){
    				e.style.border = 'dotted #000 1px';
    			}
    		}
			document.getElementById(id).style.border = 'solid #000 1px';
		}

		// define actions for language buttons
		deButton.onclick = function () {
			i18n.changeLanguage('de');
			toggleLangStyles(deButton.id);
		};

		enButton.onclick = function () {
			i18n.changeLanguage('en');
			toggleLangStyles(enButton.id);
		};

		// style border of current language's button
		toggleLangStyles(defaultLanguage + '-btn');
    </script>
	<!-- Piwik -->
	<script type="text/javascript" src="js/piwik.js"></script>
	<!-- Piwik-Fallback -->
	<noscript><p><img src="https://piwik.jh0.eu/piwik.php?idsite=3" style="border:0;" alt="" /></p></noscript>
	<!-- Was ist das für 1 Life? -->
</body>
</html>
{'fraction_non_alphanumeric': 0.19562000591891093, 'fraction_numerical': 0.029890500147972773, 'mean_word_length': 3.6749654218533885, 'pattern_counts': {'":': 0, '<': 104, '<?xml version=': 0, '>': 103, 'https://': 3, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3546972', 'n_tokens_mistral': 1444, 'n_tokens_neox': 1287, 'n_words': 268}