27 deactivateable = True |
27 deactivateable = True |
28 version = UI.Info.VersionOnly |
28 version = UI.Info.VersionOnly |
29 className = "TranslatorPlugin" |
29 className = "TranslatorPlugin" |
30 packageName = "__core__" |
30 packageName = "__core__" |
31 shortDescription = "Translation utility using various translators." |
31 shortDescription = "Translation utility using various translators." |
32 longDescription = \ |
32 longDescription = ( |
33 """This plug-in implements a utility to translate text using""" \ |
33 """This plug-in implements a utility to translate text using""" |
34 """ various online translation services.""" |
34 """ various online translation services.""" |
|
35 ) |
35 needsRestart = False |
36 needsRestart = False |
36 pyqtApi = 2 |
37 pyqtApi = 2 |
37 # End-Of-Header |
38 # End-Of-Header |
38 |
39 |
39 error = "" |
40 error = "" |
46 Module function to create the Translator configuration page. |
47 Module function to create the Translator configuration page. |
47 |
48 |
48 @param configDlg reference to the configuration dialog |
49 @param configDlg reference to the configuration dialog |
49 @return reference to the configuration page |
50 @return reference to the configuration page |
50 """ |
51 """ |
51 from UiExtensionPlugins.Translator.ConfigurationPage.TranslatorPage \ |
52 from UiExtensionPlugins.Translator.ConfigurationPage import TranslatorPage |
52 import TranslatorPage |
53 page = TranslatorPage.TranslatorPage(translatorPluginObject) |
53 page = TranslatorPage(translatorPluginObject) |
|
54 return page |
54 return page |
55 |
55 |
56 |
56 |
57 def getConfigData(): |
57 def getConfigData(): |
58 """ |
58 """ |