summaryrefslogtreecommitdiff
path: root/client/zgotext.go
blob: 233fe48fd543b39aaf5278fa1c9a84a0d6a42f75 (plain)
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
// 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": 22,
	"An error occurred after getting the discovery files for the list of servers":       23,
	"An internal error occurred":                                                                                                27,
	"Failed to cleanup the VPN connection":                                                                                      17,
	"Failed to get the secure internet server with id: '%s' for setting a location":                                             18,
	"Failed to set the profile ID: '%s'":                                                                                        13,
	"Failover failed to complete with gateway: '%s' and MTU: '%d'":                                                              21,
	"No OAuth tokens were found when cleaning up the connection":                                                                15,
	"No VPN configuration for server: '%s' could be obtained":                                                                   9,
	"Server identifier: '%s', is not valid when getting a VPN configuration":                                                    6,
	"Server identifier: '%s', is not valid when removing the server":                                                            10,
	"Server: '%s' could not be connected to":                                                                                    28,
	"The VPN proxy exited":                                                                                                      24,
	"The client tried to autoconnect to the VPN server: '%s', but the operation failed to complete":                             8,
	"The client tried to autoconnect to the VPN server: '%s', but you need to authorizate again. Please manually connect again": 7,
	"The current server could not be retrieved":                                                                                 12,
	"The current server could not be retrieved when renewing the session":                                                       19,
	"The current server was not found when cleaning up the connection":                                                          14,
	"The current server was not found when getting the VPN expiration date":                                                     1,
	"The custom server with URL: '%s' could not be added":                                                                       4,
	"The institute access server with URL: '%s' could not be added":                                                             2,
	"The log file with directory: '%s' failed to initialize":                                                                    0,
	"The secure internet server with organisation ID: '%s' could not be added":                                                  3,
	"The server was unable to be retrieved when cleaning up the connection":                                                     16,
	"The server was unable to be retrieved when renewing the session":                                                           20,
	"The server: '%s' could not be removed":                                                                                     11,
	"input: '%s' is not a valid URL":                                                                                            5,
	"timeout reached for URL: '%s' and HTTP method: '%s'":                                                                       25,
	"with cause:": 26,
}

var daIndex = []uint32{ // 30 elements
	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,
} // Size: 144 bytes

const daData string = ""

var deIndex = []uint32{ // 30 elements
	0x00000000, 0x00000047, 0x0000009c, 0x000000ec,
	0x0000014a, 0x0000019d, 0x000001c3, 0x0000020e,
	0x000002b4, 0x0000033a, 0x00000384, 0x000003c7,
	0x000003f7, 0x0000042a, 0x0000045c, 0x000004ad,
	0x000004ef, 0x00000537, 0x0000056a, 0x000005ca,
	0x00000617, 0x0000065a, 0x000006a9, 0x00000701,
	0x00000752, 0x00000769, 0x000007b0, 0x000007bd,
	0x000007e1, 0x000007e1,
} // Size: 144 bytes

const deData string = "" + // Size: 2017 bytes
	"\x02Die Log-Datei im Verzeichnis '%[1]s' konnte nicht initialisiert werd" +
	"en\x02Der momentane Server wurde bei der Abfrage des Verfallsdatums der " +
	"VPN nicht gefunden\x02Der Institutszugriffserver mit der URL '%[1]s' kon" +
	"nte nicht hinzugefügt werden\x02Der sichere Internet-Server mit der Orga" +
	"nisations-ID '%[1]s' konnte nicht hinzugefügt werden\x02Der benutzerdefi" +
	"nierte Server mit der URL '%[1]s' konnte nicht hinzugefügt werden\x02Ein" +
	"gabe: '%[1]s' ist keine valide URL\x02Serveridentifikator '%[1]s' ist be" +
	"im Abrufen der VPN-Konfiguration invalid\x02Der Client hat versucht, sic" +
	"h automatisch mit dem VPN-Server '%[1]s' zu verbinden, aber Sie müssen s" +
	"ich erneut autorisieren. Bitte verbinden sie sich manuell erneut\x02Der " +
	"Client hat versucht, sich automatisch mit dem VPN-Server '%[1]s' zu verb" +
	"inden, aber der Vorgang konnte nicht abgeschlossen werden\x02Es konnte k" +
	"eine VPN-Konfiguration für den Server '%[1]s' gefunden werden\x02Serveri" +
	"dentifikator '%[1]s' ist beim Entfernen des Servers invalid\x02Der Serve" +
	"r '%[1]s' konnte nicht entfernt werden\x02Der momentane Server konnte ni" +
	"cht abgerufen werden\x02Die Profil-ID '%[1]s' konnte nicht gesetzt werde" +
	"n\x02Der momentane Server konnte beim Aufräumen der Verbindung nicht gef" +
	"unden werden\x02Keine OAuth-Tokens wurden beim Aufräumen der Verbindung " +
	"gefunden\x02Der Server konnte beim Aufräumen der Verbindung nicht abgeru" +
	"fen werden\x02Die VPN-Verbindung konnte nicht aufgeräumt werden\x02Es ko" +
	"nnte kein sicherer Internetserver mit der ID '%[1]s' zum Setzen des Orte" +
	"s abgerufen werden\x02Der momentane Server konnte beim Erneuern der Sitz" +
	"ung nicht abgerufen werden\x02Der Server konnte beim Erneuern der Sitzun" +
	"g nicht abgerufen werden\x02Failover konnte nicht mit Gateway '%[1]s' un" +
	"d MTU '%[2]d' abgeschlossen werden\x02Nach dem Abfragen der Discovery-Da" +
	"teien für die Organisationsliste trat ein Fehler auf\x02Nach dem Abfrage" +
	"n der Discovery-Dateien für die Serverliste trat ein Fehler auf\x02Die V" +
	"PN-Proxy brach ab\x02Zeitüberschreitung für URL '%[1]s' und HTTP-Methode" +
	" '%[2]s' erreicht\x02mit Ursache:\x02Ein interner Fehler ist aufgetreten"

