WebBrowser/SafeBrowsing/SafeBrowsingAPIClient.py

changeset 5831
536d97e3f1a1
parent 5829
d3448873ced3
child 5832
28f36b9c925f
--- a/WebBrowser/SafeBrowsing/SafeBrowsingAPIClient.py	Fri Aug 04 18:41:50 2017 +0200
+++ b/WebBrowser/SafeBrowsing/SafeBrowsingAPIClient.py	Fri Aug 04 19:40:48 2017 +0200
@@ -293,6 +293,12 @@
                 "<p>The web site you are about to visit may try to trick you"
                 " into installing applications, that may negatively affect"
                 " your browsing experience.</p>")
+        elif threatType == "malicious_binary":
+            msg = QCoreApplication.translate(
+                "SafeBrowsingAPI",
+                "<h3>Malicious Binary Warning</h3>"
+                "<p>The software you are about to download may be harmful"
+                " to your computer.</p>")
         else:
             # unknow threat
             msg = QCoreApplication.translate(

eric ide

mercurial