Browse Source

Update translation framework a touch more

tags/v0.11.0-alpha
Daniel Oaks 6 years ago
parent
commit
ddec79f8d0
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      irc/config.go

+ 2
- 2
irc/config.go View File

@@ -539,7 +539,7 @@ func LoadConfig(filename string) (config *Config, err error) {
539 539
 
540 540
 			for key, value := range tlList {
541 541
 				// because of how crowdin works, this is how we skip untranslated lines
542
-				if key == value {
542
+				if key == value || value == "" {
543 543
 					continue
544 544
 				}
545 545
 				langInfo.Translations[key] = value
@@ -560,7 +560,7 @@ func LoadConfig(filename string) (config *Config, err error) {
560 560
 
561 561
 			for key, value := range tlList {
562 562
 				// because of how crowdin works, this is how we skip untranslated lines
563
-				if key == value {
563
+				if key == value || value == "" {
564 564
 					continue
565 565
 				}
566 566
 				langInfo.Translations[key] = value

Loading…
Cancel
Save