Skip to content

Commit

Permalink
feat(translations): Traditional Chinese translation files added (#28169)
Browse files Browse the repository at this point in the history
  • Loading branch information
bestlong authored Apr 25, 2024
1 parent 6cf681d commit 4afeabe
Show file tree
Hide file tree
Showing 4 changed files with 25,701 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/labeler.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,11 @@
- any-glob-to-any-file:
- 'superset/translations/zh/**'

"i18n:traditional-chinese":
- changed-files:
- any-glob-to-any-file:
- 'superset/translations/zh_TW/**'

"i18n:dutch":
- changed-files:
- any-glob-to-any-file:
Expand Down
1 change: 1 addition & 0 deletions superset/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -363,6 +363,7 @@ def _try_json_readsha(filepath: str, length: int) -> str | None:
"it": {"flag": "it", "name": "Italian"},
"fr": {"flag": "fr", "name": "French"},
"zh": {"flag": "cn", "name": "Chinese"},
"zh_TW": {"flag": "tw", "name": "Traditional Chinese"},
"ja": {"flag": "jp", "name": "Japanese"},
"de": {"flag": "de", "name": "German"},
"pt": {"flag": "pt", "name": "Portuguese"},
Expand Down
Loading

0 comments on commit 4afeabe

Please sign in to comment.