Skip to content

Commit 47c7bea

Browse files
authored
spelling_language clarification: ss, TT are two-character codes (#54)
We do not support the ISO numeric or three-letter codes. Fixes #48
1 parent a683d80 commit 47c7bea

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

conf.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@
2121
copyright = '2019--2024, EditorConfig Team'
2222
author = 'EditorConfig Team'
2323

24-
version = '0.17.0'
25-
release = '0.17.0'
24+
version = '0.17.1'
25+
release = '0.17.1'
2626

2727
# -- General configuration ---------------------------------------------------
2828

index.rst

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,9 @@ and the supported values associated with them:
238238
Only one language can be specified. There is no default value.
239239

240240
The format is ``ss`` or ``ss-TT``, where ``ss`` is an `ISO 639`_
241-
language code and ``TT`` is an `ISO 3166`_ territory identifier.
241+
two-letter language code and ``TT`` is an `ISO 3166`_ two-letter
242+
territory identifier. (Therefore ``spelling_language`` must be
243+
either two or five characters long.)
242244

243245
**Note:** This property does **not** specify the charset to be used.
244246
The charset is in separate property ``charset``.

0 commit comments

Comments
 (0)