From: Frank Harrison Date: Mon, 25 Apr 2022 14:24:00 +0000 (+0100) Subject: chore(docs/typo): Fixes a minor typo in a function comment X-Git-Tag: v2.10.2~5 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3ae540289aa4669f0cab079876b05863abee0f0d;p=thirdparty%2Fbabel.git chore(docs/typo): Fixes a minor typo in a function comment --- diff --git a/babel/core.py b/babel/core.py index fe530900..67387ac1 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'])