48 QCoreApplication.translate( |
48 QCoreApplication.translate( |
49 "ChromeImporter", |
49 "ChromeImporter", |
50 """Google Chrome stores its bookmarks in the""" |
50 """Google Chrome stores its bookmarks in the""" |
51 """ <b>Bookmarks</b> text file. This file is usually""" |
51 """ <b>Bookmarks</b> text file. This file is usually""" |
52 """ located in"""), |
52 """ located in"""), |
53 QCoreApplication.translate("ChromeImporter", |
53 QCoreApplication.translate( |
|
54 "ChromeImporter", |
54 """Please choose the file to begin importing bookmarks."""), |
55 """Please choose the file to begin importing bookmarks."""), |
55 standardDir, |
56 standardDir, |
56 ) |
57 ) |
57 elif id == "chromium": |
58 elif id == "chromium": |
58 if Globals.isWindowsPlatform(): |
59 if Globals.isWindowsPlatform(): |
67 "Bookmarks", |
68 "Bookmarks", |
68 QCoreApplication.translate( |
69 QCoreApplication.translate( |
69 "ChromeImporter", |
70 "ChromeImporter", |
70 """Chromium stores its bookmarks in the <b>Bookmarks</b>""" |
71 """Chromium stores its bookmarks in the <b>Bookmarks</b>""" |
71 """ text file. This file is usually located in"""), |
72 """ text file. This file is usually located in"""), |
72 QCoreApplication.translate("ChromeImporter", |
73 QCoreApplication.translate( |
|
74 "ChromeImporter", |
73 """Please choose the file to begin importing bookmarks."""), |
75 """Please choose the file to begin importing bookmarks."""), |
74 standardDir, |
76 standardDir, |
75 ) |
77 ) |
76 else: |
78 else: |
77 raise ValueError("Unsupported browser ID given ({0}).".format(id)) |
79 raise ValueError("Unsupported browser ID given ({0}).".format(id)) |