Gestion multilingue des noms des elements

git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@32 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
xavierqet
2006-11-20 17:46:13 +00:00
parent f1c5d494b3
commit 6305019380
23 changed files with 492 additions and 307 deletions

View File

@@ -1,23 +1,30 @@
<definition type="element" nom="Transformateur monophasé" width="45" height="105" hotspot_x="25" hotspot_y="45" orientation="dnny">
<!--Transforateur-->
<cercle x="-20" y="-20" rayon="40" antialias="true" style="normal" />
<cercle x="-20" y="0" rayon="40" antialias="true" style="normal" />
<!--Phase 1-->
<ligne x1="-20" y1="-40" x2="-20" y2="-20" antialias="false" style="normal" />
<ligne x1="-20" y1="-20" x2="-14" y2="-14" antialias="true" style="normal" />
<!--Neutre 1-->
<ligne x1="20" y1="-40" x2="20" y2="-20" antialias="false" style="normal" />
<ligne x1="20" y1="-20" x2="14" y2="-14" antialias="true" style="normal" />
<!--Phase 2-->
<ligne x1="-20" y1="60" x2="-20" y2="40" antialias="false" style="normal" />
<ligne x1="-20" y1="40" x2="-14" y2="34" antialias="true" style="normal" />
<!--Neutre 2-->
<ligne x1="20" y1="60" x2="20" y2="40" antialias="false" style="normal" />
<ligne x1="20" y1="40" x2="14" y2="34" antialias="true" style="normal" />
<!--Bornes supérieurs-->
<borne orientation="n" x="-20" y="-40" />
<borne orientation="n" x="20" y="-40" />
<!--Bornes inférieurs-->
<borne orientation="s" x="-20" y="60" />
<borne orientation="s" x="20" y="60" />
<!DOCTYPE definition SYSTEM "definition_element.dtd">
<definition type="element" width="45" height="105" hotspot_x="25" hotspot_y="45" orientation="dnny">
<names>
<name lang="fr">Transformateur monophasé</name>
<name lang="en">One-phase transformer</name>
</names>
<description>
<!--Transforateur-->
<cercle x="-20" y="-20" rayon="40" antialias="true" style="normal" />
<cercle x="-20" y="0" rayon="40" antialias="true" style="normal" />
<!--Phase 1-->
<ligne x1="-20" y1="-40" x2="-20" y2="-20" antialias="false" style="normal" />
<ligne x1="-20" y1="-20" x2="-14" y2="-14" antialias="true" style="normal" />
<!--Neutre 1-->
<ligne x1="20" y1="-40" x2="20" y2="-20" antialias="false" style="normal" />
<ligne x1="20" y1="-20" x2="14" y2="-14" antialias="true" style="normal" />
<!--Phase 2-->
<ligne x1="-20" y1="60" x2="-20" y2="40" antialias="false" style="normal" />
<ligne x1="-20" y1="40" x2="-14" y2="34" antialias="true" style="normal" />
<!--Neutre 2-->
<ligne x1="20" y1="60" x2="20" y2="40" antialias="false" style="normal" />
<ligne x1="20" y1="40" x2="14" y2="34" antialias="true" style="normal" />
<!--Bornes supérieurs-->
<borne orientation="n" x="-20" y="-40" />
<borne orientation="n" x="20" y="-40" />
<!--Bornes inférieurs-->
<borne orientation="s" x="-20" y="60" />
<borne orientation="s" x="20" y="60" />
</description>
</definition>

View File

@@ -1,29 +1,36 @@
<definition type="element" nom="Transformateur triphasé" width="45" height="105" hotspot_x="25" hotspot_y="45" orientation="dnny" ci="true">
<!--Transformateur-->
<cercle x="-20" y="-20" rayon="40" antialias="true" style="normal" />
<cercle x="-20" y="0" rayon="40" antialias="true" style="normal" />
<!--U1-->
<ligne x1="-20" y1="-40" x2="-20" y2="-20" antialias="false" style="normal" />
<ligne x1="-20" y1="-20" x2="-14" y2="-14" antialias="true" style="normal" />
<!--V1-->
<ligne x1="0" y1="-40" x2="0" y2="-20" antialias="false" style="dashed" />
<!--W1-->
<ligne x1="20" y1="-40" x2="20" y2="-20" antialias="false" style="normal" />
<ligne x1="20" y1="-20" x2="14" y2="-14" antialias="true" style="normal" />
<!--U2-->
<ligne x1="-20" y1="60" x2="-20" y2="40" antialias="false" style="normal" />
<ligne x1="-20" y1="40" x2="-14" y2="34" antialias="true" style="normal" />
<!--V2-->
<ligne x1="0" y1="60" x2="0" y2="40" antialias="false" style="normal" />
<!--W2-->
<ligne x1="20" y1="60" x2="20" y2="40" antialias="false" style="normal" />
<ligne x1="20" y1="40" x2="14" y2="34" antialias="true" style="normal" />
<!--Bornes supérieurs-->
<borne orientation="n" x="-20" y="-40" />
<borne orientation="n" x="0" y="-40" />
<borne orientation="n" x="20" y="-40" />
<!--Bornes inférieurs-->
<borne orientation="s" x="-20" y="60" />
<borne orientation="s" x="0" y="60" />
<borne orientation="s" x="20" y="60" />
<!DOCTYPE definition SYSTEM "definition_element.dtd">
<definition type="element" width="45" height="105" hotspot_x="25" hotspot_y="45" orientation="dnny" ci="true">
<names>
<name lang="fr">Transformateur triphasé</name>
<name lang="en">Three-phase transformer</name>
</names>
<description>
<!--Transformateur-->
<cercle x="-20" y="-20" rayon="40" antialias="true" style="normal" />
<cercle x="-20" y="0" rayon="40" antialias="true" style="normal" />
<!--U1-->
<ligne x1="-20" y1="-40" x2="-20" y2="-20" antialias="false" style="normal" />
<ligne x1="-20" y1="-20" x2="-14" y2="-14" antialias="true" style="normal" />
<!--V1-->
<ligne x1="0" y1="-40" x2="0" y2="-20" antialias="false" style="dashed" />
<!--W1-->
<ligne x1="20" y1="-40" x2="20" y2="-20" antialias="false" style="normal" />
<ligne x1="20" y1="-20" x2="14" y2="-14" antialias="true" style="normal" />
<!--U2-->
<ligne x1="-20" y1="60" x2="-20" y2="40" antialias="false" style="normal" />
<ligne x1="-20" y1="40" x2="-14" y2="34" antialias="true" style="normal" />
<!--V2-->
<ligne x1="0" y1="60" x2="0" y2="40" antialias="false" style="normal" />
<!--W2-->
<ligne x1="20" y1="60" x2="20" y2="40" antialias="false" style="normal" />
<ligne x1="20" y1="40" x2="14" y2="34" antialias="true" style="normal" />
<!--Bornes supérieurs-->
<borne orientation="n" x="-20" y="-40" />
<borne orientation="n" x="0" y="-40" />
<borne orientation="n" x="20" y="-40" />
<!--Bornes inférieurs-->
<borne orientation="s" x="-20" y="60" />
<borne orientation="s" x="0" y="60" />
<borne orientation="s" x="20" y="60" />
</description>
</definition>