Skip to content

Commit ea6e7c4

Browse files
authored
Merge pull request #109 from jrycw/lang-zh_hant
feat: support Traditional Chinese (zh-Hant) language code
2 parents 8ead09b + b551f77 commit ea6e7c4

File tree

4 files changed

+94
-42
lines changed

4 files changed

+94
-42
lines changed

pointblank/_constants.py

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,22 @@
152152
"databricks": {"background": "#FF3621", "text": "#FFFFFF", "label": "Databricks"},
153153
}
154154

155-
REPORTING_LANGUAGES = ["en", "fr", "de", "it", "es", "pt", "tr", "zh", "ru", "pl", "da", "sv", "nl"]
155+
REPORTING_LANGUAGES = [
156+
"en",
157+
"fr",
158+
"de",
159+
"it",
160+
"es",
161+
"pt",
162+
"tr",
163+
"zh-Hans",
164+
"zh-Hant",
165+
"ru",
166+
"pl",
167+
"da",
168+
"sv",
169+
"nl",
170+
]
156171

157172
SEVERITY_LEVEL_COLORS = {
158173
"warning": "#AAAAAA",

0 commit comments

Comments
 (0)