GIMP-help manual XML issues in the Dutch translation
I'm working on the python 3 port of the tools used in making the GIMP-help manual. One of the things I did was improve error reporting for XML problems in translations.
In the Dutch translations the following errors/warnings occur:
Source xml: ../../gimp-help/src/concepts/basic-setup.xml
Source po : ../../gimp-help/po/nl/concepts.po
Translated msgstr:
Als een deel van de <acronym>GIMP</acronym>-vensters verdwenen is, kun je de rangschikking zoals in de schermopname eenvoudig herstellen. Dit doe je met het menu <guimenu>Vensters</guimenu>. De opties <menuchoice><guimenu>Vensters</guimenu><guisubmenu>Onlangs gesloten dokken</guisubmenu>en alle opties van menu <menuchoice><guimenu>Vensters</guimenu><guisubmenu>Dokbare vensters</guisubmenu> bieden de dialoogvensters aan in een logische volgorde. In hetzelfde menu krijg je door het volgen van <menuchoice><guimenu>Venster</guimenu><guisubmenu>Dokbare vensters</guisubmenu><guimenuitem>Gereedschapsopties</guimenuitem></menuchoice> een nieuw dialoogvenster met gereedschapsopties die je onderaan het venster van het gereedschapsvenster kunt koppelen. (In het hoofdstuk <link linkend="gimp-concepts-docks">Koppelen van dialoogvensters</link> wordt uitgelegd hoe je dialoogvensters aan elkaar kunt vastkoppelen).
ERROR: Found unmatched tags in po msgstr.
Tags not matched: ['menuchoice', 'menuchoice']
It looks like two times <menuchoice>
isn't closed by a </menuchoice>
.
Source xml: ../../gimp-help/src/menus/tools.xml
Source po : ../../gimp-help/po/nl/menus.po
Translated msgstr:
De opties van het menu <guimenu>Gereedschap</guimenu> geven toegang tot de <acronym>GIMP</acronym>-gereedschappen. Alle gereedschappen die beschikbaar zijn in <acronym>GIMP</acronym> worden uitgebreid beschreven in de sectie <link linkend="gimp-tools"> Gereedschappen.
ERROR: Found unmatched tags in po msgstr.
Tags not matched: ['link']
Missing </link>
.
Source xml: ../../gimp-help/src/menus/windows-show-docks.xml
Source po : ../../gimp-help/po/nl/menus.po
Translated msgstr:
Met deze opdracht open je de lijst met dialoogvenstervensters die je kan openen in dokken. Zie <link linkend="gimp-concepts-docks"> Koppelen van dialoogvensters.
ERROR: Found unmatched tags in po msgstr.
Tags not matched: ['link']
Same.
Source xml: ../../gimp-help/src/tutorial/quickies.xml
Source po : ../../gimp-help/po/nl/tutorial.po
Translated msgstr:
Sinds GIMP-2.8, worden afbeeldingen bij het openen meteen geconverteerd naar het XCF formaat. <acronym>GIMP</acronym> biedt je daarna de opties <guilabel>\<originele bestandsnaam\>Overschrijven</guilabel> en <menuchoice moreinfo="none"><guimenu moreinfo="none">Bestand</guimenu><guimenuitem moreinfo="none">Exporteer Als</guimenuitem></menuchoice> om het dialoogvenster <quote>Afbeelding exporteren</quote> te openen.
WARNING: Found closing tag [guilabel], however we expected [guilabel].
Remaining tags: ['guilabel', 'originele']
Assuming incorrect tag order, found and removed tag from the stack
ERROR: Found unmatched tags in po msgstr.
Tags not matched: ['originele']
This looks like a problem in our parser, no need to take action here.
Source xml: ../../gimp-help/src/using/brushes.xml
Source po : ../../gimp-help/po/nl/using.po
Translated msgstr:
Om een penseel te kunnen gebruiken moet je hem opslaan in één van de mappen van <acronym>GIMP</acronym>'s penselen zoekpad. Er wordt standaard in twee mappen naar penselen gezocht: De systeem-map met penselen (<filename class=\"directory\">brushes</filename>), die je beter niet verandert, en de penselen-map in je persoonlijke <acronym>GIMP</acronym>-map (die ook <filename class=\"directory\">brushes</"filename> heet). Daarin kun je penselen toevoegen maar je kan ook een eigen map aan deze twee toevoegen in <link linkend="gimp-prefs-folders-data">Instellingen</link>. Iedere bestandsnaam die eindigt op <filename>.gbr</filename>, <filename>.gih</filename> of <filename>.vbr</filename> wordt door <acronym>GIMP</acronym> geïndexeerd en in de Penselendialoog getoond (na opnieuw opstarten of verversen van die dialoog).
WARNING: Found closing tag ["filename], however we expected [filename].
Remaining tags: ['filename']
ERROR: Found unmatched tags in po msgstr.
Tags not matched: ['filename']
<"/filename>
should be </filename>
Source xml: ../../gimp-help/src/using/photography.xml
Source po : ../../gimp-help/po/nl/using.po
Translated msgstr:
ICC-Profiel<ulink url="https://nl.wikipedia.org/wiki/ICC-profiel">
ERROR: Found unmatched tags in po msgstr.
Tags not matched: ['ulink']
Translated msgstr:
CMYK-Profiel<ulink url="https://nl.wikipedia.org/wiki/CMYK">
ERROR: Found unmatched tags in po msgstr.
Tags not matched: ['ulink']
Translated msgstr:
Gamut <ulink url="https://nl.wikipedia.org/wiki/Gamut ">
ERROR: Found unmatched tags in po msgstr.
Tags not matched: ['ulink']
These three probably need to end in />
and the the last one (Gamut) probably needs the space removed between Gamut and "
.