Browse Source

Typo

pull/176/head
Oliverpool 9 years ago
parent
commit
13738f41b9
  1. 4
      patacrep/latex/__init__.py

4
patacrep/latex/__init__.py

@ -90,7 +90,7 @@ class UnknownLanguage(Exception):
def checklanguage(lang): def checklanguage(lang):
"""Check that `lang` is a known language. """Check that `lang` is a known language.
Raise an :class:`UnknownLanguage` excetipn if not. Raise an :class:`UnknownLanguage` exception if not.
""" """
# Exact match # Exact match
if lang.lower() in BABEL_LANGUAGES: if lang.lower() in BABEL_LANGUAGES:
@ -118,7 +118,7 @@ def checklanguage(lang):
fallback="en_us", fallback="en_us",
message=( message=(
"Unknown language code '{}' (supported: {}). Using " "Unknown language code '{}' (supported: {}). Using "
"default 'english' instead." "default 'en_us' instead."
).format( ).format(
lang, lang,
available available

Loading…
Cancel
Save