src/eric7/Plugins/UiExtensionPlugins/Translator/TranslatorEngines/MicrosoftEngine.py

branch
eric7
changeset 9495
28ab5f487f71
parent 9473
3f23dbf37dbe
child 9576
be9f8e7e42e0
equal deleted inserted replaced
9494:0b38ab887b0d 9495:28ab5f487f71
185 if translation != translations[-1]: 185 if translation != translations[-1]:
186 result += "<br/>" 186 result += "<br/>"
187 else: 187 else:
188 result = response 188 result = response
189 return result, ok 189 return result, ok
190
191
192 def createEngine(plugin, parent=None):
193 """
194 Function to instantiate a translator engine object.
195
196 @param plugin reference to the plugin object
197 @type TranslatorPlugin
198 @param parent reference to the parent object (defaults to None)
199 @type QObject (optional)
200 @return reference to the instantiated translator engine object
201 @rtype MicrosoftEngine
202 """
203 return MicrosoftEngine(plugin, parent=parent)

eric ide

mercurial