208 .format(reply.url().scheme(), reply.url().authority()) |
208 .format(reply.url().scheme(), reply.url().authority()) |
209 realm = auth.realm() |
209 realm = auth.realm() |
210 if not realm and 'realm' in auth.options(): |
210 if not realm and 'realm' in auth.options(): |
211 realm = auth.option("realm") |
211 realm = auth.option("realm") |
212 if realm: |
212 if realm: |
213 info = self.trUtf8("<b>Enter username and password for '{0}', " |
213 info = self.tr("<b>Enter username and password for '{0}', " |
214 "realm '{1}'</b>").format(urlRoot, realm) |
214 "realm '{1}'</b>").format(urlRoot, realm) |
215 else: |
215 else: |
216 info = self.trUtf8("<b>Enter username and password for '{0}'</b>")\ |
216 info = self.tr("<b>Enter username and password for '{0}'</b>")\ |
217 .format(urlRoot) |
217 .format(urlRoot) |
218 |
218 |
219 from UI.AuthenticationDialog import AuthenticationDialog |
219 from UI.AuthenticationDialog import AuthenticationDialog |
220 import Helpviewer.HelpWindow |
220 import Helpviewer.HelpWindow |
221 |
221 |