Skip to content

Commit 3358be2

Browse files
committed
Spelling (language)
1 parent 113e1d8 commit 3358be2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

sphinx/config.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -164,13 +164,13 @@ def read(cls, confdir: str, overrides: Dict = None, tags: Tags = None) -> "Confi
164164
confdir)
165165
namespace = eval_config_file(filename, tags)
166166

167-
# Note: Old sphinx projects have been configured as "langugae = None" because
167+
# Note: Old sphinx projects have been configured as "language = None" because
168168
# sphinx-quickstart previously generated this by default.
169169
# To keep compatibility, they should be fallback to 'en' for a while
170170
# (This conversion should not be removed before 2025-01-01).
171171
if namespace.get("language", ...) is None:
172172
logger.warning(__("Invalid configuration value found: 'language = None'. "
173-
"Update your configuration to a valid langauge code. "
173+
"Update your configuration to a valid language code. "
174174
"Falling back to 'en' (English)."))
175175
namespace["language"] = "en"
176176

0 commit comments

Comments
 (0)