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