summaryrefslogtreecommitdiff
path: root/sphinx/config.py
diff options
context:
space:
mode:
Diffstat (limited to 'sphinx/config.py')
-rw-r--r--sphinx/config.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/sphinx/config.py b/sphinx/config.py
index 15337e924..8c6dcfe32 100644
--- a/sphinx/config.py
+++ b/sphinx/config.py
@@ -164,13 +164,13 @@ class Config:
confdir)
namespace = eval_config_file(filename, tags)
- # Note: Old sphinx projects have been configured as "langugae = None" because
+ # Note: Old sphinx projects have been configured as "language = None" because
# sphinx-quickstart previously generated this by default.
# To keep compatibility, they should be fallback to 'en' for a while
# (This conversion should not be removed before 2025-01-01).
if namespace.get("language", ...) is None:
logger.warning(__("Invalid configuration value found: 'language = None'. "
- "Update your configuration to a valid langauge code. "
+ "Update your configuration to a valid language code. "
"Falling back to 'en' (English)."))
namespace["language"] = "en"