use correct names
This commit is contained in:
parent
24fea24b03
commit
c54820a198
@ -1,13 +1,19 @@
|
||||
[feed-dummy]
|
||||
proxy-type=socks4a
|
||||
overchan.overchan=1
|
||||
ctl=1
|
||||
*=0
|
||||
|
||||
[feed-2hu]
|
||||
proxy-type=None
|
||||
proxy-host=127.0.0.1
|
||||
proxy-port=9050
|
||||
host=dummy
|
||||
host=2hu-ch.org
|
||||
port=119
|
||||
connections=1
|
||||
connections=0
|
||||
sync=1
|
||||
disable=1
|
||||
|
||||
[dummy]
|
||||
overchan.*=1
|
||||
ano.paste=0
|
||||
[2hu]
|
||||
overchan.overchan=1
|
||||
ctl=1
|
||||
*=0
|
||||
|
||||
|
@ -25,7 +25,7 @@ var i18nProvider *i18n = nil
|
||||
//Use the language matcher to get the best match for the locale preference
|
||||
func InitI18n(locale, dir string) {
|
||||
pref := language.Make(locale) // falls back to en-US on parse error
|
||||
|
||||
log.Println("using locale", pref)
|
||||
files, err := ioutil.ReadDir(dir)
|
||||
if err != nil {
|
||||
log.Fatal(err)
|
||||
|
Reference in New Issue
Block a user