<translation type="unfinished"></translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="197"/>
+ <location filename="mainwindow.cpp" line="236"/>
+ <location filename="mainwindow.cpp" line="239"/>
<source>get file</source>
<comment>title to ask file</comment>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="201"/>
+ <location filename="mainwindow.cpp" line="248"/>
<source>box</source>
<comment>box title to show a text</comment>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="216"/>
+ <location filename="mainwindow.cpp" line="263"/>
<source>set</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="227"/>
+ <location filename="mainwindow.cpp" line="274"/>
<source>Enter ID of button to edit</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="288"/>
+ <location filename="mainwindow.cpp" line="346"/>
<source>&File</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="289"/>
+ <location filename="mainwindow.cpp" line="347"/>
<source>&Start</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="289"/>
+ <location filename="mainwindow.cpp" line="347"/>
<source>Ctrl+S</source>
<comment>File|Start</comment>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="290"/>
+ <location filename="mainwindow.cpp" line="348"/>
<source>&Back</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="290"/>
+ <location filename="mainwindow.cpp" line="348"/>
<source>Ctrl+B</source>
<comment>File|Back</comment>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="292"/>
+ <location filename="mainwindow.cpp" line="350"/>
<source>sendRAW</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="292"/>
+ <location filename="mainwindow.cpp" line="350"/>
<source>Ctrl+L</source>
<comment>File|Upload</comment>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="293"/>
+ <location filename="mainwindow.cpp" line="351"/>
<source>Reset RAW</source>
<oldsource>Reset Ui</oldsource>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="294"/>
+ <location filename="mainwindow.cpp" line="352"/>
<source>&Quit</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="294"/>
+ <location filename="mainwindow.cpp" line="352"/>
<source>Ctrl+Q</source>
<comment>File|Quit</comment>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="296"/>
+ <location filename="mainwindow.cpp" line="354"/>
<source>&Buttons</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="298"/>
+ <location filename="mainwindow.cpp" line="356"/>
<source>Ctrl+D</source>
<comment>Buttons|Add</comment>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="299"/>
+ <location filename="mainwindow.cpp" line="357"/>
<source>Ctrl+V</source>
<comment>Buttons|Save</comment>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="301"/>
+ <location filename="mainwindow.cpp" line="359"/>
<source>Ctrl+E</source>
<comment>Buttons|&Edit</comment>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="291"/>
+ <location filename="mainwindow.cpp" line="349"/>
<source>&View/Hide menu</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="303"/>
- <source>&Help</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="mainwindow.cpp" line="304"/>
- <location filename="mainwindow.cpp" line="451"/>
+ <location filename="mainwindow.cpp" line="362"/>
+ <location filename="mainwindow.cpp" line="509"/>
<source>New entry</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="305"/>
+ <location filename="mainwindow.cpp" line="363"/>
<source>getButtons</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="306"/>
+ <location filename="mainwindow.cpp" line="364"/>
<source>About Qt</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="306"/>
+ <location filename="mainwindow.cpp" line="364"/>
<source>ctrl+H</source>
<comment>Help|About Qt</comment>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="307"/>
+ <location filename="mainwindow.cpp" line="365"/>
<source>C&reate Database</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="307"/>
+ <location filename="mainwindow.cpp" line="365"/>
<source>Ctrl+R</source>
<comment>Help|CreateDB</comment>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="473"/>
+ <location filename="mainwindow.cpp" line="531"/>
<source>label</source>
<comment>Title of box where ask for new button's label</comment>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="473"/>
+ <location filename="mainwindow.cpp" line="531"/>
<source>Enter his label</source>
<comment>his/her/?they? I've forget my school lesson</comment>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="475"/>
+ <location filename="mainwindow.cpp" line="533"/>
<source>keyword</source>
<comment>Title of box where ask for new button's keyword</comment>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="475"/>
+ <location filename="mainwindow.cpp" line="533"/>
<source>Enter they keyword (no limit !)</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="477"/>
+ <location filename="mainwindow.cpp" line="535"/>
<source>action</source>
<comment>Title of box where ask for new button's action</comment>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="477"/>
+ <location filename="mainwindow.cpp" line="535"/>
<source>Enter his action</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="291"/>
+ <location filename="mainwindow.cpp" line="349"/>
<source>Ctrl+T</source>
<comment>File|View menu</comment>
<translation type="unfinished"></translation>
</message>
+ <message>
+ <location filename="mainwindow.cpp" line="170"/>
+ <source>Variable's name ?</source>
+ <comment>text to ask value's name before changing it (set)</comment>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="mainwindow.cpp" line="182"/>
+ <location filename="mainwindow.cpp" line="206"/>
+ <source>Error</source>
+ <comment>title if action("set") has too much value</comment>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="mainwindow.cpp" line="182"/>
+ <location filename="mainwindow.cpp" line="206"/>
+ <source>Too much value in button's action</source>
+ <comment>text if action("set") has too much value</comment>
+ <translation type="unfinished"></translation>
+ </message>
<message>
<location filename="mainwindow.cpp" line="186"/>
+ <source>variable text change</source>
+ <comment>title to warn about variable content change</comment>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="mainwindow.cpp" line="186"/>
+ <location filename="mainwindow.cpp" line="244"/>
+ <source>value of </source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="mainwindow.cpp" line="194"/>
+ <location filename="mainwindow.cpp" line="234"/>
+ <source>Variable's name ?</source>
+ <comment>text to ask value's name before changing it (setint)</comment>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="mainwindow.cpp" line="210"/>
+ <source>variable integer change</source>
+ <comment>title to warn about variable content change</comment>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="mainwindow.cpp" line="210"/>
+ <source>Value of </source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="mainwindow.cpp" line="221"/>
<source>choice</source>
<comment>title of box who ask multiple choice</comment>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="186"/>
+ <location filename="mainwindow.cpp" line="221"/>
<source>Please choose an action.</source>
<comment>text to ask multiple choice</comment>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="242"/>
+ <location filename="mainwindow.cpp" line="244"/>
+ <source>variable file change</source>
+ <comment>title to warn about variable content change</comment>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="mainwindow.cpp" line="281"/>
+ <source>Error</source>
+ <comment>title if action("edit") has too much value</comment>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="mainwindow.cpp" line="281"/>
+ <source>Too much value in button's action</source>
+ <comment>text if action("edit") has too much value</comment>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="mainwindow.cpp" line="296"/>
<source>URL</source>
<comment>title to download a custom file from URL</comment>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="242"/>
+ <location filename="mainwindow.cpp" line="296"/>
<source>Enter the URL of the file</source>
<comment>label to download a custom file</comment>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="244"/>
- <location filename="mainwindow.cpp" line="248"/>
+ <location filename="mainwindow.cpp" line="298"/>
+ <location filename="mainwindow.cpp" line="302"/>
<source>File</source>
<comment>title to write a file downloaded from URL</comment>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="244"/>
- <location filename="mainwindow.cpp" line="248"/>
+ <location filename="mainwindow.cpp" line="298"/>
+ <location filename="mainwindow.cpp" line="302"/>
<source>Enter the name of the file</source>
<comment>label to write the downloaded data</comment>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="297"/>
+ <location filename="mainwindow.cpp" line="337"/>
+ <source>Error</source>
+ <comment>title of box if action("read" has too much (or too "less") value</comment>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="mainwindow.cpp" line="337"/>
+ <source>Bad number of value</source>
+ <comment>text of box if action("read") has too much (or too "less") value</comment>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="mainwindow.cpp" line="355"/>
<source>&Download</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="297"/>
+ <location filename="mainwindow.cpp" line="355"/>
<source>Ctrl+W</source>
<comment>Buttons|Downlad</comment>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="298"/>
+ <location filename="mainwindow.cpp" line="356"/>
<source>A&dd</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="299"/>
+ <location filename="mainwindow.cpp" line="357"/>
<source>Sa&v</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="300"/>
+ <location filename="mainwindow.cpp" line="358"/>
<source>Reset</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="300"/>
+ <location filename="mainwindow.cpp" line="358"/>
<source>Ctrl+Z</source>
<comment>Buttons|Reset</comment>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="301"/>
+ <location filename="mainwindow.cpp" line="359"/>
<source>&Edit</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="308"/>
+ <location filename="mainwindow.cpp" line="361"/>
+ <source>&Hack</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="mainwindow.cpp" line="366"/>
<source>Download sql</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="514"/>
+ <location filename="mainwindow.cpp" line="572"/>
<source>chooseButtonDB</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="514"/>
+ <location filename="mainwindow.cpp" line="572"/>
<source>Enter the keyword : </source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="535"/>
+ <location filename="mainwindow.cpp" line="593"/>
<source>keyword</source>
<comment>Title of box where ask for button's keyword</comment>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="535"/>
+ <location filename="mainwindow.cpp" line="593"/>
<source>new keyword</source>
<comment>question to get new button's keyword</comment>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="537"/>
+ <location filename="mainwindow.cpp" line="595"/>
<source>label</source>
<comment>Title of box where ask for button's label</comment>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="537"/>
+ <location filename="mainwindow.cpp" line="595"/>
<source>new label</source>
<comment>question to get new button's label</comment>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="539"/>
+ <location filename="mainwindow.cpp" line="597"/>
<source>action</source>
<comment>Title of box where ask for button's action</comment>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="539"/>
+ <location filename="mainwindow.cpp" line="597"/>
<source>new action</source>
<comment>question to get new button's action</comment>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="582"/>
+ <location filename="mainwindow.cpp" line="640"/>
<source>RAWsent</source>
<comment>message title when data has been send</comment>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="582"/>
+ <location filename="mainwindow.cpp" line="640"/>
<source>sendRAW finish</source>
<comment>message text when data has been send</comment>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="664"/>
+ <location filename="mainwindow.cpp" line="722"/>
<source>Upload finish : </source>
<comment>pop-up when data has been sent</comment>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="668"/>
+ <location filename="mainwindow.cpp" line="726"/>
<source>uploadDB</source>
<comment>pop-up title when data has been sent</comment>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="724"/>
+ <location filename="mainwindow.cpp" line="782"/>
<source>Uisent</source>
<comment>pop-up title when buttons has been sent</comment>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="724"/>
+ <location filename="mainwindow.cpp" line="782"/>
<source>savbuttons finish</source>
<comment>pop-up text when buttons has been sent</comment>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="730"/>
+ <location filename="mainwindow.cpp" line="788"/>
<source>Enter the keyword : </source>
<comment>ask keyword to get buttons</comment>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="730"/>
+ <location filename="mainwindow.cpp" line="788"/>
<source>getButtons</source>
<comment>title to ask keyword fot getbuttons</comment>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="787"/>
+ <location filename="mainwindow.cpp" line="845"/>
<source>writeFile</source>
<comment>pop-up title when file has been written</comment>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="787"/>
+ <location filename="mainwindow.cpp" line="845"/>
<source>File written : </source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="833"/>
+ <location filename="mainwindow.cpp" line="891"/>
<source>tmp URL</source>
<comment>Title of box where ask for button tmp's URL</comment>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="833"/>
+ <location filename="mainwindow.cpp" line="891"/>
<source>Enter URL</source>
<comment>Label of box where ask for button tmp's URL</comment>
<translation type="unfinished"></translation>
<translation type="obsolete">choisissez une action</translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="197"/>
+ <location filename="mainwindow.cpp" line="236"/>
+ <location filename="mainwindow.cpp" line="239"/>
<source>get file</source>
<comment>title to ask file</comment>
<translation>choisissez un fichier</translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="201"/>
+ <location filename="mainwindow.cpp" line="248"/>
<source>box</source>
<comment>box title to show a text</comment>
<translation>info</translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="216"/>
+ <location filename="mainwindow.cpp" line="263"/>
<source>set</source>
<translation>définir</translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="227"/>
+ <location filename="mainwindow.cpp" line="274"/>
<source>Enter ID of button to edit</source>
<translation>Entrez l'ID du bouton à éditer</translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="288"/>
+ <location filename="mainwindow.cpp" line="346"/>
<source>&File</source>
<translation>&Fichier</translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="289"/>
+ <location filename="mainwindow.cpp" line="347"/>
<source>&Start</source>
<translation>&Départ</translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="289"/>
+ <location filename="mainwindow.cpp" line="347"/>
<source>Ctrl+S</source>
<comment>File|Start</comment>
<translation>Ctrl+D</translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="290"/>
+ <location filename="mainwindow.cpp" line="348"/>
<source>&Back</source>
<translation>&Retour</translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="290"/>
+ <location filename="mainwindow.cpp" line="348"/>
<source>Ctrl+B</source>
<comment>File|Back</comment>
<translation>Ctrl+R</translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="297"/>
+ <location filename="mainwindow.cpp" line="355"/>
<source>Ctrl+W</source>
<comment>Buttons|Downlad</comment>
<translation>Ctrl+D</translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="292"/>
+ <location filename="mainwindow.cpp" line="350"/>
<source>sendRAW</source>
<translation>Envoyer les données</translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="292"/>
+ <location filename="mainwindow.cpp" line="350"/>
<source>Ctrl+L</source>
<comment>File|Upload</comment>
<translation>Ctrl+L</translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="293"/>
+ <location filename="mainwindow.cpp" line="351"/>
<source>Reset RAW</source>
<oldsource>Reset Ui</oldsource>
<translation>Réinitialiser les donnés</translation>
<translation type="obsolete">Ctrl+Z</translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="294"/>
+ <location filename="mainwindow.cpp" line="352"/>
<source>&Quit</source>
<translation>&Quitter</translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="294"/>
+ <location filename="mainwindow.cpp" line="352"/>
<source>Ctrl+Q</source>
<comment>File|Quit</comment>
<translation>Ctrl+Q</translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="296"/>
+ <location filename="mainwindow.cpp" line="354"/>
<source>&Buttons</source>
<translation>Boutons</translation>
</message>
<translation type="obsolete">A&jouter un boutons</translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="298"/>
+ <location filename="mainwindow.cpp" line="356"/>
<source>Ctrl+D</source>
<comment>Buttons|Add</comment>
<translation>Ctrl+D</translation>
<translation type="obsolete">Sauvegardez les boutons</translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="299"/>
+ <location filename="mainwindow.cpp" line="357"/>
<source>Ctrl+V</source>
<comment>Buttons|Save</comment>
<translation>Ctrl+V</translation>
<translation type="obsolete">&Editer les boutons</translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="301"/>
+ <location filename="mainwindow.cpp" line="359"/>
<source>Ctrl+E</source>
<comment>Buttons|&Edit</comment>
<translation>Ctrl+E</translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="291"/>
+ <location filename="mainwindow.cpp" line="349"/>
<source>&View/Hide menu</source>
<translation>Voir/Cacher le menu</translation>
</message>
+ <message>
+ <location filename="mainwindow.cpp" line="170"/>
+ <source>Variable's name ?</source>
+ <comment>text to ask value's name before changing it (set)</comment>
+ <translation>Nom de la variable</translation>
+ </message>
+ <message>
+ <location filename="mainwindow.cpp" line="182"/>
+ <location filename="mainwindow.cpp" line="206"/>
+ <source>Error</source>
+ <comment>title if action("set") has too much value</comment>
+ <translation>Erreur</translation>
+ </message>
+ <message>
+ <location filename="mainwindow.cpp" line="182"/>
+ <location filename="mainwindow.cpp" line="206"/>
+ <source>Too much value in button's action</source>
+ <comment>text if action("set") has too much value</comment>
+ <translation>Trop de mots dans l'action du bouton</translation>
+ </message>
+ <message>
+ <location filename="mainwindow.cpp" line="186"/>
+ <source>variable text change</source>
+ <comment>title to warn about variable content change</comment>
+ <translation>changement du contenu de la variable</translation>
+ </message>
<message>
<location filename="mainwindow.cpp" line="186"/>
+ <location filename="mainwindow.cpp" line="244"/>
+ <source>value of </source>
+ <translation>Valeur de </translation>
+ </message>
+ <message>
+ <location filename="mainwindow.cpp" line="194"/>
+ <location filename="mainwindow.cpp" line="234"/>
+ <source>Variable's name ?</source>
+ <comment>text to ask value's name before changing it (setint)</comment>
+ <translation>Nom de la variable ?</translation>
+ </message>
+ <message>
+ <location filename="mainwindow.cpp" line="210"/>
+ <source>variable integer change</source>
+ <comment>title to warn about variable content change</comment>
+ <translation>changement de valeur</translation>
+ </message>
+ <message>
+ <location filename="mainwindow.cpp" line="210"/>
+ <source>Value of </source>
+ <translation>Valeur de </translation>
+ </message>
+ <message>
+ <location filename="mainwindow.cpp" line="221"/>
<source>choice</source>
<comment>title of box who ask multiple choice</comment>
<translation>Choix</translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="186"/>
+ <location filename="mainwindow.cpp" line="221"/>
<source>Please choose an action.</source>
<comment>text to ask multiple choice</comment>
<translation>Choisissez une action</translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="242"/>
+ <location filename="mainwindow.cpp" line="244"/>
+ <source>variable file change</source>
+ <comment>title to warn about variable content change</comment>
+ <translation>changement de valeur</translation>
+ </message>
+ <message>
+ <location filename="mainwindow.cpp" line="281"/>
+ <source>Error</source>
+ <comment>title if action("edit") has too much value</comment>
+ <translation>Erreur</translation>
+ </message>
+ <message>
+ <location filename="mainwindow.cpp" line="281"/>
+ <source>Too much value in button's action</source>
+ <comment>text if action("edit") has too much value</comment>
+ <translation>Trop de mots dans l'action du bouton</translation>
+ </message>
+ <message>
+ <location filename="mainwindow.cpp" line="296"/>
<source>URL</source>
<comment>title to download a custom file from URL</comment>
<translation>Source</translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="242"/>
+ <location filename="mainwindow.cpp" line="296"/>
<source>Enter the URL of the file</source>
<comment>label to download a custom file</comment>
<translation>Entrez l'URL des données</translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="244"/>
- <location filename="mainwindow.cpp" line="248"/>
+ <location filename="mainwindow.cpp" line="298"/>
+ <location filename="mainwindow.cpp" line="302"/>
<source>File</source>
<comment>title to write a file downloaded from URL</comment>
<translation>Fichier</translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="244"/>
- <location filename="mainwindow.cpp" line="248"/>
+ <location filename="mainwindow.cpp" line="298"/>
+ <location filename="mainwindow.cpp" line="302"/>
<source>Enter the name of the file</source>
<comment>label to write the downloaded data</comment>
<translation>Entrez le nom du fichier</translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="291"/>
+ <location filename="mainwindow.cpp" line="337"/>
+ <source>Error</source>
+ <comment>title of box if action("read" has too much (or too "less") value</comment>
+ <translation>Erreur</translation>
+ </message>
+ <message>
+ <location filename="mainwindow.cpp" line="337"/>
+ <source>Bad number of value</source>
+ <comment>text of box if action("read") has too much (or too "less") value</comment>
+ <translation>Mauvais "nombre" de mot</translation>
+ </message>
+ <message>
+ <location filename="mainwindow.cpp" line="349"/>
<source>Ctrl+T</source>
<comment>File|View menu</comment>
<translation>Ctrl+C</translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="303"/>
<source>&Help</source>
- <translation>Aide</translation>
+ <translation type="obsolete">Aide</translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="304"/>
- <location filename="mainwindow.cpp" line="451"/>
+ <location filename="mainwindow.cpp" line="362"/>
+ <location filename="mainwindow.cpp" line="509"/>
<source>New entry</source>
- <translation>Nouvelle entré</translation>
+ <translation>Nouvelle entrée</translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="305"/>
+ <location filename="mainwindow.cpp" line="363"/>
<source>getButtons</source>
<translation>getButtons</translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="306"/>
+ <location filename="mainwindow.cpp" line="364"/>
<source>About Qt</source>
<translation>A propos de Qt</translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="306"/>
+ <location filename="mainwindow.cpp" line="364"/>
<source>ctrl+H</source>
<comment>Help|About Qt</comment>
<translation>Ctrl+A</translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="307"/>
+ <location filename="mainwindow.cpp" line="365"/>
<source>C&reate Database</source>
<translation>C&réer une base de donné</translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="307"/>
+ <location filename="mainwindow.cpp" line="365"/>
<source>Ctrl+R</source>
<comment>Help|CreateDB</comment>
<translation>Ctrl+R</translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="473"/>
+ <location filename="mainwindow.cpp" line="531"/>
<source>label</source>
<comment>Title of box where ask for new button's label</comment>
<translation>Etiquette</translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="473"/>
+ <location filename="mainwindow.cpp" line="531"/>
<source>Enter his label</source>
<comment>his/her/?they? I've forget my school lesson</comment>
<translation>Entrez son étiquette</translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="475"/>
+ <location filename="mainwindow.cpp" line="533"/>
<source>keyword</source>
<comment>Title of box where ask for new button's keyword</comment>
<translation>mot-clé</translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="475"/>
+ <location filename="mainwindow.cpp" line="533"/>
<source>Enter they keyword (no limit !)</source>
<translation>Entrez les mots clé (no limit !)</translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="477"/>
+ <location filename="mainwindow.cpp" line="535"/>
<source>action</source>
<comment>Title of box where ask for new button's action</comment>
<translation>action</translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="477"/>
+ <location filename="mainwindow.cpp" line="535"/>
<source>Enter his action</source>
<translation>Entrez son action</translation>
</message>
<translation type="obsolete">0 (non) ou 1 (oui)?</translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="297"/>
+ <location filename="mainwindow.cpp" line="355"/>
<source>&Download</source>
<translation>&Téléchargement</translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="298"/>
+ <location filename="mainwindow.cpp" line="356"/>
<source>A&dd</source>
<translation>Nouveau</translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="299"/>
+ <location filename="mainwindow.cpp" line="357"/>
<source>Sa&v</source>
<translation>Sauvegardez</translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="300"/>
+ <location filename="mainwindow.cpp" line="358"/>
<source>Reset</source>
<translation>Remise à zéro</translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="300"/>
+ <location filename="mainwindow.cpp" line="358"/>
<source>Ctrl+Z</source>
<comment>Buttons|Reset</comment>
<translation>Ctrl+Z</translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="301"/>
+ <location filename="mainwindow.cpp" line="359"/>
<source>&Edit</source>
<translation>Editez</translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="308"/>
+ <location filename="mainwindow.cpp" line="361"/>
+ <source>&Hack</source>
+ <translation>Bidouille</translation>
+ </message>
+ <message>
+ <location filename="mainwindow.cpp" line="366"/>
<source>Download sql</source>
<translation>Télécharger un fichier sql</translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="514"/>
+ <location filename="mainwindow.cpp" line="572"/>
<source>chooseButtonDB</source>
<translation>chooseButtonDB</translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="514"/>
+ <location filename="mainwindow.cpp" line="572"/>
<source>Enter the keyword : </source>
<translation>Entrez le mot-clé : </translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="535"/>
+ <location filename="mainwindow.cpp" line="593"/>
<source>keyword</source>
<comment>Title of box where ask for button's keyword</comment>
<translation>mot-clé</translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="535"/>
+ <location filename="mainwindow.cpp" line="593"/>
<source>new keyword</source>
<comment>question to get new button's keyword</comment>
<translation>nouveau mot-clé</translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="537"/>
+ <location filename="mainwindow.cpp" line="595"/>
<source>label</source>
<comment>Title of box where ask for button's label</comment>
<translation>étiquette</translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="537"/>
+ <location filename="mainwindow.cpp" line="595"/>
<source>new label</source>
<comment>question to get new button's label</comment>
<translation>nouvel étiquette</translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="539"/>
+ <location filename="mainwindow.cpp" line="597"/>
<source>action</source>
<comment>Title of box where ask for button's action</comment>
<translation>action</translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="539"/>
+ <location filename="mainwindow.cpp" line="597"/>
<source>new action</source>
<comment>question to get new button's action</comment>
<translation>nouvelle action</translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="582"/>
+ <location filename="mainwindow.cpp" line="640"/>
<source>RAWsent</source>
<comment>message title when data has been send</comment>
<translation>RAWsent</translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="582"/>
+ <location filename="mainwindow.cpp" line="640"/>
<source>sendRAW finish</source>
<comment>message text when data has been send</comment>
<translation>données envoyées</translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="664"/>
+ <location filename="mainwindow.cpp" line="722"/>
<source>Upload finish : </source>
<comment>pop-up when data has been sent</comment>
<translation>Upload finit : </translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="668"/>
+ <location filename="mainwindow.cpp" line="726"/>
<source>uploadDB</source>
<comment>pop-up title when data has been sent</comment>
<translation>uploadDB</translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="724"/>
+ <location filename="mainwindow.cpp" line="782"/>
<source>Uisent</source>
<comment>pop-up title when buttons has been sent</comment>
<translation>Envoyé</translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="724"/>
+ <location filename="mainwindow.cpp" line="782"/>
<source>savbuttons finish</source>
<comment>pop-up text when buttons has been sent</comment>
<translation>boutons sauvegardés sur le serveur</translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="730"/>
+ <location filename="mainwindow.cpp" line="788"/>
<source>Enter the keyword : </source>
<comment>ask keyword to get buttons</comment>
<translation>Entrez le mot-clé : </translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="730"/>
+ <location filename="mainwindow.cpp" line="788"/>
<source>getButtons</source>
<comment>title to ask keyword fot getbuttons</comment>
<translation>getBoutons</translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="787"/>
+ <location filename="mainwindow.cpp" line="845"/>
<source>writeFile</source>
<comment>pop-up title when file has been written</comment>
<translation>fichier</translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="787"/>
+ <location filename="mainwindow.cpp" line="845"/>
<source>File written : </source>
<translation>Fichier écrit : </translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="833"/>
+ <location filename="mainwindow.cpp" line="891"/>
<source>tmp URL</source>
<comment>Title of box where ask for button tmp's URL</comment>
<translation>tmp URL</translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="833"/>
+ <location filename="mainwindow.cpp" line="891"/>
<source>Enter URL</source>
<comment>Label of box where ask for button tmp's URL</comment>
<translation>Entrez l'URL</translation>
QMessageBox::critical(this, trUtf8("Error","title if action(\"set\") has too much value"), trUtf8("Too much value in button's action", "text if action(\"set\") has too much value"));
return;
}
- QMessageBox::information(this, trUtf8("variable text change", "title to warn about variable content change"), trUtf8(d+" will be changed to "+e, "text to warn about variable content change"));
+ //QString z=d+" will be changed to "+e;
+ if(conf->value(QString("saychange")).toBool())QMessageBox::information(this, trUtf8("variable text change", "title to warn about variable content change"), trUtf8("value of "+d.toLocal8Bit()+" changed to "+e.toLocal8Bit(), "text to warn about variable content change"));
conf->setValue(d, e);
}
else if(b[0]==QString("setint")){
int e;
QString d;
if(bs==1){
- d=QInputDialog::getText(this, "setInt", trUtf8("Variable's name ?", "text to ask value's name before changing it (setint)") , QString(""), 0, 100, 1, &ok);
+ d=QInputDialog::getText(this, "setInt", trUtf8("Variable's name ?", "text to ask value's name before changing it (setint)"), QLineEdit::Normal, QString(""), &ok);
if(!ok)return;
e=QInputDialog::getInt(this, "setInt", d, QLineEdit::Normal, conf->value(d).toInt(), &ok);
if(!ok)return;
QMessageBox::critical(this, trUtf8("Error","title if action(\"set\") has too much value"), trUtf8("Too much value in button's action", "text if action(\"set\") has too much value"));
return;
}
- QMessageBox::information(this, trUtf8("variable integer change", "title to warn about variable content change"), trUtf8(d+" will be changed to "+e, "text to warn about variable content change"));
+ //QString z=d+" will be changed to "+e;
+ if(conf->value(QString("saychange")).toBool())QMessageBox::information(this, trUtf8("variable integer change", "title to warn about variable content change"), trUtf8("Value of "+d.toLocal8Bit()+" changed", "text to warn about variable content change"));
conf->setValue(d, e);
}
else if(b[0]==QString("start")){
bool ok=0;
QString d, e;
if(bs==1){
- d=QInputDialog::getText(this, "setInt", trUtf8("Variable's name ?", "text to ask value's name before changing it (setint)") , QString(""), 0, 100, 1, &ok);
+ d=QInputDialog::getText(this, "setFile", trUtf8("Variable's name ?", "text to ask value's name before changing it (setint)") , QLineEdit::Normal, QString(""), &ok);
if(!ok)return;
e=QFileDialog::getSaveFileName(this, trUtf8("get file", "title to ask file"), conf->value(d).toString());
}else if(bs==2){
d=b[1];
e=b[2];
}
- QMessageBox::information(this, trUtf8("variable file change", "title to warn about variable content change"), trUtf8(d+" will be changed to "+e, "text to warn about variable content change"));
+ if(conf->value(QString("saychange")).toBool())QMessageBox::information(this, trUtf8("variable file change", "title to warn about variable content change"), trUtf8("value of "+d.toLocal8Bit()+" has been changed to "+e.toLocal8Bit(), "text to warn about variable content change"));
conf->setValue(d, e);
}
else if(b[0]==QString("box")){
a.open(QIODevice::ReadOnly);
readData(a.readAll());
}else{
- QMessageBox::warning(this, trUtf8("Error", "title of box if action(\"read\" hasn't too much value"));
+ QMessageBox::warning(this, trUtf8("Error", "title of box if action(\"read\" has too much (or too \"less\") value"), trUtf8("Bad number of value", "text of box if action(\"read\") has too much (or too \"less\") value"));
}
}
else {
conf->setValue(QString("servercert"), QVariant("a.pem"));
conf->setValue(QString("database"), QVariant("db"));
conf->setValue(QString("password"), QVariant("pass"));
- conf->setValue(QString("file"), QVariant("raw"));
- conf->setValue(QString("buttonfile"), QVariant("ui.sql"));
+ conf->setValue(QString("rawfile"), QVariant("raw"));
+ conf->setValue(QString("buttonfile"), QVariant("ui.sql+"));
conf->setValue(QString("maxcolumn"), QVariant(2));
- conf->setValue(QString("maxline"), QVariant(5));
+ conf->setValue(QString("maxline"), QVariant(4));
conf->setValue(QString("SQLsettings"), QVariant("connect_timeout=10000"));
conf->setValue(QString("button"), QVariant("background-color: red;border-style: outset;border-width: 7px;border-radius: 10px;border-color: beige;font: bold 15px;padding: 6px;"));
- conf->setValue(QString("menu"), QVariant(1));
- conf->setValue(QString("download"), QVariant("http://www.nothing2do.eu/ui.sql"));
- conf->setValue(QString("uploadRAW"), QVariant("ftp://<user>:<pass>@<server>/raw"));
- conf->setValue(QString("uploadUi"), QVariant("ftp://<user>:<pass>@<server>/ui.sql"));
+ conf->setValue(QString("menu"), QVariant(0));
+ conf->setValue(QString("download"), QVariant("http://www.nothing2do.eu/ui.sql+"));
conf->setValue(QString("userftp"), QVariant("<user>"));
conf->setValue(QString("hostftp"), QVariant("<host>"));
conf->setValue(QString("passftp"), QVariant("<pass>"));
conf->setValue(QString("restore"), QVariant("http://www.abc.de/db"));
conf->setValue(QString("db"), QVariant("/data/data/eu.nothing2do.diarymobile/files/db"));
conf->setValue(QString("selectbuttons"), QVariant("select keyword,label,action from ui order by label;"));
+ conf->setValue(QString("columnbuttons"), QVariant(3));
conf->setValue(QString("selectraw"), QVariant("select date,texte from raw order by date;"));
+ conf->setValue(QString("columnraw"), QVariant(2));
conf->setValue(QString("menuback"), QVariant("-menuback"));
conf->setValue(QString("choosebuttons"), QVariant("select id,label from ui where keyword like ? order by label;"));
conf->setValue(QString("addbuttons"), QVariant("insert into ui (label, keyword, action) values (:label, :keyword, :action)"));
conf->setValue(QString("volumdown"), QVariant("back"));
conf->setValue(QString("volumup"), QVariant("Montpellier"));
conf->setValue(QString("askkeyword"), QVariant(0));
+ conf->setValue(QString("saychange"), QVariant(0));
conf->setValue(QString("sepcmd"), QVariant("!@!"));
conf->setValue(QString("sepchc"), QVariant("!#!"));
conf->setValue(QString("sqlval"), QVariant("?"));
if(a=="")label=context+" : ";
else label=context+", "+a+" : ";
entry=QInputDialog::getText(this, trUtf8("New entry"), label, QLineEdit::Normal, "", &ok);
- if(ok==0)return;
+ if(!ok)return;
QString c;
if(a=="")c=context+" : "+entry;
else c=context+", "+a+" : "+entry;
}
void MainWindow::sendRAW(){
exec(QList<QString> ({conf->value(QString("selectraw")).toString()}));
- QFile a(conf->value(QString("file")).toString());
+ QFile a(conf->value(QString("rawfile")).toString());
a.open(QIODevice::WriteOnly|QIODevice::Text);
QTextStream b(&a);
+ int c=conf->value(QString("columnraw")).toInt()-1;
while (q->next()) {
- for (int i=0; i<1; i++){
+ for (int i=0; i<c; i++){
b<<q->value(i).toString()<<" ";
}
b<<q->value(1).toString()<<"\n";
QFile a(conf->value(QString("buttonfile")).toString());
a.open(QIODevice::WriteOnly|QIODevice::Text);
QTextStream b(&a);
+ int c=conf->value(QString("columnbutton")).toInt()-1;
b<<conf->value("firstline").toString()<<"\n";
while (q->next()) {
- for (int i=0; i<2; i++){
+ for (int i=0; i<c; i++){
b<<q->value(i).toString()<<"$";
}
b<<q->value(2).toString()<<"\n";