Skip to content

Commit

Permalink
fix #58
Browse files Browse the repository at this point in the history
  • Loading branch information
vpoulailleau committed Feb 2, 2021
1 parent cb7dd30 commit a628ad2
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions padpo/checkers/glossary.py
Expand Up @@ -161,7 +161,7 @@ def check_item(self, item: PoItem):
}

# https://github.com/python/python-docs-fr/blob/
# ccc2e5863e8d814c3ec9463be70db6bbaf611462/glossary.po
# 25e6bb0dc12c0c22c1053e5c0861a163a84b9c02/glossary.po
glossary.update(
{
"abstract base class": ["classe de base abstraite"],
Expand Down Expand Up @@ -206,6 +206,10 @@ def check_item(self, item: PoItem):
"descriptors": ["descripteurs"],
"dictionary": ["dictionnaire"],
"dictionaries": ["dictionnaires"],
"dictionary comprehension": [
"dictionnaire en compréhension",
"dictionnaire en intention",
],
"dictionary view": ["vue de dictionnaire"],
"dictionary views": ["vues de dictionnaire"],
"docstring": ["*docstring*", "chaîne de documentation"],
Expand Down Expand Up @@ -237,6 +241,8 @@ def check_item(self, item: PoItem):
"generator expressions": ["expressions génératrices"],
"generic function": ["fonction générique"],
"generic functions": ["fonctions génériques"],
"generic type": ["type générique"],
"generic types": ["types génériques"],
"GIL": ["GIL"],
"global interpreter lock": ["verrou global de l'interpréteur"],
"hash-based pyc": ["*pyc* utilisant le hachage"],
Expand All @@ -262,7 +268,7 @@ def check_item(self, item: PoItem):
"lambda": ["lambda"],
"list": ["*list*", "liste"],
"lists": ["listes"],
"list comprehension": ["liste en compréhension", "liste en intension"],
"list comprehension": ["liste en compréhension", "liste en intention"],
"loader": ["chargeur"],
"loaders": ["chargeurs"],
"magic method": ["méthode magique"],
Expand Down Expand Up @@ -327,6 +333,7 @@ def check_item(self, item: PoItem):
"__slots__": ["``__slots__``"],
"sequence": ["séquence"],
"sequences": ["séquences"],
"set comprehension": ["ensemble en compréhension", "ensemble en intention"],
"single dispatch": ["distribution simple"],
"slice": ["tranche"],
"slices": ["tranches"],
Expand Down

0 comments on commit a628ad2

Please sign in to comment.