<commit_before>/*doc
---
title: il8n Helper
name: il8nHelper
category: Sass Utils | Mixins & Placeholders
---
*/

/*doc
---
title: il8n-only
name: onlyLnag
parent: il8nHelper
---
To set a style rule for one language only,
use `il8n-only`.

```
@include il8n-only('en') {
	text-transform: uppercase; // only upercasse for English
}

@include il8n-only('en', 'it') { ... } // multiple langs supported
```
*/
@mixin il8n-only($langs...) {
	@each $lang in $langs {
		$class: map-get($languageClasses, $lang);

		@if $class {
			.#{$class} & {
				@content;
			}
		}
	}
}

/*doc
---
title: il8n-exclude
name: excludeLang
parent: il8nHelper
---
To ensure a style rule is __not__ applied to
a language, use `il8n-exclude`.

```
@include il8n-exclude('de') {
	text-transform: uppercase; // uppercase every lang except for German
}

@include il8n-exclude('ja', 'es', 'de') { ... } // multiple langs supported
```
*/
@mixin il8n-exclude($langs...) {
	@each $lang in $langs {
		$class: map-get($languageClasses, $lang);

		@if $class {
			body:not(.#{$class}) & {
				@content;
			}
		}
	}
}
<commit_msg>fixes #89<commit_after>/*doc
---
title: il8n Helper
name: il8nHelper
category: Sass Utils | Mixins & Placeholders
---
*/

/*doc
---
title: il8n-only
name: onlyLnag
parent: il8nHelper
---
To set a style rule for one language only,
use `il8n-only`.

```
@include il8n-only('en') {
	text-transform: uppercase; // only upercasse for English
}

@include il8n-only('en', 'it') { ... } // multiple languages supported
```
*/
@mixin il8n-only($langs...) {
	@each $lang in $langs {
		$class: map-get($languageClasses, $lang);

		@if $class {
			.#{$class} & {
				@content;
			}
		}
	}
}

/*doc
---
title: il8n-exclude
name: excludeLang
parent: il8nHelper
---
To ensure a style rule is __not__ applied to
a language, use `il8n-exclude`.

```
@include il8n-exclude('de') {
	text-transform: uppercase; // uppercase every language except German
}

@include il8n-exclude('ja', 'es', 'de') { ... } // multiple languages supported
```
*/
@mixin il8n-exclude($langs...) {
	@each $lang in $langs {
		$class: map-get($languageClasses, $lang);

		@if $class {
			body:not(.#{$class}) & {
				@content;
			}
		}
	}
}

{'fraction_non_alphanumeric': 0.19041095890410958, 'fraction_numerical': 0.0136986301369863, 'mean_word_length': 3.1892925430210326, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '6774159', 'n_tokens_mistral': 904, 'n_tokens_neox': 834, 'n_words': 212}