From 04d49b778cf83b74e5070d3ef4f817b4b11bccf5 Mon Sep 17 00:00:00 2001 From: Chris White Date: Sun, 15 Sep 2024 16:28:03 -0400 Subject: [PATCH] spelling_language clarification: ss, TT are two-character codes We do not support the ISO numeric or three-letter codes. Fixes #48 --- conf.py | 4 ++-- index.rst | 4 +++- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/conf.py b/conf.py index 67c77b7..4ca4da9 100644 --- a/conf.py +++ b/conf.py @@ -21,8 +21,8 @@ copyright = '2019--2024, EditorConfig Team' author = 'EditorConfig Team' -version = '0.16.0' -release = '0.16.0' +version = '0.16.1' +release = '0.16.1' # -- General configuration --------------------------------------------------- diff --git a/index.rst b/index.rst index 74f1120..9abf5fa 100644 --- a/index.rst +++ b/index.rst @@ -229,7 +229,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``.