Preferences/ConfigurationPages/HelpVirusTotalPage.py

branch
Py2 comp.
changeset 3484
645c12de6b0c
parent 3178
f25fc1364c88
parent 3190
a9a94491c4fd
child 3656
441956d8fce5
--- a/Preferences/ConfigurationPages/HelpVirusTotalPage.py	Sun Mar 30 22:00:14 2014 +0200
+++ b/Preferences/ConfigurationPages/HelpVirusTotalPage.py	Thu Apr 03 23:05:31 2014 +0200
@@ -76,7 +76,7 @@
         """
         self.testResultLabel.setHidden(False)
         self.testResultLabel.setText(
-            self.trUtf8("Checking validity of the service key..."))
+            self.tr("Checking validity of the service key..."))
         if self.vtSecureCheckBox.isChecked():
             protocol = "https"
         else:
@@ -94,14 +94,14 @@
         """
         if result:
             self.testResultLabel.setText(
-                self.trUtf8("The service key is valid."))
+                self.tr("The service key is valid."))
         else:
             if msg == "":
-                self.testResultLabel.setText(self.trUtf8(
+                self.testResultLabel.setText(self.tr(
                     '<font color="#FF0000">The service key is'
                     ' not valid.</font>'))
             else:
-                self.testResultLabel.setText(self.trUtf8(
+                self.testResultLabel.setText(self.tr(
                     '<font color="#FF0000"><b>Error:</b> {0}</font>')
                     .format(msg))
     

eric ide

mercurial