Skip to content

Commit

Permalink
Fix typos in docstring
Browse files Browse the repository at this point in the history
  • Loading branch information
nvdaes committed Dec 21, 2024
1 parent 4f8512a commit 6ac293c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions _validate/manifestLoader.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,8 @@ def getAddonManifestLocalizations(

def normalizeLanguage(lang: str) -> str:
"""
Normalizes a language-dialect string in to a standard form we can deal with.
Converts any dash to underline, and makes sure that language is lowercase and dialect is upercase.
Normalizes a language-dialect string into a standard form we can deal with.
Converts any dash to underline, and makes sure that language is lowercase and dialect is uppercase.
Based on NVDA`s `languageHandler` module.
:param lang: A language code.
:return: A normalized language code.
Expand Down

0 comments on commit 6ac293c

Please sign in to comment.