gui, script: Translate discovery popover and detect it in translate script
Skip-check: pr-solaris GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/4061
This commit is contained in:
@@ -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)
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user