From b5cdfb233dabfea4da74c9d2226468a320f1df9c Mon Sep 17 00:00:00 2001 From: scorpio810 Date: Sat, 25 May 2013 15:57:03 +0000 Subject: [PATCH] =?UTF-8?q?Updated=20english=20translation=20ans=20push=20?= =?UTF-8?q?joshua=20script=20to=20rotate=20angle=20text=20to=20270=C2=B0?= =?UTF-8?q?=20=20if=20conductor=20is=20vertical,=20interaction=20his=20not?= =?UTF-8?q?=20prefect=20at=20this=20time=20=20but=20is=20work?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2179 bfdf4180-ca20-0410-9c96-a3a8aa849046 --- lang/qet_en.ts | 70 +++++++++++++++++++++---------------------- sources/conductor.cpp | 1 + 2 files changed, 36 insertions(+), 35 deletions(-) diff --git a/lang/qet_en.ts b/lang/qet_en.ts index a933a7e64..ef537b22b 100644 --- a/lang/qet_en.ts +++ b/lang/qet_en.ts @@ -82,7 +82,7 @@ Collection d'éléments & Développement - + Elements collection & Development @@ -595,7 +595,7 @@ Apply a text to all of these drivers? 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. "What's this?" tip - In this area you conceive your diagrams by adding elements and conductors between their terminals. You may also add independent texts. + In this area you conceive your diagrams by adding elements and conductors between their terminals. You may also add independent texts. @@ -731,7 +731,7 @@ Apply a text to all of these drivers? Voulez-vous appliquer le nouveau texte à l'ensemble des conducteurs de ce potentiel ? - Do you want to apply the new text + Do you want to apply the new text to all conductors of this potential? @@ -758,7 +758,7 @@ to all conductors of this potential? Configuration - + Settings @@ -2475,32 +2475,32 @@ Changes will be definitive. Form - + Form Unité - + Unit Dizaine - + Tens Centaine - + Centaine Texte - Text + Text N° folio - + N° scheme @@ -3466,7 +3466,7 @@ Available options: Annoter les schémas - + Numbering scheme @@ -5257,7 +5257,7 @@ Que désirez vous faire ? modification informations complementaires undo caption - modify author information + Modification complementary information @@ -5640,52 +5640,52 @@ Que désirez vous faire ? Form - + Form Folio: - + Scheme:. <html><head/><body><p>Choisir le folio</p></body></html> - + <html><head/><body><p>Choose the scheme</p></body></html> <html><head/><body><p>Supprimer une variable de numérotation</p></body></html> - + <html><head/><body><p>Delete a variable numbering</p></body></html> <html><head/><body><p>Ajouter une variable de numérotation</p></body></html> - + <html><head/><body><p>Add a variable numbering</p></body></html> Définition - + Définition Type - + Type Valeur - Value + Value Incrémentation - + Incrementing Schéma sans titre - Untitled diagram + Untitled diagram @@ -6680,47 +6680,47 @@ Maximum width: %2px Form - + Form TextLabel - TextLabel + TextLabel Projet sans titre - Untitled project + Untitled project Projet : - + project : Sélection - Choice + Choice Nom - Name + Name Schéma sans titre - Untitled diagram + Untitled diagram Désélectionner tout - Select none + Select none Sélectionner tout - + Select all @@ -6840,17 +6840,17 @@ Maximum width: %2px Texte en gras - bold + Bold Texte en italique - italic + Italic Texte souligé - underline + Underline @@ -6890,7 +6890,7 @@ Maximum width: %2px Insérer un lien - insert line + Insert line diff --git a/sources/conductor.cpp b/sources/conductor.cpp index b7b0f83d3..6e70cb5e6 100644 --- a/sources/conductor.cpp +++ b/sources/conductor.cpp @@ -1124,6 +1124,7 @@ void Conductor::calculateTextItemPosition() { } else { // positionnement automatique basique text_item -> setPos(middleSegment() -> middle()); + middleSegment() -> isVertical()? text_item -> setRotationAngle(270): text_item -> setRotationAngle(0); } }