Skip to content

Commit

Permalink
spelling_language clarification: ss, TT are two-character codes (#54)
Browse files Browse the repository at this point in the history
We do not support the ISO numeric or three-letter codes.

Fixes #48
  • Loading branch information
cxw42 authored Sep 16, 2024
1 parent a683d80 commit 47c7bea
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
4 changes: 2 additions & 2 deletions conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@
copyright = '2019--2024, EditorConfig Team'
author = 'EditorConfig Team'

version = '0.17.0'
release = '0.17.0'
version = '0.17.1'
release = '0.17.1'

# -- General configuration ---------------------------------------------------

Expand Down
4 changes: 3 additions & 1 deletion index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,9 @@ and the supported values associated with them:
Only one language can be specified. There is no default value.

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

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

0 comments on commit 47c7bea

Please sign in to comment.