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
 
539
 
540
 			for key, value := range tlList {
540
 			for key, value := range tlList {
541
 				// because of how crowdin works, this is how we skip untranslated lines
541
 				// because of how crowdin works, this is how we skip untranslated lines
542
-				if key == value {
542
+				if key == value || value == "" {
543
 					continue
543
 					continue
544
 				}
544
 				}
545
 				langInfo.Translations[key] = value
545
 				langInfo.Translations[key] = value
560
 
560
 
561
 			for key, value := range tlList {
561
 			for key, value := range tlList {
562
 				// because of how crowdin works, this is how we skip untranslated lines
562
 				// because of how crowdin works, this is how we skip untranslated lines
563
-				if key == value {
563
+				if key == value || value == "" {
564
 					continue
564
 					continue
565
 				}
565
 				}
566
 				langInfo.Translations[key] = value
566
 				langInfo.Translations[key] = value

Loading…
Cancel
Save