Skip to content

problem with references #1

@schelled

Description

@schelled

Hi Adrian,

I hope this is the right way to contact you about the tool. I found it because I want to use a tmx dictionary (exported from MadCap Lingo) in Qt Linguist. It works fine, but there is a conversion problem with hrefs and my Python knowledge is not good enough.

In TMX, the problematic sections look like this:

<tu
  creationid="dirk"
  creationdate="20170904T074053Z"><prop
    type="x-context">OtANU31ZwIZL99YKfGbVxOLJ5pVnBxeaqKqSsOXIWAC4lmUV3twbU8WBk8hYJgvo64r1eAq6aBI=,YSnwW44VIKRCLMVDmfutTEGFurErOAiAe2P0W2lvYIxljlaBeyrCNaJD2SkX2PqmMDCYwNwwxbA8QvuXuJAiq56T2qpFxqcKxUp498ml0u0HdfCym0Tr6JphZaZOIYCL/451767434,204768967/OtANU31ZwIZL99YKfGbVxOLJ5pVnBxeaqKqSsOXIWAC4lmUV3twbU8WBk8hYJgvo64r1eAq6aBI=,YSnwW44VIKRCLMVDmfutTEGFurErOAiAe2P0W2lvYIyTNOtQi7+DqrJeutPGjCZOLxzq4;t+Ug87;Hh23AG2J5NL;TQLU03pYunjBnvp7O8G4IF+IvTllgbkPM4pkr3o/451767434,385275717/OtANU31ZwIZL99YKfGbVxOLJ5pVnBxeaqKqSsOXIWAC4lmUV3twbU8WBk8hYJgvo64r1eAq6aBI=,YSnwW44VIKSSd5w439xxt+NuFPYg5NFaj32S3JqOatKfux3H4e;6+a9exjXK08JDfyzGAU35Rwf1QIwh+id3Ex4a7DTinX1pYpQBkK;;wIB+RaFEkZIJe8QExM5EFmy4/451767434,-1421326985/</prop><tuv
    xml:lang="en"
    changedate="20180121T230252Z"
    creationdate="20170904T074053Z"
    creationid="dirk"
    changeid="dirk"><prop
      type="x-project">RTSA_German</prop><prop
      type="x-document">D:\RTSA\trunk\Help\Lingo\RTSA_German.liprjf\Target\Content\C_Operation\Waterfall\Colors.htm</prop><prop
      type="x-client">Aaronia</prop><prop
      type="x-domain">Tech/Engineering</prop><seg>within the <bpt
        i="1"
        x="1">&lt;a href="#palette_scheme"&gt;</bpt>color scheme<ept
        i="1">&lt;/a&gt;</ept> adjusts <bpt
        i="2"
        x="2">&lt;a href="#palette_upperBound"&gt;</bpt>upper bound<ept
        i="2">&lt;/a&gt;</ept>, <bpt
        i="3"
        x="3">&lt;a href="#palette_lowerBound"&gt;</bpt>lower bound<ept
        i="3">&lt;/a&gt;</ept> and <bpt
        i="4"
        x="4">&lt;a href="#palette_controlElement"&gt;</bpt>center<ept
        i="4">&lt;/a&gt;</ept> automatically.</seg></tuv><tuv
    xml:lang="de"
    changedate="20180121T230252Z"
    creationdate="20170904T074053Z"
    creationid="dirk"
    changeid="dirk"><prop
      type="x-project">RTSA_German</prop><prop
      type="x-document">D:\RTSA\trunk\Help\Lingo\RTSA_German.liprjf\Target\Content\C_Operation\Waterfall\Colors.htm</prop><prop
      type="x-client">Aaronia</prop><prop
      type="x-domain">Tech/Engineering</prop><seg>innerhalb des <bpt
        i="1"
        x="1">&lt;a href="#palette_scheme"&gt;</bpt>Farbschemas<ept
        i="1">&lt;/a&gt;</ept> führt zur automatischen Anpassung der <bpt
        i="2"
        x="2">&lt;a href="#palette_upperBound"&gt;</bpt>oberen Grenze<ept
        i="2">&lt;/a&gt;</ept>, <bpt
        i="3"
        x="3">&lt;a href="#palette_lowerBound"&gt;</bpt>unteren Grenze<ept
        i="3">&lt;/a&gt;</ept> und dem <bpt
        i="4"
        x="4">&lt;a href="#palette_controlElement"&gt;</bpt>Mittelpunkt<ept
        i="4">&lt;/a&gt;</ept>.</seg></tuv></tu>

As you can see, there can be any number of hrefs and therefore any number of subitems. Would it be possible to modify the conversion tool so that these sections are also converted correctly? That would help me a lot.

Many thanks and greetings
dirk

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions