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)) |