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