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