-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathmessages.js
152 lines (152 loc) · 7.01 KB
/
messages.js
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
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
function contentUpdateById(id, message) {
let infoTitle = document.getElementById(id);
let messageContent = chrome.i18n.getMessage(message);
if (infoTitle === null) {
console.log("content error", id, messageContent);
return;
}
infoTitle.textContent = messageContent;
}
contentUpdateById("CertLabel", "CertLabel");
contentUpdateById("SignedLabel", "SignedLabel");
contentUpdateById("TorrentTypeLabel", "TorrentTypeLabel");
contentUpdateById("TypeLabel", "TypeLabel");
contentUpdateById("aboutconsole", "aboutconsole");
contentUpdateById("abouthome", "abouthome");
contentUpdateById("addresstype", "addresstype");
contentUpdateById("applicationExplain", "applicationExplain");
contentUpdateById("applicationHeader", "applicationHeader");
contentUpdateById("beta", "beta");
contentUpdateById("bookmarksButton", "bookmarksButton");
contentUpdateById("btRpcHostText", "btRpcHostText");
contentUpdateById("btRpcPathText", "btRpcPathText");
contentUpdateById("btRpcPortText", "btRpcPortText");
contentUpdateById("controlExplain", "controlExplain");
contentUpdateById("controlHeader", "controlHeader");
contentUpdateById("controlHelpText", "controlHelpText");
contentUpdateById("controlHostText", "controlHostText");
contentUpdateById("controlPortText", "controlPortText");
contentUpdateById("description", "description");
contentUpdateById("description2", "description2");
contentUpdateById("fliplinks", "fliplinks");
contentUpdateById("headline", "headline");
contentUpdateById("histDesc", "histDesc");
contentUpdateById("hostText", "hostText");
contentUpdateById("i2ppage", "i2ppage");
contentUpdateById("i2ptunnel", "i2ptunnel");
contentUpdateById("label-router-activepeers", "label-router-activepeers");
contentUpdateById("label-router-bandwidth", "label-router-bandwidth");
contentUpdateById("label-router-bw-inbound-15s", "label-router-bw-inbound-15s");
contentUpdateById("label-router-bw-inbound-1s", "label-router-bw-inbound-1s");
contentUpdateById(
"label-router-bw-outbound-15s",
"label-router-bw-outbound-15s"
);
contentUpdateById("label-router-bw-outbound-1s", "label-router-bw-outbound-1s");
contentUpdateById(
"label-router-net-tunnels-participating",
"label-router-net-tunnels-participating"
);
contentUpdateById(
"label-router-netdb-fastpeers",
"label-router-netdb-fastpeers"
);
contentUpdateById(
"label-router-netdb-highcapacitypeers",
"label-router-netdb-highcapacitypeers"
);
contentUpdateById(
"label-router-netdb-isreseeding",
"label-router-netdb-isreseeding"
);
contentUpdateById(
"label-router-netdb-knownpeers",
"label-router-netdb-knownpeers"
);
contentUpdateById("label-router-peers", "label-router-peers");
contentUpdateById("label-router-status", "label-router-status");
contentUpdateById("label-router-uptime", "label-router-uptime");
contentUpdateById("label-router-version", "label-router-version");
contentUpdateById("links", "links");
contentUpdateById("linksExplain", "linksExplain");
contentUpdateById("onboardingButtonFive", "onboardingButtonFive");
contentUpdateById("onboardingButtonFour", "onboardingButtonFour");
contentUpdateById("onboardingButtonOne", "onboardingButtonOne");
contentUpdateById("onboardingButtonThree", "onboardingButtonThree");
contentUpdateById("onboardingButtonTwo", "onboardingButtonTwo");
contentUpdateById("onboardingButtonZero", "onboardingButtonZero");
contentUpdateById("onboardingContentFive", "onboardingContentFive");
contentUpdateById("onboardingContentFour", "onboardingContentFour");
contentUpdateById("onboardingContentOne", "onboardingContentOne");
contentUpdateById("onboardingContentThree", "onboardingContentThree");
contentUpdateById("onboardingContentTwo", "onboardingContentTwo");
contentUpdateById("onboardingContentZero", "onboardingContentZero");
contentUpdateById("onboardingFive", "onboardingFive");
contentUpdateById("onboardingFour", "onboardingFour");
contentUpdateById("onboardingOne", "onboardingOne");
contentUpdateById("onboardingThree", "onboardingThree");
contentUpdateById("onboardingTitle", "onboardingTitle");
contentUpdateById("onboardingTwo", "onboardingTwo");
contentUpdateById("onboardingZero", "onboardingZero");
contentUpdateById("portText", "portText");
contentUpdateById("proxy-check", "proxy-check");
contentUpdateById("releases", "releases");
contentUpdateById("returnhome", "returnhome");
contentUpdateById("router-net-bw-inbound-15s", "router-net-bw-inbound-15s");
contentUpdateById("router-net-bw-inbound-1s", "router-net-bw-inbound-1s");
contentUpdateById("router-net-bw-outbound-15s", "router-net-bw-outbound-15s");
contentUpdateById("router-net-bw-outbound-1s", "router-net-bw-outbound-1s");
contentUpdateById(
"router-net-tunnels-participating",
"router-net-tunnels-participating"
);
contentUpdateById("router-netdb-activepeers", "router-netdb-activepeers");
contentUpdateById("router-netdb-fastpeers", "router-netdb-fastpeers");
contentUpdateById(
"router-netdb-highcapacitypeers",
"router-netdb-highcapacitypeers"
);
contentUpdateById("router-netdb-isreseeding", "router-netdb-isreseeding");
contentUpdateById("router-netdb-knownpeers", "router-netdb-knownpeers");
contentUpdateById("router-restart", "router-restart");
contentUpdateById("router-shutdown", "router-shutdown");
contentUpdateById("router-status", "router-status");
contentUpdateById("router-uptime", "router-uptime");
contentUpdateById("router-version", "router-version");
contentUpdateById("routerConsole", "routerConsole");
contentUpdateById("rpcHelpText", "rpcHelpText");
contentUpdateById("rpcHostText", "rpcHostText");
contentUpdateById("rpcPassText", "rpcPassText");
contentUpdateById("rpcPathText", "rpcPathText");
contentUpdateById("rpcPortText", "rpcPortText");
contentUpdateById("signingcert", "signingcert");
contentUpdateById("sitecert", "sitecert");
contentUpdateById("snark", "snark");
contentUpdateById("sourcehead", "sourcehead");
contentUpdateById("sources", "sources");
contentUpdateById("susimail", "susimail");
contentUpdateById("text-section-header", "text-section-header");
contentUpdateById(
"text-section-proxyerr-header",
"text-section-proxyerr-header"
);
contentUpdateById(
"text-section-torrents-header",
"text-section-torrents-header"
);
contentUpdateById("toopie", "toopie");
contentUpdateById("torrentui-opener", "torrentui-opener");
contentUpdateById("visit-irc", "visit-irc");
contentUpdateById("webpage", "webpage");
contentUpdateById("window-visit-console", "window-visit-console");
contentUpdateById("window-visit-help", "window-visit-help");
contentUpdateById("window-visit-homepage", "window-visit-homepage");
contentUpdateById("window-visit-i2p", "window-visit-i2p");
contentUpdateById("window-visit-i2ptunnel", "window-visit-i2ptunnel");
contentUpdateById("window-visit-index", "window-visit-index");
contentUpdateById("window-visit-releases", "window-visit-releases");
contentUpdateById("window-visit-router", "window-visit-router");
contentUpdateById("window-visit-snark", "window-visit-snark");
contentUpdateById("window-visit-sources", "window-visit-sources");
contentUpdateById("window-visit-susimail", "window-visit-susimail");
contentUpdateById("window-visit-torrent", "window-visit-torrent");