From e56ecab1575f1b25552988b9efff2836f05f87f9 Mon Sep 17 00:00:00 2001 From: Bjørn Erik Pedersen Date: Mon, 8 Aug 2016 00:12:06 +0200 Subject: Multilingual TODO-fixes, take 1 See #2309 --- source/file.go | 4 ---- 1 file changed, 4 deletions(-) (limited to 'source') diff --git a/source/file.go b/source/file.go index 4bee882a6..500da2548 100644 --- a/source/file.go +++ b/source/file.go @@ -129,10 +129,6 @@ func NewFile(relpath string) *File { f.lang = strings.TrimPrefix(filepath.Ext(f.baseName), ".") if f.lang == "" { f.lang = viper.GetString("DefaultContentLanguage") - if f.lang == "" { - // TODO(bep) ml - f.lang = "en" - } } f.translationBaseName = helpers.Filename(f.baseName) -- cgit v1.2.3