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

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

const daData string = ""

var deIndex = []uint32{ // 14 elements
	0x00000000, 0x000000a7, 0x0000012d, 0x00000151,
	0x00000151, 0x00000151, 0x00000151, 0x00000151,
	0x00000151, 0x00000151, 0x00000151, 0x00000151,
	0x00000151, 0x00000151,
} // Size: 80 bytes

const deData string = "" + // Size: 337 bytes
	"\x02Der Client hat versucht, sich automatisch mit dem VPN-Server '%[1]s'" +
	" zu verbinden, aber Sie müssen sich erneut autorisieren. Bitte verbinden" +
	" sie sich manuell erneut.\x02Der Client hat versucht, sich automatisch m" +
	"it dem VPN-Server '%[1]s' zu verbinden, aber der Vorgang konnte nicht ab" +
	"geschlossen werden\x02Ein interner Fehler ist aufgetreten"

var enIndex = []uint32{ // 14 elements
	0x00000000, 0x0000007e, 0x000000df, 0x000000fa,
	0x00000135, 0x0000017a, 0x000001a3, 0x000001c9,
	0x000001ee, 0x00000227, 0x00000252, 0x00000277,
	0x0000029f, 0x000002c8,
} // Size: 80 bytes

const enData string = "" + // Size: 712 bytes
	"\x02The client tried to autoconnect to the VPN server: '%[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 faile" +
	"d to complete\x02An internal error occurred\x02Failed to add an institut" +
	"e access server with URL: '%[1]s'\x02Failed to add a secure internet ser" +
	"ver with organisation ID: '%[1]s'\x02Failed to add a server with URL: '%" +
	"[1]s'\x02The input: '%[1]s' is not a valid URL\x02Failed to connect to s" +
	"erver: '%[1]s'\x02Failed to obtain a VPN configuration for server: '%[1]" +
	"s'\x02Failed to obtain the list of organizations\x02Failed to obtain the" +
	" list of servers\x02Timeout reached contacting URL: '%[1]s'\x02%[1]s. Th" +
	"e cause of the error is: %[2]s."

var esIndex = []uint32{ // 14 elements
	0x00000000, 0x0000008d, 0x000000f0, 0x00000109,
	0x0000015d, 0x000001b0, 0x000001e0, 0x0000020a,
	0x00000235, 0x00000277, 0x000002ae, 0x000002da,
	0x0000031e, 0x00000343,
} // Size: 80 bytes

const esData string = "" + // Size: 835 bytes
	"\x02El cliente intentó autoconectarse al servidor VPN: '%[1]s', pero nec" +
	"esita autorizarse de nuevo. Por favor, conéctese manualmente de nuevo." +
	"\x02El cliente intentó autoconectarse al servidor VPN: %[1]s', pero la o" +
	"peración no se ha completado\x02Se ha producido un error\x02Error al agr" +
	"egar el servidor de acceso a la institución. URL del servidor: '%[1]s'" +
	"\x02No se pudo añadir un servidor de internet seguro con ID de organizac" +
	"ión: '%[1]s'\x02No se pudo añadir un servidor con URL: '%[1]s'\x02La ent" +
	"rada: '%[1]s' no es una URL válida\x02Error al conectar con el servidor:" +
	" '%[1]s'\x02Error al obtener una configuración VPN para el servidor: '%[" +
	"1]s'\x02No se ha podido obtener la lista de las organizaciones\x02Error " +
	"al obtener la lista de los servidores\x02Se ha alcanzado el tiempo de es" +
	"pera para conectar con la URL: %[1]s\x02%[1]s. La causa del error es: %[" +
	"2]s."

var frIndex = []uint32{ // 14 elements
	0x00000000, 0x000000a0, 0x0000010e, 0x00000130,
	0x0000017e, 0x000001da, 0x00000210, 0x0000023e,
	0x0000026c, 0x000002b3, 0x000002e4, 0x00000310,
	0x00000310, 0x00000310,
} // Size: 80 bytes

