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