2020-06-19 23:01:26 +08:00
|
|
|
// Code generated by go-bindata. (@generated) DO NOT EDIT.
|
|
|
|
|
|
|
|
//Package translations generated by go-bindata.// sources:
|
|
|
|
// translations/dicts/de_DE.toml
|
|
|
|
// translations/dicts/en_US.toml
|
2020-11-24 05:14:57 +08:00
|
|
|
// translations/dicts/eo.toml
|
2021-02-11 07:24:32 +08:00
|
|
|
// translations/dicts/fr.toml
|
2020-06-19 23:01:26 +08:00
|
|
|
// translations/dicts/tt_TT.toml
|
|
|
|
// translations/dicts/zh_CN.toml
|
|
|
|
package translations
|
|
|
|
|
|
|
|
import (
|
|
|
|
"bytes"
|
|
|
|
"compress/gzip"
|
|
|
|
"fmt"
|
|
|
|
"net/http"
|
|
|
|
"io"
|
|
|
|
"io/ioutil"
|
|
|
|
"os"
|
|
|
|
"path/filepath"
|
|
|
|
"strings"
|
|
|
|
"time"
|
|
|
|
)
|
|
|
|
|
|
|
|
func bindataRead(data []byte, name string) ([]byte, error) {
|
|
|
|
gz, err := gzip.NewReader(bytes.NewBuffer(data))
|
|
|
|
if err != nil {
|
|
|
|
return nil, fmt.Errorf("read %q: %v", name, err)
|
|
|
|
}
|
|
|
|
|
|
|
|
var buf bytes.Buffer
|
|
|
|
_, err = io.Copy(&buf, gz)
|
|
|
|
clErr := gz.Close()
|
|
|
|
|
|
|
|
if err != nil {
|
|
|
|
return nil, fmt.Errorf("read %q: %v", name, err)
|
|
|
|
}
|
|
|
|
if clErr != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
|
|
|
|
return buf.Bytes(), nil
|
|
|
|
}
|
|
|
|
|
|
|
|
type asset struct {
|
|
|
|
bytes []byte
|
|
|
|
info os.FileInfo
|
|
|
|
}
|
|
|
|
|
|
|
|
type bindataFileInfo struct {
|
|
|
|
name string
|
|
|
|
size int64
|
|
|
|
mode os.FileMode
|
|
|
|
modTime time.Time
|
|
|
|
}
|
|
|
|
|
|
|
|
// Name return file name
|
|
|
|
func (fi bindataFileInfo) Name() string {
|
|
|
|
return fi.name
|
|
|
|
}
|
|
|
|
|
|
|
|
// Size return file size
|
|
|
|
func (fi bindataFileInfo) Size() int64 {
|
|
|
|
return fi.size
|
|
|
|
}
|
|
|
|
|
|
|
|
// Mode return file mode
|
|
|
|
func (fi bindataFileInfo) Mode() os.FileMode {
|
|
|
|
return fi.mode
|
|
|
|
}
|
|
|
|
|
|
|
|
// ModTime return file modify time
|
|
|
|
func (fi bindataFileInfo) ModTime() time.Time {
|
|
|
|
return fi.modTime
|
|
|
|
}
|
|
|
|
|
|
|
|
// IsDir return file whether a directory
|
|
|
|
func (fi bindataFileInfo) IsDir() bool {
|
|
|
|
return fi.mode&os.ModeDir != 0
|
|
|
|
}
|
|
|
|
|
|
|
|
// Sys return file is sys mode
|
|
|
|
func (fi bindataFileInfo) Sys() interface{} {
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
type assetFile struct {
|
|
|
|
*bytes.Reader
|
|
|
|
name string
|
|
|
|
childInfos []os.FileInfo
|
|
|
|
childInfoOffset int
|
|
|
|
}
|
|
|
|
|
|
|
|
type assetOperator struct{}
|
|
|
|
|
|
|
|
// Open implement http.FileSystem interface
|
|
|
|
func (f *assetOperator) Open(name string) (http.File, error) {
|
|
|
|
var err error
|
|
|
|
if len(name) > 0 && name[0] == '/' {
|
|
|
|
name = name[1:]
|
|
|
|
}
|
|
|
|
content, err := Asset(name)
|
|
|
|
if err == nil {
|
|
|
|
return &assetFile{name: name, Reader: bytes.NewReader(content)}, nil
|
|
|
|
}
|
|
|
|
children, err := AssetDir(name)
|
|
|
|
if err == nil {
|
|
|
|
childInfos := make([]os.FileInfo, 0, len(children))
|
|
|
|
for _, child := range children {
|
|
|
|
childPath := filepath.Join(name, child)
|
|
|
|
info, errInfo := AssetInfo(filepath.Join(name, child))
|
|
|
|
if errInfo == nil {
|
|
|
|
childInfos = append(childInfos, info)
|
|
|
|
} else {
|
|
|
|
childInfos = append(childInfos, newDirFileInfo(childPath))
|
|
|
|
}
|
|
|
|
}
|
|
|
|
return &assetFile{name: name, childInfos: childInfos}, nil
|
|
|
|
} else {
|
|
|
|
// If the error is not found, return an error that will
|
|
|
|
// result in a 404 error. Otherwise the server returns
|
|
|
|
// a 500 error for files not found.
|
|
|
|
if strings.Contains(err.Error(), "not found") {
|
|
|
|
return nil, os.ErrNotExist
|
|
|
|
}
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
// Close no need do anything
|
|
|
|
func (f *assetFile) Close() error {
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
// Readdir read dir's children file info
|
|
|
|
func (f *assetFile) Readdir(count int) ([]os.FileInfo, error) {
|
|
|
|
if len(f.childInfos) == 0 {
|
|
|
|
return nil, os.ErrNotExist
|
|
|
|
}
|
|
|
|
if count <= 0 {
|
|
|
|
return f.childInfos, nil
|
|
|
|
}
|
|
|
|
if f.childInfoOffset+count > len(f.childInfos) {
|
|
|
|
count = len(f.childInfos) - f.childInfoOffset
|
|
|
|
}
|
|
|
|
offset := f.childInfoOffset
|
|
|
|
f.childInfoOffset += count
|
|
|
|
return f.childInfos[offset : offset+count], nil
|
|
|
|
}
|
|
|
|
|
|
|
|
// Stat read file info from asset item
|
|
|
|
func (f *assetFile) Stat() (os.FileInfo, error) {
|
|
|
|
if len(f.childInfos) != 0 {
|
|
|
|
return newDirFileInfo(f.name), nil
|
|
|
|
}
|
|
|
|
return AssetInfo(f.name)
|
|
|
|
}
|
|
|
|
|
|
|
|
// newDirFileInfo return default dir file info
|
|
|
|
func newDirFileInfo(name string) os.FileInfo {
|
|
|
|
return &bindataFileInfo{
|
|
|
|
name: name,
|
|
|
|
size: 0,
|
|
|
|
mode: os.FileMode(2147484068), // equal os.FileMode(0644)|os.ModeDir
|
|
|
|
modTime: time.Time{}}
|
|
|
|
}
|
|
|
|
|
|
|
|
// AssetFile return a http.FileSystem instance that data backend by asset
|
|
|
|
func AssetFile() http.FileSystem {
|
|
|
|
return &assetOperator{}
|
|
|
|
}
|
|
|
|
|
2021-02-16 00:02:36 +08:00
|
|
|
var _de_deToml = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xac\x58\xcd\x72\xdb\xba\x92\xde\xf3\x29\x7a\x70\xeb\x4e\x7e\x2a\x52\x2c\x39\xc9\x49\x94\xd0\x55\x76\xac\x38\xae\xd8\x19\x8f\x65\x9f\xd4\x9c\x38\x0b\x90\x6c\x92\xb8\x22\x41\x5e\x00\x94\x8e\x65\xf9\x4d\xa6\x6a\x36\x79\x86\xac\xb2\xd3\x8b\x4d\x35\x00\xea\x2f\xf6\x3d\x49\xd5\x5d\x89\x02\xba\x1b\x8d\xfe\xf9\xba\x1b\x71\x25\x53\x91\xa5\xa2\xc0\x90\x7d\xb0\xdf\x8d\xe2\x46\x54\x52\x27\xdc\xa0\x60\x41\xa3\x79\x86\x21\xfb\x1d\xd5\x14\x65\xd2\xc8\x6c\x00\x37\x3b\xb7\xf0\xb9\xaa\x89\x0a\xe5\x97\x2b\x79\x25\xff\xcb\xff\x19\x5c\x49\x16\x98\xca\xf0\x22\x64\x47\xa8\x79\x69\x58\x10\x04\x9f\x73\x2c\xea\x2f\x41\xcd\x4d\xae\x43\xf6\x91\xc7\x39\x14\x3c\x89\xb8\x42\x09\xef\xb8\x8a\x74\x9c\x63\xc9\x0d\x87\x46\x26\x70\xc2\xaf\xab\xc6\x68\xd0\xd5\x54\x20\x24\xa8\xe0\x0e\xb5\x60\x2a\x54\x02\x42\xda\xfd\xb4\x2a\x32\x94\x09\x4a\x38\x47\x91\xa3\xb4\xff\x21\x43\xdd\xc4\xb9\x19\xb0\xa0\xa8\xb2\x90\x1d\x0a\x84\x33\x55\x99\x6a\x5c\x15\x85\x93\x11\x61\x2a\x64\x82\x06\xb4\x88\x73\x12\x76\xb3\x73\xcb\x82\xa9\x12\xc6\xa0\xdc\xb2\x06\x89\x8b\x73\x25\x30\x42\x09\xbc\x49\x1d\x2d\xdd\x2b\x64\x8c\x05\x07\x68\x15\x18\xc0\x3f\xa1\x22\x95\xde\xbc\xed\xc4\x7b\x41\x70\xa6\xaa\x19\x6a\x2d\xf9\x44\x64\x56\xcc\x20\x00\xe8\xc0\xd8\x5e\xf4\xcd\x65\xbd\x37\x80\x2a\x42\x69\x17\xff\xe1\x16\x0f\xab\xa9\xdc\x1b\x80\x14\x98\xa0\xb2\x1b\x6f\xde\x76\x9a\xbd\x01\xe4\xbc\x88\x10\x46\x28\x0c\x82\x24\x13\x2e\x39\xdf\xbc\xed\x24\x77\x11\x34\xd2\xac\x28\xa2\xbd\x01\x64\x5c\xce\xee\x15\x91\xde\x45\xb0\x12\x91\x65\x4e\xbf\xf7\x55\x89\xa4\x5f\xcb\x0e\xba\x56\x42\x66\x9e\xea\xc8\x11\x0d\x65\xd2\xd2\x58\x09\x2b\x22\x32\x49\x8c\x5a\x03\x8f\xad\x37\x9d\x41\xde\x5c\x70\xd2\xcf\x9b\x2b\x53\x4d\x5d\x0b\x54\x8d\xcc\xa0\x29\x75\x9c\xf3\xa2\xd5\x22\x49\x06\xe0\x6c\x0d\x28\xa4\x75\x85\xce\x70\xba\xf8\x9a\x13\x49\x2b\xc0\xf9\x80\x08\xe0\x88\x64\x21\x4c\xaa\xe5\x26\x4a\x28\x85\x81\xd1\xf1\xd1\xc5\xf0\xfc\x14\x1e\xf6\x9e\x3f\x72\xa2\x77\xff\x8d\xa2\xff\xfb\xf2\xf8\x02\x1e\xee\x7a\xc9\xaf\x06\x60\x16\xdf\xcc\xbf\x43\xf0\x87\xe3\x93\x13\x78\xf8\xea\xd1\x32\xb6\x74\xa5\x8c\xb3\x95\x33\x65\x3c\x80\xb7\x67\x97\xf6\xb3\x1c\xc0\x29\x96\xf6\xb3\x1e\xc0\xd9\xf1\xe1\x92\x29\x15\x85\x59\xe3\x79\x3a\x80\x77\x76\x05\x22\xe4\x2a\x22\xf7\x3b\x73\x3f\x24\x2d\x15\xca\xc4\xe6\xd9\x81\xdf\x6c\x64\xf6\x88\x18\xad\xe7\x86\xd2\xa0\xda\x5b\x0a\xe0\xe3\x19\xd6\xa4\x90\x95\xe0\x43\x2b\xde\xf3\x61\xa1\x63\x5e\xe3\x8a\xb8\x58\x7c\xa3\xd4\x97\x41\xf0\xf6\xec\xb2\x63\x69\x4e\xb1\xec\x1c\x29\x5e\xe7\x9d\xd1\x98\x17\xeb\x17\xcb\x07\xa0\xdd\x12\x4a\x10\x4e\xbf\x62\x6d\x2d\x08\x3e\xa2\x99\x4d\x51\x8d\x1d\x7d\x34\x80\xcb\x65\xf0\xc0\x6c\x2a\xec\x51\x70\x7a\x20\x0c\x3c\x05\x6d\x4f\xf3\xcc\x44\x70\x70\x6d\x50\x43\xad\x2a\x18\xe1\xb8\x91\x09\x06\x94\xd7\x7f\x83\xc5\xff\x1e\x0c\xcf\x47\xc3\x8b\x3f\x86\xe7\x03\x38\x20\x68\x80\xc5\xf7\x08\x95\x46\x33\x43\x09\x23\xc2\x28\x81\x1e\xb5\x3a\x8f\x1f\x7f\xe4\x25\xca\xc7\x8f\x41\x8a\x38\x37\x41\xe1\xc1\x2c\x04\xc6\xd8\x90\x52\x20\xe2\x8d\x69\xc9\x6d\xf4\x43\x82\x29\x6f\x0a\x43\x9f\xa5\x90\xa2\xe4\x05\x7d\x46\xdc\x18\x54\xd7\xf4\x39\x16\x86\x54\xd7\x42\x8e\x7f\x49\xa7\x15\xb4\xfe\xa0\x57\x5c\x15\x95\xb2\x7b\xf8\xa3\x72\xeb\x90\xbc\xad\xa1\xff\xec\x24\x5c\x8d\xe1\x61\xba\xf8\xae\x60\x8a\x62\xf1\x7f\x28\xe1\xbd\xa0\x50\xc8\x54\x23\x13\x8a\x7b\xd0\x55\xc1\x95\x98\x61\xb2\xf1\xa7\xf7\xc2\xf2\x6e\xaf\x15\x22\xcb\x9d\x09\x2a\x59\x8d\xb9\xa0\xcf\x89\x88\x91\x7e\x65\xa5\x92\x5f\xba\xf8\x27\x91\x64\xf8\xa3\x33\xa6\x76\xd9\xdf\xd7\xd1\xe8\x27\x96\x41\xc8\x65\xd9\x99\xb8\x3a\x87\x06\xa6\xa8\xa8\xa6\x8c\x17\xdf\x24\x55\x36\xd2\x24\xae\x1b\x1b\xd3\x14\xae\x27\x5c\x9b\x44\xf0\x4c\xf1\xb2\xb4\x8a\x63\x69\xf7\xce\xf2\x6b\x6d\x63\x0d\xfe\x13\x46\x53\x5e\x77\x46\x35\x8a\x38\x47\xb5\x14\x2d\xe1\x48\xf1\x54\x58\x1b\x18\x2c\x6b\xe2\x1a\xa1\xa4\x4c\xc6\xb2\x46\xc5\x4d\xe3\xd3\x27\x11\x7a\x4c\xbb\xab\xe2\x6b\x13\xb1\x6e\x8f\x90\xf0\x0e\xb5\xa9\x0b\x8a\x15\x59\x73\x65\x04\x81\x2a\x71\xd6\xd5\x14\x15\x74\x60\x48\x80\x72\x60\x63\x49\xa0\x36\x5c\x66\xce\xa4\x68\xac\xb2\x6d\xca\x14\x5c\x5b\xeb\xd7\xaa\x8a\x35\x74\xe0\x98\x5c\xc9\xc7\x46\x4c\xb0\xc5\xa0\x42\x68\x
|
2020-06-19 23:01:26 +08:00
|
|
|
|
2021-01-26 02:18:59 +08:00
|
|
|
func de_deTomlBytes() ([]byte, error) {
|
2020-06-19 23:01:26 +08:00
|
|
|
return bindataRead(
|
2021-01-26 02:18:59 +08:00
|
|
|
_de_deToml,
|
|
|
|
"de_DE.toml",
|
2020-06-19 23:01:26 +08:00
|
|
|
)
|
|
|
|
}
|
|
|
|
|
2021-01-26 02:18:59 +08:00
|
|
|
func de_deToml() (*asset, error) {
|
|
|
|
bytes, err := de_deTomlBytes()
|
2020-06-19 23:01:26 +08:00
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
|
2021-02-16 00:02:36 +08:00
|
|
|
info := bindataFileInfo{name: "de_DE.toml", size: 7371, mode: os.FileMode(420), modTime: time.Unix(1613404857, 0)}
|
2020-06-19 23:01:26 +08:00
|
|
|
a := &asset{bytes: bytes, info: info}
|
|
|
|
return a, nil
|
|
|
|
}
|
|
|
|
|
2021-02-10 23:04:03 +08:00
|
|
|
var _en_usToml = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\x9c\x58\xdd\x73\xd4\xb8\xb2\x7f\xf7\x5f\xd1\x57\x5b\xbb\x40\x2a\x19\x32\x13\x58\xc0\xe0\x54\x41\x08\xdc\xd4\x26\x6c\x36\x1f\x97\xba\x45\x78\xd0\xd8\x3d\xb6\x36\xb6\xe4\x95\xe4\x19\xe6\x64\xf2\xbf\x9f\xea\x96\x3c\x1f\x49\x38\x67\x97\xa7\x91\x5b\xfd\xa9\x6e\xfd\xba\x35\xb9\xd1\x13\x55\x4e\x54\x8d\x99\x38\xe0\x35\xd0\x87\x48\x3a\x27\x4b\xcc\xc4\x25\xfd\xa4\x70\xb3\x7b\x0b\x5f\x4c\xeb\x95\xd1\xee\xeb\x95\xbe\xd2\xbf\x87\x75\x7a\xa5\x45\xe2\x8d\x97\x75\x26\x2e\xe8\x47\x24\x49\xf2\xa5\xc2\xba\xfd\x9a\xb4\xd2\x57\x2e\x13\xc7\x46\x16\x72\x5c\x23\xe4\xa6\x36\xd6\xe5\x15\x36\xe8\xe0\x17\xa8\xe5\xdc\x74\xde\x6d\x83\xd4\x05\xf8\x8a\xf6\x97\xe6\xb7\x41\x5a\x04\x87\xd2\xe6\x15\x16\x30\x31\x76\x1b\x94\x06\x63\x0b\xb4\xa9\x48\x6a\x53\x66\xe2\xa2\x42\xa8\x4d\xe0\x07\xe5\x68\xff\x66\xf7\x56\x24\x33\xab\xbc\x47\xbd\x0c\x27\x7e\x83\x37\x61\x9f\x9c\xcb\x84\x10\xc9\x1f\x9d\xf2\x29\xfc\x05\xc6\xc2\x9b\x83\x9d\x7c\x3f\x49\x4e\xad\xc9\xd1\x39\xd0\x72\xaa\x4a\x49\x01\xa6\x09\xc0\x0e\x5c\xb3\x8f\x6f\x2e\xdb\xfd\x14\xba\x96\x49\x7f\x06\xd2\x7b\x33\xd3\xfb\x29\x14\x66\xa6\x99\xfc\xe6\x60\xa7\xdb\x4f\xa1\x92\xf5\x04\x5a\x59\x62\xcf\xfe\xe6\x60\xa7\xd8\xa0\xaf\x4b\x8c\xf7\x53\x98\x74\x75\x7d\x57\x62\xb2\x41\x5f\x4a\x94\x65\xb0\xfd\xbf\xa6\xc1\xfd\x14\xfe\xec\x9a\x96\x82\xf3\x26\x08\x7e\x0c\xbb\x87\xba\x58\xdb\x1c\x1b\xef\x4d\xb3\x8a\x50\xe6\x21\x7d\xc1\xd4\x85\x24\x17\xbc\x29\xcb\x1a\xa1\x8d\x2c\xa5\x35\x5d\xab\x74\xc9\x2c\x45\x91\xc2\xb5\xaa\x6b\x70\x58\x63\xee\xb1\x58\xb2\x19\x1b\x38\xc1\x4c\x7a\x1a\x3a\x98\x29\x5f\xc1\xf9\xd1\xc7\x8b\xc3\xb3\x13\x78\x3c\x7c\xfe\x24\x68\xd9\xfb\x31\x2d\x7f\x5c\x1e\x5d\xc0\xe3\xbd\xa8\xe4\xd5\x8f\x29\xf9\xed\xe8\xf8\x18\x1e\xbf\x7a\xb2\x3a\x04\x67\xac\x57\xba\x0c\x87\x90\xa7\x70\x70\x7a\xc9\xcb\x26\x85\x13\x6c\x78\xd9\xa6\x70\x7a\xf4\x7e\x25\x32\x51\xb5\x47\xbb\x14\x7a\x9a\x82\xf3\xd2\x7a\xc0\x42\x91\xaa\xb8\xcf\x7b\x8f\x67\x15\x55\x66\xdc\x79\x42\x02\x7c\xd8\x87\xda\xa3\xdd\x4f\x41\xe6\x39\xb6\x7e\x25\x11\x93\x9e\xef\xc7\xfc\xb9\x5c\xb6\x94\xdf\xbc\x46\x69\x7b\xb6\xe4\xe0\xf4\x92\xf7\x4f\xb0\x81\xd2\xca\xb6\x02\x97\xcb\x7a\xe9\x50\x95\xf2\x37\x82\x0a\xb5\x52\xf7\xdf\xa6\xf3\x49\xf2\x09\xfd\xcc\xd8\xeb\xc0\x3a\x5e\x66\x7c\x8c\x7e\x86\xa8\xa1\x19\xb7\x8e\x95\xb3\x48\x01\xe3\xb9\x47\x07\x2d\x5a\x70\x98\x1b\x5d\x24\x74\x6b\x7e\x82\x8b\xb3\xb7\x9f\xce\x8f\xdf\x5e\xfc\x7e\x76\x9e\xc2\x69\x8d\xd2\x51\x71\xea\x47\x1e\xbc\x95\xda\xd5\xd2\x23\xdf\xe7\x70\xc1\x61\x6b\x4b\xcb\x06\xdd\xd6\x56\x12\x6f\x3c\x64\x20\x84\x78\xd7\xa9\xda\xef\x28\xdd\xe3\x00\x9f\x4f\x81\x13\xd9\xd5\x9e\x96\x8d\xd2\xaa\x91\x35\x2d\xc7\xd2\x7b\xb4\x73\x5a\x5e\x2b\x9f\x57\xa8\x9d\xd2\xd7\xff\xcc\x19\x06\x1f\xc6\x9e\x35\x87\x36\x10\x69\xd3\xab\xf5\xad\xbb\xae\xc5\xe5\x4e\x21\xed\x35\x3c\x9e\x18\x0b\xb3\x4a\x79\x84\xb1\xcc\xaf\xa9\x00\x75\x41\x95\x0a\xce\xd4\xd2\xaa\x7f\x61\xb1\xf1\x31\xfc\x95\xe5\xee\xd2\x6a\x55\x56\x21\x6e\xa3\xcd\xb5\x54\xb4\x9c\xaa\x1c\xe9\x57\x1b\x5b\xfc\xb3\x68\x67\xaa\x28\x71\xfd\xe8\x03\x21\x06\xf9\x39\x7e\xf8\x4a\x7a\xc8\xa5\x86\x31\x42\xe7\xb0\x80\x3b\xd9\xc8\xdb\x8e\xab\x92\x6a\xae\x36\xb2\x08\x05\xc7\x4e\x62\xc3\x3b\xa7\xd5\xdc\xa9\x5c\xd6\xf0\x0b\xb8\x99\x6c\x89\x6e\xec\x9c\x94\xad\x78\x3d\x36\x2d\xf1\x9e\xa3\x76\xc6\xf2\x27\x5a\xe9\x3b\x8b\x8e\x0f\x53\xb9\xeb\x0d\x55\x4c\x68\xa5\xf5\x8a\x20\x8a\x74\x11\x5b\x6b\x66\x68\x61\x07\xde\xf6\xd5\x00\x63\xc9\xb7\x46\xa3\x67\x57\x62\x6d\xb3\xa3\x2c\x60\x4d\xee\x60\x07\x8e\xe8\xba\x11\xdc\x4d\x57\xd0\x56\x2b\xe7\xe9\x40\x93\xe4\x8b\xb4\xa5\xfb\x1a\x7b\xc2\x79\x65\x66\xe0\x2b\xe5\xc0\xe5\x16\x51\x0f\x44\xa8\x90\x4c\x9c\xa3\x07\xb9\x5e\x13\x03\x91\xf0\x25\xc9\xc4\xc7\xe5\x25\x44\x98\xc8\xdc\x53\xab\xda\xdf\x15\xc9\x14\xad\x53\x46\x67\xe2\xd4\x2a\xed\x21\x7e\xf2\xf5\xc2\x6f\xca\x0f\x44\xd2\xa2\xcd\xdb\x2e\x9a\x45\x99\x57\x7c\xd0\x4a\x73\x06\x69\x19\x92\x46\x5e\xb4\x9d\x9c\x96\x91\x53\x4e\xd1\x52\x3f\xf8\x1e\x33\x1d\x70\x1f\xcb\xda\x59\x13\xef\x44\x56\x16\x75\x85\x6c\xde\x79\xe9\x3b\x37\x96\xb6\xd7\x0b\x4b\x4a\xc0\x4c\xd2\xec\x15\xc7\x6a\xa5\xc7\x4c\x9c\xe1\xc4\xa2\xab\x60\x62\xf1\xaf\x0e\x75\x3e\x1f\xc0\x89\x71\x9e\x99\xa0\x
|
2020-06-19 23:01:26 +08:00
|
|
|
|
2021-01-26 02:18:59 +08:00
|
|
|
func en_usTomlBytes() ([]byte, error) {
|
2020-06-19 23:01:26 +08:00
|
|
|
return bindataRead(
|
2021-01-26 02:18:59 +08:00
|
|
|
_en_usToml,
|
|
|
|
"en_US.toml",
|
2020-06-19 23:01:26 +08:00
|
|
|
)
|
|
|
|
}
|
|
|
|
|
2021-01-26 02:18:59 +08:00
|
|
|
func en_usToml() (*asset, error) {
|
|
|
|
bytes, err := en_usTomlBytes()
|
2020-06-19 23:01:26 +08:00
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
|
2021-02-10 23:04:03 +08:00
|
|
|
info := bindataFileInfo{name: "en_US.toml", size: 6194, mode: os.FileMode(420), modTime: time.Unix(1612968765, 0)}
|
2020-06-19 23:01:26 +08:00
|
|
|
a := &asset{bytes: bytes, info: info}
|
|
|
|
return a, nil
|
|
|
|
}
|
|
|
|
|
2021-02-10 23:04:03 +08:00
|
|
|
var _eoToml = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xa4\x58\xdd\x76\xdb\x36\x90\xbe\xe7\x53\xcc\xa2\xa7\x9b\x9f\x13\x2b\x96\x9d\x34\x89\x12\xe6\x1c\x37\x71\xba\x3e\xb5\x13\xaf\x7f\xba\x17\x71\x2e\x46\xe4\x88\x82\x08\x02\x5c\x00\x54\x6a\x59\xbe\xdf\xbe\x43\xf3\x08\xbd\xec\x1b\x38\xef\xb5\x67\x40\x50\x7f\x71\xda\xe6\xf4\x4a\x14\x31\xbf\x98\x0f\xdf\x0c\x98\x19\x3d\x92\xc5\x48\x2a\x4a\xc5\x9e\x2d\x4c\x6e\x72\xe3\x24\x59\x23\x92\xc6\x61\x41\xa9\x38\x9f\x61\x6e\x06\x70\xb5\x7d\x0d\xef\x69\xa8\xcc\xe4\xc3\x85\xbe\xd0\xfb\xfc\x34\xb8\xd0\x22\xf1\xc6\xa3\x4a\xc5\x69\x53\x19\x91\x24\xc9\xfb\x31\xa9\xfa\x43\x52\xa3\x1f\xbb\x54\x7c\xfe\x1d\xed\xcd\x27\x1a\x2a\x84\x52\x19\x8b\x13\x70\x25\x55\x66\x02\xff\x09\xa4\x6b\xbc\xf9\x24\x0b\x33\x79\x00\x25\x4e\x40\x21\xe0\x6a\x00\x0f\x80\x9c\x47\x07\xc6\xe6\x08\x8e\xec\xcd\x6f\xe8\x65\x21\xdd\x40\x24\xca\x14\xa9\x38\x34\x45\x27\x0a\xde\x9a\xa9\xbc\xf9\x84\x0e\x6e\x7e\x23\x0e\x55\x24\x1f\xad\xf4\x9e\x74\x9b\x95\xcd\x0d\xb8\xd2\xca\xa1\xbc\xf9\x24\x57\x84\x38\xd6\x54\x08\x91\xec\x2b\x69\xe5\x00\xfe\x17\xf0\xf3\x1f\xf0\xe2\xd5\x56\xf6\x32\x49\x8e\xad\xc9\x68\x86\xa0\x71\x2a\x0b\xcc\xcd\x64\x90\x00\x6c\x41\x19\xa2\x7d\x71\xda\xd4\x96\xf4\xcb\x01\xb8\xf0\x10\x96\x26\xed\xd2\x11\x2a\xd7\xad\x56\xdd\x73\x10\x78\xf1\x6a\xab\x79\x39\x80\xbc\x31\x1a\x81\xd3\x37\xb0\xbe\x9a\x6f\xac\x7e\xa1\x3e\x7c\x39\x80\x5a\xd1\x57\xd4\x47\x1b\xab\xeb\xea\x45\xd1\xc6\xf7\x5f\x34\xa9\x0c\x47\x8e\xca\x4b\x40\x15\x8c\x98\x56\xe6\xa7\x56\xe4\x8d\xd4\x6b\x12\xd1\x90\xd1\xcb\x6d\xc1\xa2\xdb\x91\x17\x87\xa8\x0b\xf2\xac\x80\xca\x93\xd5\x12\xea\x20\x64\x34\x14\xb6\xa9\x65\x21\x83\x5c\x9e\x0f\x60\x24\xb5\xe4\x52\x93\xa2\xd2\x4b\x8f\x13\xdd\xc9\x4e\x74\xd8\xfc\x0d\x4d\xa3\xa1\x6c\x34\x9c\x1e\xfc\x74\xb6\x7f\x72\x04\x77\xfb\x8f\xef\xb5\xb6\x76\xff\x8d\xad\xff\x3e\x3f\x38\x83\xbb\xbb\xd1\xd4\xb3\x7f\x63\xea\xe7\x83\xc3\x43\xb8\xfb\xec\xde\x72\x63\x8c\xcd\xe5\x62\x6f\xb2\x01\xbc\x3a\x3e\x0f\x8f\xd5\x00\x8e\xa8\x32\xd6\x84\x7f\xf5\x00\x8e\x0f\x5e\x2f\xb5\x46\x52\x79\xbb\x44\xd9\xc3\x01\x94\xa6\x22\x9d\x49\xb0\x94\x63\xe9\x65\x2b\x21\x55\x2c\xd4\xdd\xbc\xa9\xe2\x12\xe6\xf2\x1e\x6b\x85\x5a\xec\x6b\x69\x25\x57\xa2\xcc\xa8\xde\xd0\x8a\x28\xc9\x5e\xb6\x45\xde\x77\x25\xd6\x2c\x4b\x8c\xfe\x15\xc9\xe4\xd5\xf1\x79\x10\x09\xf1\x22\x14\x16\x47\x52\xf1\x11\x42\x25\xdb\xf8\xc6\x03\x98\x99\xaa\xad\xab\x0a\x30\x0f\x7f\x93\x13\xf2\xa6\x95\x18\x2e\xd1\x20\xb5\x27\x0b\xd5\xb0\x76\xc1\x2a\x9b\x21\x18\xe2\xc4\x9b\x09\xd4\xc6\x42\xde\x60\xc2\xa7\xf0\x3b\x38\x3b\xd9\x7b\x7b\x7a\xb8\x77\xf6\xee\xe4\x74\x00\xc7\x8a\xd0\x11\xe4\x46\xdf\xf1\xe0\x2d\x6a\xa7\xd0\x13\xf8\x31\x81\xc2\x4b\xd3\x78\xb8\x7f\x5f\x63\x45\xee\xfe\xfd\xa4\x7d\xe1\x20\x05\x21\xc4\xbe\x2e\x8d\x76\xde\x36\x5c\xc9\x15\xa2\x09\x9b\x94\xd3\x08\x1b\xe5\xf9\xb1\x92\x5a\x56\xa8\xf8\x71\x88\xde\x93\xbd\xe4\xc7\x52\xfa\x6c\x4c\xda\x49\x5d\x7e\x5b\x50\x99\x51\xc6\xba\x6c\x4c\x15\xad\x44\xb6\xf2\xf6\xd6\xf0\xd6\x78\x71\x33\xc2\xf8\xb8\x95\xa3\x2d\xe1\x2e\xef\xd5\x50\xa1\x2e\x11\x46\x46\x1b\x86\x2f\x38\xa3\xd0\xca\x19\xe5\x6b\x7f\xfa\x3f\x04\x95\xcd\x77\x4a\x16\xe3\x36\x73\xa3\x4d\x89\x5c\x3e\x98\xca\x8c\xf8\x57\x1b\x9b\x7f\x5b\xbe\x1f\x65\x5e\xd0\x6a\x11\xda\x17\x8b\x2c\xdb\x6d\xc7\x09\xbc\x21\x4d\xce\x5b\xbc\xf9\x33\x66\x98\xd5\x4d\x00\x23\xe3\xec\xf3\x27\x6e\x11\x0b\x90\x85\xe8\xa8\x0a\xcb\x6f\xe4\x4c\x96\x08\x25\x5e\xb6\x10\xfa\xfc\x09\x35\x8b\x56\x6b\xb0\x64\x0d\x4f\x55\xcd\x1a\x67\x54\xd5\x64\xd1\x37\x96\x7b\x86\x76\x52\x99\x49\xd8\x47\xe9\xca\xa5\xc5\x49\xf8\x9f\x4b\x57\xa3\xf5\x21\xc2\x66\x86\x79\x34\x55\x9b\x8f\x64\x61\x0b\x7e\x44\x4f\x56\xb2\xb3\x59\x63\xe3\x9a\x26\x1f\x02\x3b\x21\xbf\xaa\x61\x4d\xe6\x60\x0b\x0e\x38\x46\x2c\x30\x92\x05\x82\x92\xce\x1b\xde\xd3\x24\x79\x8f\xb6\x70\x1f\x62\xc3\xb9\xf9\x3f\x09\x5e\x36\x1a\xa4\x1e\x19\x5b\x99\x49\x4f\xb4\x30\x49\xc5\x1e\x37\x2b\xb9\x0e\x8a\x9e\x48\x5c\x86\xa1\x43\xb7\xab\x6d\xe2\xa8\xc3\x49\x32\xfa\x01\xbc\xdc\x16\xc9\x94\xac\x93\x46\xa7\xe2\xc8\x68\x6f\x25\xc4\xff\xe1\xc4\x85\x03\xde\x13\x49\x4d\x36\xab\x9b\x85\xc8\xcd\x6f\x1c\x04\x17\x81\x34\xb3\xdf\xab\xe3\xf3\xad\xd1\xb2\x56\x1c\x55\xdd\xe0\xb4\x58\x28\x84\xd6\xf4\xd7\x1a\x5c\x89\
|
2020-11-24 05:14:57 +08:00
|
|
|
|
2021-01-26 02:18:59 +08:00
|
|
|
func eoTomlBytes() ([]byte, error) {
|
2020-11-24 05:14:57 +08:00
|
|
|
return bindataRead(
|
2021-01-26 02:18:59 +08:00
|
|
|
_eoToml,
|
|
|
|
"eo.toml",
|
2020-11-24 05:14:57 +08:00
|
|
|
)
|
|
|
|
}
|
|
|
|
|
2021-01-26 02:18:59 +08:00
|
|
|
func eoToml() (*asset, error) {
|
|
|
|
bytes, err := eoTomlBytes()
|
2020-11-24 05:14:57 +08:00
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
|
2021-02-10 23:04:03 +08:00
|
|
|
info := bindataFileInfo{name: "eo.toml", size: 6533, mode: os.FileMode(420), modTime: time.Unix(1612969019, 0)}
|
2021-02-11 07:24:32 +08:00
|
|
|
a := &asset{bytes: bytes, info: info}
|
|
|
|
return a, nil
|
|
|
|
}
|
|
|
|
|
|
|
|
var _frToml = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xac\x58\xcd\x72\x1b\x39\x92\xbe\xd7\x53\xe4\x62\x62\x82\xb6\x43\x62\x8b\x52\xdb\xdd\x66\xbb\x1c\xe1\x91\x35\xb3\xda\x91\xdc\x1a\x49\xde\x8d\x0d\xcb\x07\xb0\x2a\x59\x44\x0b\x05\x94\xf1\x43\x5b\x23\xea\x01\x7a\x9f\x62\x6e\xdb\xdc\xc3\x9e\xf6\x0d\xea\xc5\x36\x12\x40\x91\x45\xca\x72\xbb\x67\xe6\xc4\x22\x90\x48\x24\x12\x99\x5f\x7e\x89\x42\xab\xa9\xa8\xa6\x42\x62\xce\xfe\x28\x8a\x99\x40\x03\x25\x42\x1c\xf6\x86\x3b\xa1\x15\xcb\xbc\xe5\x15\xe6\xec\xad\x13\x52\xd8\x30\x36\x86\xdb\xbd\x3b\x78\xa7\x1b\xfa\x63\xdf\x5f\xa9\x2b\xf5\x63\xfc\x1e\x5f\x29\x96\x39\xed\xb8\xcc\xd9\x25\xfd\xb0\x2c\xcb\xde\xcd\x50\x36\xef\xb3\x86\xbb\x99\xcd\xd9\x09\x5a\xf8\x09\xfd\xa7\xb8\x93\x97\xe8\x8d\x05\x74\x50\x0a\xdb\x68\x2b\x82\x1a\x68\xff\x06\xc5\x8c\x9b\x0a\xcd\x0e\xcd\x49\x84\xe9\x03\xf6\xed\x80\xd5\xca\x81\xc1\x62\x86\xa6\x98\xb5\x4b\xb4\x3b\x50\x72\x65\x41\x0e\xb4\x29\x0d\xc2\x98\x65\x52\x57\xb4\x71\x5f\x89\xd4\x15\xa0\x75\x51\xf4\x76\xef\x8e\x65\x1f\x8d\x70\x0e\x55\xce\x0e\xfb\xfa\xa1\x5d\x16\x46\x38\xec\x09\xd2\x71\x72\xc6\x58\xf6\x17\x4f\x2b\xcc\x18\x3e\x80\xf6\xf0\xe2\x70\xb7\x78\x99\x65\x6f\xf8\x5c\x54\x71\x69\x34\x03\x2d\x34\x46\x17\x68\xad\xb7\xe3\x0c\x60\x17\xae\xe9\x4c\x2f\xde\x36\x2f\xc7\x30\x47\x43\x22\x30\xe3\xde\x85\xb9\x9f\xc2\xdc\x6b\xfd\x51\xf5\x66\x27\xdc\x86\xc9\x17\x87\xbb\xfe\xe5\x18\xbc\x42\x28\xb1\x16\xbb\x0d\xaf\xf0\xbe\x8a\x17\x87\xbb\xe5\x83\x52\x3d\x55\x93\x24\x14\xe6\x51\x39\xd1\xfe\x62\x3e\xaf\x6e\xfa\x45\xc9\x4e\x65\x55\x05\xdb\xff\x55\xd7\xf8\x72\x0c\x96\x7b\x07\xdc\x43\xd9\x2e\x27\x49\xd3\x9f\xc2\xfc\x91\x2a\xbb\xe9\xf6\x6f\x20\x39\x4c\x85\xca\xb2\x57\x45\x70\x99\xf5\xe6\x73\x1e\x7b\x71\xc9\xc9\xda\x09\xb7\x85\x97\x48\x22\x60\xb0\x32\xda\x37\x58\xa3\x8a\xda\xcb\x72\x0c\xa8\xe6\xfa\x06\x0d\x5c\x1c\xff\xe9\xf2\xe8\xfc\x14\x1e\x8d\x9e\x3e\x26\x23\x56\xea\xe8\xa2\xe2\x3a\x0a\x82\xf5\xb0\x6d\x97\x12\x83\x09\xaa\x5d\x46\x75\x07\x1b\xea\xfe\xf2\xf6\xf8\x12\x1e\x1d\xfc\xdd\xda\x9e\x6f\x68\xfb\xf3\xf1\xc9\x09\x3c\x7a\xfe\xf7\x68\xcb\x2e\x8d\x80\xf2\xbe\x8b\x8a\x31\x1c\x9e\xbd\x0d\x9f\xf5\x18\x4e\xb1\x0e\x9f\xcd\x18\xce\x8e\x5f\x67\xd9\x1f\x85\x74\x86\x6e\xef\x33\x2b\xbf\x19\x43\xa1\xeb\x1a\x55\x41\x9e\x1d\xb4\xcb\x52\xc4\xf0\xf5\x30\xa5\x65\x18\xa4\x1e\x35\xa8\x4a\xae\x5c\x4f\xe2\x31\xad\x0f\xd7\x73\xa4\x1c\x9a\x97\x63\xe0\x45\x81\x8d\x8b\x17\xb4\x5a\x9b\x82\xa8\x78\x19\xaf\xdf\x16\xbc\xa1\x00\xc1\xe9\x94\x17\x1b\xa2\xd9\xa9\xb0\x18\x82\x62\xd0\x2e\x8b\x19\x4a\x89\x64\x44\x65\x78\x33\x43\x3a\x1d\x29\x38\xc5\x1a\xa2\xdd\xb3\x31\xf0\x86\xce\x32\x43\x13\x06\xe4\x18\xda\xa5\xd4\xa2\x52\x68\xb2\xec\xbc\x5d\x5a\xe4\x3e\xca\x4e\x7a\xc1\x83\xca\x19\x84\x7a\xd2\x04\xdc\xd1\x85\x43\x67\xa1\xe1\x06\x2c\x16\x5a\x95\x5b\x16\x64\x00\x94\xeb\xbf\x83\xcb\xf3\x57\x6f\x2e\x4e\x5e\x5d\xfe\x78\x7e\x31\x86\x33\x89\xdc\x22\x94\x5a\x0d\x1c\x38\xc3\x95\x95\xdc\x21\xb8\x19\x82\xe4\x37\xda\x3b\x78\xf2\x44\xf1\x1a\xed\x93\x27\x59\x1c\xb0\x90\x93\xa2\x0d\x98\x13\xca\xb5\xcb\xca\x10\x68\x05\x57\x96\x38\xe5\x5e\x52\x38\x43\x2d\x94\xa8\xb9\xa4\xcf\x09\x27\x94\xb9\xa1\xcf\x6b\xe1\x8a\x19\x2a\x2b\xd4\xf5\x6f\x33\xaa\xd0\x52\x9b\x62\x86\x35\xf6\x0c\x0b\x83\x36\x8c\x26\xeb\xfe\x6d\x1b\x98\x57\x16\xde\x33\x30\x7d\xee\x96\xdc\x5c\xc3\xa3\x46\x7b\x03\xdc\x98\x80\x0c\xbb\x8d\xe4\x0a\x0a\xc9\x85\x79\x4c\xa2\x56\x4b\x6e\xc4\x5f\xb1\xdc\xf8\x33\x7a\x16\xd6\x6e\x8f\x49\x51\xcd\xa2\x07\xb4\xd2\xd7\x5c\xd0\xe7\x5c\x14\x21\x90\x94\x36\xe5\x6f\x3b\xf7\x47\x51\x56\xd8\xbf\x8c\x38\x90\x8e\xfb\x1f\xe9\x4f\xa3\xfd\x9c\x42\xbb\xfd\x1f\x8a\x0c\x1f\x2a\x5d\xbb\xb4\x6b\x00\xef\xdf\x5a\x70\x44\xd1\xf8\x10\xd7\x29\x36\xa9\xa0\xf0\x54\xb2\x52\x1a\x42\x8d\x75\x10\xb9\xe4\xe4\xd3\x81\x2e\x0a\xdf\xa4\xba\x10\xa4\xeb\x76\x59\x6b\x61\x10\x9a\xd9\x8d\x15\x1f\x3c\x86\x2a\x88\x20\x07\x68\x1b\x5e\x20\x94\x21\x06\xb9\xaa\xc2\xd9\x1d\xd6\x0d\xa9\xa3\xdf\x76\x69\xb8\xf3\x86\x0c\x43\x0b\x05\x6f\x1c\x5d\x56\xb8\x15\x61\xaf\x1f\xda\x34\x04\xb9\x4b\xa1\x57\x0a\x4b\x5b\x76\x7b\x87\xc5\x8d\xfe\x88\x06\x76\xe1\xad\x42\xf8\x89\xfb\x80\x16\x29\xfa\x44\xf4\x3f\xba\x70\xa4\xc3\x78\x50\x13\x33\x2c\x2c\x35\xba\xb0\xb0\x0b\x27\xc2\xba\x2d\x90\
|
|
|
|
|
|
|
|
func frTomlBytes() ([]byte, error) {
|
|
|
|
return bindataRead(
|
|
|
|
_frToml,
|
|
|
|
"fr.toml",
|
|
|
|
)
|
|
|
|
}
|
|
|
|
|
|
|
|
func frToml() (*asset, error) {
|
|
|
|
bytes, err := frTomlBytes()
|
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
|
2021-02-16 00:02:36 +08:00
|
|
|
info := bindataFileInfo{name: "fr.toml", size: 7630, mode: os.FileMode(420), modTime: time.Unix(1613083833, 0)}
|
2020-11-24 05:14:57 +08:00
|
|
|
a := &asset{bytes: bytes, info: info}
|
|
|
|
return a, nil
|
|
|
|
}
|
|
|
|
|
2021-02-10 23:04:03 +08:00
|
|
|
var _tt_ttToml = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\x9c\x58\x6d\x73\xdb\xb6\x93\x7f\xcf\x4f\xb1\x87\x4e\x9b\x87\x89\x15\x4b\x4e\xd2\x86\x29\x3d\x93\x38\x4e\xce\x53\x3b\x75\xfd\x70\x99\x9b\x38\x2f\x20\x72\x49\xa2\x02\x01\x14\x00\xa5\xe8\x2c\x7f\xf7\x9b\x05\x40\x49\x8e\x9d\x7f\xd3\xbe\xa3\x16\xfb\x8c\xdd\xdf\x2e\x54\x6a\x55\x8b\xa6\x16\x12\x0b\x76\xf0\xee\x3d\xbc\x3b\x3e\x64\x59\xef\x78\x83\x05\xc3\x86\xbb\xcb\x1c\xae\x77\x6f\xe0\x93\x53\x5a\x78\xa3\x3f\x5f\xa9\x2b\x15\xbf\x7f\xcf\xaf\x14\xcb\xbc\xf6\x5c\x16\x4c\x72\xaf\x2f\x58\x96\x65\x9f\x5a\x94\xe6\x73\x66\xb8\x6f\x5d\xc1\x2c\x56\x56\x83\x12\xf0\xc4\xea\x1a\x2a\x6c\x4b\xcb\xd1\x01\x5a\x0e\x4f\x50\x8a\x1a\x1a\x51\x2b\x5d\x02\xb6\x1e\x2a\xc5\xe1\x89\xf3\xbd\x5e\x72\x09\x3f\x81\xc3\x0e\xdb\xd2\x59\x2d\xe9\x5c\x4e\x79\xc5\xf5\x71\xce\x32\xa9\x9b\x82\x29\x01\x4e\x40\xd4\xa0\x25\x60\x7b\x41\x5e\xb2\x6c\x61\x85\xf7\xa8\x0a\xa6\x3d\x28\xf4\x5e\xd8\x45\x34\x71\x10\xcf\xc9\xb9\x82\x31\x96\xed\x97\x3b\x07\xbf\x82\xd5\xf0\x17\xe4\x5e\xf4\x7f\x64\x59\x4e\x41\xf1\x46\xcc\xb9\x02\xe7\xb0\xd4\xf6\x34\x33\x3d\xe4\xfb\xe6\xf2\xd7\xe0\xdb\x0c\x76\x00\x32\xb5\xd0\x15\xe4\xfb\x6a\xa1\xdf\x46\xf2\x9f\x81\x6c\x7a\xc0\x86\x1b\xa8\x25\x6f\x21\xdf\xef\x49\xfb\x9a\x7d\xfb\xa4\x1a\x4e\x06\x09\x29\xfb\x1a\xf2\xfd\xe9\x5d\x89\x74\x52\xaf\x25\xb4\x07\xed\xc1\x74\xfd\x9f\x90\xef\x63\xa7\xff\x3b\x7a\xd0\x34\xe1\xb8\xd3\xde\xeb\xe9\x16\x47\xa5\x0e\x23\xc3\xfb\x70\x9e\xe5\xe1\xde\x4a\xbe\x0e\xaf\x51\xc2\xf4\xda\x36\x89\x60\x00\x65\xd3\x68\x4f\xde\xf0\x8b\x68\xf3\xd1\xf3\xf1\x43\x38\x39\x3b\xbc\x78\x7f\x74\x0e\xad\x17\x0b\x70\x38\x70\xd7\x1a\xa2\xb8\xd5\x6b\x0d\x15\xfa\x12\x25\x3a\x90\x52\xcc\x20\xaf\xaa\xa8\x65\xef\x21\x5c\x1c\x5d\xfe\xf1\xef\x94\xec\x25\x25\x2f\x1f\xc2\xf1\xf1\xd1\x6f\xff\x4e\xc9\xcb\x2a\x25\xa1\x51\xc2\x5b\xed\xd6\x49\xb8\x3c\x3d\x80\xbc\x8c\x19\xc4\x13\xc8\xbb\xf0\xf9\xf6\xe8\x14\x72\xb3\x11\xb1\xe8\xa9\xd8\x06\xa1\xf4\x93\x74\x89\x0a\xc1\x5b\xee\x1d\xe4\x4f\x03\x7f\xfe\x68\x20\xa3\x14\xed\xe2\x61\x20\x26\x01\x6f\xb0\x2c\x39\xe4\xfb\x16\x3d\xdd\xce\x0e\xc0\xe6\xd0\x72\x94\x25\xdd\xac\xe1\xa5\x4b\x57\x17\xeb\x34\xb2\x05\x47\x24\x2f\x1d\xb4\x86\xdb\x06\xc8\x5d\xe2\xb9\x3c\x3d\xc8\x14\x75\x03\x1d\xe5\x6d\xb0\xe7\x7b\x3d\x10\x64\x8a\x62\x66\xf5\xc2\xe3\x87\xac\x52\xba\x44\x07\x16\x0d\x38\xf4\xcb\x29\x54\x91\x91\x54\x39\x33\xed\x40\x21\x2e\x3c\x4e\xd7\xd5\x30\x0d\x0a\xa8\x6b\x7e\x80\x8b\xb3\xd7\x1f\xce\x8f\x5f\x5f\xfc\x7e\x76\x9e\xc3\xa9\x44\xee\x10\x2a\xad\x1e\x78\xca\x81\x72\x92\x7b\x04\xdf\x22\x48\xbe\xd4\xbd\x87\xc7\x8f\x15\xef\xd0\x3d\x7e\x9c\x45\x82\x83\x02\x18\x63\x43\x97\x2b\xb1\xe3\xa5\xe8\xdf\xe4\x19\x00\x78\xd9\xf3\x1a\x2b\xfa\x94\xbc\x13\x4a\x74\xf4\xb9\xb4\xe8\x3d\x9f\xd2\xe7\x4c\x09\xa7\xb0\x2d\xbd\x98\xfd\x33\x67\x4a\x2d\xb5\x2d\x5b\xec\x70\xcb\xa1\x40\x74\x81\x3a\x78\xb5\x8d\x38\xdf\x72\xed\x51\xa5\xa8\xd2\x66\x25\x9f\x02\x7a\xd1\x2e\xc0\xea\xfa\x21\xcc\x2c\xaf\x76\xb6\xd8\x2a\xfc\x3f\x61\xb9\xd4\x2e\x38\x4e\x87\x2f\xc6\xb7\x68\xbe\x6d\x84\xfc\x9a\x28\xf8\x4c\x2b\x1d\xe2\xc6\x52\xcc\xff\x59\x94\x0b\x51\x35\xb8\x9d\xf2\x48\xb8\x93\x72\xa8\xd0\xf5\x80\x53\x50\xbc\x04\xcf\x5b\x0f\xce\x63\x53\x89\x8f\x21\xd4\x58\x5a\x15\xd7\x92\xea\x2a\x54\x5e\x6f\xca\xcd\x09\xc9\x2e\xad\xee\xb0\x03\xc3\x17\x0e\x7e\x02\xc9\x4b\xe1\x96\xed\x69\xe0\xed\x30\x78\xef\xd0\xf6\x9e\x5b\x34\x1d\x7a\xb0\xda\x29\x3c\xa7\x63\xfa\x19\x82\x73\x3d\x10\x16\x09\x6f\xb9\x81\x99\x13\xd5\x2d\x2d\x44\x20\x36\xcb\xa7\xc3\xfd\xc3\x6b\xd8\x01\x8b\x0b\x6d\x42\x76\xc9\xbd\x54\xcf\xc1\xac\x47\x15\x92\xea\x84\xdc\x80\xd9\x9c\xc0\x8e\x1a\xed\x08\x76\xc0\x11\x8d\x12\x9a\x65\x9f\xb8\x6d\xdc\xe7\x34\x0b\x46\x0a\xd1\x96\x0e\x9c\x68\x3d\x2c\x74\x7b\xce\x62\x65\x14\x6c\xb4\x5d\x0e\x1c\x3c\x9e\xb3\xcc\x95\x9c\x06\xe5\xee\x3e\x0d\x34\x5f\xf2\x3a\x35\x19\xe5\xe6\x3d\xcb\xe6\x68\x9d\xd0\xaa\x60\x23\x2f\xbe\x60\xe8\x28\xa5\x85\xb3\x38\x07\xaf\x84\x3d\x65\x99\x41\x5b\x9a\x9e\x18\x28\xe5\x8b\x90\x63\x1a\x7e\x4a\x84\xcf\xb6\xe4\x38\x78\x61\x7a\x3e\x6f\xbe\xc9\x89\x0d\xb7\x38\xe7\x89\xd9\x63\x67\x82\x55\x6c\x15\xda\x96\xd7\xc4\x76\xeb\x12\x88\xef\xef\xce\x59\xe6\x3c\xf7\xbd\x9b\xf2\x18\xbe\xf0\xc1\x62\x00\x5b\xcb\xa7\xae\x
|
2020-06-19 23:01:26 +08:00
|
|
|
|
2021-01-26 02:18:59 +08:00
|
|
|
func tt_ttTomlBytes() ([]byte, error) {
|
2020-06-19 23:01:26 +08:00
|
|
|
return bindataRead(
|
2021-01-26 02:18:59 +08:00
|
|
|
_tt_ttToml,
|
|
|
|
"tt_TT.toml",
|
2020-06-19 23:01:26 +08:00
|
|
|
)
|
|
|
|
}
|
|
|
|
|
2021-01-26 02:18:59 +08:00
|
|
|
func tt_ttToml() (*asset, error) {
|
|
|
|
bytes, err := tt_ttTomlBytes()
|
2020-06-19 23:01:26 +08:00
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
|
2021-02-10 23:04:03 +08:00
|
|
|
info := bindataFileInfo{name: "tt_TT.toml", size: 6101, mode: os.FileMode(420), modTime: time.Unix(1612969166, 0)}
|
2020-06-19 23:01:26 +08:00
|
|
|
a := &asset{bytes: bytes, info: info}
|
|
|
|
return a, nil
|
|
|
|
}
|
|
|
|
|
2021-02-10 23:04:03 +08:00
|
|
|
var _zh_cnToml = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\x9c\x58\xeb\x73\xd3\x56\x16\xff\xae\xbf\xe2\xec\xed\x74\x68\x19\x70\xe3\x04\x0a\x18\xc4\x4c\x97\xb2\x5d\x66\xe9\x2e\xc3\x63\x77\x76\x08\x1f\x14\xeb\xda\x56\x23\x4b\x5a\xe9\xda\x21\x1b\x67\xc6\x3c\x92\x38\xe4\x61\x92\x86\x04\x02\x2d\x84\x86\x12\x68\xc1\x29\xe5\x61\xec\x38\xf9\x63\xd0\x95\xec\x4f\xfd\x17\x76\xee\xc3\x46\x0e\x61\xfb\xf8\x64\xe9\xbc\xcf\xb9\xe7\xfe\xce\x91\x93\xb6\x95\x32\xd2\x29\xc3\xc4\x2a\x6a\x8d\xcd\x84\x8d\xa7\xc1\xe2\x84\x5f\x7f\x89\x94\x9c\xa7\xa5\xb1\x8a\xfc\xc6\x56\xb8\xb0\x16\x2c\xbe\x0e\x7e\xbe\x91\x80\x91\x9e\x51\x38\xdf\x2a\x4e\xb6\x56\x5e\x5f\xe8\xb7\xfa\x2d\xf1\x98\xe8\xb7\x90\x42\x6c\xa2\x99\x2a\x0a\x8a\xf5\xe6\xd3\x15\xa4\x28\xca\xf9\x0c\x36\x9d\x0b\x8a\xa3\x91\x8c\xa7\xa2\x60\x7a\xb2\xb5\x52\xa3\xb5\xb2\x5f\x9f\xf5\xeb\x0f\xfc\xea\x94\xdf\x60\xee\xfc\x8d\x9b\x74\xac\xd4\xac\xd4\x69\x79\xb1\x35\x36\xd3\x9c\x7c\xc6\x7c\xad\x94\xde\x14\x2f\xd1\xea\x15\xfa\x53\x51\xbc\xd2\xf9\xe9\x68\x78\x09\xa4\x98\x76\x5a\x45\xc1\xd2\x03\xba\xb5\x24\x68\x7e\x63\xc6\xaf\xcd\xb2\x10\x91\x32\xe4\x1a\x84\x60\xab\x3b\x27\xfa\xea\x19\x1d\xbf\x45\xc7\x1e\x08\x19\x16\x9e\x8a\x10\x52\x5a\xc5\x22\x9d\xa8\x25\xe0\x3f\x60\xbb\x70\xe4\xd8\xde\xe4\x51\x45\x69\x6e\xdd\x0e\xd7\xa6\x68\x65\xa3\x59\x7a\x9c\x50\x00\xf6\xc2\x20\x04\xa5\x45\x38\x72\xce\x39\x9a\x00\xbf\x7a\xcd\xaf\x16\x9b\x2b\xd3\x9c\xf3\x95\xe0\x7c\x6e\x0f\x59\x9c\x37\x15\xe1\x1d\x39\xb6\x37\x27\x14\xe8\xcc\xb5\xd6\xca\x8b\x36\x51\x17\x92\xdd\xc4\x81\x8e\xe9\x08\x31\xd5\xb1\xd9\x26\xa6\xd3\xc2\xe1\x5f\xed\x2c\x3e\x9a\x00\x5a\x5a\x6f\xad\xbc\x6c\x5d\x59\xe3\xcc\x2f\x04\xef\xb8\xa5\x0b\x16\xad\xdd\x60\x2c\x99\x50\xf0\xf5\x8c\xdf\xb8\x23\x12\x3a\x72\x56\x1b\xe0\x32\x13\xc1\xcc\x7d\xc1\x0e\xeb\x57\x39\x4b\xd7\x13\x40\xcb\x73\xad\xe2\x25\x7f\x6b\x85\x96\x5f\xc1\x99\x13\x5f\x9c\x3d\x7e\xfa\x4b\xf8\x28\xbe\xff\x63\x08\xeb\xa5\xe0\x89\xd4\x08\x4a\x8b\xdb\x54\xfb\xde\xa7\xda\xf7\x6b\x9a\x87\xde\xa7\x79\xe8\xff\x68\xb6\x13\x9b\x9d\xa7\xb5\xb2\x48\x2c\x99\x80\x63\xa7\xce\xf1\xc7\x6c\x02\xe8\xf8\x18\x7d\x72\x93\xbf\x39\x09\x90\xd2\xf7\x26\x9a\x95\xf1\xb6\x6e\x73\x6b\x22\xa8\xaf\x0a\xdd\x4f\x12\x40\x37\x8a\xf4\xe1\x54\xb8\xb1\xd8\xdc\x9c\x13\x2c\x7a\x4b\xd4\xf6\x23\x41\x0c\x96\x5e\x7e\xcc\xa4\x79\x11\x8f\x5b\x04\xbb\xec\x88\xb6\xbe\xa1\x4f\x6e\x46\xe5\xe5\xf9\x25\x8f\xca\x13\xf1\x92\x9a\xc3\xce\x2b\xa8\x8e\xb5\x6e\xad\xbe\x95\x54\x8e\x9d\x3a\x07\x74\x7e\x5a\x04\x4a\x6f\x6f\xd2\xc6\xfd\xa0\xb2\xe0\x6f\x4e\x89\x90\x32\x09\x08\x16\x36\xe9\xea\x43\x41\xe4\x34\x33\x01\xe1\xc6\x23\xba\x5e\x96\x34\x25\x6c\xcc\x85\x75\x79\xb0\x03\x09\xa0\x77\xd6\x20\x3b\xe0\x78\xcc\x2e\x04\x95\x72\xf8\x70\x9e\x3e\x59\x6a\x5e\xbb\x1c\xdc\x58\x07\xff\xf5\x54\x6b\xe9\xb9\x38\x77\x85\x5d\x80\x0f\xe0\xec\xe9\xcf\xfe\x7e\xe6\xe4\x67\x67\xff\x71\xfa\x4c\x02\x4e\x99\x58\xf3\x30\xe8\xb6\xb5\x8b\x00\x71\x35\xcb\x33\x35\x82\x81\x64\x30\x98\xda\xb0\x9d\x23\xb0\x7b\xb7\xa5\x65\xb1\xb7\x7b\xb7\x22\x08\x1e\xa8\x80\x10\x62\x19\xd4\x6b\xd1\x6b\xcb\xcb\xa4\xe3\x94\x96\x33\x09\x7b\xcc\x1a\x96\x91\xd5\x4c\xf6\x38\xa0\x11\x82\xdd\x61\xf6\x38\x68\x90\x64\x06\x5b\x9e\x61\x0d\xfe\xbe\x70\x92\xb6\x69\xbb\xc9\x0c\xce\xe2\x48\x48\x9c\xe8\x71\x6a\x57\x5c\x51\x74\xd9\x1e\x97\x7c\xdc\xab\x6b\xee\x20\x7c\x14\x2e\xac\xf9\xb5\xd9\xf0\x56\xa3\x39\xf9\xac\x79\x65\x3a\xb8\x55\xf9\x98\x09\x79\xb6\xa9\xb9\xc6\x7f\xb1\xde\xf5\x12\xff\x94\x6b\x6d\xa7\x99\x46\x3a\x23\x52\xb6\x2d\x7b\x50\x33\xd8\x63\xde\x48\x62\xf6\x6b\xd9\xae\xfe\xfb\x12\x1d\x32\xf4\x34\x8e\xd6\x5d\x10\xda\xf9\x95\x2b\xcd\xfb\x3f\x88\xa8\xa3\xd5\x0f\x97\xaf\x86\xf5\xab\x0c\xf9\xae\xcf\xf0\x8c\x93\x4e\x8e\xb7\x25\xeb\xb8\xe6\xf3\xbb\xcd\x46\x83\xde\xde\xe4\x41\xe2\x2c\x67\x84\x93\x8f\xc2\xeb\xe3\xb2\x13\xe7\xa7\xfd\xda\x6a\x30\x73\x5f\xbc\x8a\x41\x10\xce\x4e\x48\x15\x82\xb3\x0e\x53\xf1\x37\xee\x05\x57\xef\xd2\x5b\x6b\x41\xf5\x11\xad\x7d\xcf\xab\x69\x78\x83\x6f\xad\x85\xdf\x5d\x0a\x6f\x33\x6b\xb4\x34\x4e\xa7\x6b\x1d\x3b\x4c\xd2\xb1\x87\xb0\xcb\x24\x17\x5e\x04\x3f\xdd\x0b\xaf\xbd\x0c\x8a\x97\x78\x85\x30\x11\xf1\xf0\xb6\x16\xa1\x72\x79\xd7\x4e\x7a\xb0\x17\x68\xb9\xe2\xd7\x56\xfd\xda\xbc\xc4\xe9\xd2\x52\x73\x65\x
|
2020-06-19 23:01:26 +08:00
|
|
|
|
2021-01-26 02:18:59 +08:00
|
|
|
func zh_cnTomlBytes() ([]byte, error) {
|
2020-06-19 23:01:26 +08:00
|
|
|
return bindataRead(
|
2021-01-26 02:18:59 +08:00
|
|
|
_zh_cnToml,
|
|
|
|
"zh_CN.toml",
|
2020-06-19 23:01:26 +08:00
|
|
|
)
|
|
|
|
}
|
|
|
|
|
2021-01-26 02:18:59 +08:00
|
|
|
func zh_cnToml() (*asset, error) {
|
|
|
|
bytes, err := zh_cnTomlBytes()
|
2020-06-19 23:01:26 +08:00
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
|
2021-02-10 23:04:03 +08:00
|
|
|
info := bindataFileInfo{name: "zh_CN.toml", size: 5969, mode: os.FileMode(420), modTime: time.Unix(1612969195, 0)}
|
2020-06-19 23:01:26 +08:00
|
|
|
a := &asset{bytes: bytes, info: info}
|
|
|
|
return a, nil
|
|
|
|
}
|
|
|
|
|
|
|
|
// Asset loads and returns the asset for the given name.
|
|
|
|
// It returns an error if the asset could not be found or
|
|
|
|
// could not be loaded.
|
|
|
|
func Asset(name string) ([]byte, error) {
|
|
|
|
cannonicalName := strings.Replace(name, "\\", "/", -1)
|
|
|
|
if f, ok := _bindata[cannonicalName]; ok {
|
|
|
|
a, err := f()
|
|
|
|
if err != nil {
|
|
|
|
return nil, fmt.Errorf("Asset %s can't read by error: %v", name, err)
|
|
|
|
}
|
|
|
|
return a.bytes, nil
|
|
|
|
}
|
|
|
|
return nil, fmt.Errorf("Asset %s not found", name)
|
|
|
|
}
|
|
|
|
|
|
|
|
// MustAsset is like Asset but panics when Asset would return an error.
|
|
|
|
// It simplifies safe initialization of global variables.
|
|
|
|
func MustAsset(name string) []byte {
|
|
|
|
a, err := Asset(name)
|
|
|
|
if err != nil {
|
|
|
|
panic("asset: Asset(" + name + "): " + err.Error())
|
|
|
|
}
|
|
|
|
|
|
|
|
return a
|
|
|
|
}
|
|
|
|
|
|
|
|
// AssetInfo loads and returns the asset info for the given name.
|
|
|
|
// It returns an error if the asset could not be found or
|
|
|
|
// could not be loaded.
|
|
|
|
func AssetInfo(name string) (os.FileInfo, error) {
|
|
|
|
cannonicalName := strings.Replace(name, "\\", "/", -1)
|
|
|
|
if f, ok := _bindata[cannonicalName]; ok {
|
|
|
|
a, err := f()
|
|
|
|
if err != nil {
|
|
|
|
return nil, fmt.Errorf("AssetInfo %s can't read by error: %v", name, err)
|
|
|
|
}
|
|
|
|
return a.info, nil
|
|
|
|
}
|
|
|
|
return nil, fmt.Errorf("AssetInfo %s not found", name)
|
|
|
|
}
|
|
|
|
|
|
|
|
// AssetNames returns the names of the assets.
|
|
|
|
func AssetNames() []string {
|
|
|
|
names := make([]string, 0, len(_bindata))
|
|
|
|
for name := range _bindata {
|
|
|
|
names = append(names, name)
|
|
|
|
}
|
|
|
|
return names
|
|
|
|
}
|
|
|
|
|
|
|
|
// _bindata is a table, holding each asset generator, mapped to its name.
|
|
|
|
var _bindata = map[string]func() (*asset, error){
|
2021-01-26 02:18:59 +08:00
|
|
|
"de_DE.toml": de_deToml,
|
|
|
|
"en_US.toml": en_usToml,
|
|
|
|
"eo.toml": eoToml,
|
2021-02-11 07:24:32 +08:00
|
|
|
"fr.toml": frToml,
|
2021-01-26 02:18:59 +08:00
|
|
|
"tt_TT.toml": tt_ttToml,
|
|
|
|
"zh_CN.toml": zh_cnToml,
|
2020-06-19 23:01:26 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
// AssetDir returns the file names below a certain
|
|
|
|
// directory embedded in the file by go-bindata.
|
|
|
|
// For example if you run go-bindata on data/... and data contains the
|
|
|
|
// following hierarchy:
|
|
|
|
// data/
|
|
|
|
// foo.txt
|
|
|
|
// img/
|
|
|
|
// a.png
|
|
|
|
// b.png
|
|
|
|
// then AssetDir("data") would return []string{"foo.txt", "img"}
|
|
|
|
// AssetDir("data/img") would return []string{"a.png", "b.png"}
|
|
|
|
// AssetDir("foo.txt") and AssetDir("notexist") would return an error
|
|
|
|
// AssetDir("") will return []string{"data"}.
|
|
|
|
func AssetDir(name string) ([]string, error) {
|
|
|
|
node := _bintree
|
|
|
|
if len(name) != 0 {
|
|
|
|
cannonicalName := strings.Replace(name, "\\", "/", -1)
|
|
|
|
pathList := strings.Split(cannonicalName, "/")
|
|
|
|
for _, p := range pathList {
|
|
|
|
node = node.Children[p]
|
|
|
|
if node == nil {
|
|
|
|
return nil, fmt.Errorf("Asset %s not found", name)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if node.Func != nil {
|
|
|
|
return nil, fmt.Errorf("Asset %s not found", name)
|
|
|
|
}
|
|
|
|
rv := make([]string, 0, len(node.Children))
|
|
|
|
for childName := range node.Children {
|
|
|
|
rv = append(rv, childName)
|
|
|
|
}
|
|
|
|
return rv, nil
|
|
|
|
}
|
|
|
|
|
|
|
|
type bintree struct {
|
|
|
|
Func func() (*asset, error)
|
|
|
|
Children map[string]*bintree
|
|
|
|
}
|
|
|
|
|
|
|
|
var _bintree = &bintree{nil, map[string]*bintree{
|
2021-01-26 02:18:59 +08:00
|
|
|
"de_DE.toml": &bintree{de_deToml, map[string]*bintree{}},
|
|
|
|
"en_US.toml": &bintree{en_usToml, map[string]*bintree{}},
|
|
|
|
"eo.toml": &bintree{eoToml, map[string]*bintree{}},
|
2021-02-11 07:24:32 +08:00
|
|
|
"fr.toml": &bintree{frToml, map[string]*bintree{}},
|
2021-01-26 02:18:59 +08:00
|
|
|
"tt_TT.toml": &bintree{tt_ttToml, map[string]*bintree{}},
|
|
|
|
"zh_CN.toml": &bintree{zh_cnToml, map[string]*bintree{}},
|
2020-06-19 23:01:26 +08:00
|
|
|
}}
|
|
|
|
|
|
|
|
// RestoreAsset restores an asset under the given directory
|
|
|
|
func RestoreAsset(dir, name string) error {
|
|
|
|
data, err := Asset(name)
|
|
|
|
if err != nil {
|
|
|
|
return err
|
|
|
|
}
|
|
|
|
info, err := AssetInfo(name)
|
|
|
|
if err != nil {
|
|
|
|
return err
|
|
|
|
}
|
|
|
|
err = os.MkdirAll(_filePath(dir, filepath.Dir(name)), os.FileMode(0755))
|
|
|
|
if err != nil {
|
|
|
|
return err
|
|
|
|
}
|
|
|
|
err = ioutil.WriteFile(_filePath(dir, name), data, info.Mode())
|
|
|
|
if err != nil {
|
|
|
|
return err
|
|
|
|
}
|
|
|
|
err = os.Chtimes(_filePath(dir, name), info.ModTime(), info.ModTime())
|
|
|
|
if err != nil {
|
|
|
|
return err
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
// RestoreAssets restores an asset under the given directory recursively
|
|
|
|
func RestoreAssets(dir, name string) error {
|
|
|
|
children, err := AssetDir(name)
|
|
|
|
// File
|
|
|
|
if err != nil {
|
|
|
|
return RestoreAsset(dir, name)
|
|
|
|
}
|
|
|
|
// Dir
|
|
|
|
for _, child := range children {
|
|
|
|
err = RestoreAssets(dir, filepath.Join(name, child))
|
|
|
|
if err != nil {
|
|
|
|
return err
|
|
|
|
}
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func _filePath(dir, name string) string {
|
|
|
|
cannonicalName := strings.Replace(name, "\\", "/", -1)
|
|
|
|
return filepath.Join(append([]string{dir}, strings.Split(cannonicalName, "/")...)...)
|
|
|
|
}
|