github.com/liamawhite/cli-with-i18n@v6.32.1-0.20171122084555-dede0a5c3448+incompatible/i18n/resources/i18n_resources.go (about)

     1  // Code generated by go-bindata.
     2  // sources:
     3  // resources/de-de.all.json
     4  // resources/en-us.all.json
     5  // resources/es-es.all.json
     6  // resources/fr-fr.all.json
     7  // resources/it-it.all.json
     8  // resources/ja-jp.all.json
     9  // resources/ko-kr.all.json
    10  // resources/pt-br.all.json
    11  // resources/zh-hans.all.json
    12  // resources/zh-hant.all.json
    13  // DO NOT EDIT!
    14  
    15  package resources
    16  
    17  import (
    18  	"bytes"
    19  	"compress/gzip"
    20  	"fmt"
    21  	"io"
    22  	"io/ioutil"
    23  	"os"
    24  	"path/filepath"
    25  	"strings"
    26  	"time"
    27  )
    28  
    29  func bindataRead(data []byte, name string) ([]byte, error) {
    30  	gz, err := gzip.NewReader(bytes.NewBuffer(data))
    31  	if err != nil {
    32  		return nil, fmt.Errorf("Read %q: %v", name, err)
    33  	}
    34  
    35  	var buf bytes.Buffer
    36  	_, err = io.Copy(&buf, gz)
    37  	clErr := gz.Close()
    38  
    39  	if err != nil {
    40  		return nil, fmt.Errorf("Read %q: %v", name, err)
    41  	}
    42  	if clErr != nil {
    43  		return nil, err
    44  	}
    45  
    46  	return buf.Bytes(), nil
    47  }
    48  
    49  type asset struct {
    50  	bytes []byte
    51  	info  os.FileInfo
    52  }
    53  
    54  type bindataFileInfo struct {
    55  	name    string
    56  	size    int64
    57  	mode    os.FileMode
    58  	modTime time.Time
    59  }
    60  
    61  func (fi bindataFileInfo) Name() string {
    62  	return fi.name
    63  }
    64  func (fi bindataFileInfo) Size() int64 {
    65  	return fi.size
    66  }
    67  func (fi bindataFileInfo) Mode() os.FileMode {
    68  	return fi.mode
    69  }
    70  func (fi bindataFileInfo) ModTime() time.Time {
    71  	return fi.modTime
    72  }
    73  func (fi bindataFileInfo) IsDir() bool {
    74  	return false
    75  }
    76  func (fi bindataFileInfo) Sys() interface{} {
    77  	return nil
    78  }
    79  
    80  var _resourcesDeDeAllJson = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xac\x93\x4d\x6f\xd4\x30\x10\x86\xef\xfd\x15\xaf\xf6\x92\x4b\xb5\x3f\x20\xb7\xa8\xda\x45\x48\xa5\x42\xf4\xe3\x42\x11\x1d\xe2\x69\xd6\x52\xe2\x31\xf6\x84\x80\xa2\xfc\x77\x64\x96\x8a\x6d\xc1\x8b\x5b\xf5\x12\x45\x33\xe3\xe7\x7d\x26\x1f\x1f\x4f\x00\xcc\xe9\x02\x60\x65\xcd\xaa\xc6\xea\xd6\x35\xde\x23\x2a\x05\x65\x73\xeb\x56\xa7\x0f\x6d\x0d\xe4\x62\x4f\x6a\xc5\xfd\x99\xeb\x78\x3f\xa9\x87\x93\x83\x18\x7b\x6f\x39\xe1\xee\xa9\x8f\x9c\xea\xcb\x69\x36\x6b\x9e\xd7\x8d\xf7\x17\x34\xf0\xb2\x60\xa2\xf8\x10\x8e\x31\x5a\xd7\x41\x77\x36\xa2\x95\x61\x20\x67\x70\x37\xcf\xeb\xb3\xfd\xfd\xb2\xdc\xfd\x57\xef\x75\xd0\xcf\xd8\xe7\xea\xed\xfb\x1a\xd7\x91\x51\x1d\xd2\x2a\xa8\x40\x29\x74\xac\x70\x3c\x41\x42\x77\x44\xfc\x05\x8c\x62\x43\x00\x37\x96\x27\x50\xdf\xcb\x44\x5f\x7a\xc6\xd7\x51\x94\x22\x26\xab\x3b\x54\x67\xdb\xcf\x17\xcd\xbb\xcd\xef\x62\x95\x95\x7c\x29\xa6\xd8\x33\xad\x7e\xc3\x21\x5a\x71\x97\x3b\x09\x9a\xf6\x4f\x2f\xe9\xa0\x7e\x2e\xae\xfb\x55\x0e\x0c\xea\xa3\x80\xda\x96\xbd\xb2\x59\x67\xb5\x5f\x89\x5a\xbc\x45\x93\x00\x86\x7b\x56\x06\xb9\x1f\x18\xc8\x7b\x36\x08\x32\x2a\xc7\xac\x65\xe1\xa9\x72\x8b\xa7\x3f\x82\x11\x8e\x70\xa2\xe0\xef\x36\x6a\xfe\x71\x95\x1f\x2c\x76\xd9\x6e\x9a\xab\xeb\x0f\x1b\x6c\xcf\x9b\x37\x97\xd9\xe0\xcc\x54\x71\x4a\xd2\xcd\xc2\x1f\x37\x8b\x99\xe4\x2d\xd8\x19\x2f\xd6\x69\x9d\x85\x67\xa6\x9e\x95\xf2\x6d\xff\x25\x1e\x0f\xf9\x7b\xa8\x38\x43\x42\x97\x67\x3f\x6e\x16\x33\xa3\xa7\x96\xeb\x22\xfb\x63\xa3\xc5\x79\x63\xe4\x90\x8f\x78\xd2\xfd\x27\xf5\xe4\xd3\xcf\x00\x00\x00\xff\xff\xf6\x15\xfb\x1f\xfe\x06\x00\x00")
    81  
    82  func resourcesDeDeAllJsonBytes() ([]byte, error) {
    83  	return bindataRead(
    84  		_resourcesDeDeAllJson,
    85  		"resources/de-de.all.json",
    86  	)
    87  }
    88  
    89  func resourcesDeDeAllJson() (*asset, error) {
    90  	bytes, err := resourcesDeDeAllJsonBytes()
    91  	if err != nil {
    92  		return nil, err
    93  	}
    94  
    95  	info := bindataFileInfo{name: "resources/de-de.all.json", size: 0, mode: os.FileMode(0), modTime: time.Unix(0, 0)}
    96  	a := &asset{bytes: bytes, info: info}
    97  	return a, nil
    98  }
    99  
   100  var _resourcesEnUsAllJson = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xa4\x93\x4f\x8b\xdb\x30\x10\xc5\xef\xfe\x14\x0f\x5f\x7c\x59\xf2\x01\x7c\x33\x4b\x52\x0a\xdb\xa5\x74\xff\x5c\xba\xa5\x99\x5a\x83\x23\xb0\x25\x55\x1a\xd7\x2d\xc6\xdf\xbd\x38\x6e\x4b\x42\xa4\x24\x25\x57\xcd\x7b\xbf\x19\xfb\xcd\x7c\xce\x80\x31\x03\x80\x5c\xab\xbc\x44\xfe\x66\x2a\xe7\x10\x84\xbc\xb0\x7a\x33\xf9\xdd\x52\x14\x4f\x26\xb4\x24\xda\x9a\x98\x2a\x03\xa6\xbb\x53\xd4\xf3\xfb\x8f\x25\x5e\x02\xa3\x18\xc7\xd5\xbd\xed\x3a\x32\x6a\x9a\x0a\x88\x85\x90\x6f\x58\x60\x78\x80\xf5\x4d\xb2\xcd\xf5\x84\xe8\x08\x8f\xd4\x71\x82\xbd\x2f\x45\x4d\xf3\xa7\x8d\xe3\xaa\x72\x6e\xd6\x4c\x13\x94\xe5\x00\x63\x05\xfc\x53\x07\x59\x25\x80\x17\x6d\xd1\x66\x9b\x75\xf5\xfc\xf2\x69\x8d\xcd\x43\xf5\xee\x29\x41\x3e\xd6\x44\x31\x00\x5e\x35\x0f\xa0\xb6\xb5\x03\x7d\x6b\x19\xdf\x7b\x2b\x14\x30\x68\xd9\xa1\xb8\xdf\x7c\x7d\xac\x3e\xac\xff\x3c\x16\x89\x3e\xff\x09\x89\x0e\x32\xe7\xf4\xca\x3e\x68\x6b\x9e\x76\xd6\xcb\x1c\x16\x19\x85\x83\xf7\x07\x6b\x9a\xfd\xb3\x67\x50\x1b\x2c\xa8\xae\xd9\x09\xab\xd4\x9f\xbd\x8d\x19\xcf\x78\xd6\x28\x6e\x59\x18\x64\x7e\xa1\x23\xe7\x58\xc1\xdb\x5e\x38\xa4\x02\x3e\xeb\x49\x9c\xc0\xc9\x56\x0c\x14\xfe\x1e\x0e\xfa\xa0\x4d\x03\xd9\xe9\x80\x7a\xd9\x6d\x6c\x0f\xf7\x7c\x7b\xe1\x00\x6f\x02\x47\x07\x26\xa7\xc1\x46\x39\xab\x8d\x94\x89\xde\xc7\x9a\x24\xe6\xc7\x92\xcc\x39\xca\x3f\x49\x14\xd2\x07\xf6\x29\xf7\x52\x8b\xda\xac\x6f\x52\xae\x7d\x29\x6a\x0a\x8e\x6a\x2e\xaf\x18\x3b\x22\x9c\x81\xd9\x97\xec\x77\x00\x00\x00\xff\xff\xc0\xf3\x46\x4b\x4b\x05\x00\x00")
   101  
   102  func resourcesEnUsAllJsonBytes() ([]byte, error) {
   103  	return bindataRead(
   104  		_resourcesEnUsAllJson,
   105  		"resources/en-us.all.json",
   106  	)
   107  }
   108  
   109  func resourcesEnUsAllJson() (*asset, error) {
   110  	bytes, err := resourcesEnUsAllJsonBytes()
   111  	if err != nil {
   112  		return nil, err
   113  	}
   114  
   115  	info := bindataFileInfo{name: "resources/en-us.all.json", size: 0, mode: os.FileMode(0), modTime: time.Unix(0, 0)}
   116  	a := &asset{bytes: bytes, info: info}
   117  	return a, nil
   118  }
   119  
   120  var _resourcesEsEsAllJson = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xac\x93\x4d\x6f\xd4\x30\x10\x86\xef\xfd\x15\xaf\xf6\x92\x4b\xb5\x3f\x20\xb7\xa8\xda\x45\x48\xa5\x42\xf4\xe3\x42\x11\x1d\xe2\x69\xd6\x52\xe2\x31\xf6\x84\x80\xa2\xfc\x77\x64\x4a\xc5\xb6\xe0\xc5\xad\xf6\x12\x45\x33\xe3\xe7\x7d\x26\x1f\x1f\x4f\x00\xcc\xe9\x02\x60\x65\xcd\xaa\xc6\xea\xd6\x35\xde\x23\x2a\x05\x65\x73\xeb\x56\xa7\x8f\x6d\x0d\xe4\x62\x4f\x6a\xc5\xfd\x99\xb3\xce\xb6\x96\x0c\xed\x0f\x0e\x62\xec\xbd\xe5\x44\xbb\xa7\x3e\x72\xaa\x2f\xa7\xd9\xa8\x79\x5e\x37\xde\x5f\xd0\xc0\xcb\x82\x89\xe2\x63\x36\xc6\x68\x5d\x07\xdd\xd9\x88\x56\x86\x81\x9c\xc1\xdd\x3c\xaf\xcf\x1e\xee\x97\xe5\xee\xbf\x76\xc7\x41\xbf\x60\x9f\xab\xb7\xef\x6b\x5c\x47\x46\xb5\x4f\xab\xa0\x02\xa5\xd0\xb1\xc2\xf1\x04\x09\xdd\x01\xf1\x57\x30\x8a\x0d\x01\xdc\x58\x9e\x40\x7d\x2f\x13\x7d\xe9\x19\x5f\x47\x51\x8a\x98\xac\xee\x50\x9d\x6d\x3f\x5f\x34\xef\x36\xbf\x8b\x55\x56\xf2\xb5\x98\x62\xcf\xb4\xfa\x0d\x87\x68\xc5\x5d\xee\x24\x68\xda\x3f\xbd\xa4\xbd\xfa\xb9\xb8\xee\x57\x39\x30\xa8\x8f\x02\x6a\x5b\xf6\xca\x66\x9d\xd5\x3e\x12\xb5\x78\x8b\x26\x01\x0c\xf7\xac\x0c\x72\x3f\x30\x90\xf7\x6c\x10\x64\x54\x8e\x59\xcb\xc2\x53\xe5\x16\xcf\x7f\x04\x23\x1c\xe1\x44\xc1\xdf\x6d\xd4\xfc\xe3\x2a\x3f\x58\xec\xb2\xdd\x34\x57\xd7\x1f\x36\xd8\x9e\x37\x6f\x2e\xb3\xc1\x99\xa9\xe2\x94\xa4\x9b\x85\x3f\x6d\x16\x33\xc9\x5b\xb0\x33\x5e\xac\xd3\x3a\x0b\xcf\x4c\xbd\x28\xe5\xdb\xc3\x97\x78\x38\xe4\xef\xa1\xe2\x0c\x09\x5d\x9e\xfd\xb4\x59\xcc\x8c\x9e\x5a\xae\x8b\xec\x0f\x8d\x16\xe7\x8d\x91\x43\x3e\xe2\x59\xf7\x9f\xd4\x93\x4f\x3f\x03\x00\x00\xff\xff\x98\xea\x01\x71\xfd\x06\x00\x00")
   121  
   122  func resourcesEsEsAllJsonBytes() ([]byte, error) {
   123  	return bindataRead(
   124  		_resourcesEsEsAllJson,
   125  		"resources/es-es.all.json",
   126  	)
   127  }
   128  
   129  func resourcesEsEsAllJson() (*asset, error) {
   130  	bytes, err := resourcesEsEsAllJsonBytes()
   131  	if err != nil {
   132  		return nil, err
   133  	}
   134  
   135  	info := bindataFileInfo{name: "resources/es-es.all.json", size: 0, mode: os.FileMode(0), modTime: time.Unix(0, 0)}
   136  	a := &asset{bytes: bytes, info: info}
   137  	return a, nil
   138  }
   139  
   140  var _resourcesFrFrAllJson = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\x9c\x93\xc1\x6e\xe2\x3c\x14\x85\xf7\x7d\x8a\x23\x36\x6c\x5a\x1e\x80\x5d\x44\xe1\x17\x52\x7f\x3a\x2a\xd0\xcd\x74\x34\xdc\x26\x17\xb0\xe4\xd8\x1e\x5f\x07\x66\x8a\x78\xa0\xcc\x6b\xe4\xc5\x46\x09\x65\x44\x3b\x35\xa2\xd9\x44\xc9\xf5\xf5\x77\xce\x3d\xb1\xbf\x5e\x01\xd8\xd5\x0f\x00\x1d\x95\x75\xfa\xe8\x3c\x99\xc4\x39\x48\x20\x1f\x38\x7b\x32\x9d\xeb\xe3\x72\xf0\x64\x44\x53\x50\xd6\xfc\xed\xd3\x2a\x6d\x0a\xc8\xaa\x32\x27\xef\xab\x92\x4f\xb7\xe4\x36\x53\x4b\xc5\x35\x77\x49\x5a\xb8\xae\xef\xaf\xa3\xa2\xbb\x5d\x2f\x71\x6e\x42\x39\xef\xf7\xd8\x92\x1c\x5d\xa0\x10\x65\x56\x08\x6b\x25\x48\x6d\x9e\x93\xc9\xb0\xd8\xed\x7a\x83\xc3\xfb\x7e\xbf\x38\xeb\xf3\xae\x4b\x27\x4e\xdf\x88\x10\xaa\x32\x54\xe5\x89\x7d\xd0\x86\x53\x68\x3a\x0a\x31\x16\x62\x73\xbe\x79\xfd\xbc\x31\x94\xf3\xa2\xe5\x8c\xb3\xf1\x97\x3e\xe6\xc2\xe8\x9e\x9a\xef\x22\x58\x04\xf2\x2b\x0e\x30\xbc\x85\xf5\xab\x73\xa1\x4f\x67\xf3\xc1\x10\x7d\x14\x41\x69\x25\xfc\xf2\x1e\xe6\x6c\xe1\x91\xaa\x67\xcd\x1e\x85\x61\x18\x5b\x6c\x58\x6b\xae\xb9\x64\x94\x1c\x58\x9f\xb7\x0f\xe0\x51\xf1\x16\xa4\xb5\xdd\xd2\xb3\x66\xfc\x28\x6c\x20\xc1\x56\x85\x35\xba\x83\xd1\xf7\x49\xf2\xff\xf0\xb5\xd8\x8d\x4e\x00\x20\x59\x2e\x55\xba\xe6\x17\x68\x96\x23\xc4\xd9\x62\x43\x26\xa0\xfa\x1d\x3c\x37\x1a\x45\x55\xca\xe1\x67\xc4\xd9\x17\x9b\xaf\x33\x7a\x64\x2f\xca\x9a\xe9\xda\xfa\x50\x07\x55\x9f\xa2\x93\xfa\x9d\x35\xab\xa6\xdc\xe8\x8b\x05\xa5\x29\xbb\xc0\x59\x2f\x3a\xcb\x47\x54\x0e\x1f\x41\xc5\xd6\xb3\x95\x2b\xd2\x9c\xb3\x09\xaf\xec\xaa\x94\x5e\xab\xa3\x94\xd4\xfe\x32\xd6\x1c\x18\x64\x7e\x21\x27\xe7\x38\x83\xb7\x45\x60\x89\xda\x9d\x16\xce\x79\x95\xb3\x07\x15\x22\xaa\x89\xff\xb0\xa5\x01\x54\x25\x4b\x3b\x37\xef\xaf\x6e\x66\x59\x60\x6c\x00\xff\x54\x12\xe2\xf9\x9d\xb9\x98\xa6\xdb\xec\x65\x38\x6a\x99\xd1\x68\x98\xcc\xe6\x0f\x43\x8c\xee\x92\xff\xa6\x51\x0b\xe3\xc9\xed\x78\x90\xcc\x86\xf3\x87\x29\x6e\x87\x18\xdd\x4f\x06\xb3\xf1\xfd\xa4\x85\x5e\x6d\x3c\x2a\x33\xb1\x79\x0b\x24\x39\x05\x36\x99\xb3\xca\x84\x7e\x94\x1d\xe9\xfa\x94\xca\xe6\x70\x5c\xcf\x8b\xfc\xdb\x74\xb1\x86\xf5\xab\x38\xfb\xed\xe2\xc5\x4c\x71\x94\x72\xff\x22\xf7\xe7\x5a\x2f\xd6\x2b\x84\x7d\x5c\xe2\xdd\xea\x87\xd4\xab\x6f\x7f\x02\x00\x00\xff\xff\xb6\x7a\xc1\x98\x71\x07\x00\x00")
   141  
   142  func resourcesFrFrAllJsonBytes() ([]byte, error) {
   143  	return bindataRead(
   144  		_resourcesFrFrAllJson,
   145  		"resources/fr-fr.all.json",
   146  	)
   147  }
   148  
   149  func resourcesFrFrAllJson() (*asset, error) {
   150  	bytes, err := resourcesFrFrAllJsonBytes()
   151  	if err != nil {
   152  		return nil, err
   153  	}
   154  
   155  	info := bindataFileInfo{name: "resources/fr-fr.all.json", size: 0, mode: os.FileMode(0), modTime: time.Unix(0, 0)}
   156  	a := &asset{bytes: bytes, info: info}
   157  	return a, nil
   158  }
   159  
   160  var _resourcesItItAllJson = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xac\x93\x4d\x6f\x13\x31\x10\x86\xef\xfd\x15\xaf\x72\xc9\xa5\xca\x0f\xc8\x6d\x55\x25\x08\xa9\x54\x88\x7e\x5c\x28\xa2\xc3\x7a\xba\xb1\xe4\xf5\x18\x7b\x92\x05\x56\xfb\xdf\x91\x29\x45\x69\xc1\xc1\xad\x72\x59\xad\x66\xc6\xcf\xfb\xcc\x7e\x7c\x3c\x01\x30\xe6\x0b\x80\x99\x35\xb3\x25\x66\xb7\xbe\x09\x01\x49\x29\x2a\x9b\x5b\x3f\x3b\x7d\x6c\x6b\x24\x9f\x1c\xa9\x15\xff\x67\xce\xd9\x96\x7e\x58\xf1\x0c\xda\xed\x2c\x29\xed\x1f\xe8\xc5\xd8\x7b\xcb\x99\x7a\x4f\x2e\x71\xae\x4f\xa7\xc5\xc8\x71\x5c\x34\x21\x5c\x50\xcf\xd3\x84\x81\xd2\xa3\x03\xb6\xc9\xfa\x0e\xba\xb1\x09\xad\xf4\x3d\x79\x83\xbb\x71\x5c\x9c\x3d\xdc\x4f\xd3\xdd\xff\x2c\x8f\x84\x7e\xc1\x3e\x57\x6f\xdf\x2f\x71\x9d\x18\xf3\x7d\xda\x1c\x2a\x50\x8a\x1d\x2b\x3c\x0f\x90\xd8\x1d\x10\x7f\x05\xa3\xda\x10\xc0\x8d\xe5\x01\xe4\x9c\x0c\xf4\xc5\x31\xbe\x6e\x45\x29\x61\xb0\xba\xc1\xfc\x6c\xfd\xf9\xa2\x79\xb7\xfa\x5d\x9c\x17\x25\x5f\x8b\xa9\xf6\xcc\xab\xdf\x70\x4c\x56\xfc\xe5\x46\xa2\xe6\xfd\xf3\x4b\xda\xab\x9f\x8b\xef\x7e\x95\x23\x83\x5c\x12\x50\xdb\x72\x50\x36\x8b\xa2\xf6\x91\xa8\xd5\x5b\x34\x19\x60\xd8\xb1\x32\xc8\x7f\x47\x4f\x21\xb0\x41\x94\xad\x72\x2a\x5a\x56\x9e\xaa\xb7\x78\xfe\x23\x18\xe1\x04\x2f\x0a\xfe\x66\x93\x96\x1f\x57\xfd\xc1\x6a\x97\xf5\xaa\xb9\xba\xfe\xb0\xc2\xfa\xbc\x79\x73\x59\x0c\x2e\x4c\x55\xa7\x64\xdd\x22\xfc\x69\xb3\x9a\x49\xc1\x82\xbd\x09\x62\xbd\x2e\x8b\xf0\xc2\xd4\x8b\x52\x76\x0f\x5f\xe2\xe1\x90\xbf\x87\xaa\x33\x24\x76\x65\xf6\xd3\x66\x35\x33\x05\x6a\x79\x59\x65\x7f\x68\xb4\x3a\x6f\x9b\x38\x96\x23\x9e\x75\xff\x49\x3d\xf9\xf4\x33\x00\x00\xff\xff\xdc\xca\x3a\xfd\x05\x07\x00\x00")
   161  
   162  func resourcesItItAllJsonBytes() ([]byte, error) {
   163  	return bindataRead(
   164  		_resourcesItItAllJson,
   165  		"resources/it-it.all.json",
   166  	)
   167  }
   168  
   169  func resourcesItItAllJson() (*asset, error) {
   170  	bytes, err := resourcesItItAllJsonBytes()
   171  	if err != nil {
   172  		return nil, err
   173  	}
   174  
   175  	info := bindataFileInfo{name: "resources/it-it.all.json", size: 0, mode: os.FileMode(0), modTime: time.Unix(0, 0)}
   176  	a := &asset{bytes: bytes, info: info}
   177  	return a, nil
   178  }
   179  
   180  var _resourcesJaJpAllJson = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xac\x93\xcd\x6a\x14\x4d\x14\x86\xf7\xb9\x8a\x97\xd9\xcc\x26\xcc\x05\xcc\xae\x09\x33\x1f\x1f\xc4\x20\xe6\x67\x63\xc4\x1c\xa7\x4e\x7a\x0a\xba\xab\xca\xaa\x33\xb6\xd2\xf4\xa2\x93\x65\xb2\xd5\x2c\x05\x37\x82\x17\xe1\xcd\x14\x2e\xbc\x0b\x69\xc7\xc0\x24\x5a\x43\x25\x64\xd3\x34\xe7\x9c\x7a\xde\xe7\xf4\xcf\xcb\x1d\x00\xed\x70\x01\x30\xd2\x6a\x34\xc5\xe8\xd4\x14\xce\x21\x08\x79\x61\x75\x6a\x46\xbb\xb7\x6d\xf1\x64\x42\x45\xa2\xad\x59\xcf\xc5\x8b\x2f\xf1\xf2\x26\x5e\x7e\x8b\xfd\xf5\xcf\x4f\x57\x3f\xbe\x5e\xc5\xfe\x63\xbc\xb8\x8e\xfd\xf7\xd8\xdf\xc4\xfe\xf3\xe6\xe9\xda\x2a\x7d\xae\x79\x88\x38\xa7\x2a\xf0\x50\xef\x76\x93\xf9\x6d\x3b\x29\x9c\x3b\xa0\x9a\xbb\x0e\x0d\x85\x5b\x21\xac\x82\x36\x25\x64\xa9\x03\x16\xb6\xae\xc9\x28\x9c\xb5\xed\x64\x6f\x7d\xdf\x75\x67\x5b\x95\x9f\x0e\xfd\x80\x7d\x8e\xfe\x7f\x3e\xc5\x71\x60\x8c\x37\x69\x63\x88\x85\x90\x2f\x59\x60\xb8\x81\xf5\xe5\x16\xf1\x47\x30\xb2\x0d\x01\x9c\x68\x6e\x40\x55\x65\x1b\x7a\x53\x31\xde\xae\xac\x50\x40\xa3\x65\x89\xf1\xde\xfc\xf5\x41\xf1\x6c\xf6\xa7\x38\x4e\x4a\x3e\x16\x93\xed\x39\xac\x7e\xc2\x3e\x68\x6b\x0e\x97\xd6\xcb\xb0\xff\xf0\x92\x36\xea\xfb\xd6\x94\xbf\xcb\x9e\x41\x55\xb0\xa0\xc5\x82\x9d\xb0\x9a\x24\xb5\x9f\x88\x9a\xbd\x45\x31\x00\x14\x57\x2c\x0c\x32\x1f\x50\x93\x73\xac\xe0\xed\x4a\x38\x24\x2d\x33\x4f\xe5\x5b\xdc\xff\x11\x94\xe5\x00\x63\x05\xfc\x5e\x07\x49\x3f\xae\xfc\x83\xd9\x2e\xf3\x59\x71\x74\xfc\x62\x86\xf9\x7e\xf1\xdf\x61\x32\x38\x31\x95\x9d\x32\xe8\x26\xe1\x77\x9b\xd9\x4c\x72\x1a\x6c\x94\xb3\xda\xc8\x34\x09\x4f\x4c\x3d\x28\xe5\xdd\xfa\x4b\xdc\x1e\xf2\xf7\x50\x76\x86\xf5\x65\x9a\x7d\xb7\x99\xcd\x0c\x8e\x16\x3c\xcd\xb2\xdf\x36\x9a\x9d\xb7\x0a\xec\xd3\x11\xf7\xba\xff\xa4\xee\xbc\xfa\x15\x00\x00\xff\xff\x04\xa3\x79\xe1\x12\x07\x00\x00")
   181  
   182  func resourcesJaJpAllJsonBytes() ([]byte, error) {
   183  	return bindataRead(
   184  		_resourcesJaJpAllJson,
   185  		"resources/ja-jp.all.json",
   186  	)
   187  }
   188  
   189  func resourcesJaJpAllJson() (*asset, error) {
   190  	bytes, err := resourcesJaJpAllJsonBytes()
   191  	if err != nil {
   192  		return nil, err
   193  	}
   194  
   195  	info := bindataFileInfo{name: "resources/ja-jp.all.json", size: 0, mode: os.FileMode(0), modTime: time.Unix(0, 0)}
   196  	a := &asset{bytes: bytes, info: info}
   197  	return a, nil
   198  }
   199  
   200  var _resourcesKoKrAllJson = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xac\x93\xbd\x6e\x13\x41\x10\xc7\xfb\x3c\xc5\x5f\x6e\xdc\x44\x7e\x00\x77\xa7\xc8\x46\x48\x21\x42\xe4\xa3\x21\x88\x0c\xde\xc9\x79\xa5\xbb\x9d\x65\x77\xcc\x81\x4e\xf7\x04\x34\x50\xd0\x21\x6a\x5a\x9e\x0b\x3f\x04\x5a\x4c\x24\x27\x64\x4f\x9b\x28\xcd\xe9\x34\x33\xfb\xfb\xff\xe6\x3e\x5e\x1f\x00\xe8\xd3\x05\xc0\xc4\x9a\xc9\x1c\x93\x4b\x57\x79\x8f\xa8\x14\x94\xcd\xa5\x9b\x1c\xde\xb4\x35\x90\x8b\x0d\xa9\x15\xb7\x9b\xdb\x7e\xfb\x85\xed\xe7\xef\xdb\x1f\x5f\x7f\x7f\xf9\xb9\x3f\xd9\x8a\xb1\xd7\x96\x13\xee\x9a\x9a\xc8\xa9\x3e\x1c\x66\xb3\xfa\x7e\x56\x79\x7f\x42\x2d\x0f\x03\x3a\x8a\x37\xe1\xd8\x44\xeb\x6a\xe8\xda\x46\xac\xa4\x6d\xc9\x19\x5c\xf5\xfd\xec\x68\x77\x3f\x0c\x57\xa3\x7a\x4f\x87\x7e\xc0\x3e\x67\xcf\x5f\xce\x71\x1e\x19\xd3\x7d\xda\x14\x2a\x50\x0a\x35\x2b\x1c\x77\x90\x50\x8f\x88\x3f\x82\x51\x6c\x08\xe0\xc2\x72\x07\x6a\x1a\xe9\xe8\x5d\xc3\x78\xbf\x11\xa5\x88\xce\xea\x1a\xd3\xa3\xe5\xdb\x93\xea\xc5\xe2\x5f\x71\x9a\x95\x7c\x2c\xa6\xd8\x33\xad\x7e\xc1\x21\x5a\x71\xa7\x6b\x09\x9a\xf6\x4f\x2f\x69\xaf\x7e\x2c\xae\xfe\x5b\x0e\x0c\x6a\xa2\x80\x56\x2b\xf6\xca\x66\x96\xd5\x7e\x22\x6a\xf1\x16\x55\x02\x18\x6e\x58\x19\xe4\x3e\xa1\x25\xef\xd9\x20\xc8\x46\x39\x66\x2d\x0b\x4f\x95\x5b\xdc\xfd\x11\x8c\x70\x84\x13\x05\x7f\xb4\x51\xf3\x8f\xab\xfc\x60\xb1\xcb\x72\x51\x9d\x9d\xbf\x5a\x60\x79\x5c\x3d\x3b\xcd\x06\x67\xa6\x8a\x53\x92\x6e\x16\x7e\xbb\x59\xcc\x24\x6f\xc1\xce\x78\xb1\x4e\xe7\x59\x78\x66\xea\x41\x29\x1f\x76\x5f\xe2\x78\xc8\xff\x43\xc5\x19\x12\xea\x3c\xfb\x76\xb3\x98\x19\x3d\xad\x78\x5e\x64\x3f\x36\x5a\x9c\xb7\x89\x1c\xf2\x11\x77\xba\xf7\x52\x0f\xde\xfc\x09\x00\x00\xff\xff\xc9\xe7\x7a\x82\xfe\x06\x00\x00")
   201  
   202  func resourcesKoKrAllJsonBytes() ([]byte, error) {
   203  	return bindataRead(
   204  		_resourcesKoKrAllJson,
   205  		"resources/ko-kr.all.json",
   206  	)
   207  }
   208  
   209  func resourcesKoKrAllJson() (*asset, error) {
   210  	bytes, err := resourcesKoKrAllJsonBytes()
   211  	if err != nil {
   212  		return nil, err
   213  	}
   214  
   215  	info := bindataFileInfo{name: "resources/ko-kr.all.json", size: 0, mode: os.FileMode(0), modTime: time.Unix(0, 0)}
   216  	a := &asset{bytes: bytes, info: info}
   217  	return a, nil
   218  }
   219  
   220  var _resourcesPtBrAllJson = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xac\x93\x4d\x6f\xd4\x30\x10\x86\xef\xfd\x15\xaf\xf6\x92\x4b\xb5\x3f\x20\xb7\xa8\xda\x45\x48\xa5\x42\xf4\xe3\x42\x11\x1d\xe2\x69\xd6\x52\xe2\x31\xf6\x84\x80\xa2\xfc\x77\x64\x4a\xc5\xb6\xe0\xc5\xad\xf6\x12\x45\x33\xe3\xe7\x7d\x26\x1f\x1f\x4f\x00\xcc\xe9\x02\x60\x65\xcd\xaa\xc6\xea\xd6\x35\xde\x23\x2a\x05\x65\x73\xeb\x56\xa7\x8f\x6d\x0d\xe4\x62\x4f\x6a\xc5\xfd\x99\xb3\xce\xb6\x96\x8c\xec\x0f\x0e\x62\xec\xbd\xe5\x44\xbb\xa7\x3e\x72\xaa\x2f\xa7\xd9\xa8\x79\x5e\x37\xde\x5f\xd0\xc0\xcb\x82\x89\xe2\x63\x36\xc6\x68\x5d\x07\xdd\xd9\x88\x56\x86\x81\x9c\xc1\xdd\x3c\xaf\xcf\x1e\xee\x97\xe5\xee\xbf\x76\xc7\x41\xbf\x60\x9f\xab\xb7\xef\x6b\x5c\x47\x46\xb5\x4f\xab\xa0\x02\xa5\xd0\xb1\xc2\xf1\x04\x09\xdd\x01\xf1\x57\x30\x8a\x0d\x01\xdc\x58\x9e\x40\x7d\x2f\x13\x7d\xe9\x19\x5f\x47\x51\x8a\x98\xac\xee\x50\x9d\x6d\x3f\x5f\x34\xef\x36\xbf\x8b\x55\x56\xf2\xb5\x98\x62\xcf\xb4\xfa\x0d\x87\x68\xc5\x5d\xee\x24\x68\xda\x3f\xbd\xa4\xbd\xfa\xb9\xb8\xee\x57\x39\x30\xa8\x8f\x02\x6a\x5b\xf6\xca\x66\x9d\xd5\x3e\x12\xb5\x78\x8b\x26\x01\x0c\xf7\xac\x0c\x72\x3f\x30\x90\xf7\x6c\x10\x64\x54\x8e\x59\xcb\xc2\x53\xe5\x16\xcf\x7f\x04\x23\x1c\xe1\x44\xc1\xdf\x6d\xd4\xfc\xe3\x2a\x3f\x58\xec\xb2\xdd\x34\x57\xd7\x1f\x36\xd8\x9e\x37\x6f\x2e\xb3\xc1\x99\xa9\xe2\x94\xa4\x9b\x85\x3f\x6d\x16\x33\xc9\x5b\xb0\x33\x5e\xac\xd3\x3a\x0b\xcf\x4c\xbd\x28\xe5\xdb\xc3\x97\x78\x38\xe4\xef\xa1\xe2\x0c\x09\x5d\x9e\xfd\xb4\x59\xcc\x8c\x9e\x5a\xae\x8b\xec\x0f\x8d\x16\xe7\x8d\x91\x43\x3e\xe2\x59\xf7\x9f\xd4\x93\x4f\x3f\x03\x00\x00\xff\xff\xbc\x94\x72\xe2\xfd\x06\x00\x00")
   221  
   222  func resourcesPtBrAllJsonBytes() ([]byte, error) {
   223  	return bindataRead(
   224  		_resourcesPtBrAllJson,
   225  		"resources/pt-br.all.json",
   226  	)
   227  }
   228  
   229  func resourcesPtBrAllJson() (*asset, error) {
   230  	bytes, err := resourcesPtBrAllJsonBytes()
   231  	if err != nil {
   232  		return nil, err
   233  	}
   234  
   235  	info := bindataFileInfo{name: "resources/pt-br.all.json", size: 0, mode: os.FileMode(0), modTime: time.Unix(0, 0)}
   236  	a := &asset{bytes: bytes, info: info}
   237  	return a, nil
   238  }
   239  
   240  var _resourcesZhHansAllJson = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xac\x93\xcd\x6a\xdb\x40\x10\xc7\xef\x79\x8a\x3f\xbe\xf8\x12\xfc\x00\xbe\x89\x60\x97\x42\x1a\x4a\xf3\x71\x69\x4a\x33\xf5\x4e\xe4\x05\x69\x67\xbb\x3b\xae\x5a\x84\x5e\xa0\x3d\xb4\x87\x3c\x84\x6f\x85\x5e\x0a\x79\x1f\x91\xd7\x28\xaa\x1b\x70\xd2\xac\xd9\x84\x5c\x84\x98\x99\xfd\xfd\x7f\xa3\x8f\xb7\x7b\x00\xda\xe1\x02\x60\x64\xcd\x68\x8a\xd1\xb9\x2b\xbc\x47\x54\x0a\xca\xe6\xdc\x8d\xf6\x6f\xdb\x1a\xc8\xc5\x8a\xd4\x8a\xdb\xcc\xf5\xd7\x57\x37\x57\xeb\x9b\xf5\xb7\xfe\xfa\x7b\xff\xfb\x57\xff\xe3\x67\xff\x75\xbd\x7d\xa2\x16\x63\x2f\x2d\x0f\xd8\x4b\xaa\x22\x0f\xf5\x6e\x3f\x99\xd9\xb6\x93\xc2\xfb\x23\xaa\xb9\xeb\xd0\x50\xbc\x95\xc0\x2a\x5a\x57\x42\x97\x36\x62\x21\x75\x4d\xce\xe0\xa2\x6d\x27\x07\x9b\xfb\xae\xbb\xd8\xa9\xf9\x7c\xe8\x47\xec\x73\xf2\xf2\xf5\x14\xa7\x91\x31\xde\xa6\x8d\xa1\x02\xa5\x50\xb2\xc2\x71\x03\x09\xe5\x0e\xf1\x27\x30\xb2\x0d\x01\x9c\x59\x6e\x40\x55\x25\x0d\x7d\xa8\x18\x1f\x57\xa2\x14\xd1\x58\x5d\x62\x7c\x30\x7f\x7f\x54\xbc\x9a\xfd\x2b\x8e\x93\x92\x4f\xc5\x64\x7b\x0e\xab\x9f\x71\x88\x56\xdc\xf1\x52\x82\x0e\xfb\x0f\x2f\x69\xab\x7e\x28\xae\xfc\x5b\x0e\x0c\xaa\xa2\x80\x16\x0b\xf6\xca\x66\x92\xd4\x7e\x26\x6a\xf6\x16\xc5\x00\x30\x5c\xb1\x32\xc8\x7d\x41\x4d\xde\xb3\x41\x90\x95\x72\x4c\x5a\x66\x9e\xca\xb7\xb8\xff\x23\x18\xe1\x08\x27\x0a\xfe\x6c\xa3\xa6\x1f\x57\xfe\xc1\x6c\x97\xf9\xac\x38\x39\x7d\x33\xc3\xfc\xb0\x78\x71\x9c\x0c\x4e\x4c\x65\xa7\x0c\xba\x49\xf8\xdd\x66\x36\x93\xbc\x05\x3b\xe3\xc5\x3a\x9d\x26\xe1\x89\xa9\x47\xa5\x7c\xda\x7c\x89\xbb\x43\xfe\x1f\xca\xce\x90\x50\xa6\xd9\x77\x9b\xd9\xcc\xe8\x69\xc1\xd3\x2c\xfb\x5d\xa3\xd9\x79\xab\xc8\x21\x1d\x71\xaf\xfb\x20\x75\xef\xdd\x9f\x00\x00\x00\xff\xff\x0c\xe7\xa4\xba\x06\x07\x00\x00")
   241  
   242  func resourcesZhHansAllJsonBytes() ([]byte, error) {
   243  	return bindataRead(
   244  		_resourcesZhHansAllJson,
   245  		"resources/zh-hans.all.json",
   246  	)
   247  }
   248  
   249  func resourcesZhHansAllJson() (*asset, error) {
   250  	bytes, err := resourcesZhHansAllJsonBytes()
   251  	if err != nil {
   252  		return nil, err
   253  	}
   254  
   255  	info := bindataFileInfo{name: "resources/zh-hans.all.json", size: 0, mode: os.FileMode(0), modTime: time.Unix(0, 0)}
   256  	a := &asset{bytes: bytes, info: info}
   257  	return a, nil
   258  }
   259  
   260  var _resourcesZhHantAllJson = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xac\x93\xbd\x6e\x13\x41\x10\xc7\xfb\x3c\xc5\x5f\x6e\xdc\x44\x7e\x00\x77\xa7\xc8\x46\x48\x21\x42\xe4\xa3\x21\x88\x0c\xde\xc9\x79\xa5\xbb\x9d\x65\x77\xcc\x81\x4e\x57\x23\x94\x82\x86\xd4\xb4\xa9\x69\x68\x78\x1d\x93\xd7\x40\x87\x89\xe4\x84\xec\x69\x13\xa5\x39\x9d\x66\x66\x7f\xff\xdf\xdc\xc7\xeb\x1d\x00\x6d\x7f\x01\x30\xb2\x66\x34\xc5\xe8\xd4\x15\xde\x23\x2a\x05\x65\x73\xea\x46\xbb\x37\x6d\x0d\xe4\x62\x45\x6a\xc5\x6d\xe6\xd6\x3f\x7f\xac\x2f\xbf\xaf\x2f\x2e\x7f\x7f\xfe\x72\xfd\xed\xea\xfa\xea\x62\xfd\xeb\xeb\xf6\x89\x5a\x8c\x3d\xb7\xdc\x63\xcf\xa9\x8a\xdc\xd7\xbb\xdd\x64\x66\xdb\x4e\x0a\xef\x0f\xa8\xe6\xae\x43\x43\xf1\x46\x02\xab\x68\x5d\x09\x5d\xda\x88\x85\xd4\x35\x39\x83\xb3\xb6\x9d\xec\x6d\xee\xbb\xee\x6c\x50\xf3\xe9\xd0\x0f\xd8\xe7\xe8\xf9\xcb\x29\x8e\x23\x63\xbc\x4d\x1b\x43\x05\x4a\xa1\x64\x85\xe3\x06\x12\xca\x01\xf1\x47\x30\xb2\x0d\x01\x9c\x58\x6e\x40\x55\x25\x0d\xbd\xab\x18\xef\x57\xa2\x14\xd1\x58\x5d\x62\xbc\x37\x7f\x7b\x50\xbc\x98\xfd\x2b\x8e\x93\x92\x8f\xc5\x64\x7b\xf6\xab\x9f\x70\x88\x56\xdc\xe1\x52\x82\xf6\xfb\xf7\x2f\x69\xab\xbe\x2f\xae\xfc\x5b\x0e\x0c\xaa\xa2\x80\x16\x0b\xf6\xca\x66\x92\xd4\x7e\x22\x6a\xf6\x16\x45\x0f\x30\x5c\xb1\x32\xc8\x7d\x42\x4d\xde\xb3\x41\x90\x95\x72\x4c\x5a\x66\x9e\xca\xb7\xb8\xfb\x23\x18\xe1\x08\x27\x0a\xfe\x68\xa3\xa6\x1f\x57\xfe\xc1\x6c\x97\xf9\xac\x38\x3a\x7e\x35\xc3\x7c\xbf\x78\x76\x98\x0c\x4e\x4c\x65\xa7\xf4\xba\x49\xf8\xed\x66\x36\x93\xbc\x05\x3b\xe3\xc5\x3a\x9d\x26\xe1\x89\xa9\x07\xa5\x7c\xd8\x7c\x89\xc3\x21\xff\x0f\x65\x67\x48\x28\xd3\xec\xdb\xcd\x6c\x66\xf4\xb4\xe0\x69\x96\xfd\xd0\x68\x76\xde\x2a\x72\x48\x47\xdc\xe9\xde\x4b\xdd\x79\xf3\x27\x00\x00\xff\xff\xa1\x62\x3d\xd9\x06\x07\x00\x00")
   261  
   262  func resourcesZhHantAllJsonBytes() ([]byte, error) {
   263  	return bindataRead(
   264  		_resourcesZhHantAllJson,
   265  		"resources/zh-hant.all.json",
   266  	)
   267  }
   268  
   269  func resourcesZhHantAllJson() (*asset, error) {
   270  	bytes, err := resourcesZhHantAllJsonBytes()
   271  	if err != nil {
   272  		return nil, err
   273  	}
   274  
   275  	info := bindataFileInfo{name: "resources/zh-hant.all.json", size: 0, mode: os.FileMode(0), modTime: time.Unix(0, 0)}
   276  	a := &asset{bytes: bytes, info: info}
   277  	return a, nil
   278  }
   279  
   280  // Asset loads and returns the asset for the given name.
   281  // It returns an error if the asset could not be found or
   282  // could not be loaded.
   283  func Asset(name string) ([]byte, error) {
   284  	cannonicalName := strings.Replace(name, "\\", "/", -1)
   285  	if f, ok := _bindata[cannonicalName]; ok {
   286  		a, err := f()
   287  		if err != nil {
   288  			return nil, fmt.Errorf("Asset %s can't read by error: %v", name, err)
   289  		}
   290  		return a.bytes, nil
   291  	}
   292  	return nil, fmt.Errorf("Asset %s not found", name)
   293  }
   294  
   295  // MustAsset is like Asset but panics when Asset would return an error.
   296  // It simplifies safe initialization of global variables.
   297  func MustAsset(name string) []byte {
   298  	a, err := Asset(name)
   299  	if err != nil {
   300  		panic("asset: Asset(" + name + "): " + err.Error())
   301  	}
   302  
   303  	return a
   304  }
   305  
   306  // AssetInfo loads and returns the asset info for the given name.
   307  // It returns an error if the asset could not be found or
   308  // could not be loaded.
   309  func AssetInfo(name string) (os.FileInfo, error) {
   310  	cannonicalName := strings.Replace(name, "\\", "/", -1)
   311  	if f, ok := _bindata[cannonicalName]; ok {
   312  		a, err := f()
   313  		if err != nil {
   314  			return nil, fmt.Errorf("AssetInfo %s can't read by error: %v", name, err)
   315  		}
   316  		return a.info, nil
   317  	}
   318  	return nil, fmt.Errorf("AssetInfo %s not found", name)
   319  }
   320  
   321  // AssetNames returns the names of the assets.
   322  func AssetNames() []string {
   323  	names := make([]string, 0, len(_bindata))
   324  	for name := range _bindata {
   325  		names = append(names, name)
   326  	}
   327  	return names
   328  }
   329  
   330  // _bindata is a table, holding each asset generator, mapped to its name.
   331  var _bindata = map[string]func() (*asset, error){
   332  	"resources/de-de.all.json":   resourcesDeDeAllJson,
   333  	"resources/en-us.all.json":   resourcesEnUsAllJson,
   334  	"resources/es-es.all.json":   resourcesEsEsAllJson,
   335  	"resources/fr-fr.all.json":   resourcesFrFrAllJson,
   336  	"resources/it-it.all.json":   resourcesItItAllJson,
   337  	"resources/ja-jp.all.json":   resourcesJaJpAllJson,
   338  	"resources/ko-kr.all.json":   resourcesKoKrAllJson,
   339  	"resources/pt-br.all.json":   resourcesPtBrAllJson,
   340  	"resources/zh-hans.all.json": resourcesZhHansAllJson,
   341  	"resources/zh-hant.all.json": resourcesZhHantAllJson,
   342  }
   343  
   344  // AssetDir returns the file names below a certain
   345  // directory embedded in the file by go-bindata.
   346  // For example if you run go-bindata on data/... and data contains the
   347  // following hierarchy:
   348  //     data/
   349  //       foo.txt
   350  //       img/
   351  //         a.png
   352  //         b.png
   353  // then AssetDir("data") would return []string{"foo.txt", "img"}
   354  // AssetDir("data/img") would return []string{"a.png", "b.png"}
   355  // AssetDir("foo.txt") and AssetDir("notexist") would return an error
   356  // AssetDir("") will return []string{"data"}.
   357  func AssetDir(name string) ([]string, error) {
   358  	node := _bintree
   359  	if len(name) != 0 {
   360  		cannonicalName := strings.Replace(name, "\\", "/", -1)
   361  		pathList := strings.Split(cannonicalName, "/")
   362  		for _, p := range pathList {
   363  			node = node.Children[p]
   364  			if node == nil {
   365  				return nil, fmt.Errorf("Asset %s not found", name)
   366  			}
   367  		}
   368  	}
   369  	if node.Func != nil {
   370  		return nil, fmt.Errorf("Asset %s not found", name)
   371  	}
   372  	rv := make([]string, 0, len(node.Children))
   373  	for childName := range node.Children {
   374  		rv = append(rv, childName)
   375  	}
   376  	return rv, nil
   377  }
   378  
   379  type bintree struct {
   380  	Func     func() (*asset, error)
   381  	Children map[string]*bintree
   382  }
   383  
   384  var _bintree = &bintree{nil, map[string]*bintree{
   385  	"resources": &bintree{nil, map[string]*bintree{
   386  		"de-de.all.json":   &bintree{resourcesDeDeAllJson, map[string]*bintree{}},
   387  		"en-us.all.json":   &bintree{resourcesEnUsAllJson, map[string]*bintree{}},
   388  		"es-es.all.json":   &bintree{resourcesEsEsAllJson, map[string]*bintree{}},
   389  		"fr-fr.all.json":   &bintree{resourcesFrFrAllJson, map[string]*bintree{}},
   390  		"it-it.all.json":   &bintree{resourcesItItAllJson, map[string]*bintree{}},
   391  		"ja-jp.all.json":   &bintree{resourcesJaJpAllJson, map[string]*bintree{}},
   392  		"ko-kr.all.json":   &bintree{resourcesKoKrAllJson, map[string]*bintree{}},
   393  		"pt-br.all.json":   &bintree{resourcesPtBrAllJson, map[string]*bintree{}},
   394  		"zh-hans.all.json": &bintree{resourcesZhHansAllJson, map[string]*bintree{}},
   395  		"zh-hant.all.json": &bintree{resourcesZhHantAllJson, map[string]*bintree{}},
   396  	}},
   397  }}
   398  
   399  // RestoreAsset restores an asset under the given directory
   400  func RestoreAsset(dir, name string) error {
   401  	data, err := Asset(name)
   402  	if err != nil {
   403  		return err
   404  	}
   405  	info, err := AssetInfo(name)
   406  	if err != nil {
   407  		return err
   408  	}
   409  	err = os.MkdirAll(_filePath(dir, filepath.Dir(name)), os.FileMode(0755))
   410  	if err != nil {
   411  		return err
   412  	}
   413  	err = ioutil.WriteFile(_filePath(dir, name), data, info.Mode())
   414  	if err != nil {
   415  		return err
   416  	}
   417  	err = os.Chtimes(_filePath(dir, name), info.ModTime(), info.ModTime())
   418  	if err != nil {
   419  		return err
   420  	}
   421  	return nil
   422  }
   423  
   424  // RestoreAssets restores an asset under the given directory recursively
   425  func RestoreAssets(dir, name string) error {
   426  	children, err := AssetDir(name)
   427  	// File
   428  	if err != nil {
   429  		return RestoreAsset(dir, name)
   430  	}
   431  	// Dir
   432  	for _, child := range children {
   433  		err = RestoreAssets(dir, filepath.Join(name, child))
   434  		if err != nil {
   435  			return err
   436  		}
   437  	}
   438  	return nil
   439  }
   440  
   441  func _filePath(dir, name string) string {
   442  	cannonicalName := strings.Replace(name, "\\", "/", -1)
   443  	return filepath.Join(append([]string{dir}, strings.Split(cannonicalName, "/")...)...)
   444  }