summaryrefslogtreecommitdiff
path: root/client/zgotext.go
blob: 6f0b804dc7bdb8efcbed8a9fe23eaa1645ebaa88 (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
// 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{
		"cs": &dictionary{index: csIndex, data: csData},
		"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},
		"pt": &dictionary{index: ptIndex, data: ptData},
		"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{
	"%s. The cause of the error is: %s.":                                                            10,
	"An internal error occurred":                                                                    11,
	"Failed to add a secure internet server with organisation ID: '%s'":                             1,
	"Failed to add a server with URL: '%s'":                                                         2,
	"Failed to add an institute access server with URL: '%s'":                                       0,
	"Failed to connect to server: '%s'":                                                             5,
	"Failed to obtain a VPN configuration for server: '%s'":                                         6,
	"Failed to obtain the list of organizations":                                                    7,
	"Failed to obtain the list of servers":                                                          8,
	"The client tried to autoconnect to the VPN server: '%s', but the operation failed to complete": 4,
	"The client tried to autoconnect to the VPN server: '%s', but you need to authorize again. Please manually connect again.": 12,
	"The input: '%s' is not a valid URL":   3,
	"Timeout reached contacting URL: '%s'": 9,
}

var csIndex = []uint32{ // 14 elements
	0x00000000, 0x00000000, 0x00000000, 0x00000000,
	0x00000000, 0x00000000, 0x00000000, 0x00000000,
	0x00000000, 0x00000000, 0x00000000, 0x00000000,
	0x00000000, 0x00000000,
} // Size: 80 bytes

const csData string = ""

var daIndex = []uint32{ // 14 elements
	0x00000000, 0x00000046, 0x0000009b, 0x000000ce,
	0x000000f8, 0x00000155, 0x0000017e, 0x000001b7,
	0x000001e7, 0x0000020e, 0x00000241, 0x0000025f,
	0x00000278, 0x00000278,
} // Size: 80 bytes

const daData string = "" + // Size: 632 bytes
	"\x02Kunne ikke tilføje en server for institutadgang med URL’en '%[1]s'" +
	"\x02Kunne ikke tilføje en server for sikkert internet med organisations-" +
	"ID’et '%[1]s'\x02Kunne ikke tilføje en server med URL’en '%[1]s'\x02Inpu" +
	"ttet '%[1]s' er ikke nogen gyldig URL\x02Klienten forsøgte at forbinde t" +
	"il VPN-serveren '%[1]s', men forsøget kunne ikke fuldføres\x02Kunne ikke" +
	" forbinde til serveren '%[1]s'\x02Kunne ikke få en VPN-konfiguration for" +
	" serveren '%[1]s'\x02Kunne ikke få fat i listen over organisationer\x02K" +
	"unne ikke få fat i listen af servere\x02Timeout i forsøget på at tilgå U" +
	"RL’en '%[1]s'\x02%[1]s. Fejlen skyldes: %[2]s.\x02Der skete en intern fe" +
	"jl"

var deIndex = []uint32{ // 14 elements
	0x00000000, 0x00000047, 0x0000009c, 0x000000d7,
	0x00000103, 0x00000189, 0x000001b7, 0x00000203,
	0x00000234, 0x0000025e, 0x0000028f, 0x000002b4,
	0x000002d8, 0x000002d8,
} // Size: 80 bytes

const deData string = "" + // Size: 728 bytes
	"\x02Fehler beim Hinzufügen eines Institutszugangsservers mit URL: '%[1]s" +
	"'\x02Fehler beim Hinzufügen eines sicheren Internetservers mit Organisat" +
	"ions-ID: '%[1]s'\x02Fehler beim Hinzufügen eines Servers mit der URL: '%" +
	"[1]s'\x02Die Eingabe: '%[1]s' ist keine gültige URL\x02Der Client hat ve" +
	"rsucht, sich automatisch mit dem VPN-Server '%[1]s' zu verbinden, aber d" +
	"er Vorgang konnte nicht abgeschlossen werden\x02Verbindung zum Server fe" +
	"hlgeschlagen: '%[1]s'\x02Es konnte keine VPN-Konfiguration für den Serve" +
	"r abgerufen werden: '%[1]s'\x02Fehler beim Abrufen der Liste von Organis" +
	"ationen\x02Fehler beim Abrufen der Liste von Servern\x02Zeitüberschreitu" +
	"ng beim Aufruf der URL: '%[1]s'\x02%[1]s. Die Fehlerursache ist: %[2]s." +
	"\x02Ein interner Fehler ist aufgetreten"

