Skip to content

Commit

Permalink
Add target description
Browse files Browse the repository at this point in the history
  • Loading branch information
jason-fox committed Feb 18, 2024
1 parent a22971f commit 43c8728
Showing 1 changed file with 10 additions and 6 deletions.
16 changes: 10 additions & 6 deletions build_dita2translate_template.xml
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,10 @@
<!--
Extract an XLIFF File and skeleton files from DITA
-->
<target name="xliff-create">
<target
name="xliff-create"
description="Extract an XLIFF File and skeleton files from DITA"
>
<!-- Add a unique md5 id to each dita element containing text -->
<xslt
taskname="md5-src-gen"
Expand Down Expand Up @@ -270,12 +273,16 @@
Take an untranslated XLIFF File and request translations
of the source into the specified target langauge.
-->
<target name="xliff-translate">
<target
name="xliff-translate"
description="Auto-translate an XLIFF File using an online service">
<get-translations xliff="${args.input}"/>
</target>


<target name="xliff-dita">
<target
name="xliff-dita"
description="Supply translated text into DITA skeleton files using an XLIFF File">

<skeleton-prepare xliff="${args.input}"/>

Expand All @@ -293,7 +300,6 @@
<target
dita:extension="depends org.dita.dost.platform.InsertDependsAction"
name="dita2xliff-create"
description="XML Localization Interchange File Format (XLIFF)"
dita:depends="{depend.preprocess.pre},
build-init,
xliff.init,
Expand All @@ -303,7 +309,6 @@
<target
dita:extension="depends org.dita.dost.platform.InsertDependsAction"
name="dita2xliff-translate"
description="Auto-translate an XLIFF File using an online service"
dita:depends="{depend.preprocess.pre},
build-init,
translate.init,
Expand All @@ -313,7 +318,6 @@
<target
dita:extension="depends org.dita.dost.platform.InsertDependsAction"
name="dita2xliff-dita"
description="Supply translated text into DITA skeleton files using an XLIFF File"
dita:depends="{depend.preprocess.pre},
build-init,
trans-unit.init,
Expand Down

0 comments on commit 43c8728

Please sign in to comment.