fixed formatting error for localization

This commit is contained in:
Micah Lee 2013-04-03 10:44:13 -07:00
parent e428d35d3f
commit a4b0fb1abe

View File

@ -416,7 +416,7 @@ class TorBrowserLauncher:
def download_error(self, f):
print _("Download error"), f
self.set_gui('error', _("Error starting download") + ":\n\n"+f.value+"\n\n" + _("Are you connected to the internet?"), [], False)
self.set_gui('error', _("Error starting download:\n\n{0}\n\nAre you connected to the internet?").format(f.value), [], False)
self.clear_ui()
self.build_ui()