const frData string = "" + // Size: 784 bytes
	"\x02Le client a essayé de se connecter automatiquement au serveur VPN" +
	"\u202f: '%[1]s', mais vous devez l'autoriser de nouveau. Veuillez vous r" +
	"econnecter manuellement.\x02Le client a essayé de se connecter automatiq" +
	"uement au serveur VPN\u202f: '%[1]s', mais l'opération a échouée\x02Une " +
	"erreur interne s'est produite\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 d" +
	"e l'ajout d'un serveur avec l'URL\u202f: '%[1]s'\x02L'entrée\u202f: '%[1" +
	"]s' n'est pas un URL valide\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 organisations\x02Éc" +
	"hec l'obtention de la liste des serveurs"

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, 0x00000088, 0x000000df, 0x000000fe,
	0x0000014b, 0x000001a2, 0x000001de, 0x0000020e,
	0x00000241, 0x00000289, 0x000002c1, 0x000002f4,
	0x00000324, 0x0000034f,
} // Size: 80 bytes

const nlData string = "" + // Size: 847 bytes
	"\x02De client wilde automatisch verbinden met de VPN server: '%[1]s', ma" +
	"ar er is geen geldige authorizatie. Verbind handmatig nog een keer.\x02D" +
	"e client wilde automatisch verbinden met de VPN server: '%[1]s', maar he" +
	"t was mislukt\x02Een interne fout is opgetreden\x02Het is mislukt om een" +
	" institute access server toe te voegen met URL: '%[1]s'\x02Het is misluk" +
	"t om een secure internet server toe te voegen met 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\x02Het is mislukt om te verb" +
	"inden met server: '%[1]s'\x02Het is mislukt om een VPN configuratie op t" +
	"e halen voor server: '%[1]s'\x02Het is mislukt om de lijst van organisat" +
	"ies op te halen\x02Het is mislukt om de lijst van servers op te halen" +
	"\x02Er is een time-out opgetreden voor URL: '%[1]s'\x02%[1]s. The oorzaa" +
	"k van de error is: %[2]s."

var slIndex = []uint32{ // 14 elements
	0x00000000, 0x0000008b, 0x000000e6, 0x00000104,
	0x00000154, 0x0000019d, 0x000001d0, 0x000001ed,
	0x0000021a, 0x00000256, 0x00000282, 0x000002ae,
	0x000002f4, 0x00000313,
} // Size: 80 bytes

const slData string = "" + // Size: 787 bytes
	"\x02Odjemalec se je poskusil samodejno povezati s strežnikom VPN \x22%[1" +
	"]s\x22, vendar ga morate ponovno avtorizirati. Ponovno se povežite ročno" +
	".\x02Odjemalec se je poskusil samodejno povezati s strežnikom VPN \x22%[" +
	"1]s\x22, vendar mu ni uspelo\x02Prišlo je do notranje napake\x02Napaka p" +
	"ri dodajanju strežnika za dostop do ustanove. Strežnikov URL: '%[1]s'" +
	"\x02Napaka pri dodajanju strežnika za varni splet. Strežnikov URL: '%[1]" +
	"s'\x02Napaka pri dodajanju strežnika z URL-jem: '%[1]s'\x02Vnos \x22%[1]" +
	"s\x22 ni veljaven URL\x02Napaka pri povezovanju s strežnikom \x22%[1]s" +
	"\x22\x02Napaka pri pridobivanju nastavitve VPN za strežnik \x22%[1]s\x22" +
	"\x02Napaka pri pridobivanju seznama organizacij\x02Napaka pri pridobivan" +
	"ju seznama strežnikov\x02Pri dostopu do URL-ja \x22%[1]s\x22 je prišlo d" +
	"o preteka časovne kontrole\x02%[1]s. Vzrok napake je: %[2]s."

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 5022 bytes (4KiB); checksum: 307B5736