3
0
mirror of https://github.com/ergochat/ergo.git synced 2024-11-10 22:19:31 +01:00

Update translation framework a touch more

This commit is contained in:
Daniel Oaks 2018-01-23 15:09:47 +10:00
parent 75dcff7183
commit ddec79f8d0

View File

@ -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