--- a/i18n/eric6_cs.ts Sun Jun 25 16:17:00 2017 +0200 +++ b/i18n/eric6_cs.ts Mon Jun 26 19:31:49 2017 +0200 @@ -14047,7 +14047,7 @@ <context> <name>EmailDialog</name> <message> - <location filename="../UI/EmailDialog.py" line="350"/> + <location filename="../UI/EmailDialog.ui" line="13"/> <source>Send bug report</source> <translation>Odeslat hlášení o chybách</translation> </message> @@ -14107,27 +14107,27 @@ <translation>Odeslat</translation> </message> <message> - <location filename="../UI/EmailDialog.py" line="147"/> + <location filename="../UI/EmailDialog.py" line="154"/> <source>Close dialog</source> <translation>Zavřít dialog</translation> </message> <message> - <location filename="../UI/EmailDialog.py" line="147"/> + <location filename="../UI/EmailDialog.py" line="154"/> <source>Do you really want to close the dialog?</source> <translation>Opravdu chcete zavřít dialog?</translation> </message> <message> - <location filename="../UI/EmailDialog.py" line="302"/> + <location filename="../UI/EmailDialog.py" line="336"/> <source>Mail Server Password</source> <translation>Heslo mail serveru</translation> </message> <message> - <location filename="../UI/EmailDialog.py" line="302"/> + <location filename="../UI/EmailDialog.py" line="336"/> <source>Enter your mail server password</source> <translation>Zadejte heslo vašeho mail serveru</translation> </message> <message> - <location filename="../UI/EmailDialog.py" line="368"/> + <location filename="../UI/EmailDialog.py" line="429"/> <source>Attach file</source> <translation>Připojit soubor</translation> </message> @@ -14157,15 +14157,35 @@ <translation>Poslat požadavek na vlastnost</translation> </message> <message> - <location filename="../UI/EmailDialog.py" line="322"/> + <location filename="../UI/EmailDialog.py" line="356"/> <source><p>Authentication failed.<br>Reason: {0}</p></source> <translation><p>Autentizace selhala.<br>Důvod: {0}</p></translation> </message> <message> - <location filename="../UI/EmailDialog.py" line="350"/> + <location filename="../UI/EmailDialog.py" line="414"/> <source><p>Message could not be sent.<br>Reason: {0}</p></source> <translation><p>Zprávu nelze odeslat.<br>Důvod: {0}</p></translation> </message> + <message> + <location filename="../UI/EmailDialog.py" line="99"/> + <source>Google Mail API Help</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../UI/EmailDialog.py" line="171"/> + <source><p>The Google Mail Client API is not installed. Use <code>pip install --upgrade google-api-python-client</code> to install it.</p></source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../UI/EmailDialog.py" line="177"/> + <source>Gmail API Help</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../UI/EmailDialog.py" line="414"/> + <source>Send Message</source> + <translation type="unfinished"></translation> + </message> </context> <context> <name>EmailPage</name> @@ -14175,62 +14195,62 @@ <translation><b>Konfigurovat email</b></translation> </message> <message> - <location filename="../Preferences/ConfigurationPages/EmailPage.ui" line="225"/> + <location filename="../Preferences/ConfigurationPages/EmailPage.ui" line="257"/> <source>Enter your password for accessing the mail server</source> <translation>Zadejte vaše heslo pro přístup na mail server</translation> </message> <message> - <location filename="../Preferences/ConfigurationPages/EmailPage.ui" line="211"/> + <location filename="../Preferences/ConfigurationPages/EmailPage.ui" line="243"/> <source>Enter your mail server username</source> <translation>Zadejte vaše přihlašovací jméno na mail server</translation> </message> <message> - <location filename="../Preferences/ConfigurationPages/EmailPage.ui" line="170"/> + <location filename="../Preferences/ConfigurationPages/EmailPage.ui" line="202"/> <source>Signature:</source> <translation>Podpis:</translation> </message> <message> - <location filename="../Preferences/ConfigurationPages/EmailPage.ui" line="46"/> + <location filename="../Preferences/ConfigurationPages/EmailPage.ui" line="78"/> <source>Enter the address of your mail server</source> <translation>Zadejte adresu vašeho mail serveru</translation> </message> <message> - <location filename="../Preferences/ConfigurationPages/EmailPage.ui" line="156"/> + <location filename="../Preferences/ConfigurationPages/EmailPage.ui" line="188"/> <source>Email address:</source> <translation>Email adresa:</translation> </message> <message> - <location filename="../Preferences/ConfigurationPages/EmailPage.ui" line="180"/> + <location filename="../Preferences/ConfigurationPages/EmailPage.ui" line="212"/> <source>Enter your email signature</source> <translation>Zadejte váš email podpis</translation> </message> <message> - <location filename="../Preferences/ConfigurationPages/EmailPage.ui" line="163"/> - <source>Enter your email address</source> - <translation>Zadejte vaši emailovou adresu</translation> - </message> - <message> - <location filename="../Preferences/ConfigurationPages/EmailPage.ui" line="192"/> - <source>Select to authenticatate against the mail server</source> - <translation>Výběr autentizace proti mail serveru</translation> - </message> - <message> <location filename="../Preferences/ConfigurationPages/EmailPage.ui" line="195"/> + <source>Enter your email address</source> + <translation>Zadejte vaši emailovou adresu</translation> + </message> + <message> + <location filename="../Preferences/ConfigurationPages/EmailPage.ui" line="224"/> + <source>Select to authenticatate against the mail server</source> + <translation>Výběr autentizace proti mail serveru</translation> + </message> + <message> + <location filename="../Preferences/ConfigurationPages/EmailPage.ui" line="227"/> <source>Mail server needs authentication</source> <translation>Mail server požaduje autentizaci</translation> </message> <message> - <location filename="../Preferences/ConfigurationPages/EmailPage.ui" line="204"/> + <location filename="../Preferences/ConfigurationPages/EmailPage.ui" line="236"/> <source>Username:</source> <translation>Přihlašovací jméno:</translation> </message> <message> - <location filename="../Preferences/ConfigurationPages/EmailPage.ui" line="218"/> + <location filename="../Preferences/ConfigurationPages/EmailPage.ui" line="250"/> <source>Password:</source> <translation>Heslo:</translation> </message> <message> - <location filename="../Preferences/ConfigurationPages/EmailPage.ui" line="104"/> + <location filename="../Preferences/ConfigurationPages/EmailPage.ui" line="136"/> <source>Select to use TLS</source> <translation>Vybrat pro použití TLS</translation> </message> @@ -14240,12 +14260,12 @@ <translation type="obsolete">Použít TLS</translation> </message> <message> - <location filename="../Preferences/ConfigurationPages/EmailPage.ui" line="124"/> + <location filename="../Preferences/ConfigurationPages/EmailPage.ui" line="156"/> <source>Enter the port of the mail server</source> <translation>Zadejte port mail serveru</translation> </message> <message> - <location filename="../Preferences/ConfigurationPages/EmailPage.ui" line="39"/> + <location filename="../Preferences/ConfigurationPages/EmailPage.ui" line="71"/> <source>Outgoing mail server (SMTP):</source> <translation>Odchozí mail server (SMTP):</translation> </message> @@ -14255,65 +14275,90 @@ <translation type="obsolete">Odchozí mail server port:</translation> </message> <message> - <location filename="../Preferences/ConfigurationPages/EmailPage.ui" line="235"/> + <location filename="../Preferences/ConfigurationPages/EmailPage.ui" line="267"/> <source>Press to test the login data</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Preferences/ConfigurationPages/EmailPage.ui" line="238"/> + <location filename="../Preferences/ConfigurationPages/EmailPage.ui" line="270"/> <source>Test Login</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Preferences/ConfigurationPages/EmailPage.py" line="241"/> + <location filename="../Preferences/ConfigurationPages/EmailPage.py" line="258"/> <source>Login Test</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Preferences/ConfigurationPages/EmailPage.py" line="204"/> + <location filename="../Preferences/ConfigurationPages/EmailPage.py" line="221"/> <source>The login test succeeded.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Preferences/ConfigurationPages/EmailPage.py" line="241"/> + <location filename="../Preferences/ConfigurationPages/EmailPage.py" line="258"/> <source><p>The login test failed.<br>Reason: {0}</p></source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Preferences/ConfigurationPages/EmailPage.ui" line="53"/> + <location filename="../Preferences/ConfigurationPages/EmailPage.ui" line="85"/> <source>Encryption Method:</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Preferences/ConfigurationPages/EmailPage.ui" line="81"/> + <location filename="../Preferences/ConfigurationPages/EmailPage.ui" line="113"/> <source>Select to use no encryption</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Preferences/ConfigurationPages/EmailPage.ui" line="84"/> + <location filename="../Preferences/ConfigurationPages/EmailPage.ui" line="116"/> <source>None</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Preferences/ConfigurationPages/EmailPage.ui" line="94"/> + <location filename="../Preferences/ConfigurationPages/EmailPage.ui" line="126"/> <source>Select to use SSL</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Preferences/ConfigurationPages/EmailPage.ui" line="97"/> + <location filename="../Preferences/ConfigurationPages/EmailPage.ui" line="129"/> <source>SSL</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Preferences/ConfigurationPages/EmailPage.ui" line="107"/> + <location filename="../Preferences/ConfigurationPages/EmailPage.ui" line="139"/> <source>TLS</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Preferences/ConfigurationPages/EmailPage.ui" line="117"/> + <location filename="../Preferences/ConfigurationPages/EmailPage.ui" line="149"/> <source>Port:</source> <translation type="unfinished">Port:</translation> </message> + <message> + <location filename="../Preferences/ConfigurationPages/EmailPage.ui" line="37"/> + <source>Google Mail</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../Preferences/ConfigurationPages/EmailPage.ui" line="43"/> + <source>Use Google Mail with OAuth2 authentication</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../Preferences/ConfigurationPages/EmailPage.ui" line="50"/> + <source><b>Note:</b> Google Mail using SMTP should be configured below.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../Preferences/ConfigurationPages/EmailPage.ui" line="63"/> + <source>Standard Email</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../Preferences/ConfigurationPages/EmailPage.py" line="48"/> + <source><p>The Google Mail Client API is not installed. Use <code>pip install --upgrade google-api-python-client</code> to install it.</p></source> + <translation type="unfinished"></translation> + </message> </context> <context> <name>EricAccessHandler</name> @@ -40976,27 +41021,27 @@ <context> <name>Preferences</name> <message> - <location filename="../Preferences/__init__.py" line="1563"/> + <location filename="../Preferences/__init__.py" line="1564"/> <source>Export Preferences</source> <translation>Předvolby exportu</translation> </message> <message> - <location filename="../Preferences/__init__.py" line="1591"/> + <location filename="../Preferences/__init__.py" line="1592"/> <source>Import Preferences</source> <translation>Předvolby importu</translation> </message> <message> - <location filename="../Preferences/__init__.py" line="1591"/> + <location filename="../Preferences/__init__.py" line="1592"/> <source>Properties File (*.ini);;All Files (*)</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Preferences/__init__.py" line="1693"/> + <location filename="../Preferences/__init__.py" line="1694"/> <source>Select Python{0} Interpreter</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Preferences/__init__.py" line="1693"/> + <location filename="../Preferences/__init__.py" line="1694"/> <source>Select the Python{0} interpreter to be used:</source> <translation type="unfinished"></translation> </message> @@ -61087,17 +61132,12 @@ <message> <location filename="../Templates/TemplateHelpDialog.ui" line="14"/> <source>Template Help</source> - <translation type="unfinished">Nápověda šablony</translation> - </message> - <message> - <location filename="../Templates/TemplateHelpDialog.ui" line="23"/> - <source><b>Template Help</b></source> - <translation type="unfinished"></translation> + <translation type="obsolete">Nápověda šablony</translation> </message> <message> <location filename="../Templates/TemplateHelpDialog.py" line="33"/> <source><p>To use variables in a template, you just have to enclose the variablename with $-characters. When you use the template, you will then be asked for a value for this variable.</p><p>Example template: This is a $VAR$</p><p>When you use this template you will be prompted for a value for the variable $VAR$. Any occurrences of $VAR$ will then be replaced with whatever you've entered.</p><p>If you need a single $-character in a template, which is not used to enclose a variable, type $$(two dollar characters) instead. They will automatically be replaced with a single $-character when you use the template.</p><p>If you want a variables contents to be treated specially, the variablename must be followed by a ':' and one formatting specifier (e.g. $VAR:ml$). The supported specifiers are:<table><tr><td>ml</td><td>Specifies a multiline formatting. The first line of the variable contents is prefixed with the string occurring before the variable on the same line of the template. All other lines are prefixed by the same amount of whitespace as the line containing the variable.</td></tr><tr><td>rl</td><td>Specifies a repeated line formatting. Each line of the variable contents is prefixed with the string occuring before the variable on the same line of the template.</td></tr></table></p><p>The following predefined variables may be used in a template:<table><tr><td>date</td><td>today's date in ISO format (YYYY-MM-DD)</td></tr><tr><td>year</td><td>the current year</td></tr><tr><td>project_name</td><td>the name of the project (if any)</td></tr><tr><td>project_path</td><td>the path of the project (if any)</td></tr><tr><td>path_name</td><td>full path of the current file</td></tr><tr><td>dir_name</td><td>full path of the parent directory</td></tr><tr><td>file_name</td><td>the current file name (without directory)</td></tr><tr><td>base_name</td><td>like <i>file_name</i>, but without extension</td></tr><tr><td>ext</td><td>the extension of the current file</td></tr><tr><td>cur_select</td><td>the currently selected text</td></tr><tr><td>insertion</td><td>Sets insertion point for cursor after template is inserted.</td></tr><tr><td>select_start</td><td>Sets span of selected text in template after template is inserted (used together with 'select_end').</td></tr><tr><td>select_end</td><td>Sets span of selected text in template after template is inserted (used together with 'select_start').</td></tr><tr><td>clipboard</td><td>the text of the clipboard</td></tr></table></p><p>If you want to change the default delimiter to anything different, please use the configuration dialog to do so.</p></source> - <translation type="unfinished"><p>Proměnné se v šablonách používají tak, že se jejich jména vloží mezi $ znaky. Když je v šabloně použiteje, budete vyzváni k zadání hodnoty proměnné.</p><p>Příklad šablony: Toto je $VAR$</p><p>Když použiteje tuto šablonu, budete vyzváni k zadání hodnoty proměnné $VAR$. Všechny výskyty $VAR$ pak budou nahrazeny touto hodnotou.</p><p>Pokud chcete do šablony umístit pouze znak $, zadejte jej zdvojeně: $$. Takovýto výskyt bude automaticky nahrazen na jeden znak $.</p><p>Pokud chcete proměnnou nějak formátovat, zadejte ':' a pak název filtru. (např. $VAR:ml$) Podporované filtry jsou:<table><tr> <td>ml</td> <td>Víceřádkové formátování. První řádek s hodnotou proměnné začíná s textem, který na tom samém řádku předcházel proměnnou. Všechny ostatní řádky dané hodnoty jsou zleva doplněny mezerami tak, aby byly zarovnány pod začátek hodnoty na prvním řádku.</td></tr><tr> <td>rl</td> <td>Formátování s opakováním. Každá řádka hodnoty začíná s textem, který na tom samém řádku předcházel proměnnou.</td></tr></table></p><p>V šablonách lze použít následující předdefinované proměnné:<table><tr><td>date</td><td>aktuální datum v ISO formátu (YYYY-MM-DD)</td></tr><tr><td>year</td><td>aktuální rok</td></tr><tr><td>project_name</td><td>jméno projektu (je-li nějaké)</td></tr><tr><td>project_path</td><td>cesta k projektu (je-li nějaká)</td></tr><tr><td>path_name</td><td>celá cesta k aktuálnímu souboru</td></tr><tr><td>dir_name</td><td>celá cesta k nadřazené složce</td></tr><tr><td>file_name</td><td>jméno aktuálního souboru (bez cesty)</td></tr><tr><td>base_name</td><td>stejně jako <i>file_name</i>, ale bez extenze</td></tr><tr><td>ext</td><td>extenze aktuálního souboru</td></tr><tr><td>cur_select</td><td>kurzorem vybraný text</td></tr><tr><td>insertion</td><td>Nastaví pozici kurzoru po té, co je šablona vložena.</td></tr><tr><td>select_start</td><td>Nastaví span vybraného textu v šabloně po té, co je šablona vložena (používá se společně s 'select_end').</td></tr><tr><td>select_end</td><td>Nastaví span vybraného textu v šabloně po té, co je šablona vložena (používá se společně s 'select_start').</td></tr><tr><td>clipboard</td><td>obsah schránky</td></tr></table></p><p>Chcete-li změnit výchozí oddělovač na něco jiného, prosím, použijte dialog nastavení konfigurace.</p></translation> + <translation type="obsolete"><p>Proměnné se v šablonách používají tak, že se jejich jména vloží mezi $ znaky. Když je v šabloně použiteje, budete vyzváni k zadání hodnoty proměnné.</p><p>Příklad šablony: Toto je $VAR$</p><p>Když použiteje tuto šablonu, budete vyzváni k zadání hodnoty proměnné $VAR$. Všechny výskyty $VAR$ pak budou nahrazeny touto hodnotou.</p><p>Pokud chcete do šablony umístit pouze znak $, zadejte jej zdvojeně: $$. Takovýto výskyt bude automaticky nahrazen na jeden znak $.</p><p>Pokud chcete proměnnou nějak formátovat, zadejte ':' a pak název filtru. (např. $VAR:ml$) Podporované filtry jsou:<table><tr> <td>ml</td> <td>Víceřádkové formátování. První řádek s hodnotou proměnné začíná s textem, který na tom samém řádku předcházel proměnnou. Všechny ostatní řádky dané hodnoty jsou zleva doplněny mezerami tak, aby byly zarovnány pod začátek hodnoty na prvním řádku.</td></tr><tr> <td>rl</td> <td>Formátování s opakováním. Každá řádka hodnoty začíná s textem, který na tom samém řádku předcházel proměnnou.</td></tr></table></p><p>V šablonách lze použít následující předdefinované proměnné:<table><tr><td>date</td><td>aktuální datum v ISO formátu (YYYY-MM-DD)</td></tr><tr><td>year</td><td>aktuální rok</td></tr><tr><td>project_name</td><td>jméno projektu (je-li nějaké)</td></tr><tr><td>project_path</td><td>cesta k projektu (je-li nějaká)</td></tr><tr><td>path_name</td><td>celá cesta k aktuálnímu souboru</td></tr><tr><td>dir_name</td><td>celá cesta k nadřazené složce</td></tr><tr><td>file_name</td><td>jméno aktuálního souboru (bez cesty)</td></tr><tr><td>base_name</td><td>stejně jako <i>file_name</i>, ale bez extenze</td></tr><tr><td>ext</td><td>extenze aktuálního souboru</td></tr><tr><td>cur_select</td><td>kurzorem vybraný text</td></tr><tr><td>insertion</td><td>Nastaví pozici kurzoru po té, co je šablona vložena.</td></tr><tr><td>select_start</td><td>Nastaví span vybraného textu v šabloně po té, co je šablona vložena (používá se společně s 'select_end').</td></tr><tr><td>select_end</td><td>Nastaví span vybraného textu v šabloně po té, co je šablona vložena (používá se společně s 'select_start').</td></tr><tr><td>clipboard</td><td>obsah schránky</td></tr></table></p><p>Chcete-li změnit výchozí oddělovač na něco jiného, prosím, použijte dialog nastavení konfigurace.</p></translation> </message> </context> <context> @@ -61181,9 +61221,9 @@ <translation>Opravdu chcete zavřít dialog?</translation> </message> <message> - <location filename="../Templates/TemplatePropertiesDialog.py" line="114"/> + <location filename="../Templates/TemplatePropertiesDialog.py" line="117"/> <source>Template Help</source> - <translation type="obsolete">Nápověda šablony</translation> + <translation type="unfinished">Nápověda šablony</translation> </message> <message> <location filename="../Templates/TemplatePropertiesDialog.ui" line="86"/> @@ -61219,6 +61259,16 @@ <source><p>To use variables in a template, you just have to enclose the variablename with $-characters. When you use the template, you will then be asked for a value for this variable.</p><p>Example template: This is a $VAR$</p><p>When you use this template you will be prompted for a value for the variable $VAR$. Any occurrences of $VAR$ will then be replaced with whatever you've entered.</p><p>If you need a single $-character in a template, which is not used to enclose a variable, type $$(two dollar characters) instead. They will automatically be replaced with a single $-character when you use the template.</p><p>If you want a variables contents to be treated specially, the variablename must be followed by a ':' and one formatting specifier (e.g. $VAR:ml$). The supported specifiers are:<table><tr><td>ml</td><td>Specifies a multiline formatting. The first line of the variable contents is prefixed with the string occurring before the variable on the same line of the template. All other lines are prefixed by the same amount of whitespace as the line containing the variable.</td></tr><tr><td>rl</td><td>Specifies a repeated line formatting. Each line of the variable contents is prefixed with the string occuring before the variable on the same line of the template.</td></tr></table></p><p>The following predefined variables may be used in a template:<table><tr><td>date</td><td>today's date in ISO format (YYYY-MM-DD)</td></tr><tr><td>year</td><td>the current year</td></tr><tr><td>project_name</td><td>the name of the project (if any)</td></tr><tr><td>project_path</td><td>the path of the project (if any)</td></tr><tr><td>path_name</td><td>full path of the current file</td></tr><tr><td>dir_name</td><td>full path of the parent directory</td></tr><tr><td>file_name</td><td>the current file name (without directory)</td></tr><tr><td>base_name</td><td>like <i>file_name</i>, but without extension</td></tr><tr><td>ext</td><td>the extension of the current file</td></tr><tr><td>cur_select</td><td>the currently selected text</td></tr><tr><td>insertion</td><td>Sets insertion point for cursor after template is inserted.</td></tr><tr><td>select_start</td><td>Sets span of selected text in template after template is inserted (used together with 'select_end').</td></tr><tr><td>select_end</td><td>Sets span of selected text in template after template is inserted (used together with 'select_start').</td></tr><tr><td>clipboard</td><td>the text of the clipboard</td></tr></table></p><p>If you want to change the default delimiter to anything different, please use the configuration dialog to do so.</p></source> <translation type="obsolete"><p>Proměnné se v šablonách používají tak, že se jejich jména vloží mezi $ znaky. Když je v šabloně použiteje, budete vyzváni k zadání hodnoty proměnné.</p><p>Příklad šablony: Toto je $VAR$</p><p>Když použiteje tuto šablonu, budete vyzváni k zadání hodnoty proměnné $VAR$. Všechny výskyty $VAR$ pak budou nahrazeny touto hodnotou.</p><p>Pokud chcete do šablony umístit pouze znak $, zadejte jej zdvojeně: $$. Takovýto výskyt bude automaticky nahrazen na jeden znak $.</p><p>Pokud chcete proměnnou nějak formátovat, zadejte ':' a pak název filtru. (např. $VAR:ml$) Podporované filtry jsou:<table><tr> <td>ml</td> <td>Víceřádkové formátování. První řádek s hodnotou proměnné začíná s textem, který na tom samém řádku předcházel proměnnou. Všechny ostatní řádky dané hodnoty jsou zleva doplněny mezerami tak, aby byly zarovnány pod začátek hodnoty na prvním řádku.</td></tr><tr> <td>rl</td> <td>Formátování s opakováním. Každá řádka hodnoty začíná s textem, který na tom samém řádku předcházel proměnnou.</td></tr></table></p><p>V šablonách lze použít následující předdefinované proměnné:<table><tr><td>date</td><td>aktuální datum v ISO formátu (YYYY-MM-DD)</td></tr><tr><td>year</td><td>aktuální rok</td></tr><tr><td>project_name</td><td>jméno projektu (je-li nějaké)</td></tr><tr><td>project_path</td><td>cesta k projektu (je-li nějaká)</td></tr><tr><td>path_name</td><td>celá cesta k aktuálnímu souboru</td></tr><tr><td>dir_name</td><td>celá cesta k nadřazené složce</td></tr><tr><td>file_name</td><td>jméno aktuálního souboru (bez cesty)</td></tr><tr><td>base_name</td><td>stejně jako <i>file_name</i>, ale bez extenze</td></tr><tr><td>ext</td><td>extenze aktuálního souboru</td></tr><tr><td>cur_select</td><td>kurzorem vybraný text</td></tr><tr><td>insertion</td><td>Nastaví pozici kurzoru po té, co je šablona vložena.</td></tr><tr><td>select_start</td><td>Nastaví span vybraného textu v šabloně po té, co je šablona vložena (používá se společně s 'select_end').</td></tr><tr><td>select_end</td><td>Nastaví span vybraného textu v šabloně po té, co je šablona vložena (používá se společně s 'select_start').</td></tr><tr><td>clipboard</td><td>obsah schránky</td></tr></table></p><p>Chcete-li změnit výchozí oddělovač na něco jiného, prosím, použijte dialog nastavení konfigurace.</p></translation> </message> + <message> + <location filename="../Templates/TemplatePropertiesDialog.py" line="117"/> + <source><b>Template Help</b></source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../Templates/TemplatePropertiesDialog.py" line="117"/> + <source><p>To use variables in a template, you just have to enclose the variablename with $-characters. When you use the template, you will then be asked for a value for this variable.</p><p>Example template: This is a $VAR$</p><p>When you use this template you will be prompted for a value for the variable $VAR$. Any occurrences of $VAR$ will then be replaced with whatever you've entered.</p><p>If you need a single $-character in a template, which is not used to enclose a variable, type $$(two dollar characters) instead. They will automatically be replaced with a single $-character when you use the template.</p><p>If you want a variables contents to be treated specially, the variablename must be followed by a ': and one formatting specifier (e.g. $VAR:ml$). The supported specifiers are:<table><tr><td>ml</td><td>Specifies a multiline formatting. The first line of the variable contents is prefixed with the string occurring before the variable on the same line of the template. All other lines are prefixed by the same amount of whitespace as the line containing the variable.</td></tr><tr><td>rl</td><td>Specifies a repeated line formatting. Each line of the variable contents is prefixed with the string occuring before the variable on the same line of the template.</td></tr></table></p><p>The following predefined variables may be used in a template:<table><tr><td>date</td><td>today's date in ISO format (YYYY-MM-DD)</td></tr><tr><td>year</td><td>the current year</td></tr><tr><td>project_name</td><td>the name of the project (if any)</td></tr><tr><td>project_path</td><td>the path of the project (if any)</td></tr><tr><td>path_name</td><td>full path of the current file</td></tr><tr><td>dir_name</td><td>full path of the parent directory</td></tr><tr><td>file_name</td><td>the current file name (without directory)</td></tr><tr><td>base_name</td><td>like <i>file_name</i>, but without extension</td></tr><tr><td>ext</td><td>the extension of the current file</td></tr><tr><td>cur_select</td><td>the currently selected text</td></tr><tr><td>insertion</td><td>Sets insertion point for cursor after template is inserted.</td></tr><tr><td>select_start</td><td>Sets span of selected text in template after template is inserted (used together with 'select_end').</td></tr><tr><td>select_end</td><td>Sets span of selected text in template after template is inserted (used together with 'select_start').</td></tr><tr><td>clipboard</td><td>the text of the clipboard</td></tr></table></p><p>If you want to change the default delimiter to anything different, please use the configuration dialog to do so.</p></source> + <translation type="unfinished"></translation> + </message> </context> <context> <name>TemplateSingleVariableDialog</name> @@ -71735,7 +71785,7 @@ <context> <name>WebBrowserWindow</name> <message> - <location filename="../WebBrowser/WebBrowserWindow.py" line="3417"/> + <location filename="../WebBrowser/WebBrowserWindow.py" line="3422"/> <source>eric6 Web Browser</source> <translation type="unfinished"></translation> </message> @@ -71812,7 +71862,7 @@ <translation type="unfinished"></translation> </message> <message> - <location filename="../WebBrowser/WebBrowserWindow.py" line="2426"/> + <location filename="../WebBrowser/WebBrowserWindow.py" line="2431"/> <source>New Private Window</source> <translation type="unfinished"></translation> </message> @@ -71838,7 +71888,7 @@ <translation type="unfinished"></translation> </message> <message> - <location filename="../WebBrowser/WebBrowserWindow.py" line="2459"/> + <location filename="../WebBrowser/WebBrowserWindow.py" line="2464"/> <source>Open File</source> <translation type="unfinished">Otevřít soubor</translation> </message> @@ -71970,7 +72020,7 @@ <translation type="unfinished"><b>Export záložek</b><p>Export záložek do souboru.</p></translation> </message> <message> - <location filename="../WebBrowser/WebBrowserWindow.py" line="2084"/> + <location filename="../WebBrowser/WebBrowserWindow.py" line="2089"/> <source>Print</source> <translation type="unfinished">Tisk</translation> </message> @@ -73329,17 +73379,17 @@ <translation type="unfinished">S&oubor</translation> </message> <message> - <location filename="../WebBrowser/WebBrowserWindow.py" line="1921"/> + <location filename="../WebBrowser/WebBrowserWindow.py" line="1922"/> <source>&Edit</source> <translation type="unfinished">&Edit</translation> </message> <message> - <location filename="../WebBrowser/WebBrowserWindow.py" line="2139"/> + <location filename="../WebBrowser/WebBrowserWindow.py" line="2144"/> <source>&View</source> <translation type="unfinished">Poh&led</translation> </message> <message> - <location filename="../WebBrowser/WebBrowserWindow.py" line="1947"/> + <location filename="../WebBrowser/WebBrowserWindow.py" line="1949"/> <source>Text Encoding</source> <translation type="unfinished"></translation> </message> @@ -73349,27 +73399,27 @@ <translation type="obsolete">&Jít</translation> </message> <message> - <location filename="../WebBrowser/WebBrowserWindow.py" line="1958"/> + <location filename="../WebBrowser/WebBrowserWindow.py" line="1961"/> <source>H&istory</source> <translation type="unfinished">H&istorie</translation> </message> <message> - <location filename="../WebBrowser/WebBrowserWindow.py" line="1974"/> + <location filename="../WebBrowser/WebBrowserWindow.py" line="1978"/> <source>&Bookmarks</source> <translation type="unfinished">&Záložky</translation> </message> <message> - <location filename="../WebBrowser/WebBrowserWindow.py" line="1990"/> + <location filename="../WebBrowser/WebBrowserWindow.py" line="1994"/> <source>&Settings</source> <translation type="unfinished">Na&stavení</translation> </message> <message> - <location filename="../WebBrowser/WebBrowserWindow.py" line="2016"/> + <location filename="../WebBrowser/WebBrowserWindow.py" line="2020"/> <source>Global User Agent</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../WebBrowser/WebBrowserWindow.py" line="2169"/> + <location filename="../WebBrowser/WebBrowserWindow.py" line="2174"/> <source>&Tools</source> <translation type="unfinished">&Nástroje</translation> </message> @@ -73379,52 +73429,52 @@ <translation type="obsolete">O&kno</translation> </message> <message> - <location filename="../WebBrowser/WebBrowserWindow.py" line="2057"/> + <location filename="../WebBrowser/WebBrowserWindow.py" line="2061"/> <source>&Help</source> <translation type="unfinished">&Nápověda</translation> </message> <message> - <location filename="../WebBrowser/WebBrowserWindow.py" line="2193"/> + <location filename="../WebBrowser/WebBrowserWindow.py" line="2198"/> <source>File</source> <translation type="unfinished">Soubor</translation> </message> <message> - <location filename="../WebBrowser/WebBrowserWindow.py" line="2225"/> + <location filename="../WebBrowser/WebBrowserWindow.py" line="2230"/> <source>Edit</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../WebBrowser/WebBrowserWindow.py" line="2238"/> + <location filename="../WebBrowser/WebBrowserWindow.py" line="2243"/> <source>View</source> <translation type="unfinished">Pohled</translation> </message> <message> - <location filename="../WebBrowser/WebBrowserWindow.py" line="2248"/> + <location filename="../WebBrowser/WebBrowserWindow.py" line="2253"/> <source>Find</source> <translation type="unfinished">Hledat</translation> </message> <message> - <location filename="../WebBrowser/WebBrowserWindow.py" line="2257"/> - <source>Filter</source> - <translation type="unfinished">Filtr</translation> - </message> - <message> <location filename="../WebBrowser/WebBrowserWindow.py" line="2262"/> + <source>Filter</source> + <translation type="unfinished">Filtr</translation> + </message> + <message> + <location filename="../WebBrowser/WebBrowserWindow.py" line="2267"/> <source>Filtered by: </source> <translation type="unfinished">Filtrováno: </translation> </message> <message> - <location filename="../WebBrowser/WebBrowserWindow.py" line="2270"/> + <location filename="../WebBrowser/WebBrowserWindow.py" line="2275"/> <source>Settings</source> <translation type="unfinished">Nastavení</translation> </message> <message> - <location filename="../WebBrowser/WebBrowserWindow.py" line="2282"/> + <location filename="../WebBrowser/WebBrowserWindow.py" line="2287"/> <source>Tools</source> <translation type="unfinished">Nástroje</translation> </message> <message> - <location filename="../WebBrowser/WebBrowserWindow.py" line="2291"/> + <location filename="../WebBrowser/WebBrowserWindow.py" line="2296"/> <source>Help</source> <translation type="unfinished"></translation> </message> @@ -73434,7 +73484,7 @@ <translation type="obsolete">Jít</translation> </message> <message> - <location filename="../WebBrowser/WebBrowserWindow.py" line="2298"/> + <location filename="../WebBrowser/WebBrowserWindow.py" line="2303"/> <source>VirusTotal</source> <translation type="unfinished"></translation> </message> @@ -73444,22 +73494,22 @@ <translation type="unfinished"></translation> </message> <message> - <location filename="../WebBrowser/WebBrowserWindow.py" line="4476"/> + <location filename="../WebBrowser/WebBrowserWindow.py" line="4481"/> <source>IP Address Report</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../WebBrowser/WebBrowserWindow.py" line="4486"/> + <location filename="../WebBrowser/WebBrowserWindow.py" line="4491"/> <source>Domain Report</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../WebBrowser/WebBrowserWindow.py" line="2426"/> + <location filename="../WebBrowser/WebBrowserWindow.py" line="2431"/> <source><p>Could not start the process.<br>Ensure that it is available as <b>{0}</b>.</p></source> <translation type="unfinished"></translation> </message> <message> - <location filename="../WebBrowser/WebBrowserWindow.py" line="2426"/> + <location filename="../WebBrowser/WebBrowserWindow.py" line="2431"/> <source>OK</source> <translation type="unfinished">OK</translation> </message> @@ -73469,93 +73519,93 @@ <translation type="obsolete">Help soubory (*.html *.htm);;PDF soubory (*.pdf);;CHM soubory (*.chm);;Všechny soubory (*)</translation> </message> <message> - <location filename="../WebBrowser/WebBrowserWindow.py" line="2510"/> + <location filename="../WebBrowser/WebBrowserWindow.py" line="2515"/> <source><b>eric6 Web Browser - {0}</b><p>The eric6 Web Browser is a combined help file and HTML browser. It is part of the eric6 development toolset.</p><p>It is based on QtWebEngine {1} and Chrome {2}.</p></source> <translation type="unfinished"></translation> </message> <message> - <location filename="../WebBrowser/WebBrowserWindow.py" line="2634"/> + <location filename="../WebBrowser/WebBrowserWindow.py" line="2639"/> <source>Saved Tabs</source> <translation type="unfinished">Uložkt taby</translation> </message> <message> - <location filename="../WebBrowser/WebBrowserWindow.py" line="3234"/> + <location filename="../WebBrowser/WebBrowserWindow.py" line="3239"/> <source>Could not find an associated content.</source> <translation type="unfinished">Asociovaný obsah nelze nalézt.</translation> </message> <message> - <location filename="../WebBrowser/WebBrowserWindow.py" line="3337"/> + <location filename="../WebBrowser/WebBrowserWindow.py" line="3342"/> <source>Updating search index</source> <translation type="unfinished">Aktualizovat index pro hledání</translation> </message> <message> - <location filename="../WebBrowser/WebBrowserWindow.py" line="3407"/> + <location filename="../WebBrowser/WebBrowserWindow.py" line="3412"/> <source>Looking for Documentation...</source> <translation type="unfinished">Vyhledat dokumentaci...</translation> </message> <message> - <location filename="../WebBrowser/WebBrowserWindow.py" line="3442"/> + <location filename="../WebBrowser/WebBrowserWindow.py" line="3447"/> <source>Unfiltered</source> <translation type="unfinished">Nefiltrováno</translation> </message> <message> - <location filename="../WebBrowser/WebBrowserWindow.py" line="3461"/> + <location filename="../WebBrowser/WebBrowserWindow.py" line="3466"/> <source>Help Engine</source> <translation type="unfinished">Engine nápovědy</translation> </message> <message> - <location filename="../WebBrowser/WebBrowserWindow.py" line="4014"/> + <location filename="../WebBrowser/WebBrowserWindow.py" line="4019"/> <source>ISO</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../WebBrowser/WebBrowserWindow.py" line="4018"/> + <location filename="../WebBrowser/WebBrowserWindow.py" line="4023"/> <source>Windows</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../WebBrowser/WebBrowserWindow.py" line="4020"/> + <location filename="../WebBrowser/WebBrowserWindow.py" line="4025"/> <source>ISCII</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../WebBrowser/WebBrowserWindow.py" line="4016"/> + <location filename="../WebBrowser/WebBrowserWindow.py" line="4021"/> <source>Unicode</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../WebBrowser/WebBrowserWindow.py" line="4024"/> + <location filename="../WebBrowser/WebBrowserWindow.py" line="4029"/> <source>Other</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../WebBrowser/WebBrowserWindow.py" line="4022"/> + <location filename="../WebBrowser/WebBrowserWindow.py" line="4027"/> <source>IBM</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../WebBrowser/WebBrowserWindow.py" line="4441"/> + <location filename="../WebBrowser/WebBrowserWindow.py" line="4446"/> <source>VirusTotal Scan</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../WebBrowser/WebBrowserWindow.py" line="4441"/> + <location filename="../WebBrowser/WebBrowserWindow.py" line="4446"/> <source><p>The VirusTotal scan could not be scheduled.<p> <p>Reason: {0}</p></source> <translation type="unfinished"></translation> </message> <message> - <location filename="../WebBrowser/WebBrowserWindow.py" line="4467"/> + <location filename="../WebBrowser/WebBrowserWindow.py" line="4472"/> <source>Enter a valid IPv4 address in dotted quad notation:</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../WebBrowser/WebBrowserWindow.py" line="4476"/> + <location filename="../WebBrowser/WebBrowserWindow.py" line="4481"/> <source>The given IP address is not in dotted quad notation.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../WebBrowser/WebBrowserWindow.py" line="4486"/> + <location filename="../WebBrowser/WebBrowserWindow.py" line="4491"/> <source>Enter a valid domain name:</source> <translation type="unfinished"></translation> </message> @@ -73627,7 +73677,7 @@ <translation type="unfinished"></translation> </message> <message> - <location filename="../WebBrowser/WebBrowserWindow.py" line="2459"/> + <location filename="../WebBrowser/WebBrowserWindow.py" line="2464"/> <source>HTML Files (*.html *.htm *.mhtml *.mht);;PDF Files (*.pdf);;CHM Files (*.chm);;All Files (*)</source> <translation type="unfinished"></translation> </message> @@ -73642,52 +73692,52 @@ <translation type="unfinished"></translation> </message> <message> - <location filename="../WebBrowser/WebBrowserWindow.py" line="2175"/> + <location filename="../WebBrowser/WebBrowserWindow.py" line="2180"/> <source>&VirusTotal</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../WebBrowser/WebBrowserWindow.py" line="2141"/> + <location filename="../WebBrowser/WebBrowserWindow.py" line="2146"/> <source>&Windows</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../WebBrowser/WebBrowserWindow.py" line="2051"/> + <location filename="../WebBrowser/WebBrowserWindow.py" line="2055"/> <source>&Toolbars</source> <translation type="unfinished">&Toolbary</translation> </message> <message> - <location filename="../WebBrowser/WebBrowserWindow.py" line="2077"/> + <location filename="../WebBrowser/WebBrowserWindow.py" line="2082"/> <source>Save</source> <translation type="unfinished">Uložit</translation> </message> <message> - <location filename="../WebBrowser/WebBrowserWindow.py" line="2097"/> + <location filename="../WebBrowser/WebBrowserWindow.py" line="2102"/> <source>Show All History...</source> <translation type="unfinished">Zobrazit celou historii...</translation> </message> <message> - <location filename="../WebBrowser/WebBrowserWindow.py" line="4049"/> - <source>Menu Bar</source> - <translation type="unfinished"></translation> - </message> - <message> <location filename="../WebBrowser/WebBrowserWindow.py" line="4054"/> - <source>Bookmarks</source> - <translation type="unfinished">Záložky</translation> + <source>Menu Bar</source> + <translation type="unfinished"></translation> </message> <message> <location filename="../WebBrowser/WebBrowserWindow.py" line="4059"/> + <source>Bookmarks</source> + <translation type="unfinished">Záložky</translation> + </message> + <message> + <location filename="../WebBrowser/WebBrowserWindow.py" line="4064"/> <source>Status Bar</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../WebBrowser/WebBrowserWindow.py" line="4073"/> + <location filename="../WebBrowser/WebBrowserWindow.py" line="4078"/> <source>&Show all</source> <translation type="unfinished">&Zobrazit vše</translation> </message> <message> - <location filename="../WebBrowser/WebBrowserWindow.py" line="4075"/> + <location filename="../WebBrowser/WebBrowserWindow.py" line="4080"/> <source>&Hide all</source> <translation type="unfinished">&Skrýt vše</translation> </message>