]> git.ipfire.org Git - thirdparty/babel.git/commitdiff
chore(docs/typo): Fixes a minor typo in a function comment
authorFrank Harrison <frank@doublethefish.com>
Mon, 25 Apr 2022 14:24:00 +0000 (15:24 +0100)
committerAarni Koskela <akx@iki.fi>
Tue, 26 Apr 2022 05:29:44 +0000 (08:29 +0300)
babel/core.py

index fe5309004ab0f81ac361751fdca8bd7510d9b7d1..67387ac1962b4e92ebf27bb3098b5adb41670090 100644 (file)
@@ -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'])