Check-in [fb718f90a0]
Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
Comment: | Add errors, update help tree |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA1: |
fb718f90a0476327629fd01ec2cf1d96 |
User & Date: | mario 2021-02-08 05:46:57 |
Context
2021-02-08
| ||
05:47 | new dialogs for excpetion display and manual language selection check-in: 8224584b9f user: mario tags: trunk | |
05:46 | Add errors, update help tree check-in: fb718f90a0 user: mario tags: trunk | |
05:46 | Prepare for additional dialogs (generated from unodit) check-in: fb46a4da36 user: mario tags: trunk | |
Changes
Changes to help/en/help.tree.
1 2 3 4 5 6 | <?xml version="1.0" encoding="UTF-8"?> <tree_view> <help_section application="org.openoffice.extensions" id="idm49428" title="Extensions"> <node id="idn42445" title="PageTranslate"> <topic id="help/vnd.include-once.pagetranslate/usage.xhp">Usage</topic> <topic id="help/vnd.include-once.pagetranslate/config.xhp">Config options</topic> | > | | 1 2 3 4 5 6 7 8 9 10 11 | <?xml version="1.0" encoding="UTF-8"?> <tree_view> <help_section application="org.openoffice.extensions" id="idm49428" title="Extensions"> <node id="idn42445" title="PageTranslate"> <topic id="help/vnd.include-once.pagetranslate/usage.xhp">Usage</topic> <topic id="help/vnd.include-once.pagetranslate/config.xhp">Config options</topic> <topic id="help/vnd.include-once.pagetranslate/errors.xhp">Common errors</topic> <topic id="help/vnd.include-once.pagetranslate/extending.xhp">Extending</topic> </node> </help_section> </tree_view> |
Changes to help/en/vnd.include-once.pagetranslate/errors.duck.
︙ | ︙ | |||
69 70 71 72 73 74 75 | == WARNING:root:NO TRANSLATION RESULT EXTRACTED If this messsage shows up in the log, the google translate backend (`pythonpath/translationbackends.py`) requires updating. Specifically the regex in `rx_gtrans` for extracting the target string. | > > > > > > > > > > > > > | 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 | == WARNING:root:NO TRANSLATION RESULT EXTRACTED If this messsage shows up in the log, the google translate backend (`pythonpath/translationbackends.py`) requires updating. Specifically the regex in `rx_gtrans` for extracting the target string. == How to report a bug [-- @link[seealso >>https://fossil.include-once.org/pagetranslate/] repository --] The project repository https://fossil.include-once.org/pagetranslate/ allows to file a bug report (no registration necessary). * The log file MUST be included, * together with a sample document (as link), * as well as the OpenOffice version (Help → About → Copy) Insufficient submissions are unlikely to spark developer interest else. |
Changes to help/en/vnd.include-once.pagetranslate/errors.xhp.
1 2 3 4 5 6 7 8 9 | <?xml version="1.0" encoding="UTF-8"?> <helpdocument version="1.0"> <meta> <topic id="topic_d1e1" indexer="include" status="PUBLISH"> <title xml-lang="en" id="title_d1e1">Errors</title> <filename>/help/vnd.include-once.pagetranslate/errors.xhp</filename> </topic> <history> <created date="2020-02-02T22:22:22"/> | | | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | <?xml version="1.0" encoding="UTF-8"?> <helpdocument version="1.0"> <meta> <topic id="topic_d1e1" indexer="include" status="PUBLISH"> <title xml-lang="en" id="title_d1e1">Errors</title> <filename>/help/vnd.include-once.pagetranslate/errors.xhp</filename> </topic> <history> <created date="2020-02-02T22:22:22"/> <lastedited date="2021-02-07T14:30:20.342+01:00"/> </history> </meta> <body> <link href="vnd.include-once.pagetranslate/index.xhp"/> <paragraph id="hd_d1e8" role="heading" level="1" xml-lang="en">Errors</paragraph> <paragraph id="par_d1e11" role="paragraph" xml-lang="en">Error messages will largely show up as long-winded popups with Python exceptions. Where the text usually starts with "Traceback" and then |
︙ | ︙ | |||
74 75 76 77 78 79 80 81 82 | </paragraph> <paragraph id="sect_d1e94" role="section" xml-lang="en"> <paragraph id="hd_d1e96" role="heading" level="2" xml-lang="en">WARNING:root:NO TRANSLATION RESULT EXTRACTED</paragraph> <paragraph id="par_d1e99" role="paragraph" xml-lang="en">If this messsage shows up in the log, the google translate backend (`pythonpath/translationbackends.py`) requires updating. Specifically the regex in `rx_gtrans` for extracting the target string.</paragraph> </paragraph> </body> </helpdocument> | > > > > > > > > > > > > > > > > > | 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 | </paragraph> <paragraph id="sect_d1e94" role="section" xml-lang="en"> <paragraph id="hd_d1e96" role="heading" level="2" xml-lang="en">WARNING:root:NO TRANSLATION RESULT EXTRACTED</paragraph> <paragraph id="par_d1e99" role="paragraph" xml-lang="en">If this messsage shows up in the log, the google translate backend (`pythonpath/translationbackends.py`) requires updating. Specifically the regex in `rx_gtrans` for extracting the target string.</paragraph> </paragraph> <paragraph id="sect_d1e103" role="section" xml-lang="en"> <paragraph id="hd_d1e105" role="heading" level="2" xml-lang="en">How to report a bug</paragraph> <paragraph id="par_d1e108" role="paragraph" xml-lang="en">The project repository https://fossil.include-once.org/pagetranslate/ allows to file a bug report (no registration necessary).</paragraph> <list id="list_d1e111" xml-lang="en"> <listitem id="item_d1e113" xml-lang="en"> <paragraph id="par_d1e115" role="paragraph" xml-lang="en">The log file MUST be included,</paragraph> </listitem> <listitem id="item_d1e119" xml-lang="en"> <paragraph id="par_d1e121" role="paragraph" xml-lang="en">together with a sample document (as link),</paragraph> </listitem> <listitem id="item_d1e125" xml-lang="en"> <paragraph id="par_d1e127" role="paragraph" xml-lang="en">as well as the OpenOffice version (Help → About → Copy)</paragraph> </listitem> </list> <paragraph id="par_d1e132" role="paragraph" xml-lang="en">Insufficient submissions are unlikely to spark developer interest else.</paragraph> </paragraph> </body> </helpdocument> |
Changes to help/en/vnd.include-once.pagetranslate/mallard2xhp.xsl.
︙ | ︙ | |||
117 118 119 120 121 122 123 124 125 126 127 128 129 | </xsl:when> <xsl:when test="@type='index'"> <bookmark id="helpindex_{generate-id()}" branch="index" xml-lang="en"> <bookmark_value><xsl:value-of select="@xref"/></bookmark_value> </bookmark> </xsl:when> <!-- body links --> <xsl:when test="@type='seealso'"> <link href="{@xref}"><xsl:value-of select="."/></link> </xsl:when> <xsl:when test="@xref"> <link href="{$package}/{@xref}.xhp"><xsl:value-of select="."/></link> </xsl:when> | > > > < < < | 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 | </xsl:when> <xsl:when test="@type='index'"> <bookmark id="helpindex_{generate-id()}" branch="index" xml-lang="en"> <bookmark_value><xsl:value-of select="@xref"/></bookmark_value> </bookmark> </xsl:when> <!-- body links --> <xsl:when test="@href"> <link href="{@href}"><xsl:value-of select="."/></link> </xsl:when> <xsl:when test="@type='seealso'"> <link href="{@xref}"><xsl:value-of select="."/></link> </xsl:when> <xsl:when test="@xref"> <link href="{$package}/{@xref}.xhp"><xsl:value-of select="."/></link> </xsl:when> </xsl:choose> </xsl:template> <xsl:template match="m:info"> <xsl:apply-templates select="m:link"/> </xsl:template> <!-- remove all else --> <xsl:template match="*"> <xsl:comment>xsl:skipped=<xsl:value-of select="concat('<', name(), '>')"/></xsl:comment> </xsl:template> </xsl:stylesheet> |