9 |
9 |
10 import os |
10 import os |
11 |
11 |
12 from PyQt6.QtCore import pyqtSignal, QObject, QCoreApplication |
12 from PyQt6.QtCore import pyqtSignal, QObject, QCoreApplication |
13 |
13 |
14 from EricWidgets.EricApplication import ericApp |
14 from eric7.EricWidgets.EricApplication import ericApp |
15 |
15 |
16 import Preferences |
16 from eric7 import Preferences |
17 |
17 |
18 from UiExtensionPlugins.Translator.Translator import Translator |
18 from eric7.Plugins.UiExtensionPlugins.Translator.Translator import Translator |
19 |
19 |
20 import UI.Info |
20 from eric7.UI import Info |
21 |
21 |
22 # Start-Of-Header |
22 # Start-Of-Header |
23 name = "Translator Plugin" |
23 name = "Translator Plugin" |
24 author = "Detlev Offenbach <detlev@die-offenbachs.de>" |
24 author = "Detlev Offenbach <detlev@die-offenbachs.de>" |
25 autoactivate = True |
25 autoactivate = True |
26 deactivateable = True |
26 deactivateable = True |
27 version = UI.Info.VersionOnly |
27 version = Info.VersionOnly |
28 className = "TranslatorPlugin" |
28 className = "TranslatorPlugin" |
29 packageName = "__core__" |
29 packageName = "__core__" |
30 shortDescription = "Translation utility using various translators." |
30 shortDescription = "Translation utility using various translators." |
31 longDescription = ( |
31 longDescription = ( |
32 """This plug-in implements a utility to translate text using""" |
32 """This plug-in implements a utility to translate text using""" |
48 @param configDlg reference to the configuration dialog |
48 @param configDlg reference to the configuration dialog |
49 @type ConfigurationWidget |
49 @type ConfigurationWidget |
50 @return reference to the configuration page |
50 @return reference to the configuration page |
51 @rtype TranslatorPage |
51 @rtype TranslatorPage |
52 """ |
52 """ |
53 from UiExtensionPlugins.Translator.ConfigurationPage import TranslatorPage |
53 from eric7.Plugins.UiExtensionPlugins.Translator.ConfigurationPage import ( |
|
54 TranslatorPage, |
|
55 ) |
54 |
56 |
55 page = TranslatorPage.TranslatorPage(translatorPluginObject) |
57 page = TranslatorPage.TranslatorPage(translatorPluginObject) |
56 return page |
58 return page |
57 |
59 |
58 |
60 |