<context>
<name>MainWindow</name>
<message>
- <location filename="mainwindow.cpp" line="248"/>
- <location filename="mainwindow.cpp" line="251"/>
+ <location filename="mainwindow.cpp" line="250"/>
+ <location filename="mainwindow.cpp" line="253"/>
<source>get file</source>
<comment>title to ask file</comment>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="260"/>
+ <location filename="mainwindow.cpp" line="262"/>
<source>box</source>
<comment>box title to show a text</comment>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="275"/>
+ <location filename="mainwindow.cpp" line="277"/>
<source>set</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="286"/>
+ <location filename="mainwindow.cpp" line="288"/>
<source>Enter ID of button to edit</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="371"/>
+ <location filename="mainwindow.cpp" line="376"/>
<source>Ctrl+S</source>
<comment>File|Start</comment>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="372"/>
+ <location filename="mainwindow.cpp" line="377"/>
<source>Ctrl+B</source>
<comment>File|Back</comment>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="374"/>
+ <location filename="mainwindow.cpp" line="379"/>
<source>Ctrl+L</source>
<comment>File|Upload</comment>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="376"/>
+ <location filename="mainwindow.cpp" line="381"/>
<source>Ctrl+Q</source>
<comment>File|Quit</comment>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="554"/>
+ <location filename="mainwindow.cpp" line="571"/>
<source>New entry</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="388"/>
+ <location filename="mainwindow.cpp" line="393"/>
<source>ctrl+H</source>
<comment>Help|About Qt</comment>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="373"/>
+ <location filename="mainwindow.cpp" line="378"/>
<source>&View/Hide menu</source>
<comment>File|View/Hide menu</comment>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="389"/>
- <source>Ctrl+R</source>
- <comment>Help|CreateDB</comment>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="mainwindow.cpp" line="389"/>
- <source>C&reate Database</source>
- <comment>Hack|Create</comment>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="mainwindow.cpp" line="390"/>
+ <location filename="mainwindow.cpp" line="395"/>
<source>Download sql</source>
<comment>Hack|download sql</comment>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="576"/>
- <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="576"/>
+ <location filename="mainwindow.cpp" line="593"/>
<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="578"/>
- <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="578"/>
+ <location filename="mainwindow.cpp" line="595"/>
<source>Enter they keyword (no limit !)</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="580"/>
- <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="580"/>
+ <location filename="mainwindow.cpp" line="597"/>
<source>Enter his action</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="373"/>
+ <location filename="mainwindow.cpp" line="378"/>
<source>Ctrl+T</source>
<comment>File|View menu</comment>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="70"/>
+ <location filename="mainwindow.cpp" line="71"/>
<source>Enter the URL to download the init file</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="70"/>
+ <location filename="mainwindow.cpp" line="71"/>
<source>init file</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="157"/>
+ <location filename="mainwindow.cpp" line="158"/>
<source>action</source>
<comment>box title to debug action</comment>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="172"/>
+ <location filename="mainwindow.cpp" line="173"/>
<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="184"/>
- <location filename="mainwindow.cpp" line="208"/>
+ <location filename="mainwindow.cpp" line="185"/>
+ <location filename="mainwindow.cpp" line="209"/>
<source>Error</source>
<comment>title if action("set") has too much value</comment>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="184"/>
- <location filename="mainwindow.cpp" line="208"/>
+ <location filename="mainwindow.cpp" line="185"/>
+ <location filename="mainwindow.cpp" line="209"/>
<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="188"/>
+ <location filename="mainwindow.cpp" line="189"/>
<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="188"/>
- <location filename="mainwindow.cpp" line="256"/>
+ <location filename="mainwindow.cpp" line="189"/>
+ <location filename="mainwindow.cpp" line="258"/>
<source>value of </source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="196"/>
- <location filename="mainwindow.cpp" line="246"/>
+ <location filename="mainwindow.cpp" line="197"/>
+ <location filename="mainwindow.cpp" line="248"/>
<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="212"/>
+ <location filename="mainwindow.cpp" line="213"/>
<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="212"/>
+ <location filename="mainwindow.cpp" line="213"/>
<source>Value of </source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="223"/>
+ <location filename="mainwindow.cpp" line="224"/>
<source>choice</source>
<comment>title of box who ask multiple choice</comment>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="223"/>
+ <location filename="mainwindow.cpp" line="224"/>
<source>Please choose an action.</source>
<comment>text to ask multiple choice</comment>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="256"/>
+ <location filename="mainwindow.cpp" line="258"/>
<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="293"/>
+ <location filename="mainwindow.cpp" line="295"/>
<source>Error</source>
<comment>title if action("edit") has too much value</comment>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="293"/>
+ <location filename="mainwindow.cpp" line="295"/>
<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="308"/>
+ <location filename="mainwindow.cpp" line="310"/>
<source>URL</source>
<comment>title to download a custom file from URL</comment>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="308"/>
+ <location filename="mainwindow.cpp" line="310"/>
<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="310"/>
- <location filename="mainwindow.cpp" line="314"/>
+ <location filename="mainwindow.cpp" line="312"/>
+ <location filename="mainwindow.cpp" line="316"/>
<source>File</source>
<comment>title to write a file downloaded from URL</comment>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="310"/>
- <location filename="mainwindow.cpp" line="314"/>
+ <location filename="mainwindow.cpp" line="312"/>
+ <location filename="mainwindow.cpp" line="316"/>
<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="353"/>
+ <location filename="mainwindow.cpp" line="355"/>
<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="353"/>
+ <location filename="mainwindow.cpp" line="355"/>
<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="370"/>
+ <location filename="mainwindow.cpp" line="375"/>
<source>&File</source>
<comment>top menu</comment>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="371"/>
+ <location filename="mainwindow.cpp" line="376"/>
<source>&Start</source>
<comment>File|Start</comment>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="372"/>
+ <location filename="mainwindow.cpp" line="377"/>
<source>&Back</source>
<comment>File|Back</comment>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="374"/>
+ <location filename="mainwindow.cpp" line="379"/>
<source>sendRAW</source>
<comment>File|SendRAW</comment>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="375"/>
+ <location filename="mainwindow.cpp" line="380"/>
<source>Reset RAW</source>
<comment>File|resetRAW</comment>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="375"/>
+ <location filename="mainwindow.cpp" line="380"/>
<source>Ctrl+E</source>
<comment>File|Reset</comment>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="376"/>
+ <location filename="mainwindow.cpp" line="381"/>
<source>&Quit</source>
<comment>File|Quit</comment>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="378"/>
+ <location filename="mainwindow.cpp" line="383"/>
<source>&Button</source>
<comment>top menu</comment>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="379"/>
+ <location filename="mainwindow.cpp" line="384"/>
<source>&Download</source>
<comment>Button|Downlad</comment>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="379"/>
+ <location filename="mainwindow.cpp" line="384"/>
<source>Ctrl+W</source>
<comment>Button|Downlad</comment>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="380"/>
+ <location filename="mainwindow.cpp" line="385"/>
<source>A&dd</source>
<comment>Button|Add</comment>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="380"/>
+ <location filename="mainwindow.cpp" line="385"/>
<source>Ctrl+D</source>
<comment>Button|Add</comment>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="381"/>
+ <location filename="mainwindow.cpp" line="386"/>
<source>Sa&v</source>
<comment>Button|Sav</comment>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="381"/>
+ <location filename="mainwindow.cpp" line="386"/>
<source>Ctrl+V</source>
<comment>Button|Save</comment>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="382"/>
+ <location filename="mainwindow.cpp" line="387"/>
<source>Reset</source>
<comment>Button|Reset</comment>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="382"/>
+ <location filename="mainwindow.cpp" line="387"/>
<source>Ctrl+Z</source>
<comment>Button|Reset</comment>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="383"/>
+ <location filename="mainwindow.cpp" line="388"/>
<source>&Edit</source>
<comment>Button|Edit</comment>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="383"/>
+ <location filename="mainwindow.cpp" line="388"/>
<source>Ctrl+E</source>
<comment>Button|&Edit</comment>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="385"/>
+ <location filename="mainwindow.cpp" line="390"/>
<source>&Hack</source>
<comment>top menu</comment>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="386"/>
+ <location filename="mainwindow.cpp" line="391"/>
<source>New entry</source>
<comment>Hack|Entry</comment>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="387"/>
+ <location filename="mainwindow.cpp" line="392"/>
<source>Action</source>
<comment>Hack|Action</comment>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="388"/>
+ <location filename="mainwindow.cpp" line="393"/>
<source>About Qt</source>
<comment>Hack|About Qt</comment>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="786"/>
+ <location filename="mainwindow.cpp" line="590"/>
+ <source>addDB</source>
+ <comment>box title to debug addDB</comment>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="mainwindow.cpp" line="593"/>
+ <source>label</source>
+ <comment>Title of box where ask for new label</comment>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="mainwindow.cpp" line="595"/>
+ <source>keyword</source>
+ <comment>Title of box where ask for new keyword</comment>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="mainwindow.cpp" line="597"/>
+ <source>action</source>
+ <comment>Title of box where ask for new action</comment>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="mainwindow.cpp" line="603"/>
+ <source>action</source>
+ <comment>box title to debug get</comment>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="mainwindow.cpp" line="657"/>
+ <source>EditDB</source>
+ <comment>box title to debug editDB</comment>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="mainwindow.cpp" line="803"/>
<source>upload</source>
<comment>pop-up title when data has been sent</comment>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="865"/>
+ <location filename="mainwindow.cpp" line="864"/>
+ <source>get</source>
+ <comment>title to ask keyword fot get</comment>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="mainwindow.cpp" line="882"/>
<source>action</source>
<comment>box title to debug insert</comment>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="889"/>
+ <location filename="mainwindow.cpp" line="882"/>
+ <source>insert : key=</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="mainwindow.cpp" line="907"/>
<source>key</source>
<comment>box title to debug remove</comment>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="956"/>
+ <location filename="mainwindow.cpp" line="974"/>
<source>tmp URL</source>
<comment>Title of box where ask for button file's URL</comment>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="956"/>
+ <location filename="mainwindow.cpp" line="974"/>
<source>Enter URL</source>
<comment>Label of box where ask for button file's URL</comment>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="967"/>
+ <location filename="mainwindow.cpp" line="985"/>
<source>action</source>
<comment>Title of box where ask for a custom action</comment>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="967"/>
+ <location filename="mainwindow.cpp" line="985"/>
<source>Enter your action</source>
<comment>Label of box where ask for custom action</comment>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="617"/>
+ <location filename="mainwindow.cpp" line="1041"/>
+ <source>tmp URL</source>
+ <comment>Title of box where ask for current type</comment>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="mainwindow.cpp" line="1041"/>
+ <source>Enter string</source>
+ <comment>Label of box where ask for current type</comment>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="mainwindow.cpp" line="632"/>
<source>Enter the keyword : </source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="617"/>
+ <location filename="mainwindow.cpp" line="632"/>
<source>chooseDB</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="648"/>
+ <location filename="mainwindow.cpp" line="665"/>
<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="648"/>
+ <location filename="mainwindow.cpp" line="665"/>
<source>new keyword</source>
<comment>question to get new button's keyword</comment>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="650"/>
+ <location filename="mainwindow.cpp" line="667"/>
<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="650"/>
+ <location filename="mainwindow.cpp" line="667"/>
<source>new label</source>
<comment>question to get new button's label</comment>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="652"/>
+ <location filename="mainwindow.cpp" line="669"/>
<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="652"/>
+ <location filename="mainwindow.cpp" line="669"/>
<source>new action</source>
<comment>question to get new button's action</comment>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="698"/>
+ <location filename="mainwindow.cpp" line="715"/>
<source>RAWsent</source>
<comment>message title when data has been send</comment>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="698"/>
+ <location filename="mainwindow.cpp" line="715"/>
<source>sendRAW finish</source>
<comment>message text when data has been send</comment>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="782"/>
+ <location filename="mainwindow.cpp" line="799"/>
<source>Upload finish : </source>
<comment>pop-up when data has been sent</comment>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="841"/>
+ <location filename="mainwindow.cpp" line="858"/>
<source>Uisent</source>
<comment>pop-up title when buttons has been sent</comment>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="841"/>
+ <location filename="mainwindow.cpp" line="858"/>
<source>sav finish</source>
<oldsource>savbuttons finish</oldsource>
<comment>pop-up text when buttons has been sent</comment>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="847"/>
+ <location filename="mainwindow.cpp" line="864"/>
<source>Enter the keyword : </source>
<comment>ask keyword to get buttons</comment>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="847"/>
- <source>getButtons</source>
- <comment>title to ask keyword fot getbuttons</comment>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="mainwindow.cpp" line="909"/>
+ <location filename="mainwindow.cpp" line="927"/>
<source>writeFile</source>
<comment>pop-up title when file has been written</comment>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="909"/>
+ <location filename="mainwindow.cpp" line="927"/>
<source>File written : </source>
<translation type="unfinished"></translation>
</message>
<TS version="2.0" language="fr_FR">
<context>
<name>MainWindow</name>
+
<message>
- <source>first button file</source>
- <translation type="obsolete">Premier fichier de bouton</translation>
- </message>
- <message>
- <source>Enter the URL to download the first buttons file</source>
- <translation type="obsolete">Entrez l'URL pour télécharger vos boutons</translation>
- </message>
- <message>
- <source>choice</source>
- <translation type="obsolete">Choix</translation>
- </message>
- <message>
- <source>Please choose an action.</source>
- <translation type="obsolete">choisissez une action</translation>
- </message>
- <message>
- <location filename="mainwindow.cpp" line="248"/>
- <location filename="mainwindow.cpp" line="251"/>
+ <location filename="mainwindow.cpp" line="250"/>
+ <location filename="mainwindow.cpp" line="253"/>
<source>get file</source>
<comment>title to ask file</comment>
<translation>choisissez un fichier</translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="260"/>
+ <location filename="mainwindow.cpp" line="262"/>
<source>box</source>
<comment>box title to show a text</comment>
<translation>info</translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="275"/>
+ <location filename="mainwindow.cpp" line="277"/>
<source>set</source>
<translation>définir</translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="286"/>
+ <location filename="mainwindow.cpp" line="288"/>
<source>Enter ID of button to edit</source>
<translation>Entrez l'ID du bouton à éditer</translation>
</message>
<message>
- <source>&File</source>
- <translation type="obsolete">&Fichier</translation>
- </message>
- <message>
- <source>&Start</source>
- <translation type="obsolete">&Départ</translation>
- </message>
- <message>
- <location filename="mainwindow.cpp" line="371"/>
+ <location filename="mainwindow.cpp" line="376"/>
<source>Ctrl+S</source>
<comment>File|Start</comment>
<translation>Ctrl+D</translation>
</message>
<message>
- <source>&Back</source>
- <translation type="obsolete">&Retour</translation>
- </message>
- <message>
- <location filename="mainwindow.cpp" line="372"/>
+ <location filename="mainwindow.cpp" line="377"/>
<source>Ctrl+B</source>
<comment>File|Back</comment>
<translation>Ctrl+R</translation>
</message>
+
<message>
- <source>&View/Hide menu</source>
- <comment>File|View/Hide</comment>
- <translation type="obsolete">Voir/Cacher le menu</translation>
- </message>
- <message>
- <location filename="mainwindow.cpp" line="374"/>
+ <location filename="mainwindow.cpp" line="379"/>
<source>sendRAW</source>
<comment>File|SendRAW</comment>
<translation>Envoyer les données</translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="375"/>
+ <location filename="mainwindow.cpp" line="380"/>
<source>Reset RAW</source>
<comment>File|resetRAW</comment>
<translation>Réinitialiser les donnés</translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="375"/>
+ <location filename="mainwindow.cpp" line="380"/>
<source>Ctrl+E</source>
<comment>File|Reset</comment>
<translation>Ctrl+E</translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="376"/>
+ <location filename="mainwindow.cpp" line="381"/>
<source>&Quit</source>
<comment>File|Quit</comment>
<translation>&Quitter</translation>
<translation type="obsolete">Boutons</translation>
</message>
<message>
- <source>Ctrl+W</source>
- <comment>Buttons|Downlad</comment>
- <translation type="obsolete">Ctrl+D</translation>
- </message>
- <message>
- <source>sendRAW</source>
- <translation type="obsolete">Envoyer les données</translation>
- </message>
- <message>
- <location filename="mainwindow.cpp" line="374"/>
+ <location filename="mainwindow.cpp" line="379"/>
<source>Ctrl+L</source>
<comment>File|Upload</comment>
<translation>Ctrl+L</translation>
</message>
<message>
- <source>Reset RAW</source>
- <oldsource>Reset Ui</oldsource>
- <translation type="obsolete">Réinitialiser les donnés</translation>
- </message>
- <message>
- <source>Ctrl+Z</source>
- <comment>Buttons|ResetUi</comment>
- <translation type="obsolete">Ctrl+Z</translation>
- </message>
- <message>
- <source>&Quit</source>
- <translation type="obsolete">&Quitter</translation>
- </message>
- <message>
- <location filename="mainwindow.cpp" line="376"/>
+ <location filename="mainwindow.cpp" line="381"/>
<source>Ctrl+Q</source>
<comment>File|Quit</comment>
<translation>Ctrl+Q</translation>
</message>
<message>
- <source>&Buttons</source>
- <translation type="obsolete">Boutons</translation>
- </message>
- <message>
- <source>A&dd buttons</source>
- <translation type="obsolete">A&jouter un boutons</translation>
- </message>
- <message>
- <source>Ctrl+D</source>
- <comment>Buttons|Add</comment>
- <translation type="obsolete">Ctrl+D</translation>
- </message>
- <message>
- <source>Sa&v buttons</source>
- <translation type="obsolete">Sauvegardez les boutons</translation>
- </message>
- <message>
- <source>Ctrl+V</source>
- <comment>Buttons|Save</comment>
- <translation type="obsolete">Ctrl+V</translation>
- </message>
- <message>
- <source>&Edit buttons</source>
- <translation type="obsolete">&Editer les boutons</translation>
- </message>
- <message>
- <source>Ctrl+E</source>
- <comment>Buttons|&Edit</comment>
- <translation type="obsolete">Ctrl+E</translation>
- </message>
- <message>
- <source>&View/Hide menu</source>
- <translation type="obsolete">Voir/Cacher le menu</translation>
- </message>
- <message>
- <location filename="mainwindow.cpp" line="70"/>
+ <location filename="mainwindow.cpp" line="71"/>
<source>Enter the URL to download the init file</source>
<translation>Entrez l'URL pour téléchargez le fichier d'initialisation</translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="70"/>
+ <location filename="mainwindow.cpp" line="71"/>
<source>init file</source>
<translation>fichier d'initialisation</translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="157"/>
+ <location filename="mainwindow.cpp" line="158"/>
<source>action</source>
<comment>box title to debug action</comment>
<translation>action</translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="172"/>
+ <location filename="mainwindow.cpp" line="173"/>
<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="184"/>
- <location filename="mainwindow.cpp" line="208"/>
+ <location filename="mainwindow.cpp" line="185"/>
+ <location filename="mainwindow.cpp" line="209"/>
<source>Error</source>
<comment>title if action("set") has too much value</comment>
<translation>Erreur</translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="184"/>
- <location filename="mainwindow.cpp" line="208"/>
+ <location filename="mainwindow.cpp" line="185"/>
+ <location filename="mainwindow.cpp" line="209"/>
<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="188"/>
+ <location filename="mainwindow.cpp" line="189"/>
<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="188"/>
- <location filename="mainwindow.cpp" line="256"/>
+ <location filename="mainwindow.cpp" line="189"/>
+ <location filename="mainwindow.cpp" line="258"/>
<source>value of </source>
<translation>Valeur de </translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="196"/>
- <location filename="mainwindow.cpp" line="246"/>
+ <location filename="mainwindow.cpp" line="197"/>
+ <location filename="mainwindow.cpp" line="248"/>
<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="212"/>
+ <location filename="mainwindow.cpp" line="213"/>
<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="212"/>
+ <location filename="mainwindow.cpp" line="213"/>
<source>Value of </source>
<translation>Valeur de </translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="223"/>
+ <location filename="mainwindow.cpp" line="224"/>
<source>choice</source>
<comment>title of box who ask multiple choice</comment>
<translation>Choix</translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="223"/>
+ <location filename="mainwindow.cpp" line="224"/>
<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="256"/>
+ <location filename="mainwindow.cpp" line="258"/>
<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="293"/>
+ <location filename="mainwindow.cpp" line="295"/>
<source>Error</source>
<comment>title if action("edit") has too much value</comment>
<translation>Erreur</translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="293"/>
+ <location filename="mainwindow.cpp" line="295"/>
<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="308"/>
+ <location filename="mainwindow.cpp" line="310"/>
<source>URL</source>
<comment>title to download a custom file from URL</comment>
<translation>Source</translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="308"/>
+ <location filename="mainwindow.cpp" line="310"/>
<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="310"/>
- <location filename="mainwindow.cpp" line="314"/>
+ <location filename="mainwindow.cpp" line="312"/>
+ <location filename="mainwindow.cpp" line="316"/>
<source>File</source>
<comment>title to write a file downloaded from URL</comment>
<translation>Fichier</translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="310"/>
- <location filename="mainwindow.cpp" line="314"/>
+ <location filename="mainwindow.cpp" line="312"/>
+ <location filename="mainwindow.cpp" line="316"/>
<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="353"/>
+ <location filename="mainwindow.cpp" line="355"/>
<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="353"/>
+ <location filename="mainwindow.cpp" line="355"/>
<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="370"/>
+ <location filename="mainwindow.cpp" line="375"/>
<source>&File</source>
<comment>top menu</comment>
<translation>&Fichier</translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="371"/>
+ <location filename="mainwindow.cpp" line="376"/>
<source>&Start</source>
<comment>File|Start</comment>
<translation>&Départ</translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="372"/>
+ <location filename="mainwindow.cpp" line="377"/>
<source>&Back</source>
<comment>File|Back</comment>
<translation>&Retour</translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="373"/>
+ <location filename="mainwindow.cpp" line="378"/>
<source>Ctrl+T</source>
<comment>File|View menu</comment>
<translation>Ctrl+M</translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="373"/>
+ <location filename="mainwindow.cpp" line="378"/>
<source>&View/Hide menu</source>
<comment>File|View/Hide menu</comment>
<translation>Voir/Cacher le menu</translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="378"/>
+ <location filename="mainwindow.cpp" line="383"/>
<source>&Button</source>
<comment>top menu</comment>
<translation>Boutons</translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="379"/>
+ <location filename="mainwindow.cpp" line="384"/>
<source>&Download</source>
<comment>Button|Downlad</comment>
<translation>&Téléchargement</translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="379"/>
+ <location filename="mainwindow.cpp" line="384"/>
<source>Ctrl+W</source>
<comment>Button|Downlad</comment>
<translation>Ctrl+D</translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="380"/>
+ <location filename="mainwindow.cpp" line="385"/>
<source>A&dd</source>
<comment>Button|Add</comment>
<translation>Nouveau</translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="380"/>
+ <location filename="mainwindow.cpp" line="385"/>
<source>Ctrl+D</source>
<comment>Button|Add</comment>
<translation>Ctrl+J</translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="381"/>
+ <location filename="mainwindow.cpp" line="386"/>
<source>Sa&v</source>
<comment>Button|Sav</comment>
<translation>Sauvegardez</translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="381"/>
+ <location filename="mainwindow.cpp" line="386"/>
<source>Ctrl+V</source>
<comment>Button|Save</comment>
<translation>Ctrl+V</translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="382"/>
+ <location filename="mainwindow.cpp" line="387"/>
<source>Reset</source>
<comment>Button|Reset</comment>
<translation>Remise à zéro</translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="382"/>
+ <location filename="mainwindow.cpp" line="387"/>
<source>Ctrl+Z</source>
<comment>Button|Reset</comment>
<translation>Ctrl+Z</translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="383"/>
+ <location filename="mainwindow.cpp" line="388"/>
<source>&Edit</source>
<comment>Button|Edit</comment>
<translation>Edition</translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="383"/>
+ <location filename="mainwindow.cpp" line="388"/>
<source>Ctrl+E</source>
<comment>Button|&Edit</comment>
<translation>Ctrl+E</translation>
</message>
<message>
- <source>&Data</source>
- <comment>top menu</comment>
- <translation type="obsolete">Données</translation>
- </message>
- <message>
- <source>&Download</source>
- <comment>Data|Downlad</comment>
- <translation type="obsolete">&Téléchargement</translation>
- </message>
- <message>
- <source>Ctrl+W</source>
- <comment>Data|Downlad</comment>
- <translation type="obsolete">Ctrl+T</translation>
- </message>
- <message>
- <source>A&dd</source>
- <comment>Data|Add</comment>
- <translation type="obsolete">Nouveau</translation>
- </message>
- <message>
- <source>Ctrl+D</source>
- <comment>Data|Add</comment>
- <translation type="obsolete">Nouveau</translation>
- </message>
- <message>
- <source>Sa&v</source>
- <comment>Data|Sav</comment>
- <translation type="obsolete">Sauvegardez</translation>
- </message>
- <message>
- <source>Ctrl+V</source>
- <comment>Data|Save</comment>
- <translation type="obsolete">Ctrl+V</translation>
- </message>
- <message>
- <source>Reset</source>
- <comment>Data|Reset</comment>
- <translation type="obsolete">Remise à zéro</translation>
- </message>
- <message>
- <source>Ctrl+Z</source>
- <comment>Data|Reset</comment>
- <translation type="obsolete">Ctrl+Z</translation>
- </message>
- <message>
- <source>&Edit</source>
- <comment>Data|Edit</comment>
- <translation type="obsolete">Edition</translation>
- </message>
- <message>
- <source>Ctrl+E</source>
- <comment>Data|&Edit</comment>
- <translation type="obsolete">Ctrl+E</translation>
- </message>
- <message>
- <source>&Download</source>
- <comment>Buttons|Downlad</comment>
- <translation type="obsolete">&Téléchargement</translation>
- </message>
- <message>
- <source>A&dd</source>
- <comment>Buttons|Add</comment>
- <translation type="obsolete">Nouveau</translation>
- </message>
- <message>
- <source>Sa&v</source>
- <comment>Buttons|Sav</comment>
- <translation type="obsolete">Sauvegardez</translation>
- </message>
- <message>
- <source>Reset</source>
- <comment>Buttons|Reset</comment>
- <translation type="obsolete">Remise à zéro</translation>
+ <location filename="mainwindow.cpp" line="1041"/>
+ <source>tmp URL</source>
+ <comment>Title of box where ask for current type</comment>
+ <translation>URL temporaire</translation>
</message>
<message>
- <source>&Edit</source>
- <comment>Buttons|Edit</comment>
- <translation type="obsolete">Editer</translation>
+ <location filename="mainwindow.cpp" line="1041"/>
+ <source>Enter string</source>
+ <comment>Label of box where ask for current type</comment>
+ <translation>Entrez une variable</translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="385"/>
+ <location filename="mainwindow.cpp" line="390"/>
<source>&Hack</source>
<comment>top menu</comment>
<translation>&Hack</translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="386"/>
+ <location filename="mainwindow.cpp" line="391"/>
<source>New entry</source>
<comment>Hack|Entry</comment>
<translation>Nouvelle entrée</translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="387"/>
+ <location filename="mainwindow.cpp" line="392"/>
<source>Action</source>
<comment>Hack|Action</comment>
<translation>Action</translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="388"/>
+ <location filename="mainwindow.cpp" line="393"/>
<source>About Qt</source>
<comment>Hack|About Qt</comment>
<translation>A propos de Qt</translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="786"/>
+ <location filename="mainwindow.cpp" line="590"/>
+ <source>addDB</source>
+ <comment>box title to debug addDB</comment>
+ <translation>addDB</translation>
+ </message>
+ <message>
+ <location filename="mainwindow.cpp" line="593"/>
+ <source>label</source>
+ <comment>Title of box where ask for new label</comment>
+ <translation>étiquette</translation>
+ </message>
+ <message>
+ <location filename="mainwindow.cpp" line="595"/>
+ <source>keyword</source>
+ <comment>Title of box where ask for new keyword</comment>
+ <translation>mot-clé</translation>
+ </message>
+ <message>
+ <location filename="mainwindow.cpp" line="597"/>
+ <source>action</source>
+ <comment>Title of box where ask for new action</comment>
+ <translation>action</translation>
+ </message>
+ <message>
+ <location filename="mainwindow.cpp" line="603"/>
+ <source>action</source>
+ <comment>box title to debug get</comment>
+ <translation>action</translation>
+ </message>
+ <message>
+ <location filename="mainwindow.cpp" line="657"/>
+ <source>EditDB</source>
+ <comment>box title to debug editDB</comment>
+ <translation>EditDB</translation>
+ </message>
+ <message>
+ <location filename="mainwindow.cpp" line="803"/>
<source>upload</source>
<comment>pop-up title when data has been sent</comment>
<translation>Envoie</translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="865"/>
+ <location filename="mainwindow.cpp" line="864"/>
+ <source>get</source>
+ <comment>title to ask keyword fot get</comment>
+ <translation>prendre</translation>
+ </message>
+ <message>
+ <location filename="mainwindow.cpp" line="882"/>
<source>action</source>
<comment>box title to debug insert</comment>
<translation>action</translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="889"/>
+ <location filename="mainwindow.cpp" line="882"/>
+ <source>insert : key=</source>
+ <translation>inser : clé=</translation>
+ </message>
+ <message>
+ <location filename="mainwindow.cpp" line="907"/>
<source>key</source>
<comment>box title to debug remove</comment>
<translation>clé</translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="956"/>
+ <location filename="mainwindow.cpp" line="974"/>
<source>tmp URL</source>
<comment>Title of box where ask for button file's URL</comment>
<translation>URL temporaire</translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="956"/>
+ <location filename="mainwindow.cpp" line="974"/>
<source>Enter URL</source>
<comment>Label of box where ask for button file's URL</comment>
<translation>Entrez l'URL</translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="967"/>
+ <location filename="mainwindow.cpp" line="985"/>
<source>action</source>
<comment>Title of box where ask for a custom action</comment>
<translation>action</translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="967"/>
+ <location filename="mainwindow.cpp" line="985"/>
<source>Enter your action</source>
<comment>Label of box where ask for custom action</comment>
<translation>Entrez votre action</translation>
</message>
<message>
- <source>&Help</source>
- <translation type="obsolete">Aide</translation>
- </message>
- <message>
- <location filename="mainwindow.cpp" line="554"/>
+ <location filename="mainwindow.cpp" line="571"/>
<source>New entry</source>
<translation>Nouvelle entrée</translation>
</message>
<message>
- <source>getButtons</source>
- <translation type="obsolete">getButtons</translation>
- </message>
- <message>
- <source>About Qt</source>
- <translation type="obsolete">A propos de Qt</translation>
- </message>
- <message>
- <location filename="mainwindow.cpp" line="388"/>
+ <location filename="mainwindow.cpp" line="393"/>
<source>ctrl+H</source>
<comment>Help|About Qt</comment>
<translation>Ctrl+A</translation>
</message>
<message>
- <source>C&reate Database</source>
- <translation type="obsolete">C&réer une base de donné</translation>
- </message>
- <message>
- <location filename="mainwindow.cpp" line="389"/>
- <source>Ctrl+R</source>
- <comment>Help|CreateDB</comment>
- <translation>Ctrl+R</translation>
- </message>
- <message>
- <location filename="mainwindow.cpp" line="389"/>
- <source>C&reate Database</source>
- <comment>Hack|Create</comment>
- <translation>C&réer une base de donné</translation>
- </message>
- <message>
- <location filename="mainwindow.cpp" line="390"/>
+ <location filename="mainwindow.cpp" line="395"/>
<source>Download sql</source>
<comment>Hack|download sql</comment>
<translation>Télécharger un fichier sql</translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="576"/>
<source>label</source>
<comment>Title of box where ask for new button's label</comment>
- <translation>Etiquette</translation>
+ <translation type="obsolete">Etiquette</translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="576"/>
+ <location filename="mainwindow.cpp" line="593"/>
<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="578"/>
- <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="578"/>
+ <location filename="mainwindow.cpp" line="595"/>
<source>Enter they keyword (no limit !)</source>
<translation>Entrez les mots clé (no limit !)</translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="580"/>
- <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="580"/>
+ <location filename="mainwindow.cpp" line="597"/>
<source>Enter his action</source>
<translation>Entrez son action</translation>
</message>
<message>
- <source>askkeyword</source>
- <comment>Title of box where ask for keyword to getbuttons</comment>
- <translation type="obsolete">0 (non) ou 1 (oui)?</translation>
- </message>
- <message>
- <source>&Download</source>
- <translation type="obsolete">&Téléchargement</translation>
- </message>
- <message>
- <source>A&dd</source>
- <translation type="obsolete">Nouveau</translation>
- </message>
- <message>
- <source>Sa&v</source>
- <translation type="obsolete">Sauvegardez</translation>
- </message>
- <message>
- <source>Reset</source>
- <translation type="obsolete">Remise à zéro</translation>
- </message>
- <message>
- <source>Ctrl+Z</source>
- <comment>Buttons|Reset</comment>
- <translation type="obsolete">Ctrl+Z</translation>
- </message>
- <message>
- <source>&Edit</source>
- <translation type="obsolete">Editez</translation>
- </message>
- <message>
- <source>&Hack</source>
- <translation type="obsolete">Bidouille</translation>
- </message>
- <message>
- <source>Download sql</source>
- <translation type="obsolete">Télécharger un fichier sql</translation>
- </message>
- <message>
- <source>chooseButtonDB</source>
- <translation type="obsolete">chooseButtonDB</translation>
- </message>
- <message>
- <location filename="mainwindow.cpp" line="617"/>
+ <location filename="mainwindow.cpp" line="632"/>
<source>Enter the keyword : </source>
<translation>Entrez le mot-clé : </translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="617"/>
+ <location filename="mainwindow.cpp" line="632"/>
<source>chooseDB</source>
<translation>choisirBD</translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="648"/>
+ <location filename="mainwindow.cpp" line="665"/>
<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="648"/>
+ <location filename="mainwindow.cpp" line="665"/>
<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="650"/>
+ <location filename="mainwindow.cpp" line="667"/>
<source>label</source>
<comment>Title of box where ask for button's label</comment>
<translation>étiquette</translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="650"/>
+ <location filename="mainwindow.cpp" line="667"/>
<source>new label</source>
<comment>question to get new button's label</comment>
<translation>nouvel étiquette</translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="652"/>
+ <location filename="mainwindow.cpp" line="669"/>
<source>action</source>
<comment>Title of box where ask for button's action</comment>
<translation>action</translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="652"/>
+ <location filename="mainwindow.cpp" line="669"/>
<source>new action</source>
<comment>question to get new button's action</comment>
<translation>nouvelle action</translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="698"/>
+ <location filename="mainwindow.cpp" line="715"/>
<source>RAWsent</source>
<comment>message title when data has been send</comment>
<translation>RAWsent</translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="698"/>
+ <location filename="mainwindow.cpp" line="715"/>
<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="782"/>
+ <location filename="mainwindow.cpp" line="799"/>
<source>Upload finish : </source>
<comment>pop-up when data has been sent</comment>
<translation>Upload finit : </translation>
</message>
<message>
- <source>uploadDB</source>
- <comment>pop-up title when data has been sent</comment>
- <translation type="obsolete">uploadDB</translation>
- </message>
- <message>
- <location filename="mainwindow.cpp" line="841"/>
+ <location filename="mainwindow.cpp" line="858"/>
<source>Uisent</source>
<comment>pop-up title when buttons has been sent</comment>
<translation>Envoyé</translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="841"/>
+ <location filename="mainwindow.cpp" line="858"/>
<source>sav finish</source>
<oldsource>savbuttons finish</oldsource>
<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="847"/>
+ <location filename="mainwindow.cpp" line="864"/>
<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="847"/>
- <source>getButtons</source>
- <comment>title to ask keyword fot getbuttons</comment>
- <translation>getBoutons</translation>
- </message>
- <message>
- <location filename="mainwindow.cpp" line="909"/>
+ <location filename="mainwindow.cpp" line="927"/>
<source>writeFile</source>
<comment>pop-up title when file has been written</comment>
<translation>fichier</translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="909"/>
+ <location filename="mainwindow.cpp" line="927"/>
<source>File written : </source>
<translation>Fichier écrit : </translation>
</message>
- <message>
- <source>tmp URL</source>
- <comment>Title of box where ask for button tmp's URL</comment>
- <translation type="obsolete">tmp URL</translation>
- </message>
- <message>
- <source>Enter URL</source>
- <comment>Label of box where ask for button tmp's URL</comment>
- <translation type="obsolete">Entrez l'URL</translation>
- </message>
</context>
</TS>
conf->setValue(QString("first"), 1);
};
deb=0;
+ //currenttype=conf->value(QString("currenttype"), QString("buttons")).toString();
screen=new QWidget(this);
screen->setSizePolicy(QSizePolicy::Maximum, QSizePolicy::Maximum);
grid=new QGridLayout(screen);
grid->setSizeConstraint(QLayout::SetMinAndMaxSize);
signalmap=new QSignalMapper(this);
- connect(signalmap, SIGNAL(mapped(const QString &)), this, SLOT(action(const QString &)));
- connect(this, SIGNAL(datafilled()), this, SLOT(start()));
+ qDebug()<<"1' connect : "<<connect(signalmap, SIGNAL(mapped(const QString &)), this, SLOT(action(const QString &)));
+ qDebug()<<"2' connect : "<<connect(this, SIGNAL(datafilled()), this, SLOT(start()));
label=new QLabel;
setCentralWidget(screen);
createMenuBar();
};
statusBar()->addPermanentWidget(label);
menuBar()->setVisible(conf->value(QString("menu")).toBool());
- start();
+ //start();
}
void MainWindow::start(){
way=conf->value(QString("start")).toStringList();
- if(!way.isEmpty())get(QString("buttons"), way.takeLast());
+ if(!way.isEmpty())get(conf->value(QString("currenttype")).toString(), way.takeLast());
}
MainWindow::~MainWindow()
{
}else{
return;
}
- get(QString("buttons"), way.takeLast());
+ get(conf->value(QString("currenttype")).toString(), way.takeLast());
}
else if(b[0]==QString("setfile")){
bool ok=0;
QMessageBox::critical(this, trUtf8("Error","title if action(\"edit\") has too much value"), trUtf8("Too much value in button's action", "text if action(\"edit\") has too much value"));
return;
}
- editDB(QString("buttons"),e);
+ editDB(conf->value(QString("currenttype")).toString(),e);
}
else if(b[0]==QString("but")){
else if(b[0]==QString("debug")){
debug();
}
+ else if(b[0]==QString("use")){
+ use(c);
+ }
else {
- get(QString("buttons"),a);
+ get(conf->value(QString("currenttype")).toString(),a);
}
}
HackMenu->addAction(trUtf8("New entry", "Hack|Entry"), this, SLOT(entry()));
HackMenu->addAction(trUtf8("Action", "Hack|Action"), this, SLOT(action()));
HackMenu->addAction(trUtf8("About Qt", "Hack|About Qt"), qApp, SLOT(aboutQt()), QKeySequence(trUtf8("ctrl+H", "Help|About Qt")));
- HackMenu->addAction(trUtf8("C&reate Database", "Hack|Create"), this, SLOT(createDB()), QKeySequence(trUtf8("Ctrl+R", "Help|CreateDB")));
+ //HackMenu->addAction(trUtf8("C&reate Database", "Hack|Create"), this, SLOT(createDB()), QKeySequence(trUtf8("Ctrl+R", "Help|CreateDB")));
HackMenu->addAction(trUtf8("Download sql", "Hack|download sql"), this, SLOT(tmpdown()));
menuBar()->addMenu(HackMenu);
}
CLabel::CLabel( const QString& text, const QSettings & set, QWidget * parent ) : QLabel(parent)
{
- m_style=set.value(QString("button")).toString();
+ //m_style=set.value(QString("buttons")).toString();
+ QString a=set.value(QString("currenttype")).toString();
+ m_style=set.value(a).toString();
setText(text);
setWordWrap(true);
setLineWidth(5);
}
void CLabel::mousePressEvent (QMouseEvent * event )
{
+ QString a=setting->value(QString("currenttype")).toString();
+ QString bb=setting->value(a+QString("before")).toString();
+ QString ba=setting->value(a+QString("after")).toString();
switch(event->button()){
- case Qt::LeftButton:setStyleSheet(m_style.replace(setting->value(QString("buttonbefore")).toString(), setting->value(QString("buttonafter")).toString()));emit pressed();break;
+ case Qt::LeftButton:setStyleSheet(m_style.replace(bb, ba));emit pressed();break;
+ //case Qt::LeftButton:setStyleSheet(m_style.replace(setting->value(setting->value(QString("currenttype")).toString()+"before").toString(), setting->value(QString("currenttype")).toString()+"after"));emit pressed();break;
}
}
void CLabel::mouseReleaseEvent( QMouseEvent * event )
{
+ QString a=setting->value(QString("currenttype")).toString();
+ QString bb=setting->value(a+QString("before")).toString();
+ QString ba=setting->value(a+QString("after")).toString();
switch(event->button()){
- case Qt::LeftButton:setStyleSheet(m_style.replace(setting->value(QString("buttonafter")).toString(), setting->value(QString("buttonbefore")).toString()));emit released();break;
+ case Qt::LeftButton:setStyleSheet(m_style.replace(ba, bb));emit released();break;
+ //case Qt::LeftButton:setStyleSheet(m_style.replace(setting->value(setting->value(QString("currenttype")).toString()+"after").toString(), setting->value(QString("currenttype")).toString()+"before"));emit released();break;
}
}
conf->setValue(QString("maxcolumn"), QVariant(2));
conf->setValue(QString("maxline"), QVariant(3));
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("buttonbefore"), QVariant("outset"));
- conf->setValue(QString("buttonafter"), QVariant("inset"));
+ conf->setValue(QString("buttons"), QVariant("background-color: red;border-style: outset;border-width: 7px;border-radius: 10px;border-color: beige;font: bold 15px;padding: 6px;"));
+ conf->setValue(QString("buttonsbefore"), QVariant("background-color: red;"));
+ conf->setValue(QString("buttonsafter"), QVariant("background-color: blue;"));
conf->setValue(QString("menu"), QVariant(0));
conf->setValue(QString("download"), QVariant("http://www.nothing2do.eu/"+conf->value(QString("filebuttons")).toString()));
conf->setValue(QString("init"), QVariant("http://www.nothing2do.eu/init"));
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("sqlbuttons"), QVariant("INSERT INTO ui (keyword,label,action) VALUES(?,?,?);"));
+ conf->setValue(QString("sqlbuttons"), QVariant("INSERT INTO buttons (keyword,label,action) VALUES(?,?,?);"));
conf->setValue(QString("selectraw"), QVariant("select date,texte from raw order by date;"));
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 (keyword, label, action) values (:keyword, :label, :action)"));
- conf->setValue(QString("getbuttons"), QVariant("select label,action from ui where keyword like ? order by label;"));
- conf->setValue(QString("editbuttons"), QVariant("select id,keyword,label,action from ui where id=?;"));
- conf->setValue(QString("updatebuttons"), QVariant("update ui set keyword=?, label=?, action=? where id=?;"));
- conf->setValue(QString("deletebuttons"), QVariant("delete from ui where id=?"));
- conf->setValue(QString("testbuttons"), QVariant("select id,keyword from ui where label=? and action=?;"));
- conf->setValue(QString("changekeyword"), QVariant("select keyword,label,action,id from ui where keyword like ?;"));
+ conf->setValue(QString("choosebuttons"), QVariant("select id,label from buttons where keyword like ? order by label;"));
+ conf->setValue(QString("addbuttons"), QVariant("insert into buttons (keyword, label, action) values (:keyword, :label, :action)"));
+ conf->setValue(QString("addraw"), QVariant("INSERT INTO raw (date, texte) VALUES (:date, :txt);"));
+ conf->setValue(QString("getbuttons"), QVariant("select label,action from buttons where keyword like ? order by label;"));
+ conf->setValue(QString("editbuttons"), QVariant("select id,keyword,label,action from buttons where id=?;"));
+ conf->setValue(QString("updatebuttons"), QVariant("update buttons set keyword=?, label=?, action=? where id=?;"));
+ conf->setValue(QString("deletebuttons"), QVariant("delete from buttons where id=?"));
+ conf->setValue(QString("testbuttons"), QVariant("select id,keyword from buttons where label=? and action=?;"));
+ conf->setValue(QString("changekeyword"), QVariant("select keyword,label,action,id from buttons where keyword like ?;"));
conf->setValue(QString("volumdown"), QVariant("back"));
conf->setValue(QString("volumup"), QVariant("begin"));
conf->setValue(QString("askkeyword"), QVariant(0));
conf->setValue(QString("sepcolbuttons"), QVariant("$"));
conf->setValue(QString("sqlval"), QVariant("?"));
conf->setValue(QString("always"), QVariant("+always"));
+ conf->setValue(QString("currenttype"), QVariant("buttons"));
qDebug()<<"firstrun() finished";
}
QString MainWindow::get(int column){
QString c;
if(a=="")c=context+" : "+entry;
else c=context+", "+a+" : "+entry;
- QList<QString> d({"INSERT INTO raw (date, texte) VALUES (:date, :txt);", time, c});
+ QList<QString> d({conf->value(QString("addraw")).toString(), time, c});
if(!exec(d))qDebug()<<"exec don't works (entry(QString))";
QSqlError b=q->lastError();
if (b.isValid())qDebug()<<"q->lastError():"<<b.text();
void MainWindow::entry(){
entry(QString(""));
}
-void MainWindow::createDB(){
+/*void MainWindow::createDB(){
qDebug()<<"createDB()";
exec(QList<QString>({"create table ui(id INTEGER PRIMARY KEY AUTOINCREMENT, keyword text, label text, action text);"}));
exec(QList<QString>({"create table raw(id INTEGER PRIMARY KEY AUTOINCREMENT, date timestamp, texte text);"}));
-}
+}*/
void MainWindow::addDB(const QString & tmp){
- qDebug()<<"addDB()";
+ if(deb)QMessageBox::information(this, trUtf8("addDB", "box title to debug addDB"), "type : "+tmp);
bool ok=0;
QString cur=label->text();
- QString a, b, c=QInputDialog::getText(this, trUtf8("label", "Title of box where ask for new button's label"), trUtf8("Enter his label", "his/her/?they? I've forget my school lesson"), QLineEdit::Normal, QString(""), &ok);
+ QString a, b, c=QInputDialog::getText(this, trUtf8("label", "Title of box where ask for new label"), trUtf8("Enter his label", "his/her/?they? I've forget my school lesson"), QLineEdit::Normal, QString(""), &ok);
if ((c=="")||(ok==0))return;
- b=QInputDialog::getText(this, trUtf8("keyword", "Title of box where ask for new button's keyword"), trUtf8("Enter they keyword (no limit !)"), QLineEdit::Normal, cur, &ok);
+ b=QInputDialog::getText(this, trUtf8("keyword", "Title of box where ask for new keyword"), trUtf8("Enter they keyword (no limit !)"), QLineEdit::Normal, cur, &ok);
if ((b=="")||(ok==0))return;
- a=QInputDialog::getText(this, trUtf8("action", "Title of box where ask for new button's action"), trUtf8("Enter his action"), QLineEdit::Normal, c, &ok);
+ a=QInputDialog::getText(this, trUtf8("action", "Title of box where ask for new action"), trUtf8("Enter his action"), QLineEdit::Normal, c, &ok);
if ((a=="")||(ok==0))return;
insert(tmp, b, c, a);
return;
}
void MainWindow::get(const QString & d, const QString &b){
+ if(deb)QMessageBox::information(this, trUtf8("action", "box title to debug get"), "type:"+d+" keyword:"+b);
QString a=b;lastprint=b;
if((b[0]!='-')&&(b[0]!='+'))way.append(a);
else a.remove(0, 1);
qDebug()<<"get"<<d<<"("<<a<<") way.size()"<<way.size();
if(b[0]!='+')flush();
-
-
if(updatelocker.tryLock(60000))updatelocker.unlock();
else{qDebug()<<"updatelocker is locked more than 1mn";}
-
- QString c="%"+a+"%";
- QList<QString> tmp({conf->value(QString("get")+d).toString(), c});
+ QString c="%"+a+"%", x=conf->value(QString("get")+d).toString();
+ qDebug()<<"x="<<x;
+ QList<QString> tmp({x, c});
label->setText(a);
exec(tmp);
int labCol = 0;//r.indexOf("label");
grid->update();
//scroll->updateGeometry();
screen->updateGeometry();
-
qDebug()<<"end getButtons : "<<i<<" button(s) way.size()"<<way.size();
}
void MainWindow::chooseDB(){
}
}
void MainWindow::editDB(const QString & a, const QString & b){
- QString tmp=conf->value(QString("edit")+a).toString();
- qDebug()<<"a="<<a<< "exec()="<<tmp;
+ QString tmp=conf->value(QString("edit")+a).toString(), txt="type="+a+" b="+b;;
+
+ if(deb)QMessageBox::information(this, trUtf8("EditDB", "box title to debug editDB"), txt);
+
exec(QList<QString>({tmp, b}));
if(q->isSelect())q->first();
bool ok;
connect(m, SIGNAL(downloaded()), SLOT(writeData()));
}
void MainWindow::writeData(){
- read(QString("buttons"), m->downloadedData());
+ read(conf->value(QString("currenttype")).toString(), m->downloadedData());
m->deleteLater();
conf->setValue(QString("lastdownload"), QDateTime::currentDateTime().toString(Qt::ISODate));
}
QTextStream b(&a);
//int c=conf->value(QString("columnraw")).toInt()-1;
int c=q->record().count()-1;
- QString sep=conf->value(QString("sepraw")).toString();
+ QString sep=conf->value(QString("sepcolraw")).toString();
while (q->next()) {
for (int i=0; i<c; i++){
b<<q->value(i).toString()<<sep;
}
void MainWindow::back(){
if(!((video)&&(playlist))){
- get(QString("buttons"),conf->value(QString("menuback")).toString());
+ get(conf->value(QString("currenttype")).toString(),conf->value(QString("menuback")).toString());
}else if(QString("-")+label->text()==conf->value(QString("menuback")).toString())get(QString("buttons"),way.takeLast());
else{
- get(QString("buttons"), QString("+video"));
+ get(conf->value(QString("currenttype")).toString(), QString("+video"));
}
}
void MainWindow::keyReleaseEvent(QKeyEvent *event)
qDebug()<<"Uisent";
QMessageBox::information(this, trUtf8("Uisent", "pop-up title when buttons has been sent"), trUtf8("sav finish", "pop-up text when buttons has been sent"));
}
-void MainWindow::reset(const QString & a){
- exec(QList<QString>({"delete from "+a+";"}));
+void MainWindow::resetRAW(){
+ exec(QList<QString>({"delete from raw;"}));
}
void MainWindow::get(const QString & a){
- const QString b=QInputDialog::getText(this, trUtf8("getButtons", "title to ask keyword fot getbuttons"), trUtf8("Enter the keyword : ", "ask keyword to get buttons"));
+ const QString b=QInputDialog::getText(this, trUtf8("get", "title to ask keyword fot get"), trUtf8("Enter the keyword : ", "ask keyword to get buttons"));
get(a, b);
}
void MainWindow::insert(const QString & a, const QString & keyword, const QString & label, const QString & action){
key=key+" "+cur;
}
qDebug()<<"key="<<key<<" keyword="<<keyword;
- key.replace(keyword, QString(""));
+ //key.replace(keyword, QString(""));
+ key.remove(keyword);
if(deb)QMessageBox::information(this, trUtf8("key", "box title to debug remove"), QString("remove : id="+id.toString()+" key="+key+" label="+label+" action="+action));
if(key==QString(" ").repeated(key.size()))exec(QList<QString>({conf->value(QString("delete")+a).toString(), id.toString()}));
else{
get(type, lastprint);
}
void MainWindow::addDB(){
- addDB(QString("buttons"));
+ addDB(conf->value(QString("currenttype")).toString());
}
void MainWindow::savData(){
- sav(QString("buttons"));
-}
-void MainWindow::reset(){
- reset(QString("ui"));
+ sav(conf->value(QString("currenttype")).toString());
}
QSettings & MainWindow::getSettings(){
return *conf;
emit datafilled();
}
void MainWindow::debug(){
- //deb=-deb;
if(deb)deb=0;
else deb=1;
}
+void MainWindow::reset(const QString & a){
+ QList<QString> b({"delete from "+a+";"});
+ exec(b);
+}
+void MainWindow::use(const QString & a){
+ bool ok;
+ QString use=QInputDialog::getText(this, trUtf8("tmp URL", "Title of box where ask for current type"), trUtf8("Enter string", "Label of box where ask for current type"), QLineEdit::Normal, a, &ok);
+ if(!ok){
+ //currenttype=use;
+ conf->setValue(QString("currenttype"), use);
+ }
+}
+void MainWindow::reset(){
+ QList<QString> b({"delete from buttons;"});
+ exec(b);
+}
void quit();
void reset(const QString &);
void reset();
+ void resetRAW();
void action(const QString &);
void action();
void createMenuBar();
int exec2(const QList<QString> &);
void entry(const QString &);
void entry();
- void createDB();
+ //void createDB();
void addDB(const QString &);
void addDB();
void writeDB();
void downloadDB();
void download(const QString &);
void download(const QString &,const QString &);
+ void use(const QString &);
public slots:
signals:
QGridLayout *grid;
QLabel *label;
QSettings *conf;
- QString tmp, tmp2, file, lastprint;//host, user, tmp, password, servercert,database;
+ QString tmp, tmp2, file, lastprint, currenttype;//host, user, tmp, password, servercert,database;
QMenu *FileMenu, *EditMenu, *HackMenu;
QSignalMapper *signalmap;
QList<QString> way;