Helpviewer/Bookmarks/BookmarksImporters/OperaImporter.py

branch
Py2 comp.
changeset 3058
0a02c433f52d
parent 3057
10516539f238
parent 3022
57179e4cdadd
child 3145
a9de05d4a22f
equal deleted inserted replaced
3057:10516539f238 3058:0a02c433f52d
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))

eric ide

mercurial