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