summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrank Harrison <frank@doublethefish.com>2022-04-25 15:24:00 +0100
committerAarni Koskela <akx@iki.fi>2022-04-26 08:29:44 +0300
commit3ae540289aa4669f0cab079876b05863abee0f0d (patch)
tree11750781e44c5e3312fd61c5b184caa8a06c1d71
parent4fcc285b0bd9221d8f421adc1ad4154262110d2d (diff)
downloadbabel-3ae540289aa4669f0cab079876b05863abee0f0d.tar.gz
chore(docs/typo): Fixes a minor typo in a function comment
-rw-r--r--babel/core.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/babel/core.py b/babel/core.py
index fe53090..67387ac 100644
--- a/babel/core.py
+++ b/babel/core.py
@@ -999,7 +999,7 @@ def negotiate_locale(preferred, available, sep='_', aliases=LOCALE_ALIASES):
user to easily add the territory. So while you may prefer using qualified
locale identifiers in your web-application, they would not normally match
the language-only locale sent by such browsers. To workaround that, this
- function uses a default mapping of commonly used langauge-only locale
+ function uses a default mapping of commonly used language-only locale
identifiers to identifiers including the territory:
>>> negotiate_locale(['ja', 'en_US'], ['ja_JP', 'en_US'])