[qet] [2179] Updated english translation ans push joshua script to rotate angle text to 270 ?\194?\176 if conductor is vertical, interaction his not prefect at this time but is work |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/qet Archives
]
- To: qet@xxxxxxxxxxxxxxxxxxx
- Subject: [qet] [2179] Updated english translation ans push joshua script to rotate angle text to 270 ?\194?\176 if conductor is vertical, interaction his not prefect at this time but is work
- From: subversion@xxxxxxxxxxxxx
- Date: Sat, 25 May 2013 17:57:04 +0200
Revision: 2179
Author: scorpio810
Date: 2013-05-25 17:57:03 +0200 (Sat, 25 May 2013)
Log Message:
-----------
Updated english translation ans push joshua script to rotate angle text to 270?\194?\176 if conductor is vertical, interaction his not prefect at this time but is work
Modified Paths:
--------------
trunk/lang/qet_en.ts
trunk/sources/conductor.cpp
Modified: trunk/lang/qet_en.ts
===================================================================
--- trunk/lang/qet_en.ts 2013-05-21 19:27:21 UTC (rev 2178)
+++ trunk/lang/qet_en.ts 2013-05-25 15:57:03 UTC (rev 2179)
@@ -82,7 +82,7 @@
<message>
<location filename="../sources/aboutqet.cpp" line="115"/>
<source>Collection d'éléments & Développement</source>
- <translation type="unfinished"></translation>
+ <translation>Elements collection & Development</translation>
</message>
<message>
<location filename="../sources/aboutqet.cpp" line="131"/>
@@ -595,7 +595,7 @@
<location filename="../sources/diagramview.cpp" line="51"/>
<source>Ceci est la zone dans laquelle vous concevez vos schémas en y ajoutant des éléments et en posant des conducteurs entre leurs bornes. Il est également possible d'ajouter des textes indépendants.</source>
<comment>"What's this?" tip</comment>
- <translation type="unfinished">In this area you conceive your diagrams by adding elements and conductors between their terminals. You may also add independent texts.</translation>
+ <translation>In this area you conceive your diagrams by adding elements and conductors between their terminals. You may also add independent texts.</translation>
</message>
<message>
<location filename="../sources/diagramview.cpp" line="188"/>
@@ -731,7 +731,7 @@
<location filename="../sources/diagramview.cpp" line="1018"/>
<source>Voulez-vous appliquer le nouveau texte
à l'ensemble des conducteurs de ce potentiel ?</source>
- <translation type="unfinished">Do you want to apply the new text
+ <translation>Do you want to apply the new text
to all conductors of this potential?</translation>
</message>
<message>
@@ -758,7 +758,7 @@
<message>
<location filename="../sources/ui/dialogautonum.ui" line="28"/>
<source>Configuration</source>
- <translation type="unfinished"></translation>
+ <translation>Settings</translation>
</message>
<message>
<location filename="../sources/ui/dialogautonum.ui" line="42"/>
@@ -2475,32 +2475,32 @@
<message>
<location filename="../sources/ui/numparteditorw.ui" line="14"/>
<source>Form</source>
- <translation type="unfinished"></translation>
+ <translation>Form</translation>
</message>
<message utf8="true">
<location filename="../sources/ui/numparteditorw.ui" line="29"/>
<source>Unité</source>
- <translation type="unfinished"></translation>
+ <translation>Unit</translation>
</message>
<message>
<location filename="../sources/ui/numparteditorw.ui" line="34"/>
<source>Dizaine</source>
- <translation type="unfinished"></translation>
+ <translation>Tens</translation>
</message>
<message>
<location filename="../sources/ui/numparteditorw.ui" line="39"/>
<source>Centaine</source>
- <translation type="unfinished"></translation>
+ <translation>Centaine</translation>
</message>
<message>
<location filename="../sources/ui/numparteditorw.ui" line="44"/>
<source>Texte</source>
- <translation type="unfinished">Text</translation>
+ <translation>Text</translation>
</message>
<message utf8="true">
<location filename="../sources/ui/numparteditorw.ui" line="49"/>
<source>N° folio</source>
- <translation type="unfinished"></translation>
+ <translation>N° scheme</translation>
</message>
</context>
<context>
@@ -3466,7 +3466,7 @@
<message>
<location filename="../sources/qetdiagrameditor.cpp" line="227"/>
<source>Annoter les schémas</source>
- <translation type="unfinished"></translation>
+ <translation>Numbering scheme</translation>
</message>
<message>
<location filename="../sources/qetdiagrameditor.cpp" line="228"/>
@@ -5257,7 +5257,7 @@
<location filename="../sources/editor/editorcommands.cpp" line="668"/>
<source>modification informations complementaires</source>
<comment>undo caption</comment>
- <translation type="unfinished">modify author information</translation>
+ <translation>Modification complementary information</translation>
</message>
<message>
<location filename="../sources/editor/editorcommands.cpp" line="783"/>
@@ -5640,52 +5640,52 @@
<message>
<location filename="../sources/ui/selectautonumw.ui" line="14"/>
<source>Form</source>
- <translation type="unfinished"></translation>
+ <translation>Form</translation>
</message>
<message>
<location filename="../sources/ui/selectautonumw.ui" line="25"/>
<source>Folio: </source>
- <translation type="unfinished"></translation>
+ <translation>Scheme:.</translation>
</message>
<message>
<location filename="../sources/ui/selectautonumw.ui" line="32"/>
<source><html><head/><body><p>Choisir le folio</p></body></html></source>
- <translation type="unfinished"></translation>
+ <translation><html><head/><body><p>Choose the scheme</p></body></html></translation>
</message>
<message utf8="true">
<location filename="../sources/ui/selectautonumw.ui" line="55"/>
<source><html><head/><body><p>Supprimer une variable de numérotation</p></body></html></source>
- <translation type="unfinished"></translation>
+ <translation><html><head/><body><p>Delete a variable numbering</p></body></html></translation>
</message>
<message utf8="true">
<location filename="../sources/ui/selectautonumw.ui" line="72"/>
<source><html><head/><body><p>Ajouter une variable de numérotation</p></body></html></source>
- <translation type="unfinished"></translation>
+ <translation><html><head/><body><p>Add a variable numbering</p></body></html></translation>
</message>
<message utf8="true">
<location filename="../sources/ui/selectautonumw.ui" line="91"/>
<source>Définition</source>
- <translation type="unfinished"></translation>
+ <translation>Définition</translation>
</message>
<message>
<location filename="../sources/ui/selectautonumw.ui" line="107"/>
<source>Type</source>
- <translation type="unfinished"></translation>
+ <translation>Type</translation>
</message>
<message>
<location filename="../sources/ui/selectautonumw.ui" line="117"/>
<source>Valeur</source>
- <translation type="unfinished">Value</translation>
+ <translation>Value</translation>
</message>
<message utf8="true">
<location filename="../sources/ui/selectautonumw.ui" line="133"/>
<source>Incrémentation</source>
- <translation type="unfinished"></translation>
+ <translation>Incrementing</translation>
</message>
<message>
<location filename="../sources/ui/selectautonumw.cpp" line="34"/>
<source>Schéma sans titre</source>
- <translation type="unfinished">Untitled diagram</translation>
+ <translation>Untitled diagram</translation>
</message>
</context>
<context>
@@ -6680,47 +6680,47 @@
<message>
<location filename="../sources/ui/diagramselection.ui" line="14"/>
<source>Form</source>
- <translation type="unfinished"></translation>
+ <translation>Form</translation>
</message>
<message>
<location filename="../sources/ui/diagramselection.ui" line="22"/>
<source>TextLabel</source>
- <translation type="unfinished">TextLabel</translation>
+ <translation>TextLabel</translation>
</message>
<message>
<location filename="../sources/ui/diagramselection.cpp" line="30"/>
<source>Projet sans titre</source>
- <translation type="unfinished">Untitled project</translation>
+ <translation>Untitled project</translation>
</message>
<message>
<location filename="../sources/ui/diagramselection.cpp" line="32"/>
<source>Projet : </source>
- <translation type="unfinished"></translation>
+ <translation>project : </translation>
</message>
<message>
<location filename="../sources/ui/diagramselection.cpp" line="60"/>
<source>Sélection</source>
- <translation type="unfinished">Choice</translation>
+ <translation>Choice</translation>
</message>
<message>
<location filename="../sources/ui/diagramselection.cpp" line="60"/>
<source>Nom</source>
- <translation type="unfinished">Name</translation>
+ <translation>Name</translation>
</message>
<message>
<location filename="../sources/ui/diagramselection.cpp" line="69"/>
<source>Schéma sans titre</source>
- <translation type="unfinished">Untitled diagram</translation>
+ <translation>Untitled diagram</translation>
</message>
<message>
<location filename="../sources/ui/diagramselection.cpp" line="102"/>
<source>Désélectionner tout</source>
- <translation type="unfinished">Select none</translation>
+ <translation>Select none</translation>
</message>
<message>
<location filename="../sources/ui/diagramselection.cpp" line="103"/>
<source>Sélectionner tout</source>
- <translation type="unfinished"></translation>
+ <translation>Select all</translation>
</message>
</context>
<context>
@@ -6840,17 +6840,17 @@
<message>
<location filename="../sources/richtext/richtexteditor.cpp" line="362"/>
<source>Texte en gras</source>
- <translation type="unfinished">bold</translation>
+ <translation>Bold</translation>
</message>
<message>
<location filename="../sources/richtext/richtexteditor.cpp" line="368"/>
<source>Texte en italique</source>
- <translation type="unfinished">italic</translation>
+ <translation>Italic</translation>
</message>
<message>
<location filename="../sources/richtext/richtexteditor.cpp" line="374"/>
<source>Texte souligé</source>
- <translation type="unfinished">underline</translation>
+ <translation>Underline</translation>
</message>
<message>
<location filename="../sources/richtext/richtexteditor.cpp" line="375"/>
@@ -6890,7 +6890,7 @@
<message>
<location filename="../sources/richtext/richtexteditor.cpp" line="433"/>
<source>Insérer un lien</source>
- <translation type="unfinished">insert line</translation>
+ <translation>Insert line</translation>
</message>
<message>
<location filename="../sources/richtext/richtexteditor.cpp" line="437"/>
Modified: trunk/sources/conductor.cpp
===================================================================
--- trunk/sources/conductor.cpp 2013-05-21 19:27:21 UTC (rev 2178)
+++ trunk/sources/conductor.cpp 2013-05-25 15:57:03 UTC (rev 2179)
@@ -1124,6 +1124,7 @@
} else {
// positionnement automatique basique
text_item -> setPos(middleSegment() -> middle());
+ middleSegment() -> isVertical()? text_item -> setRotationAngle(270): text_item -> setRotationAngle(0);
}
}