From c54820a198dad983f49c5c64fd44d782784fa064 Mon Sep 17 00:00:00 2001 From: Jeff Becker Date: Sun, 8 Oct 2017 10:03:40 -0400 Subject: [PATCH] use correct names --- .../backends/srndv2/src/srnd/feeds.ini.bak | 20 ++++++++++++------- contrib/backends/srndv2/src/srnd/i18n.go | 2 +- contrib/translations/{jp-JP.ini => ja-JP.ini} | 0 3 files changed, 14 insertions(+), 8 deletions(-) rename contrib/translations/{jp-JP.ini => ja-JP.ini} (100%) diff --git a/contrib/backends/srndv2/src/srnd/feeds.ini.bak b/contrib/backends/srndv2/src/srnd/feeds.ini.bak index c31fce3..e25e690 100644 --- a/contrib/backends/srndv2/src/srnd/feeds.ini.bak +++ b/contrib/backends/srndv2/src/srnd/feeds.ini.bak @@ -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 diff --git a/contrib/backends/srndv2/src/srnd/i18n.go b/contrib/backends/srndv2/src/srnd/i18n.go index 16b1f50..2a81c97 100644 --- a/contrib/backends/srndv2/src/srnd/i18n.go +++ b/contrib/backends/srndv2/src/srnd/i18n.go @@ -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) diff --git a/contrib/translations/jp-JP.ini b/contrib/translations/ja-JP.ini similarity index 100% rename from contrib/translations/jp-JP.ini rename to contrib/translations/ja-JP.ini