var enIndex = []uint32{ // 30 elements
	0x00000000, 0x0000003a, 0x00000080, 0x000000c1,
	0x0000010d, 0x00000144, 0x00000166, 0x000001b0,
	0x0000022d, 0x0000028e, 0x000002c9, 0x0000030b,
	0x00000334, 0x0000035e, 0x00000384, 0x000003c5,
	0x00000400, 0x00000446, 0x0000046b, 0x000004bc,
	0x00000500, 0x00000540, 0x00000583, 0x000005d5,
	0x00000621, 0x00000636, 0x00000670, 0x0000067c,
	0x00000697, 0x000006c1,
} // Size: 144 bytes

const enData string = "" + // Size: 1729 bytes
	"\x02The log file with directory: '%[1]s' failed to initialize\x02The cur" +
	"rent server was not found when getting the VPN expiration date\x02The in" +
	"stitute access server with URL: '%[1]s' could not be added\x02The secure" +
	" internet server with organisation ID: '%[1]s' could not be added\x02The" +
	" custom server with URL: '%[1]s' could not be added\x02input: '%[1]s' is" +
	" not a valid URL\x02Server identifier: '%[1]s', is not valid when gettin" +
	"g a VPN configuration\x02The client tried to autoconnect to the VPN serv" +
	"er: '%[1]s', but you need to authorizate again. Please manually connect " +
	"again\x02The client tried to autoconnect to the VPN server: '%[1]s', but" +
	" the operation failed to complete\x02No VPN configuration for server: '%" +
	"[1]s' could be obtained\x02Server identifier: '%[1]s', is not valid when" +
	" removing the server\x02The server: '%[1]s' could not be removed\x02The " +
	"current server could not be retrieved\x02Failed to set the profile ID: '" +
	"%[1]s'\x02The current server was not found when cleaning up the connecti" +
	"on\x02No OAuth tokens were found when cleaning up the connection\x02The " +
	"server was unable to be retrieved when cleaning up the connection\x02Fai" +
	"led to cleanup the VPN connection\x02Failed to get the secure internet s" +
	"erver with id: '%[1]s' for setting a location\x02The current server coul" +
	"d not be retrieved when renewing the session\x02The server was unable to" +
	" be retrieved when renewing the session\x02Failover failed to complete w" +
	"ith gateway: '%[1]s' and MTU: '%[2]d'\x02An error occurred after getting" +
	" the discovery files for the list of organizations\x02An error occurred " +
	"after getting the discovery files for the list of servers\x02The VPN pro" +
	"xy exited\x02timeout reached for URL: '%[1]s' and HTTP method: '%[2]s'" +
	"\x02with cause:\x02An internal error occurred\x02Server: '%[1]s' could n" +
	"ot be connected to"

