aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/zgotext.go
diff options
context:
space:
mode:
authorSimon Rozman <simon@rozman.si>2020-01-31 21:33:17 +0100
committerJason A. Donenfeld <Jason@zx2c4.com>2020-03-15 14:49:27 -0600
commit81dbd3abdf83b9c31ae3b59a82350662f70c6a03 (patch)
treed9f5a5fee6ed98e3c3b21c91a9f17378fce7de46 /zgotext.go
parentl18n: change EnumerationSeparator for Japanese (diff)
downloadwireguard-windows-81dbd3abdf83b9c31ae3b59a82350662f70c6a03.tar.xz
wireguard-windows-81dbd3abdf83b9c31ae3b59a82350662f70c6a03.zip
l18n: add French translation stub
Signed-off-by: Simon Rozman <simon@rozman.si>
Diffstat (limited to 'zgotext.go')
-rw-r--r--zgotext.go72
1 files changed, 71 insertions, 1 deletions
diff --git a/zgotext.go b/zgotext.go
index e2580a8a..e19e78e7 100644
--- a/zgotext.go
+++ b/zgotext.go
@@ -28,6 +28,7 @@ func (d *dictionary) Lookup(key string) (data string, ok bool) {
func init() {
dict := map[string]catalog.Dictionary{
"en": &dictionary{index: enIndex, data: enData},
+ "fr": &dictionary{index: frIndex, data: frData},
"ja": &dictionary{index: jaIndex, data: jaData},
"sl": &dictionary{index: slIndex, data: slData},
}
@@ -358,6 +359,75 @@ const enData string = "" + // Size: 5182 bytes
" just-written frame\x02http2: Framer %[1]p: wrote %[2]v\x02http2: Framer" +
" %[1]p: read %[2]v\x02http2: decoded hpack field %+[1]v"
+var frIndex = []uint32{ // 177 elements
+ // Entry 0 - 1F
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000020, 0x0000003e, 0x0000005e,
+ 0x00000082, 0x000000a6, 0x000000a6, 0x000000a6,
+ 0x000000a6, 0x000000a6, 0x000000a6, 0x000000a6,
+ 0x000000a6, 0x000000a6, 0x000000a6, 0x000000a6,
+ 0x000000a6, 0x000000a6, 0x000000a6, 0x000000a6,
+ // Entry 20 - 3F
+ 0x000000a6, 0x000000a6, 0x000000a6, 0x000000a6,
+ 0x000000a6, 0x000000a6, 0x000000a6, 0x000000a6,
+ 0x000000a6, 0x000000a6, 0x000000a6, 0x000000a6,
+ 0x000000a6, 0x000000a6, 0x000000a6, 0x000000a6,
+ 0x000000a6, 0x000000a6, 0x000000a9, 0x000000ab,
+ 0x000000ab, 0x000000ab, 0x000000ab, 0x000000ab,
+ 0x000000ab, 0x000000ab, 0x000000ab, 0x000000ab,
+ 0x000000ab, 0x000000ab, 0x000000ab, 0x000000ab,
+ // Entry 40 - 5F
+ 0x000000ab, 0x000000ab, 0x000000ab, 0x000000ab,
+ 0x000000ab, 0x000000ab, 0x000000ab, 0x000000ab,
+ 0x000000ab, 0x000000ab, 0x000000ab, 0x000000ab,
+ 0x000000ab, 0x000000ab, 0x000000ab, 0x000000ab,
+ 0x000000ab, 0x000000ab, 0x000000ab, 0x000000ab,
+ 0x000000ab, 0x000000ab, 0x000000ab, 0x000000ab,
+ 0x000000ab, 0x000000ab, 0x000000ab, 0x000000ab,
+ 0x000000ab, 0x000000ab, 0x000000ab, 0x000000ab,
+ // Entry 60 - 7F
+ 0x000000ab, 0x000000ab, 0x000000ab, 0x000000ab,
+ 0x000000ab, 0x000000ab, 0x000000ab, 0x000000ab,
+ 0x000000ab, 0x000000ab, 0x000000ab, 0x000000ab,
+ 0x000000ab, 0x000000ab, 0x000000ab, 0x000000ab,
+ 0x000000ab, 0x000000ab, 0x000000ab, 0x000000ab,
+ 0x000000ab, 0x000000ab, 0x000000ab, 0x000000ab,
+ 0x000000ab, 0x000000ab, 0x000000ab, 0x000000ab,
+ 0x000000ab, 0x000000ab, 0x000000ab, 0x000000ab,
+ // Entry 80 - 9F
+ 0x000000ab, 0x000000ab, 0x000000ab, 0x000000ab,
+ 0x000000ab, 0x000000ab, 0x000000ab, 0x000000ab,
+ 0x000000ab, 0x000000ab, 0x000000ab, 0x000000ab,
+ 0x000000ab, 0x000000ab, 0x000000ab, 0x000000ab,
+ 0x000000ab, 0x000000ab, 0x000000ab, 0x000000ab,
+ 0x000000e1, 0x00000128, 0x00000128, 0x0000015a,
+ 0x000001cc, 0x000001cc, 0x000001cc, 0x000001cc,
+ 0x000001cc, 0x000001cc, 0x000001cc, 0x00000225,
+ // Entry A0 - BF
+ 0x00000225, 0x00000225, 0x00000225, 0x00000225,
+ 0x00000225, 0x00000225, 0x00000225, 0x00000225,
+ 0x00000225, 0x00000225, 0x00000225, 0x00000225,
+ 0x00000225, 0x00000225, 0x00000225, 0x00000225,
+ 0x00000225,
+} // Size: 720 bytes
+
+const frData string = "" + // Size: 549 bytes
+ "\x14\x01\x81\x01\x00\x02\x0b\x02%[1]d year\x00\x0c\x02%[1]d years\x14" +
+ "\x01\x81\x01\x00\x02\x0a\x02%[1]d day\x00\x0b\x02%[1]d days\x14\x01\x81" +
+ "\x01\x00\x02\x0b\x02%[1]d hour\x00\x0c\x02%[1]d hours\x14\x01\x81\x01" +
+ "\x00\x02\x0d\x02%[1]d minute\x00\x0e\x02%[1]d minutes\x14\x01\x81\x01" +
+ "\x00\x02\x0d\x02%[1]d second\x00\x0e\x02%[1]d seconds\x02, \x02 \x14\x01" +
+ "\x81\x01\x00\x02\x16\x02Imported %[1]d tunnel\x00\x17\x02Imported %[1]d " +
+ "tunnels\x14\x02\x80\x01\x02\x1f\x02Imported %[1]d of %[2]d tunnel\x00 " +
+ "\x02Imported %[1]d of %[2]d tunnels\x14\x01\x81\x01\x00\x02\x14\x02Delet" +
+ "e %[1]d tunnel\x00\x15\x02Delete %[1]d tunnels\x14\x01\x81\x01\x00\x024" +
+ "\x02Are you sure you would like to delete %[1]d tunnel?\x005\x02Are you " +
+ "sure you would like to delete %[1]d tunnels?\x14\x01\x81\x01\x00\x02'" +
+ "\x02%[1]d tunnel was unable to be removed.\x00)\x02%[1]d tunnels were un" +
+ "able to be removed."
+
var jaIndex = []uint32{ // 177 elements
// Entry 0 - 1F
0x00000000, 0x0000000a, 0x00000067, 0x00000081,
@@ -620,4 +690,4 @@ const slData string = "" + // Size: 6018 bytes
"kvirja\x02http2: Framer %[1]p: zapisano %[2]v\x02http2: Framer %[1]p: pr" +
"ebrano %[2]v\x02http2: dekodirano polje hpack %+[1]v"
- // Total table size 20159 bytes (19KiB); checksum: D764986
+ // Total table size 21428 bytes (20KiB); checksum: 9AEC31AB