9 |
9 |
10 from __future__ import unicode_literals |
10 from __future__ import unicode_literals |
11 |
11 |
12 import os |
12 import os |
13 |
13 |
14 from PyQt4.QtCore import QObject |
14 from PyQt5.QtCore import QObject, QCoreApplication |
15 from PyQt4.QtGui import QApplication |
|
16 |
15 |
17 from E5Gui.E5Application import e5App |
16 from E5Gui.E5Application import e5App |
18 |
17 |
19 import Preferences |
18 import Preferences |
20 from Preferences.Shortcuts import readShortcuts |
19 from Preferences.Shortcuts import readShortcuts |
121 @return dictionary with key "zzz_subversionPage" containing the relevant |
121 @return dictionary with key "zzz_subversionPage" containing the relevant |
122 data |
122 data |
123 """ |
123 """ |
124 return { |
124 return { |
125 "zzz_subversionPage": |
125 "zzz_subversionPage": |
126 [QApplication.translate("VcsPySvnPlugin", "Subversion"), |
126 [QCoreApplication.translate("VcsPySvnPlugin", "Subversion"), |
127 os.path.join("VcsPlugins", "vcsPySvn", "icons", |
127 os.path.join("VcsPlugins", "vcsPySvn", "icons", |
128 "preferences-subversion.png"), |
128 "preferences-subversion.png"), |
129 createConfigurationPage, "vcsPage", None], |
129 createConfigurationPage, "vcsPage", None], |
130 } |
130 } |
131 |
131 |