Plugins/UiExtensionPlugins/Translator/TranslatorEngines/TranslationEngine.py

changeset 6411
7fd9b7ecbcfe
parent 6048
82ad8ec9548c
child 6412
d71b094845e7
equal deleted inserted replaced
6410:98a5d0cd72f5 6411:7fd9b7ecbcfe
42 42
43 @return list of supported language codes (list of string) 43 @return list of supported language codes (list of string)
44 """ 44 """
45 return [] 45 return []
46 46
47 def supportedTargetLanguages(self, original):
48 """
49 Public method to get a list of supported target languages for an
50 original language.
51
52 @param original original language
53 @type str
54 @return list of supported target languages for the given original
55 @rtype None, if function is not supported; list of str otherwise
56 """
57 return None
58
47 def hasTTS(self): 59 def hasTTS(self):
48 """ 60 """
49 Public method indicating the Text-to-Speech capability. 61 Public method indicating the Text-to-Speech capability.
50 62
51 @return flag indicating the Text-to-Speech capability (boolean) 63 @return flag indicating the Text-to-Speech capability (boolean)

eric ide

mercurial