var esIndex = []uint32{ // 30 elements
	0x00000000, 0x0000004a, 0x0000004a, 0x0000004a,
	0x0000004a, 0x0000004a, 0x0000004a, 0x0000004a,
	0x0000004a, 0x0000004a, 0x0000004a, 0x0000004a,
	0x0000004a, 0x0000004a, 0x0000004a, 0x0000004a,
	0x0000004a, 0x0000004a, 0x0000004a, 0x0000004a,
	0x0000004a, 0x0000004a, 0x0000004a, 0x000000ab,
	0x00000104, 0x00000104, 0x00000104, 0x00000104,
	0x00000104, 0x00000104,
} // Size: 144 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{ // 30 elements
	0x00000000, 0x0000004f, 0x0000004f, 0x0000004f,
	0x000000aa, 0x000000f1, 0x000000f1, 0x000000f1,
	0x000000f1, 0x000000f1, 0x000000f1, 0x000000f1,
	0x000000f1, 0x000000f1, 0x000000f1, 0x000000f1,
	0x000000f1, 0x000000f1, 0x000000f1, 0x000000f1,
	0x000000f1, 0x000000f1, 0x000000f1, 0x0000015c,
	0x000001c2, 0x000001c2, 0x000001c2, 0x000001c2,
	0x000001c2, 0x000001c2,
} // Size: 144 bytes

const frData string = "" + // Size: 450 bytes
	"\x02Le fichier de registre du répertoire\u202f: '%[1]s' n'a pas pu être " +
	"initialisé\x02Le serveur internet sécurisé avec l'ID d'organisation : '%" +
	"[1]s' n'a pas pu être ajouté\x02Le serveur personnalisé avec l'URL : '%[" +
	"1]s' n'a pas pu être ajouté\x02Une erreur est survenue pendant la récupé" +
	"ration des fichiers de détection de la liste des organisations\x02Une er" +
	"reur est survenue pendant la récupération des fichiers de détection de l" +
	"a liste des serveurs"

var itIndex = []uint32{ // 30 elements
	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,
} // Size: 144 bytes

const itData string = ""

var nlIndex = []uint32{ // 30 elements
	0x00000000, 0x0000003c, 0x0000003c, 0x00000083,
	0x000000d0, 0x00000106, 0x00000106, 0x00000106,
	0x00000106, 0x00000106, 0x00000106, 0x00000106,
	0x00000106, 0x00000106, 0x00000106, 0x00000106,
	0x00000106, 0x00000106, 0x00000106, 0x00000106,
	0x00000106, 0x00000106, 0x00000157, 0x0000019f,
	0x000001e2, 0x000001e2, 0x000001e2, 0x000001ef,
	0x0000020e, 0x0000020e,
} // Size: 144 bytes

const nlData string = "" + // Size: 526 bytes
	"\x02Het log bestand met pad: '%[1]s' kan niet aangemaakt worden\x02De in" +
	"stitute access server met URL: '%[1]s' kan niet toegevoegd worden\x02De " +
	"secure internet server met identiteit: '%[1]s' kan niet toegevoegd worde" +
	"n\x02De server met URL: '%[1]s' kan niet toegevoegd worden\x02Het 'failo" +
	"ver' proces kan niet voltooid worden. Gateway: '%[1]s' en MTU: '%[2]d'" +
	"\x02Er is een fout opgetreden met het ophalen van de lijst van organisat" +
	"ies\x02Er is een fout opgetreden met het ophalen van de lijst van server" +
	"s\x02met oorzaak:\x02Een interne fout is opgetreden"

var slIndex = []uint32{ // 30 elements
	0x00000000, 0x0000003c, 0x0000003c, 0x00000086,
	0x000000d4, 0x00000110, 0x00000110, 0x00000110,
	0x00000110, 0x00000110, 0x00000110, 0x00000110,
	0x00000110, 0x00000110, 0x00000110, 0x00000110,
	0x00000110, 0x00000110, 0x00000110, 0x00000110,
	0x00000110, 0x00000110, 0x00000147, 0x00000187,
	0x000001c7, 0x000001c7, 0x000001c7, 0x000001d1,
	0x000001ef, 0x000001ef,
} // Size: 144 bytes

const slData string = "" + // Size: 495 bytes
	"\x02Napaka pri vzpostavitvi datoteke dnevnika v imeniku '%[1]s'\x02Strež" +
	"nika z naslovom '%[1]s' za dostop do ustanove ni bilo možno dodati\x02St" +
	"režnika za varni splet organizacije z ID-jem '%[1]s' ni bilo možno dodat" +
	"i\x02Svojega strežnika z naslovom '%[1]s' ni bilo možno dodati\x02Preklo" +
	"p ni uspel s prehodom '%[1]s' in MTU-jem '%[2]d'\x02Pri nalaganju datote" +
	"k kataloga organizacij je prišlo do napake\x02Pri nalaganju datotek kata" +
	"loga strežnikov je prišlo do napake\x02; razlog:\x02Prišlo je do notranj" +
	"e napake"

var ukIndex = []uint32{ // 30 elements
	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,
} // Size: 144 bytes

const ukData string = ""

// Total table size 6773 bytes (6KiB); checksum: 5C59D2DF