var enIndex = []uint32{ // 14 elements
	0x00000000, 0x0000003b, 0x00000080, 0x000000a9,
	0x000000cf, 0x00000130, 0x00000155, 0x0000018e,
	0x000001b9, 0x000001de, 0x00000206, 0x0000022f,
	0x0000024a, 0x000002c6,
} // Size: 80 bytes

const enData string = "" + // Size: 710 bytes
	"\x02Failed to add an institute access server with URL: '%[1]s'\x02Failed" +
	" to add a secure internet server with organisation ID: '%[1]s'\x02Failed" +
	" to add a server with URL: '%[1]s'\x02The input: '%[1]s' is not a valid " +
	"URL\x02The client tried to autoconnect to the VPN server: '%[1]s', but t" +
	"he operation failed to complete\x02Failed to connect to server: '%[1]s'" +
	"\x02Failed to obtain a VPN configuration for server: '%[1]s'\x02Failed t" +
	"o obtain the list of organizations\x02Failed to obtain the list of serve" +
	"rs\x02Timeout reached contacting URL: '%[1]s'\x02%[1]s. The cause of the" +
	" error is: %[2]s.\x02An internal error occurred\x02The client tried to a" +
	"utoconnect to the VPN server: '%[1]s', but you need to authorize again. " +
	"Please manually connect again."

var esIndex = []uint32{ // 14 elements
	0x00000000, 0x00000054, 0x000000a7, 0x000000d7,
	0x00000101, 0x00000164, 0x0000018f, 0x000001d1,
	0x00000208, 0x00000234, 0x00000278, 0x0000029d,
	0x000002b6, 0x000002b6,
} // Size: 80 bytes

const esData string = "" + // Size: 694 bytes
	"\x02Error al agregar el servidor de acceso a la institución. URL del ser" +
	"vidor: '%[1]s'\x02No se pudo añadir un servidor de internet seguro con I" +
	"D de organización: '%[1]s'\x02No se pudo añadir un servidor con URL: '%[" +
	"1]s'\x02La entrada: '%[1]s' no es una URL válida\x02El cliente intentó a" +
	"utoconectarse al servidor VPN: %[1]s', pero la operación no se ha comple" +
	"tado\x02Error al conectar con el servidor: '%[1]s'\x02Error al obtener u" +
	"na configuración VPN para el servidor: '%[1]s'\x02No se ha podido obtene" +
	"r la lista de las organizaciones\x02Error al obtener la lista de los ser" +
	"vidores\x02Se ha alcanzado el tiempo de espera para conectar con la URL:" +
	" %[1]s\x02%[1]s. La causa del error es: %[2]s.\x02Se ha producido un err" +
	"or"

var frIndex = []uint32{ // 14 elements
	0x00000000, 0x0000004e, 0x000000aa, 0x000000e0,
	0x0000010e, 0x0000017c, 0x000001aa, 0x000001f1,
	0x00000222, 0x0000024e, 0x00000284, 0x000002b3,
	0x000002d5, 0x000002d5,
} // Size: 80 bytes

const frData string = "" + // Size: 725 bytes
	"\x02Échec de l'ajout d'un serveur d'accès à un institut avec l'URL\u202f" +
	": '%[1]s'\x02Échec de l'ajout d'un serveur d'accès à un institut avec l'" +
	"ID d'organisation\u202f: '%[1]s'\x02Échec de l'ajout d'un serveur avec l" +
	"'URL\u202f: '%[1]s'\x02L'entrée\u202f: '%[1]s' n'est pas un URL valide" +
	"\x02Le client a essayé de se connecter automatiquement au serveur VPN" +
	"\u202f: '%[1]s', mais l'opération a échouée\x02Échec de la connexion au " +
	"serveur\u202f: '%[1]s'\x02Échec d'obtention d'une configuration VPN pour" +
	" le serveur\u202f: '%[1]s'\x02Échec de l'obtention de liste des organisa" +
	"tions\x02Échec l'obtention de la liste des serveurs\x02Délai maximal att" +
	"eint pour contacter l'URL\u202f: %[1]s\x02%[1]s. La cause de cette erreu" +
	"r est\u202f: %[2]s.\x02Une erreur interne s'est produite"

