shithub: hugo

Download patch

ref: 10dc87bf866f7a4f99c248436c38edf0ecdd157f
parent: 7231869ba87f4e8d08e94dce18f20b7ed4fa2e15
author: Cameron Moore <[email protected]>
date: Thu Sep 6 11:27:44 EDT 2018

i18n: Fix golint issue

i18n/translationProvider.go:48:21: error strings should not be capitalized or end with punctuation or a newline

--- a/i18n/translationProvider.go
+++ b/i18n/translationProvider.go
@@ -45,7 +45,7 @@
 
 	en := language.GetPluralSpec("en")
 	if en == nil {
-		return errors.New("The English language has vanished like an old oak table!")
+		return errors.New("the English language has vanished like an old oak table")
 	}
 	var newLangs []string