From ddec79f8d087f803e298c5b64dae4f39b1daa6be Mon Sep 17 00:00:00 2001 From: Daniel Oaks Date: Tue, 23 Jan 2018 15:09:47 +1000 Subject: [PATCH] Update translation framework a touch more --- irc/config.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/irc/config.go b/irc/config.go index 755c7717..55132ffc 100644 --- a/irc/config.go +++ b/irc/config.go @@ -539,7 +539,7 @@ func LoadConfig(filename string) (config *Config, err error) { for key, value := range tlList { // because of how crowdin works, this is how we skip untranslated lines - if key == value { + if key == value || value == "" { continue } langInfo.Translations[key] = value @@ -560,7 +560,7 @@ func LoadConfig(filename string) (config *Config, err error) { for key, value := range tlList { // because of how crowdin works, this is how we skip untranslated lines - if key == value { + if key == value || value == "" { continue } langInfo.Translations[key] = value