diff options
| author | jwijenbergh <jeroenwijenbergh@protonmail.com> | 2023-05-26 18:00:42 +0200 |
|---|---|---|
| committer | Jeroen Wijenbergh <46386452+jwijenbergh@users.noreply.github.com> | 2023-09-25 09:43:37 +0200 |
| commit | 15ff3bd6cbe9746fc8758e2f6b36176f00ceb7f3 (patch) | |
| tree | f617297734b94eab05bb0171e303f6661a2be4ee /client/zgotext.go | |
| parent | 8a1c1dada826dfd812eaf323c9a03a13b38f025e (diff) | |
Client i18n: Add Slovenia
Diffstat (limited to 'client/zgotext.go')
| -rw-r--r-- | client/zgotext.go | 54 |
1 files changed, 27 insertions, 27 deletions
diff --git a/client/zgotext.go b/client/zgotext.go index b1720a4..b6f3874 100644 --- a/client/zgotext.go +++ b/client/zgotext.go @@ -27,15 +27,15 @@ func (d *dictionary) Lookup(key string) (data string, ok bool) { func init() { dict := map[string]catalog.Dictionary{ - "da": &dictionary{index: daIndex, data: daData}, - "de": &dictionary{index: deIndex, data: deData}, - "dnk": &dictionary{index: dnkIndex, data: dnkData}, - "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}, - "uk": &dictionary{index: ukIndex, data: ukData}, + "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)) @@ -119,23 +119,6 @@ var deIndex = []uint32{ // 38 elements const deData string = "" -var dnkIndex = []uint32{ // 38 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, -} // Size: 176 bytes - -const dnkData string = "" - var enIndex = []uint32{ // 38 elements // Entry 0 - 1F 0x00000000, 0x00000020, 0x00000059, 0x00000090, @@ -252,6 +235,23 @@ var nlIndex = []uint32{ // 38 elements const nlData string = "" +var slIndex = []uint32{ // 38 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, +} // Size: 176 bytes + +const slData string = "" + var ukIndex = []uint32{ // 38 elements // Entry 0 - 1F 0x00000000, 0x00000000, 0x00000000, 0x00000000, @@ -269,4 +269,4 @@ var ukIndex = []uint32{ // 38 elements const ukData string = "" -// Total table size 3665 bytes (3KiB); checksum: 21098CA7 +// Total table size 3665 bytes (3KiB); checksum: 26FA011B |
