38 standardDir = os.path.expanduser("~/.opera") |
38 standardDir = os.path.expanduser("~/.opera") |
39 return ( |
39 return ( |
40 UI.PixmapCache.getPixmap("opera.png"), |
40 UI.PixmapCache.getPixmap("opera.png"), |
41 "Opera", |
41 "Opera", |
42 "bookmarks.adr", |
42 "bookmarks.adr", |
43 QCoreApplication.translate("OperaImporter", |
43 QCoreApplication.translate( |
|
44 "OperaImporter", |
44 """Opera stores its bookmarks in the <b>bookmarks.adr</b> """ |
45 """Opera stores its bookmarks in the <b>bookmarks.adr</b> """ |
45 """text file. This file is usually located in"""), |
46 """text file. This file is usually located in"""), |
46 QCoreApplication.translate("OperaImporter", |
47 QCoreApplication.translate( |
|
48 "OperaImporter", |
47 """Please choose the file to begin importing bookmarks."""), |
49 """Please choose the file to begin importing bookmarks."""), |
48 standardDir, |
50 standardDir, |
49 ) |
51 ) |
50 else: |
52 else: |
51 raise ValueError("Unsupported browser ID given ({0}).".format(id)) |
53 raise ValueError("Unsupported browser ID given ({0}).".format(id)) |