Helpviewer/Bookmarks/BookmarksImporters/FirefoxImporter.py

branch
Py2 comp.
changeset 3058
0a02c433f52d
parent 3057
10516539f238
parent 3022
57179e4cdadd
child 3145
a9de05d4a22f
equal deleted inserted replaced
3057:10516539f238 3058:0a02c433f52d
42 standardDir = os.path.expanduser("~/.mozilla/firefox") 42 standardDir = os.path.expanduser("~/.mozilla/firefox")
43 return ( 43 return (
44 UI.PixmapCache.getPixmap("chrome.png"), 44 UI.PixmapCache.getPixmap("chrome.png"),
45 "Mozilla Firefox", 45 "Mozilla Firefox",
46 "places.sqlite", 46 "places.sqlite",
47 QCoreApplication.translate("FirefoxImporter", 47 QCoreApplication.translate(
48 "FirefoxImporter",
48 """Mozilla Firefox stores its bookmarks in the""" 49 """Mozilla Firefox stores its bookmarks in the"""
49 """ <b>places.sqlite</b> SQLite database. This file is""" 50 """ <b>places.sqlite</b> SQLite database. This file is"""
50 """ usually located in"""), 51 """ usually located in"""),
51 QCoreApplication.translate("FirefoxImporter", 52 QCoreApplication.translate(
53 "FirefoxImporter",
52 """Please choose the file to begin importing bookmarks."""), 54 """Please choose the file to begin importing bookmarks."""),
53 standardDir, 55 standardDir,
54 ) 56 )
55 else: 57 else:
56 raise ValueError("Unsupported browser ID given ({0}).".format(id)) 58 raise ValueError("Unsupported browser ID given ({0}).".format(id))

eric ide

mercurial