diff --git a/gui/default/assets/lang/lang-en.json b/gui/default/assets/lang/lang-en.json index 65136ad8..ed3aeaa0 100644 --- a/gui/default/assets/lang/lang-en.json +++ b/gui/default/assets/lang/lang-en.json @@ -30,6 +30,7 @@ "CPU Utilization": "CPU Utilization", "Changelog": "Changelog", "Clean out after": "Clean out after", + "Click to see discovery failures": "Click to see discovery failures", "Close": "Close", "Command": "Command", "Comment, when used at the start of a line": "Comment, when used at the start of a line", diff --git a/gui/default/index.html b/gui/default/index.html index d9ab71fa..2e613c29 100644 --- a/gui/default/index.html +++ b/gui/default/index.html @@ -511,7 +511,7 @@ {{discoveryTotal}}/{{discoveryTotal}} - + {{discoveryTotal-discoveryFailed.length}}/{{discoveryTotal}} diff --git a/script/translate.go b/script/translate.go index 358df70a..e9988b2f 100644 --- a/script/translate.go +++ b/script/translate.go @@ -50,6 +50,11 @@ func generalNode(n *html.Node, filename string) { if matches := attrRe.FindStringSubmatch(a.Val); len(matches) == 2 { translation(matches[1]) } + if a.Key == "data-content" && + !noStringRe.MatchString(a.Val) { + log.Println("Untranslated data-content string (" + filename + "):") + log.Print("\t" + a.Val) + } } } }