src/eric7/Documentation/Source/eric7.Plugins.UiExtensionPlugins.Translator.TranslatorEngines.__init__.html

branch
eric7
changeset 10479
856476537696
parent 9209
b99e7fd55fd3
equal deleted inserted replaced
10478:de9106c55c3d 10479:856476537696
5 <link rel="stylesheet" href="styles.css"> 5 <link rel="stylesheet" href="styles.css">
6 </head> 6 </head>
7 <body> 7 <body>
8 <a NAME="top" ID="top"></a> 8 <a NAME="top" ID="top"></a>
9 <h1>eric7.Plugins.UiExtensionPlugins.Translator.TranslatorEngines.__init__</h1> 9 <h1>eric7.Plugins.UiExtensionPlugins.Translator.TranslatorEngines.__init__</h1>
10
11 <p> 10 <p>
12 Package containing the various translation engines. 11 Package containing the various translation engines.
13 </p> 12 </p>
13
14 <h3>Global Attributes</h3> 14 <h3>Global Attributes</h3>
15
16 <table> 15 <table>
17 <tr><td>None</td></tr> 16 <tr><td>None</td></tr>
18 </table> 17 </table>
18
19 <h3>Classes</h3> 19 <h3>Classes</h3>
20
21 <table> 20 <table>
22 <tr><td>None</td></tr> 21 <tr><td>None</td></tr>
23 </table> 22 </table>
23
24 <h3>Functions</h3> 24 <h3>Functions</h3>
25
26 <table> 25 <table>
27
28 <tr> 26 <tr>
29 <td><a href="#engineDisplayName">engineDisplayName</a></td> 27 <td><a href="#engineDisplayName">engineDisplayName</a></td>
30 <td>Module function to get a translated name for an engine.</td> 28 <td>Module function to get a translated name for an engine.</td>
31 </tr> 29 </tr>
32 <tr> 30 <tr>
44 <tr> 42 <tr>
45 <td><a href="#supportedEngineNames">supportedEngineNames</a></td> 43 <td><a href="#supportedEngineNames">supportedEngineNames</a></td>
46 <td>Module function to get the list of supported translation engines.</td> 44 <td>Module function to get the list of supported translation engines.</td>
47 </tr> 45 </tr>
48 </table> 46 </table>
47
49 <hr /> 48 <hr />
50 <hr /> 49 <hr />
51 <a NAME="engineDisplayName" ID="engineDisplayName"></a> 50 <a NAME="engineDisplayName" ID="engineDisplayName"></a>
52 <h2>engineDisplayName</h2> 51 <h2>engineDisplayName</h2>
53 <b>engineDisplayName</b>(<i>name</i>) 52 <b>engineDisplayName</b>(<i>name</i>)
54
55 <p> 53 <p>
56 Module function to get a translated name for an engine. 54 Module function to get a translated name for an engine.
57 </p> 55 </p>
56
58 <dl> 57 <dl>
59 58
60 <dt><i>name</i> (str)</dt> 59 <dt><i>name</i> (str)</dt>
61 <dd> 60 <dd>
62 name of a translation engine 61 name of a translation engine
78 <hr /> 77 <hr />
79 <hr /> 78 <hr />
80 <a NAME="getEngineIcon" ID="getEngineIcon"></a> 79 <a NAME="getEngineIcon" ID="getEngineIcon"></a>
81 <h2>getEngineIcon</h2> 80 <h2>getEngineIcon</h2>
82 <b>getEngineIcon</b>(<i>name</i>) 81 <b>getEngineIcon</b>(<i>name</i>)
83
84 <p> 82 <p>
85 Module function to get the icon of the named engine. 83 Module function to get the icon of the named engine.
86 </p> 84 </p>
85
87 <dl> 86 <dl>
88 87
89 <dt><i>name</i> (str)</dt> 88 <dt><i>name</i> (str)</dt>
90 <dd> 89 <dd>
91 name of the translation engine 90 name of the translation engine
107 <hr /> 106 <hr />
108 <hr /> 107 <hr />
109 <a NAME="getKeyUrl" ID="getKeyUrl"></a> 108 <a NAME="getKeyUrl" ID="getKeyUrl"></a>
110 <h2>getKeyUrl</h2> 109 <h2>getKeyUrl</h2>
111 <b>getKeyUrl</b>(<i>name</i>) 110 <b>getKeyUrl</b>(<i>name</i>)
112
113 <p> 111 <p>
114 Module function to get an URL to request a user key. 112 Module function to get an URL to request a user key.
115 </p> 113 </p>
114
116 <dl> 115 <dl>
117 116
118 <dt><i>name</i> (str)</dt> 117 <dt><i>name</i> (str)</dt>
119 <dd> 118 <dd>
120 name of the online translation service 119 name of the online translation service
136 <hr /> 135 <hr />
137 <hr /> 136 <hr />
138 <a NAME="getTranslationEngine" ID="getTranslationEngine"></a> 137 <a NAME="getTranslationEngine" ID="getTranslationEngine"></a>
139 <h2>getTranslationEngine</h2> 138 <h2>getTranslationEngine</h2>
140 <b>getTranslationEngine</b>(<i>name, plugin, parent=None</i>) 139 <b>getTranslationEngine</b>(<i>name, plugin, parent=None</i>)
141
142 <p> 140 <p>
143 Module function to instantiate an engine object for the named service. 141 Module function to instantiate an engine object for the named service.
144 </p> 142 </p>
143
145 <dl> 144 <dl>
146 145
147 <dt><i>name</i> (str)</dt> 146 <dt><i>name</i> (str)</dt>
148 <dd> 147 <dd>
149 name of the online translation service 148 name of the online translation service
173 <hr /> 172 <hr />
174 <hr /> 173 <hr />
175 <a NAME="supportedEngineNames" ID="supportedEngineNames"></a> 174 <a NAME="supportedEngineNames" ID="supportedEngineNames"></a>
176 <h2>supportedEngineNames</h2> 175 <h2>supportedEngineNames</h2>
177 <b>supportedEngineNames</b>(<i></i>) 176 <b>supportedEngineNames</b>(<i></i>)
178
179 <p> 177 <p>
180 Module function to get the list of supported translation engines. 178 Module function to get the list of supported translation engines.
181 </p> 179 </p>
180
182 <dl> 181 <dl>
183 <dt>Return:</dt> 182 <dt>Return:</dt>
184 <dd> 183 <dd>
185 names of supported engines 184 names of supported engines
186 </dd> 185 </dd>

eric ide

mercurial