-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathLocalizationMap.py
More file actions
74 lines (61 loc) · 1.54 KB
/
Copy pathLocalizationMap.py
File metadata and controls
74 lines (61 loc) · 1.54 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
languages = {
'English': 'EN',
'French': 'FR',
'German': 'DE',
'Polish': 'PL',
'Ukrainian': 'UA',
'Italian': 'IT',
'Turkish': 'TR',
'Spanish': 'ES',
'LatinSpanish': 'LAS',
'Portuguese': 'PT',
'BrazilianPortuguese': 'PT-BR',
'Chinese': 'ZH-HANS',
'ChineseTraditional': 'ZH-HANT',
'Russian': 'RU'
}
sorted_languages = dict(sorted(languages.items(), key=lambda x: (x[0] != 'English', x[1])))
languages = sorted_languages
# Future localization support
UI_TRANSLATIONS = {
'EN': {
'title': "Dice Mod Helper - Support me on Ko-Fi | SeanConnerX0 - {}",
'section_handles': "Handles and Folder Name(s)",
'folder_name': "Folder Name:",
'generate': "Generate",
'in_game_info': "In-Game Information",
'name': "Name:",
'description': "Description:",
'mod_uuid': "Mod UUID:",
'meta_info': "Meta Information",
'author': "Author:",
'mod_name': "Mod Name:",
'mod_description': "Mod Description:",
'output': "Output",
'output_directory': "Output Directory:",
'browse': "Browse",
'build': "Build",
'open_output_dir': "Open Output Directory",
'open_localization_dir': "Open Localization Directory",
'convert_xml_loca': "Convert XML to .loca",
'open_dds_dir': "Open .DDS Directory",
},
'FR': {
},
'DE': {
},
'PL': {
},
'UK': {
},
'IT': {
},
'TR': {
},
'PT': {
},
'ZH': {
},
'RU': {
}
}