Skip to content

Commit 1993df7

Browse files
committed
Fill out the LOCALIZED_RACES lookup in contants.py
This still needs some work. In particular, some languages are either missing or not associated with the correct set and a couple sets are of an unidentified language.
1 parent a07ed41 commit 1993df7

File tree

1 file changed

+34
-18
lines changed

1 file changed

+34
-18
lines changed

sc2reader/constants.py

Lines changed: 34 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -3,38 +3,54 @@
33
# These are found in Repack-MPQ/fileset.{locale}#Mods#Core.SC2Mod#{locale}.SC2Data/LocalizedData/Editor/EditorCategoryStrings.txt
44
# EDSTR_CATEGORY_Race
55
# EDSTR_PLAYERPROPS_RACE
6-
# question mark means not confirmed data
6+
# The ??? means that I don't know what language it is.
7+
# If multiple languages use the same set they should be comma separated
78
LOCALIZED_RACES = {
89

9-
# deDE
10-
'Terraner': 'Terran',
1110
# enUS
1211
'Terran': 'Terran',
1312
'Protoss': 'Protoss',
1413
'Zerg': 'Zerg',
15-
# esES
16-
# esMX
17-
# frFR
18-
# itIT
19-
14+
15+
# ruRU
16+
'Терран': 'Terran',
17+
'Протосс': 'Protoss',
18+
'Зерг': 'Zerg',
19+
2020
# koKR
21-
'프로토스': 'Protoss',
2221
'테란': 'Terran',
22+
'프로토스': 'Protoss',
2323
'저그': 'Zerg',
2424

25+
# ???
26+
'Terrani': 'Terran',
27+
'Protosi': 'Protoss',
28+
'Zergi': 'Zerg',
29+
30+
# ???
31+
'人类': 'Terran',
32+
'星灵': 'Protoss',
33+
'异虫': 'Zerg',
34+
35+
# ???
36+
'人類': 'Terran'
37+
'神族': 'Protoss',
38+
'蟲族': 'Zerg',
39+
40+
# ???
41+
'Terrano': 'Terran',
42+
43+
# deDE
44+
'Terraner': 'Terran',
45+
46+
# esES
47+
# esMX
48+
# frFR
49+
# itIT
2550
# plPL
2651
# ptBR
27-
# ruRU
28-
'Протосс': 'Protoss',
29-
'Терран': 'Terran',
30-
'Зерг': 'Zerg',
3152
# zhCN
3253
# zhTW
33-
34-
# Uncategorized
35-
'神族': 'Protoss',
36-
'蟲族': 'Zerg',
37-
'人類': 'Terran'
3854
}
3955

4056
#

0 commit comments

Comments
 (0)