Skip to content

Commit 42113af

Browse files
committed
Add simplified slugs for cs/hu/pt/tchinese
1 parent 3e8483a commit 42113af

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

msg2po/core.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -935,14 +935,18 @@ def language_slug(po_filename):
935935
A temporary hack until a better solution is found.
936936
"""
937937
slug_map = {
938+
"cs": "czech",
938939
"de": "german",
939940
"fr": "french",
940-
"pt_br": "portuguese",
941941
"it": "italian",
942+
"hu": "hungarian",
942943
"pl": "polish",
944+
"pt": "portuguese",
945+
"pt_br": "portuguese",
943946
"es": "spanish",
944947
"ru": "russian",
945948
"sv": "swedish",
949+
"tchinese": "tchinese",
946950
"uk": "ukrainian",
947951
"vi": "vietnamese",
948952
}

0 commit comments

Comments
 (0)