Helpviewer/Bookmarks/BookmarksImporters/OperaImporter.py

changeset 3022
57179e4cdadd
parent 3002
6ffc581f00f1
child 3058
0a02c433f52d
child 3160
209a07d7e401
equal deleted inserted replaced
3021:801289962f4e 3022:57179e4cdadd
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))

eric ide

mercurial