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
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
|
// Code generated by running "go generate" in golang.org/x/text. DO NOT EDIT.
package client
import (
"golang.org/x/text/language"
"golang.org/x/text/message"
"golang.org/x/text/message/catalog"
)
type dictionary struct {
index []uint32
data string
}
func (d *dictionary) Lookup(key string) (data string, ok bool) {
p, ok := messageKeyToIndex[key]
if !ok {
return "", false
}
start, end := d.index[p], d.index[p+1]
if start == end {
return "", false
}
return d.data[start:end], true
}
func init() {
dict := map[string]catalog.Dictionary{
"da": &dictionary{index: daIndex, data: daData},
"de": &dictionary{index: deIndex, data: deData},
"en": &dictionary{index: enIndex, data: enData},
"es": &dictionary{index: esIndex, data: esData},
"fr": &dictionary{index: frIndex, data: frData},
"it": &dictionary{index: itIndex, data: itData},
"nl": &dictionary{index: nlIndex, data: nlData},
"sl": &dictionary{index: slIndex, data: slData},
"uk": &dictionary{index: ukIndex, data: ukData},
}
fallback := language.MustParse("en")
cat, err := catalog.NewFromMap(dict, catalog.Fallback(fallback))
if err != nil {
panic(err)
}
message.DefaultCatalog = cat
}
var messageKeyToIndex = map[string]int{
"An error occurred after getting the discovery files for the list of organizations": 1,
"An error occurred after getting the discovery files for the list of servers": 2,
"An internal error occurred": 31,
"Could not retrieve institute access server with URL: '%s' from discovery": 13,
"Failed to cleanup the VPN connection for the current server": 25,
"Failed to get current server for renewing the session": 27,
"Failed to get the current server to cleanup the connection": 24,
"Failed to set the server with identifier: '%s' as the current": 22,
"Failover failed to complete with gateway: '%s' and MTU: '%d'": 28,
"Identifier: '%s' for server with type: '%d' is not valid": 20,
"Identifier: '%s' for server with type: '%d' is not valid for removal": 23,
"No secure internet server available to set a location for": 26,
"No suitable profiles could be found": 9,
"Profile with ID: '%s' could not be obtained from the server": 11,
"Profile with ID: '%s' could not be set": 10,
"The VPN configuration could not be obtained": 18,
"The authorization procedure failed to complete": 7,
"The client tried to autoconnect to the VPN server: %s, but no secure internet location is found. Please manually connect again": 4,
"The client tried to autoconnect to the VPN server: %s, but no valid profiles were found. Please manually connect again": 8,
"The client tried to autoconnect to the VPN server: %s, but you need to authorizate again. Please manually connect again": 6,
"The current profile could not be found": 19,
"The current server could not be found when getting it for expiry": 3,
"The custom server with URL: '%s' could not be added": 17,
"The identifier that was passed to the library is incorrect": 12,
"The institute access server with URL: '%s' could not be added": 14,
"The log file with directory: '%s' failed to initialize": 0,
"The operation for getting a VPN configuration was canceled": 21,
"The secure internet location could not be set": 5,
"The secure internet server with organisation ID: '%s' could not be added": 16,
"The secure internet server with organisation ID: '%s' could not be retrieved from discovery": 15,
"timeout reached": 29,
"with cause:": 30,
}
var daIndex = []uint32{ // 33 elements
// Entry 0 - 1F
0x00000000, 0x00000000, 0x00000000, 0x00000000,
0x00000000, 0x00000000, 0x00000000, 0x00000000,
0x00000000, 0x00000000, 0x00000000, 0x00000000,
0x00000000, 0x00000000, 0x00000000, 0x00000000,
0x00000000, 0x00000000, 0x00000000, 0x00000000,
0x00000000, 0x00000000, 0x00000000, 0x00000000,
0x00000000, 0x00000000, 0x00000000, 0x00000000,
0x00000000, 0x00000000, 0x00000000, 0x00000000,
// Entry 20 - 3F
0x00000000,
} // Size: 156 bytes
const daData string = ""
var deIndex = []uint32{ // 33 elements
// Entry 0 - 1F
0x00000000, 0x00000000, 0x00000000, 0x00000000,
0x00000000, 0x00000000, 0x00000000, 0x00000000,
0x00000000, 0x00000000, 0x00000000, 0x00000000,
0x00000000, 0x00000000, 0x00000000, 0x00000000,
0x00000000, 0x00000000, 0x00000000, 0x00000000,
0x00000000, 0x00000000, 0x00000000, 0x00000000,
0x00000000, 0x00000000, 0x00000000, 0x00000000,
0x00000000, 0x00000000, 0x00000000, 0x00000000,
// Entry 20 - 3F
0x00000000,
} // Size: 156 bytes
const deData string = ""
var enIndex = []uint32{ // 33 elements
// Entry 0 - 1F
0x00000000, 0x0000003a, 0x0000008c, 0x000000d8,
0x00000119, 0x0000019b, 0x000001c9, 0x00000244,
0x00000273, 0x000002ed, 0x00000311, 0x0000033b,
0x0000037a, 0x000003b5, 0x00000401, 0x00000442,
0x000004a1, 0x000004ed, 0x00000524, 0x00000550,
0x00000577, 0x000005b6, 0x000005f1, 0x00000632,
0x0000067d, 0x000006b8, 0x000006f4, 0x0000072e,
0x00000764, 0x000007a7, 0x000007b7, 0x000007c3,
// Entry 20 - 3F
0x000007de,
} // Size: 156 bytes
const enData string = "" + // Size: 2014 bytes
"\x02The log file with directory: '%[1]s' failed to initialize\x02An erro" +
"r occurred after getting the discovery files for the list of organizatio" +
"ns\x02An error occurred after getting the discovery files for the list o" +
"f servers\x02The current server could not be found when getting it for e" +
"xpiry\x02The client tried to autoconnect to the VPN server: %[1]s, but n" +
"o secure internet location is found. Please manually connect again\x02Th" +
"e secure internet location could not be set\x02The client tried to autoc" +
"onnect to the VPN server: %[1]s, but you need to authorizate again. Plea" +
"se manually connect again\x02The authorization procedure failed to compl" +
"ete\x02The client tried to autoconnect to the VPN server: %[1]s, but no " +
"valid profiles were found. Please manually connect again\x02No suitable " +
"profiles could be found\x02Profile with ID: '%[1]s' could not be set\x02" +
"Profile with ID: '%[1]s' could not be obtained from the server\x02The id" +
"entifier that was passed to the library is incorrect\x02Could not retrie" +
"ve institute access server with URL: '%[1]s' from discovery\x02The insti" +
"tute access server with URL: '%[1]s' could not be added\x02The secure in" +
"ternet server with organisation ID: '%[1]s' could not be retrieved from " +
"discovery\x02The secure internet server with organisation ID: '%[1]s' co" +
"uld not be added\x02The custom server with URL: '%[1]s' could not be add" +
"ed\x02The VPN configuration could not be obtained\x02The current profile" +
" could not be found\x02Identifier: '%[1]s' for server with type: '%[2]d'" +
" is not valid\x02The operation for getting a VPN configuration was cance" +
"led\x02Failed to set the server with identifier: '%[1]s' as the current" +
"\x02Identifier: '%[1]s' for server with type: '%[2]d' is not valid for r" +
"emoval\x02Failed to get the current server to cleanup the connection\x02" +
"Failed to cleanup the VPN connection for the current server\x02No secure" +
" internet server available to set a location for\x02Failed to get curren" +
"t server for renewing the session\x02Failover failed to complete with ga" +
"teway: '%[1]s' and MTU: '%[2]d'\x02timeout reached\x02with cause:\x02An " +
"internal error occurred"
var esIndex = []uint32{ // 33 elements
// Entry 0 - 1F
0x00000000, 0x0000004a, 0x000000ab, 0x00000104,
0x00000104, 0x00000104, 0x00000104, 0x00000104,
0x00000104, 0x00000104, 0x00000104, 0x00000104,
0x00000104, 0x00000104, 0x00000104, 0x00000104,
0x00000104, 0x00000104, 0x00000104, 0x00000104,
0x00000104, 0x00000104, 0x00000104, 0x00000104,
0x00000104, 0x00000104, 0x00000104, 0x00000104,
0x00000104, 0x00000104, 0x00000104, 0x00000104,
// Entry 20 - 3F
0x00000104,
} // Size: 156 bytes
const esData string = "" + // Size: 260 bytes
"\x02El archivo de registro con el directorio: '%[1]s' no se puede inicia" +
"lizar\x02Se ha producido un error al obtener los archivos de detección d" +
"e la lista de las organizaciones\x02Se ha producido un error al obtener " +
"los archivos de detección de la lista de servidores"
var frIndex = []uint32{ // 33 elements
// Entry 0 - 1F
0x00000000, 0x00000000, 0x00000000, 0x00000000,
0x00000000, 0x00000000, 0x00000000, 0x00000000,
0x00000000, 0x00000000, 0x00000000, 0x00000000,
0x00000000, 0x00000000, 0x00000000, 0x00000000,
0x00000000, 0x00000000, 0x00000000, 0x00000000,
0x00000000, 0x00000000, 0x00000000, 0x00000000,
0x00000000, 0x00000000, 0x00000000, 0x00000000,
0x00000000, 0x00000000, 0x00000000, 0x00000000,
// Entry 20 - 3F
0x00000000,
} // Size: 156 bytes
const frData string = ""
var itIndex = []uint32{ // 33 elements
// Entry 0 - 1F
0x00000000, 0x00000000, 0x00000000, 0x00000000,
0x00000000, 0x00000000, 0x00000000, 0x00000000,
0x00000000, 0x00000000, 0x00000000, 0x00000000,
0x00000000, 0x00000000, 0x00000000, 0x00000000,
0x00000000, 0x00000000, 0x00000000, 0x00000000,
0x00000000, 0x00000000, 0x00000000, 0x00000000,
0x00000000, 0x00000000, 0x00000000, 0x00000000,
0x00000000, 0x00000000, 0x00000000, 0x00000000,
// Entry 20 - 3F
0x00000000,
} // Size: 156 bytes
const itData string = ""
var nlIndex = []uint32{ // 33 elements
// Entry 0 - 1F
0x00000000, 0x0000003c, 0x00000084, 0x000000c7,
0x00000105, 0x00000105, 0x00000147, 0x00000147,
0x00000177, 0x00000177, 0x000001ab, 0x000001e5,
0x00000231, 0x0000026e, 0x000002c2, 0x00000309,
0x00000363, 0x000003b0, 0x000003e6, 0x00000414,
0x00000440, 0x00000484, 0x000004c4, 0x00000511,
0x0000056a, 0x000005b5, 0x000005e1, 0x00000632,
0x00000679, 0x00000679, 0x000006ca, 0x000006d7,
// Entry 20 - 3F
0x000006d7,
} // Size: 156 bytes
const nlData string = "" + // Size: 1751 bytes
"\x02Het log bestand met pad: '%[1]s' kon niet aangemaakt worden\x02Er is" +
" een fout opgetreden met het ophalen van de lijst van organisaties\x02Er" +
" is een fout opgetreden met het ophalen van de lijst van servers\x02De h" +
"uidige VPN server kon niet worden gevonden voor expiratie\x02De locatie " +
"voor de \x22secure internet\x22 server kon niet worden gezet\x02Het auth" +
"orizatie proces kon niet vervuld worden\x02Er zijn geen profielen gevond" +
"en om mee te verbinden\x02Het profiel met identiteit: '%[1]s' kon niet g" +
"ezet worden\x02Het profiel met identiteit: '%[1]s' kon niet opgehaald wo" +
"rden van de server\x02De identieit die aan de library werd gegeven is ni" +
"et correct\x02De institute access server met URL: '%[1]s' kon niet opgeh" +
"aald worden van discovery\x02De institute access server met URL: '%[1]s'" +
" kon niet toegevoegd worden\x02De secure internet server met identiteit:" +
" '%[1]s' kon niet opgehaald worden van discovery\x02De secure internet s" +
"erver met identiteit: '%[1]s' kon niet toegevoegd worden\x02De server me" +
"t URL: '%[1]s' kon niet toegevoegd worden\x02De VPN configuratie kon nie" +
"t opgehaald worden\x02Het huidig profiel kan niet gevonden worden\x02De " +
"identiteit: '%[1]s' voor server met type: '%[2]d' is niet geldig\x02De p" +
"rocedure om een VPN configuratie op te halen is geannuleerd\x02De server" +
" met identiteit: '%[1]s' kon niet als de hudige server gezet worden\x02I" +
"dentiteit: '%[1]s' voor server met type: '%[2]d' is niet geldig om verwi" +
"jderd te worden\x02De huidige server kon niet opgehaald worden om de con" +
"nectie te verwijderen\x02De VPN connectie is niet volledig opgeruimd\x02" +
"Er is geen \x22secure internet\x22 server beschikbaar om de locatie voor" +
" in te stellen\x02De huidige server kon niet opgehaald worden om de sess" +
"ie te hernieuwen\x02Er is een time-out opgetreden in de verbinding. Cont" +
"roleer uw internetverbinding\x02met oorzaak:"
var slIndex = []uint32{ // 33 elements
// Entry 0 - 1F
0x00000000, 0x0000003c, 0x0000007c, 0x000000bc,
0x000000f8, 0x000000f8, 0x00000128, 0x00000128,
0x00000149, 0x00000149, 0x00000172, 0x000001a5,
0x000001e5, 0x00000206, 0x0000025e, 0x000002a8,
0x00000300, 0x0000034e, 0x0000038a, 0x000003ac,
0x000003d4, 0x00000406, 0x0000043f, 0x0000046d,
0x000004ac, 0x000004ef, 0x00000528, 0x0000056a,
0x000005ac, 0x000005ac, 0x000005bc, 0x000005c6,
// Entry 20 - 3F
0x000005c6,
} // Size: 156 bytes
const slData string = "" + // Size: 1478 bytes
"\x02Napaka pri vzpostavitvi datoteke dnevnika v imeniku '%[1]s'\x02Pri n" +
"alaganju datotek kataloga organizacij je prišlo do napake\x02Pri nalagan" +
"ju datotek kataloga strežnikov je prišlo do napake\x02Ugotavljanje prete" +
"ka ne more določiti izbranega strežnika\x02Napaka pri nastavljanju lokac" +
"ije za varni splet\x02Napaka pri postopku avtorizacije\x02Ustreznih prof" +
"ilov ni bilo mogoče najti\x02Profila z ID-jem '%[1]s' ni bilo mogoče nas" +
"taviti\x02Profila z ID-jem '%[1]s' ni bilo mogoče naložiti s strežnika" +
"\x02ID poslan knjižnici je napačen\x02Strežnika z naslovom URL '%[1]s' z" +
"a dostop do ustanove ni bilo možno najti v katalogu\x02Strežnika z naslo" +
"vom '%[1]s' za dostop do ustanove ni bilo možno dodati\x02Strežnika za v" +
"arni splet organizacije z ID-jem '%[1]s' ni bilo možno najti v katalogu" +
"\x02Strežnika za varni splet organizacije z ID-jem '%[1]s' ni bilo možno" +
" dodati\x02Svojega strežnika z naslovom '%[1]s' ni bilo možno dodati\x02" +
"Napaka pri prenosu nastavitev VPN\x02Izbranega profila ni bilo mogoče na" +
"jti\x02ID '%[1]s' za strežnik vrste '%[2]d' ni veljaven\x02Operacija za " +
"nalaganje nastavitev VPN je bila preklicana\x02Napaka pri izbiri strežni" +
"ka z ID-jem '%[1]s'\x02ID '%[1]s' strežnika vrste '%[2]d' ni veljaven za" +
" odstranitev\x02Napaka pri določanju izbranega strežnika za čiščenje pov" +
"ezave\x02Napaka pri čiščenju povezave VPN za izbrani strežnik\x02Za izbi" +
"ro lokacije ni na voljo nobenega strežnika za varni splet\x02Napaka pri " +
"ugotavljanju izbranega strežnika za podaljšanje seje\x02čas je potekel" +
"\x02; razlog:"
var ukIndex = []uint32{ // 33 elements
// Entry 0 - 1F
0x00000000, 0x00000000, 0x00000000, 0x00000000,
0x00000000, 0x00000000, 0x00000000, 0x00000000,
0x00000000, 0x00000000, 0x00000000, 0x00000000,
0x00000000, 0x00000000, 0x00000000, 0x00000000,
0x00000000, 0x00000000, 0x00000000, 0x00000000,
0x00000000, 0x00000000, 0x00000000, 0x00000000,
0x00000000, 0x00000000, 0x00000000, 0x00000000,
0x00000000, 0x00000000, 0x00000000, 0x00000000,
// Entry 20 - 3F
0x00000000,
} // Size: 156 bytes
const ukData string = ""
// Total table size 6907 bytes (6KiB); checksum: EF5CC771
|