645
651
example = "deb http://ftp.debian.org sarge main"
646
652
# L10N: the example is of the format: deb http://ftp.debian.org sarge main
647
653
text = _('<p><b>Enter the complete APT line of the<br /> repository that you want to add as source</b></p><p>The APT line includes the type, location and components of a repository,<br /> for example <i>"%s"</i>.</p>' % example)
648
(line, valid) = QInputDialog.getText(self.userinterface, unicode(_("Add APT repository"), 'utf-8'), text)
654
(line, valid) = QInputDialog.getText(self.userinterface, utf8(_("Add APT repository")), text)
651
657
self.add_source_from_line(uline)