summaryrefslogtreecommitdiff
path: root/client/zgotext.go
blob: 487574b4e258a3d34f3d3571f850e8e6d3535bdb (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
// 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":                                                                    1,
	"Failed to add a secure internet server with organisation ID: '%s'":                             3,
	"Failed to add a server with URL: '%s'":                                                         4,
	"Failed to add an institute access server with URL: '%s'":                                       2,
	"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": 0,
	"The client tried to autoconnect to the VPN server: '%s', but you need to authorizate again. Please manually connect again.": 6,
	"The input: '%s' is not a valid URL":   5,
	"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, 0x00000086, 0x000000aa, 0x000000aa,
	0x000000aa, 0x000000aa, 0x000000aa, 0x000000aa,
	0x000000aa, 0x000000aa, 0x000000aa, 0x000000aa,
	0x000000aa, 0x000000aa,
} // Size: 80 bytes

const deData string = "" + // Size: 170 bytes
	"\x02Der Client hat versucht, sich automatisch mit dem VPN-Server '%[1]s'" +
	" zu verbinden, aber der Vorgang konnte nicht abgeschlossen werden\x02Ein" +
	" interner Fehler ist aufgetreten"

var enIndex = []uint32{ // 14 elements
	0x00000000, 0x00000061, 0x0000007c, 0x000000b7,
	0x000000fc, 0x00000125, 0x0000014b, 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 the " +
	"operation failed to complete\x02An internal error occurred\x02Failed to " +
	"add an institute access server with URL: '%[1]s'\x02Failed to add a secu" +
	"re internet server with organisation ID: '%[1]s'\x02Failed to add a serv" +
	"er with URL: '%[1]s'\x02The input: '%[1]s' is not a valid URL\x02The cli" +
	"ent tried to autoconnect to the VPN server: '%[1]s', but you need to aut" +
	"horizate again. Please manually connect again.\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, 0x00000063, 0x0000007c, 0x0000007c,
	0x0000007c, 0x0000007c, 0x0000007c, 0x0000007c,
	0x0000007c, 0x0000007c, 0x0000007c, 0x0000007c,
	0x0000007c, 0x0000007c,
} // Size: 80 bytes

const esData string = "" + // Size: 124 bytes
	"\x02El cliente intentó autoconectarse al servidor VPN: %[1]s', pero la o" +
	"peración no se ha completado\x02Se ha producido un error"

var frIndex = []uint32{ // 14 elements
	0x00000000, 0x0000006e, 0x00000090, 0x000000de,
	0x0000013a, 0x00000170, 0x0000019e, 0x0000019e,
	0x000001cc, 0x00000213, 0x00000244, 0x00000270,
	0x00000270, 0x00000270,
} // Size: 80 bytes

const frData string = "" + // Size: 624 bytes
	"\x02Le client a essayé de se connecter automatiquement 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'U" +
	"RL\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 serveu" +
	"r 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'obt" +
	"ention d'une configuration VPN pour le serveur\u202f: '%[1]s'\x02Échec d" +
	"e l'obtention de liste des organisations\x02Échec l'obtention de la list" +
	"e 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, 0x00000057, 0x00000076, 0x000000c3,
	0x0000011a, 0x00000156, 0x00000186, 0x00000186,
	0x000001b9, 0x00000201, 0x00000239, 0x0000026c,
	0x0000029c, 0x0000029c,
} // Size: 80 bytes

const nlData string = "" + // Size: 668 bytes
	"\x02De client wilde automatisch verbinden met de VPN server: '%[1]s', ma" +
	"ar het was mislukt\x02Een interne fout is opgetreden\x02Het is mislukt o" +
	"m een institute access server toe te voegen met URL: '%[1]s'\x02Het is m" +
	"islukt 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 verbinden met server: '%[1]s'\x02Het is mislukt om een VPN configura" +
	"tie op te halen voor server: '%[1]s'\x02Het is mislukt om de lijst van o" +
	"rganisaties op te halen\x02Het is mislukt om de lijst van servers op te " +
	"halen\x02Er is een time-out opgetreden voor URL: '%[1]s'"

var slIndex = []uint32{ // 14 elements
	0x00000000, 0x0000005b, 0x00000079, 0x000000c9,
	0x00000112, 0x00000145, 0x00000162, 0x000001ed,
	0x0000021a, 0x00000256, 0x00000282, 0x000002ae,
	0x000002f4, 0x000002f4,
} // Size: 80 bytes

const slData string = "" + // Size: 756 bytes
	"\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 pr" +
	"i dodajanju strežnika za dostop do ustanove. Strežnikov URL: '%[1]s'\x02" +
	"Napaka 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\x02Odjemalec se je poskusil samodejno povezati s st" +
	"režnikom VPN \x22%[1]s\x22, vendar ga morate ponovno avtorizirati. Ponov" +
	"no se povežite ročno.\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"

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 3774 bytes (3KiB); checksum: 95432E62