291 "SafeBrowsingAPI", |
291 "SafeBrowsingAPI", |
292 "<h3>Potentially Harmful Application</h3>" |
292 "<h3>Potentially Harmful Application</h3>" |
293 "<p>The web site you are about to visit may try to trick you" |
293 "<p>The web site you are about to visit may try to trick you" |
294 " into installing applications, that may negatively affect" |
294 " into installing applications, that may negatively affect" |
295 " your browsing experience.</p>") |
295 " your browsing experience.</p>") |
|
296 elif threatType == "malicious_binary": |
|
297 msg = QCoreApplication.translate( |
|
298 "SafeBrowsingAPI", |
|
299 "<h3>Malicious Binary Warning</h3>" |
|
300 "<p>The software you are about to download may be harmful" |
|
301 " to your computer.</p>") |
296 else: |
302 else: |
297 # unknow threat |
303 # unknow threat |
298 msg = QCoreApplication.translate( |
304 msg = QCoreApplication.translate( |
299 "SafeBrowsingAPI", |
305 "SafeBrowsingAPI", |
300 "<h3>Unknown Threat Warning</h3>" |
306 "<h3>Unknown Threat Warning</h3>" |