15 from eric7.EricWidgets.EricApplication import ericApp |
15 from eric7.EricWidgets.EricApplication import ericApp |
16 from eric7.Plugins.UiExtensionPlugins.Translator.Translator import Translator |
16 from eric7.Plugins.UiExtensionPlugins.Translator.Translator import Translator |
17 from eric7.UI import Info |
17 from eric7.UI import Info |
18 |
18 |
19 # Start-Of-Header |
19 # Start-Of-Header |
20 name = "Translator Plugin" |
20 __header__ = { |
21 author = "Detlev Offenbach <detlev@die-offenbachs.de>" |
21 "name": "Translator Plugin", |
22 autoactivate = True |
22 "author": "Detlev Offenbach <detlev@die-offenbachs.de>", |
23 deactivateable = True |
23 "autoactivate": True, |
24 version = Info.VersionOnly |
24 "deactivateable": True, |
25 className = "TranslatorPlugin" |
25 "version": Info.VersionOnly, |
26 packageName = "__core__" |
26 "className": "TranslatorPlugin", |
27 shortDescription = "Translation utility using various translators." |
27 "packageName": "__core__", |
28 longDescription = ( |
28 "shortDescription": "Translation utility using various translators.", |
29 """This plug-in implements a utility to translate text using""" |
29 "longDescription": ( |
30 """ various online translation services.""" |
30 """This plug-in implements a utility to translate text using""" |
31 ) |
31 """ various online translation services.""" |
32 needsRestart = False |
32 ), |
33 pyqtApi = 2 |
33 "needsRestart": False, |
|
34 "pyqtApi": 2, |
|
35 } |
34 # End-Of-Header |
36 # End-Of-Header |
35 |
37 |
36 error = "" |
38 error = "" # noqa: U200 |
37 |
39 |
38 translatorPluginObject = None |
40 translatorPluginObject = None |
39 |
41 |
40 |
42 |
41 def createTranslatorPage(configDlg): |
43 def createTranslatorPage(configDlg): |