var itIndex = []uint32{ // 14 elements
	0x00000000, 0x00000000, 0x00000000, 0x00000000,
	0x00000000, 0x00000000, 0x00000000, 0x00000000,
	0x00000000, 0x00000000, 0x00000000, 0x00000000,
	0x00000000, 0x00000000,
} // Size: 80 bytes

const itData string = ""

var nlIndex = []uint32{ // 14 elements
	0x00000000, 0x0000004d, 0x000000a4, 0x000000e0,
	0x00000110, 0x00000167, 0x0000019a, 0x000001e2,
	0x0000021a, 0x0000024d, 0x0000027d, 0x000002a8,
	0x000002c7, 0x000002c7,
} // Size: 80 bytes

const nlData string = "" + // Size: 711 bytes
	"\x02Het is mislukt om een institute access server toe te voegen met URL:" +
	" '%[1]s'\x02Het is mislukt om een secure internet server toe te voegen m" +
	"et organisatie ID: '%[1]s'\x02Het is mislukt om een server toe te voegen" +
	" met URL: '%[1]s'\x02Het ingegeven veld: '%[1]s' is geen geldige URL\x02" +
	"De client wilde automatisch verbinden met de VPN server: '%[1]s', maar h" +
	"et was mislukt\x02Het is mislukt om te verbinden met server: '%[1]s'\x02" +
	"Het is mislukt om een VPN configuratie op te halen voor server: '%[1]s'" +
	"\x02Het is mislukt om de lijst van organisaties op te halen\x02Het is mi" +
	"slukt om de lijst van servers op te halen\x02Er is een time-out opgetred" +
	"en voor URL: '%[1]s'\x02%[1]s. The oorzaak van de error is: %[2]s.\x02Ee" +
	"n interne fout is opgetreden"

var ptIndex = []uint32{ // 14 elements
	0x00000000, 0x00000000, 0x00000000, 0x00000000,
	0x00000000, 0x00000000, 0x00000000, 0x00000000,
	0x00000000, 0x00000000, 0x00000000, 0x00000000,
	0x00000000, 0x00000000,
} // Size: 80 bytes

const ptData string = ""

var slIndex = []uint32{ // 14 elements
	0x00000000, 0x00000050, 0x00000099, 0x000000cc,
	0x000000e9, 0x00000144, 0x00000171, 0x000001ad,
	0x000001d9, 0x00000205, 0x0000024b, 0x0000026a,
	0x00000288, 0x00000288,
} // Size: 80 bytes

const slData string = "" + // Size: 648 bytes
	"\x02Napaka pri dodajanju strežnika za dostop do ustanove. Strežnikov URL" +
	": '%[1]s'\x02Napaka pri dodajanju strežnika za varni splet. Strežnikov U" +
	"RL: '%[1]s'\x02Napaka pri dodajanju strežnika z URL-jem: '%[1]s'\x02Vnos" +
	" \x22%[1]s\x22 ni veljaven URL\x02Odjemalec se je poskusil samodejno pov" +
	"ezati s strežnikom VPN \x22%[1]s\x22, vendar mu ni uspelo\x02Napaka pri " +
	"povezovanju s strežnikom \x22%[1]s\x22\x02Napaka pri pridobivanju nastav" +
	"itve VPN za strežnik \x22%[1]s\x22\x02Napaka pri pridobivanju seznama or" +
	"ganizacij\x02Napaka pri pridobivanju seznama strežnikov\x02Pri dostopu d" +
	"o URL-ja \x22%[1]s\x22 je prišlo do preteka časovne kontrole\x02%[1]s. V" +
	"zrok napake je: %[2]s.\x02Prišlo je do notranje napake"

var ukIndex = []uint32{ // 14 elements
	0x00000000, 0x00000000, 0x00000000, 0x00000000,
	0x00000000, 0x00000000, 0x00000000, 0x00000000,
	0x00000000, 0x00000000, 0x00000000, 0x00000000,
	0x00000000, 0x00000000,
} // Size: 80 bytes

const ukData string = ""

// Total table size 5728 bytes (5KiB); checksum: 1EFF0FE4