Archived
1
0

use correct names

This commit is contained in:
Jeff Becker 2017-10-08 10:03:40 -04:00
parent 24fea24b03
commit c54820a198
No known key found for this signature in database
GPG Key ID: F357B3B42F6F9B05
3 changed files with 14 additions and 8 deletions

View File

@ -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

View File

@ -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)