-
Notifications
You must be signed in to change notification settings - Fork 40
/
Copy pathlanguage_data.h
71 lines (69 loc) · 2.69 KB
/
language_data.h
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
// https://msdn.microsoft.com/en-us/library/cc233982.aspx
// language_tag is from above link.
// You must use strict format of json format
const nlohmann::json language_alias = u8R"json({
"zh-Hans": "zh-CN",
"zh": "zh-CN",
"zh-SG": "zh-CN"
})json"_json;
const nlohmann::json language_data = u8R"json({
"en-US": {
"Hide All": "Hide All",
"Disable All": "Disable All",
"Enable All": "Enable All",
"Show All": "Show All",
"Restart All":"Restart All",
"All": "All",
"Start on Boot": "Start on Boot",
"Elevate": "Elevate",
"Show": "Show",
"Hide": "Hide",
"Reload": "Reload",
"Home": "Home",
"About": "About",
"Help": "Help",
"Exit": "Exit",
"<None>": "<None>",
"Set IE Proxy": "Set IE Proxy",
"Daemon": "Daemon",
"Enable": "Enable",
"Disable": "Disable",
"Restart Command": "Restart Command",
"Run As Administrator": "Run As Administrator",
"Could not AssignProcessToObject. If not show up, you maybe need to kill the process by TaskManager.": "Could not AssignProcessToObject. If not show up, you maybe need to kill the process by TaskManager.",
"CommandTrayHost Started,Click Tray icon to Hide/Show Console.": "CommandTrayHost Started,Click Tray icon to Hide/Show Console.",
"Clear cache?": "Clear cache?",
"You just edit config.json!\n\nChoose Yes to clear cache\n\nChoose No to keep expired cache.":"You just edit config.json!\n\nChoose Yes to clear cache\n\nChoose No to keep expired cache.",
"\n\nChoose Cancel to do nothing": "\n\nChoose Cancel to do nothing",
"Check for Updates...": "Check for Updates...",
"New version found! Download?\n\n": "New version found! Download?\n\n"
}
})json"_json;
/************************************************************************/
/* Example:
*
* ,"test-CN": {
"Hide All": "隐藏全部test",
"Disable All": "全部禁用test",
"Enable All": "全部启动test",
"Show All": "全部显示test",
"All": "全部test",
"Start on Boot": "开机启动test",
"Elevate": "提权test",
"Show": "显示test",
"Hide": "隐藏test",
"Reload": "重启命令test",
"Home": "主页test",
"About": "关于test",
"Help": "帮助test",
"Exit": "退出test",
"<None>": "<None>",
"Set IE Proxy": "设置IE代理test",
"Daemon": "应用test",
"Enable": "启用test",
"Disable": "停用test",
"Restart Command": "重启命令test",
"Run As Administrator": "管理员运行test"
} */
/************************************************************************/