From 446acbf7a212434146e673cc99fff7fc932818fa Mon Sep 17 00:00:00 2001 From: xavierqet Date: Fri, 10 Nov 2006 21:31:18 +0000 Subject: [PATCH] Mise a jour de la traduction anglaise, amelioration du dialogue "A propos" et possible resolution de la segfault survenant apres la rotation et l'effacement d'un element git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@17 bfdf4180-ca20-0410-9c96-a3a8aa849046 --- aboutqet.cpp | 30 ++-- element.cpp | 7 +- qet_en.qm | Bin 8076 -> 8993 bytes qet_en.ts | 392 ++++++++++++++++++++++++++++++++++++--------------- 4 files changed, 298 insertions(+), 131 deletions(-) diff --git a/aboutqet.cpp b/aboutqet.cpp index a69d073ff..4d731a676 100644 --- a/aboutqet.cpp +++ b/aboutqet.cpp @@ -56,13 +56,16 @@ QWidget *AboutQET::titre() { */ QWidget *AboutQET::ongletAPropos() { QLabel *apropos = new QLabel( - tr( - "QElectroTech, une application de " - "r\351alisation de sch\351mas \351lectriques.\n\n\251 2006 Les " - "d\351veloppeurs de QElectroTech\n\nMerde on n'a pas de site web" - ) + tr("QElectroTech, une application de r\351alisation de sch\351mas \351lectriques.") + + "

" + + tr("\251 2006 Les d\351veloppeurs de QElectroTech") + + "

" + "" + "http://qelectrotech.tuxfamily.org/" ); apropos -> setAlignment(Qt::AlignCenter); + apropos -> setOpenExternalLinks(true); + apropos -> setTextFormat(Qt::RichText); return(apropos); } @@ -71,12 +74,21 @@ QWidget *AboutQET::ongletAPropos() { */ QWidget *AboutQET::ongletAuteurs() { QLabel *auteurs = new QLabel( - tr( - "Id\351e originale : Beno\356t Ansieau \n\n" - "Programmation : Xavier Guerrin " - ) + "" + + tr("Id\351e originale") + + " : Beno\356t Ansieau " + "<" + "benoit.ansieau@gmail.com>" + "

" + "" + + tr("Programmation") + + " : Xavier Guerrin " + "<" + "xavier.guerrin@gmail.com>" ); auteurs -> setAlignment(Qt::AlignCenter); + auteurs -> setOpenExternalLinks(true); + auteurs -> setTextFormat(Qt::RichText); return(auteurs); } diff --git a/element.cpp b/element.cpp index 0223c8d9d..a9346d3e3 100644 --- a/element.cpp +++ b/element.cpp @@ -112,15 +112,10 @@ QVariant Element::itemChange(GraphicsItemChange change, const QVariant &value) { bool Element::setOrientation(Borne::Orientation o) { // verifie que l'orientation demandee est acceptee if (!acceptOrientation(o)) return(false); - // on cache temporairement l'element pour eviter un bug graphique - hide(); + prepareGeometryChange(); // rotation en consequence et rafraichissement de l'element graphique rotate(90.0 * (o - ori)); ori = o; - // on raffiche l'element, on le reselectionne et on le rafraichit - show(); - select(); - update(); return(true); } diff --git a/qet_en.qm b/qet_en.qm index de38ea5fcd7d78ba887072f7430a9b1c60c8fb8a..549e55f7b9b6497b0f0b7c13e200cc02332056b2 100644 GIT binary patch delta 2963 zcmaJ?4R91^8GiSEa(}rWl3a56xnzm$rD-ITP~^ubUXo^%(KZaFXqiDacbjDOZtvK= z4U}51*0uv!3;GQ>G9uLefGsegsfgAN1qTOOpcJ$er$hwpB$XQahoVf!=i5u}t~G5k zd(XGK-@V`SKF|BU_sGJ>y0h&E;-Qzuf42F=^tyv9AA8|^2az>IL_N6hXIY4kdb&CL zB(Q_FExrIu&{G#Iz&Gi{H)j$FRYJ?}zK*^7gjw64!1refcb%CAObTxd#el!G-0l7a z@T}#<^1l$-S}ljl@qPO?%gOBcPAtw_+iE``Dp_RRuwDc1vu;{<4LD-mbqYirG3(O< z2Z)?ETR*(|Yv2!TH*VSv9Jlq~|2mOtxovRYVc>JNdrCOIX?x~T5OtRW$AGs25zoEU z_RK~BIA}Ze2==*uV$0?hhwbizAmF}Y4;*PD@?`AGUh5z#y~CaunhpGpJ#lOfaHoC4 zef;@p`)+mxt;r-T+iTvxbj_`Xcu-NZd^BW8Bzm6xIzb6W`Okmt`{2@E;cR0@6f_;G#&MMCm zqG@f;c|Uy!xXrm``h4IO=YhYyM^v`l`Qia6SoXNf`rCg3Pr2q^0+xT#)f3wbyy#lL z8SyIG+~Gffa79*jH~#1gSZs9nzQP|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5;)ZQTDC`@sMn5$ze6gECN~b3qyji;JNXFsHo*nxs8E_h;SFXD8Gr z5UbhQ)RGvUXD(yT2%djZ3Lq@#Q6)zd{9;f`Sx^p1!eYtYzZWMuTe3CxA6}0pt&n?) zkquAHWkUycu#EI%wmmIDW9y|f2gmX&X8A{Rklk7jk|!hXH&A2hBtTS(y8rA&!^ HnkD@O+3O`R diff --git a/qet_en.ts b/qet_en.ts index 75397e801..2d0d0bf49 100644 --- a/qet_en.ts +++ b/qet_en.ts @@ -3,478 +3,598 @@ AboutQET - + À propos de QElectrotech About QElectroTech - + À &propos &About - + A&uteurs A&uthors - + &Accord de licence &License Agreement - + QElectroTech, une application de réalisation de schémas électriques. © 2006 Les développeurs de QElectroTech Merde on n'a pas de site web - QElectroTech is a program to design electric schemas. + QElectroTech is a program to design electric schemas. © 2006 QElectroTech Developers Whoops, we have no website - + Idée originale : Benoît Ansieau <benoit.ansieau@gmail.com> Programmation : Xavier Guerrin <xavier.guerrin@gmail.com> - Original idea : Benoît Ansieau <benoit.ansieau@gmail.com> + Original idea : Benoît Ansieau <benoit.ansieau@gmail.com> Programming : Xavier Guerrin <xavier.guerrin@gmail.com> - + Ce programme est sous licence GNU/GPL. This program is under the GNU/GPL license. - + Le fichier texte contenant la licence GNU/GPL est introuvable - bon bah de toute façon, vous la connaissez par c&oelig;ur non ? - The text file containing the GNU/GPL license could not be found - however, you know it by heart, don't you ? + The text file containing the GNU/GPL license could not be found - however, you know it by heart, don't you ? - + Le fichier texte contenant la licence GNU/GPL existe mais n'a pas pu être ouvert - bon bah de toute façon, vous la connaissez par c&oelig;ur non ? - The text file containing the GNU/GPL license exists but could not be opened - however, you know it by heart, don't you ? + The text file containing the GNU/GPL license exists but could not be opened - however, you know it by heart, don't you ? + + + + Idée originale + Original concept + + + + Programmation + Programming + + + + Le fichier texte contenant la licence GNU/GPL est introuvable - bon bah de toute façon, vous la connaissez par coeur non ? + The text file containing the GNU/GPL license could not be found - however, you know it by heart, don't you ? + + + + Le fichier texte contenant la licence GNU/GPL existe mais n'a pas pu être ouvert - bon bah de toute façon, vous la connaissez par coeur non ? + The text file containing the GNU/GPL license exists but could not be opened - however, you know it by heart, don't you ? + + + + QElectroTech, une application de réalisation de schémas électriques. + QElectroTech, an application to design electric plans. + + + + © 2006 Les développeurs de QElectroTech + © 2006 QElectroTech developers PanelAppareils - + Ceci est un élément que vous pouvez insérer dans votre schéma par cliquer-déplacer This is a device you can drag'n drop onto your plan - + Cliquer-déposez cet élément sur le schéma pour insérer - Drag this device to the plan to insert + Drag this device to the plan to insert - + Contacteur - Contact + Contact - + un contacteur - a contact + a contact - + Voyant DEL - LED light + LED light - + une DEL - a LED light + a LED light - + Diode Electroluminescente - Light-Emitting Diode + Light-Emitting Diode - + Entrée - Input + Input - + une entrée - an input + an input + + + + Collection QET + QET Collection + + + + Collection utilisateur + User Collection + + + + Cliquer-déposez cet élément sur le schéma pour insérer un élément + Drag'n drop this element to the plan to insert a QETApp - + QElectroTech QElectroTech - + QElectrotech : dimensions de la zone de dessin : QElectrotech : Size of the drawing area : - + x x - + &Masquer &Hide - + &Quitter &Quit - + &Restaurer &Show - + &Fichier &File - + &Édition &Edit - + Afficha&ge Displ&ay - + O&utils &Tools - + &Configuration &Settings - + &Aide &Help - + &Nouveau &New - + &Ouvrir &Open - + &Enregistrer &Save - + Enregistrer sous Save as - + &Importer &Import - + Ctrl+Shift+I - + E&xporter &Export - + Ctrl+Shift+X - + Ctrl+Q - + Annu&ler &Undo - + Re&faire &Redo - + Co&uper Cu&t - + Cop&ier &Copy - + C&oller &Paste - + Tout sélectionner Select All - + Désélectionner tout Select none - + Ctrl+Shift+A - + Inverser la sélection Invert selection - + Ctrl+I - + Cacher &la barre d'outils Hide Too&lbar - + &Mode plein écran &Fullscreen Mode - + Ctrl+Shift+F - + Ctrl+Shift+F - + Configurer les &barres d'outils Configure tool&bars - + &Configurer QElectroTech - &Configure QElectroTech + &Configure QElectroTech - + À &propos de QElectroTech A&bout QElectroTech - + À propos de &Qt About &Qt - + Désactiver l'&antialiasing Render without &Antialiasing - + Activer l'&antialiasing Render with &Antialiasing - + QElectrotech QElectrotech - + Panel d'appareils Elements Panel - + Imprimer Print - + Zoom avant Zoom In - + Zoom arrière Zoom Out - + Zoom adapté Fit in view - + Pas de zoom Reset zoom - + Mode Selection Selection Mode - + Passer en &mode plein écran F&ullScreen Screen Mode - + Sortir du &mode plein écran Exit F&ullScreen Screen Mode - + Reduire QElectroTech dans le systray Minimize QElectroTech to the sytray - + Restaurer QElectroTech Restore QElectroTech - + P P - + Ctrl+9 - + Ctrl+0 - + Afficher Display - + Outils Tools - + Exporter vers le fichier Export to file - + Image PNG (*.png) PNG Picture (*.png) - + Schema QelectroTech (*.qet) - QElectroTech Schema (*.qet) + QElectroTech Schema (*.qet) - + Erreur Error - + Impossible d'ecrire dans ce fichier - Can't write to the file + Can't write to the file - + Ouvrir un fichier Open a file - + Schema QelectroTech (*.qet);;Fichiers XML (*.xml);;Tous les fichiers (*) QelectroTech Schema (*.qet);;XML Files (*.xml);;All Files (*) - + Impossible de lire ce fichier - Can't read that file + Can't read that file - + Ce fichier n'est pas un document XML valide. This file is not a valid XML Document. - + Enregistrer le schéma en cours ? - Save the current schema ? + Save the current schema ? - + Voulez-vous enregistrer le schéma en cours ? - Do you wish to save the current schema ? + Do you wish to save the current schema ? - + Supprimer Delete - + Pivoter Rotate - + Mode Visualisation View Mode + + + &Fermer + &Close + + + + &Mosaïque + &Tile + + + + &Cascade + &Cascade + + + + Arranger les fenêtres réduites + Arranges iconized windows + + + + Fenêtre suivante + Next Window + + + + Fenêtre précédente + Previous Window + + + + Dispose les fenêtres en mosaïque + Arranges windows in a tile pattern + + + + Dispose les fenêtres en cascade + Arranges windows in a cascade pattern + + + + Aligne les fenêtres réduites + Arranges all iconized windows at the bottom of the workspace + + + + Active la fenêtre suivante + Activates the next window + + + + Active la fenêtre précédente + Activates the previous window + + + + Fe&nêtres + Wi&ndows + + + + Ce fichier n'existe pas. + This file does not exist. + + + + Impossible de lire ce fichier. + Could not read file. + + + + Une erreur s'est produite lors de l'ouverture du fichier. + An error occured while opening the file. + Schema - + Contacteur Contact - + Voyant DEL LED light @@ -482,19 +602,59 @@ Programming : Xavier Guerrin <xavier.guerrin@gmail.com> SchemaVue - + Contacteur - Contact + Contact - + Voyant DEL - LED light + LED light - + Entrée - Input + Input + + + + Nouveau schéma + New plan + + + + Enregistrer le schéma en cours ? + Save the current plan ? + + + + Voulez-vous enregistrer le schéma + Do you wish to save the plan + + + + ? + ? + + + + Enregistrer sous + Save as + + + + Schema QelectroTech (*.qet) + QElectroTech Plan (*.qet) + + + + Erreur + Error + + + + Impossible d'ecrire dans ce fichier + Can't write to the file