--- a/src/eric7/Documentation/Source/eric7.Plugins.UiExtensionPlugins.Translator.TranslatorEngines.DeepLEngine.html Thu Jan 04 17:16:15 2024 +0100 +++ b/src/eric7/Documentation/Source/eric7.Plugins.UiExtensionPlugins.Translator.TranslatorEngines.DeepLEngine.html Thu Jan 04 18:02:25 2024 +0100 @@ -7,58 +7,55 @@ <body> <a NAME="top" ID="top"></a> <h1>eric7.Plugins.UiExtensionPlugins.Translator.TranslatorEngines.DeepLEngine</h1> - <p> Module implementing the DeepL translation engine. </p> + <h3>Global Attributes</h3> - <table> <tr><td>None</td></tr> </table> + <h3>Classes</h3> - <table> - <tr> <td><a href="#DeepLEngine">DeepLEngine</a></td> <td>Class implementing the translation engine for the DeepL translation service.</td> </tr> </table> + <h3>Functions</h3> - <table> - <tr> <td><a href="#createEngine">createEngine</a></td> <td>Function to instantiate a translator engine object.</td> </tr> </table> + <hr /> <hr /> <a NAME="DeepLEngine" ID="DeepLEngine"></a> <h2>DeepLEngine</h2> - <p> Class implementing the translation engine for the DeepL translation service. </p> + <h3>Derived from</h3> TranslationEngine <h3>Class Attributes</h3> +<table> +<tr><td>MaxTranslationTextLen</td></tr> +<tr><td>TranslatorUrls</td></tr> +</table> -<table> -<tr><td>MaxTranslationTextLen</td></tr><tr><td>TranslatorUrls</td></tr> -</table> <h3>Class Methods</h3> - <table> <tr><td>None</td></tr> </table> + <h3>Methods</h3> - <table> - <tr> <td><a href="#DeepLEngine.__init__">DeepLEngine</a></td> <td>Constructor</td> @@ -76,19 +73,20 @@ <td>Public method to get the supported languages.</td> </tr> </table> + <h3>Static Methods</h3> - <table> <tr><td>None</td></tr> </table> + <a NAME="DeepLEngine.__init__" ID="DeepLEngine.__init__"></a> <h4>DeepLEngine (Constructor)</h4> <b>DeepLEngine</b>(<i>plugin, parent=None</i>) - <p> Constructor </p> + <dl> <dt><i>plugin</i> (TranslatorPlugin)</dt> @@ -103,10 +101,10 @@ <a NAME="DeepLEngine.engineName" ID="DeepLEngine.engineName"></a> <h4>DeepLEngine.engineName</h4> <b>engineName</b>(<i></i>) - <p> Public method to return the name of the engine. </p> + <dl> <dt>Return:</dt> <dd> @@ -122,10 +120,10 @@ <a NAME="DeepLEngine.getTranslation" ID="DeepLEngine.getTranslation"></a> <h4>DeepLEngine.getTranslation</h4> <b>getTranslation</b>(<i>requestObject, text, originalLanguage, translationLanguage</i>) - <p> Public method to translate the given text. </p> + <dl> <dt><i>requestObject</i> (TranslatorRequest)</dt> @@ -160,10 +158,10 @@ <a NAME="DeepLEngine.supportedLanguages" ID="DeepLEngine.supportedLanguages"></a> <h4>DeepLEngine.supportedLanguages</h4> <b>supportedLanguages</b>(<i></i>) - <p> Public method to get the supported languages. </p> + <dl> <dt>Return:</dt> <dd> @@ -182,10 +180,10 @@ <a NAME="createEngine" ID="createEngine"></a> <h2>createEngine</h2> <b>createEngine</b>(<i>plugin, parent=None</i>) - <p> Function to instantiate a translator engine object. </p> + <dl> <dt><i>plugin</i> (TranslatorPlugin)</dt> @@ -211,4 +209,4 @@ </dl> <div align="right"><a href="#top">Up</a></div> <hr /> -</body></html> \ No newline at end of file +</body></html>