summaryrefslogtreecommitdiffstats
path: root/source
diff options
context:
space:
mode:
Diffstat (limited to 'source')
-rw-r--r--source/file.go4
1 files changed, 0 insertions, 4 deletions
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)