aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/zgotext.go
diff options
context:
space:
mode:
authorSimon Rozman <simon@rozman.si>2020-02-23 11:01:06 +0100
committerJason A. Donenfeld <Jason@zx2c4.com>2020-03-15 14:49:27 -0600
commit6d20cb0e8e45a3dd35c42e66482075127e714f27 (patch)
tree68ba5fe185cf4c7f7df9b9bcfdb70e47fb4c88af /zgotext.go
parentl18n: add Slovenian translation (diff)
downloadwireguard-windows-6d20cb0e8e45a3dd35c42e66482075127e714f27.tar.xz
wireguard-windows-6d20cb0e8e45a3dd35c42e66482075127e714f27.zip
l18n: add Japanese translation stub
Signed-off-by: Simon Rozman <simon@rozman.si>
Diffstat (limited to 'zgotext.go')
-rw-r--r--zgotext.go58
1 files changed, 57 insertions, 1 deletions
diff --git a/zgotext.go b/zgotext.go
index 539f9add..2fdac0c2 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},
+ "ja": &dictionary{index: jaIndex, data: jaData},
"sl": &dictionary{index: slIndex, data: slData},
}
fallback := language.MustParse("en")
@@ -355,6 +356,61 @@ const enData string = "" + // Size: 5179 bytes
"itten frame\x02http2: Framer %[1]p: wrote %[2]v\x02http2: Framer %[1]p: " +
"read %[2]v\x02http2: decoded hpack field %+[1]v"
+var jaIndex = []uint32{ // 176 elements
+ // Entry 0 - 1F
+ 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, 0x00000000, 0x00000000,
+ // Entry 20 - 3F
+ 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, 0x00000000, 0x00000000,
+ // Entry 40 - 5F
+ 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, 0x00000000, 0x00000000,
+ // Entry 60 - 7F
+ 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, 0x00000000, 0x00000000,
+ // Entry 80 - 9F
+ 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, 0x00000000, 0x00000000,
+ // Entry A0 - BF
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+} // Size: 716 bytes
+
+const jaData string = ""
+
var slIndex = []uint32{ // 176 elements
// Entry 0 - 1F
0x00000000, 0x00000007, 0x00000058, 0x00000070,
@@ -507,4 +563,4 @@ const slData string = "" + // Size: 6016 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 12627 bytes (12KiB); checksum: F9DAA9A7
+ // Total table size 13343 bytes (13KiB); checksum: BA0DC4B9