summaryrefslogtreecommitdiff
path: root/client/zgotext.go
blob: dda131ddba4f4ae105dc54609d29b564b73063ed (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
// 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": 23,
	"An error occurred after getting the discovery files for the list of servers":       24,
	"An internal error occurred":                                                                                                28,
	"Failed to cleanup the VPN connection":                                                                                      18,
	"Failed to get the secure internet server with id: '%s' for setting a location":                                             19,
	"Failed to set the profile ID: '%s'":                                                                                        14,
	"Failover failed to complete with gateway: '%s' and MTU: '%d'":                                                              22,
	"No OAuth tokens were found when cleaning up the connection":                                                                16,
	"No VPN configuration for server: '%s' could be obtained":                                                                   10,
	"Server identifier: '%s', is not valid when getting a VPN configuration":                                                    6,
	"Server identifier: '%s', is not valid when removing the server":                                                            11,
	"Server: '%s' could not be connected to":                                                                                    9,
	"The VPN proxy exited":                                                                                                      25,
	"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":                                                                                 13,
	"The current server could not be retrieved when renewing the session":                                                       20,
	"The current server was not found when cleaning up the connection":                                                          15,
	"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":                                                     17,
	"The server was unable to be retrieved when renewing the session":                                                           21,
	"The server: '%s' could not be removed":                                                                                     12,
	"input: '%s' is not a valid URL":                                                                                            5,
	"timeout reached for URL: '%s' and HTTP method: '%s'":                                                                       26,
	"with cause:": 27,
}

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, 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 deData string = ""

var enIndex = []uint32{ // 30 elements
	0x00000000, 0x0000003a, 0x00000080, 0x000000c1,
	0x0000010d, 0x00000144, 0x00000166, 0x000001b0,
	0x0000022d, 0x0000028e, 0x000002b8, 0x000002f3,
	0x00000335, 0x0000035e, 0x00000388, 0x000003ae,
	0x000003ef, 0x0000042a, 0x00000470, 0x00000495,
	0x000004e6, 0x0000052a, 0x0000056a, 0x000005ad,
	0x000005ff, 0x0000064b, 0x00000660, 0x0000069a,
	0x000006a6, 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\x02Server: '%[1]s' could not be connec" +
	"ted to\x02No VPN configuration for server: '%[1]s' could be obtained\x02" +
	"Server 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 serve" +
	"r was not found when cleaning up the connection\x02No OAuth tokens were " +
	"found when cleaning up the connection\x02The server was unable to be ret" +
	"rieved when cleaning up the connection\x02Failed to cleanup the VPN conn" +
	"ection\x02Failed to get the secure internet server with id: '%[1]s' for " +
	"setting a location\x02The current server could not be retrieved when ren" +
	"ewing the session\x02The server was unable to be retrieved when renewing" +
	" the session\x02Failover failed to complete with gateway: '%[1]s' and MT" +
	"U: '%[2]d'\x02An error occurred after getting the discovery files for th" +
	"e list of organizations\x02An error occurred after getting the discovery" +
	" files for the list of servers\x02The VPN proxy exited\x02timeout reache" +
	"d for URL: '%[1]s' and HTTP method: '%[2]s'\x02with cause:\x02An interna" +
	"l error occurred"

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, 0x0000004a,
	0x000000ab, 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, 0x000000f1,
	0x0000015c, 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, 0x00000106, 0x00000157,
	0x0000019f, 0x000001e2, 0x000001e2, 0x000001e2,
	0x000001ef, 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, 0x00000110, 0x00000147,
	0x00000187, 0x000001c7, 0x000001c7, 0x000001c7,
	0x000001d1, 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 4756 bytes (4KiB); checksum: DAF4A7AF