<context>
<name>MainWindow</name>
<message>
- <location filename="mainwindow.cpp" line="69"/>
+ <location filename="mainwindow.cpp" line="68"/>
<source>first button file</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="69"/>
+ <location filename="mainwindow.cpp" line="68"/>
<source>Enter the URL to download the first buttons file</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="204"/>
+ <location filename="mainwindow.cpp" line="197"/>
<source>get file</source>
<comment>title to ask file</comment>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="208"/>
+ <location filename="mainwindow.cpp" line="201"/>
<source>box</source>
<comment>box title to show a text</comment>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="223"/>
+ <location filename="mainwindow.cpp" line="216"/>
<source>set</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="234"/>
+ <location filename="mainwindow.cpp" line="227"/>
<source>Enter ID of button to edit</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="253"/>
+ <location filename="mainwindow.cpp" line="288"/>
<source>&File</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="254"/>
+ <location filename="mainwindow.cpp" line="289"/>
<source>&Start</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="254"/>
+ <location filename="mainwindow.cpp" line="289"/>
<source>Ctrl+S</source>
<comment>File|Start</comment>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="255"/>
+ <location filename="mainwindow.cpp" line="290"/>
<source>&Back</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="255"/>
+ <location filename="mainwindow.cpp" line="290"/>
<source>Ctrl+B</source>
<comment>File|Back</comment>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="257"/>
+ <location filename="mainwindow.cpp" line="292"/>
<source>sendRAW</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="257"/>
+ <location filename="mainwindow.cpp" line="292"/>
<source>Ctrl+L</source>
<comment>File|Upload</comment>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="258"/>
+ <location filename="mainwindow.cpp" line="293"/>
<source>Reset RAW</source>
<oldsource>Reset Ui</oldsource>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="259"/>
+ <location filename="mainwindow.cpp" line="294"/>
<source>&Quit</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="259"/>
+ <location filename="mainwindow.cpp" line="294"/>
<source>Ctrl+Q</source>
<comment>File|Quit</comment>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="261"/>
+ <location filename="mainwindow.cpp" line="296"/>
<source>&Buttons</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="263"/>
+ <location filename="mainwindow.cpp" line="298"/>
<source>Ctrl+D</source>
<comment>Buttons|Add</comment>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="264"/>
+ <location filename="mainwindow.cpp" line="299"/>
<source>Ctrl+V</source>
<comment>Buttons|Save</comment>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="266"/>
+ <location filename="mainwindow.cpp" line="301"/>
<source>Ctrl+E</source>
<comment>Buttons|&Edit</comment>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="256"/>
+ <location filename="mainwindow.cpp" line="291"/>
<source>&View/Hide menu</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="268"/>
+ <location filename="mainwindow.cpp" line="303"/>
<source>&Help</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="269"/>
- <location filename="mainwindow.cpp" line="411"/>
+ <location filename="mainwindow.cpp" line="304"/>
+ <location filename="mainwindow.cpp" line="448"/>
<source>New entry</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="270"/>
+ <location filename="mainwindow.cpp" line="305"/>
<source>getButtons</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="271"/>
+ <location filename="mainwindow.cpp" line="306"/>
<source>About Qt</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="271"/>
+ <location filename="mainwindow.cpp" line="306"/>
<source>ctrl+H</source>
<comment>Help|About Qt</comment>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="272"/>
+ <location filename="mainwindow.cpp" line="307"/>
<source>C&reate Database</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="272"/>
+ <location filename="mainwindow.cpp" line="307"/>
<source>Ctrl+R</source>
<comment>Help|CreateDB</comment>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="433"/>
+ <location filename="mainwindow.cpp" line="470"/>
<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="433"/>
+ <location filename="mainwindow.cpp" line="470"/>
<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="435"/>
+ <location filename="mainwindow.cpp" line="472"/>
<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="435"/>
+ <location filename="mainwindow.cpp" line="472"/>
<source>Enter they keyword (no limit !)</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="437"/>
+ <location filename="mainwindow.cpp" line="474"/>
<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="437"/>
+ <location filename="mainwindow.cpp" line="474"/>
<source>Enter his action</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="256"/>
+ <location filename="mainwindow.cpp" line="291"/>
<source>Ctrl+T</source>
<comment>File|View menu</comment>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="193"/>
+ <location filename="mainwindow.cpp" line="186"/>
<source>choice</source>
<comment>title of box who ask multiple choice</comment>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="193"/>
+ <location filename="mainwindow.cpp" line="186"/>
<source>Please choose an action.</source>
<comment>text to ask multiple choice</comment>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="262"/>
+ <location filename="mainwindow.cpp" line="242"/>
+ <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"/>
+ <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"/>
+ <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"/>
+ <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"/>
<source>&Download</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="262"/>
+ <location filename="mainwindow.cpp" line="297"/>
<source>Ctrl+W</source>
<comment>Buttons|Downlad</comment>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="263"/>
+ <location filename="mainwindow.cpp" line="298"/>
<source>A&dd</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="264"/>
+ <location filename="mainwindow.cpp" line="299"/>
<source>Sa&v</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="265"/>
+ <location filename="mainwindow.cpp" line="300"/>
<source>Reset</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="265"/>
+ <location filename="mainwindow.cpp" line="300"/>
<source>Ctrl+Z</source>
<comment>Buttons|Reset</comment>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="266"/>
+ <location filename="mainwindow.cpp" line="301"/>
<source>&Edit</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="474"/>
+ <location filename="mainwindow.cpp" line="308"/>
+ <source>Download sql</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="mainwindow.cpp" line="511"/>
<source>chooseButtonDB</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="474"/>
+ <location filename="mainwindow.cpp" line="511"/>
<source>Enter the keyword : </source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="495"/>
+ <location filename="mainwindow.cpp" line="532"/>
<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="495"/>
+ <location filename="mainwindow.cpp" line="532"/>
<source>new keyword</source>
<comment>question to get new button's keyword</comment>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="497"/>
+ <location filename="mainwindow.cpp" line="534"/>
<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="497"/>
+ <location filename="mainwindow.cpp" line="534"/>
<source>new label</source>
<comment>question to get new button's label</comment>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="499"/>
+ <location filename="mainwindow.cpp" line="536"/>
<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="499"/>
+ <location filename="mainwindow.cpp" line="536"/>
<source>new action</source>
<comment>question to get new button's action</comment>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="543"/>
+ <location filename="mainwindow.cpp" line="580"/>
<source>RAWsent</source>
<comment>message title when data has been send</comment>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="543"/>
+ <location filename="mainwindow.cpp" line="580"/>
<source>sendRAW finish</source>
<comment>message text when data has been send</comment>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="626"/>
+ <location filename="mainwindow.cpp" line="662"/>
<source>Upload finish : </source>
<comment>pop-up when data has been sent</comment>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="630"/>
+ <location filename="mainwindow.cpp" line="666"/>
<source>uploadDB</source>
<comment>pop-up title when data has been sent</comment>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="685"/>
+ <location filename="mainwindow.cpp" line="721"/>
<source>Uisent</source>
<comment>pop-up title when buttons has been sent</comment>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="685"/>
+ <location filename="mainwindow.cpp" line="721"/>
<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="691"/>
+ <location filename="mainwindow.cpp" line="727"/>
<source>Enter the keyword : </source>
<comment>ask keyword to get buttons</comment>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="691"/>
+ <location filename="mainwindow.cpp" line="727"/>
<source>getButtons</source>
<comment>title to ask keyword fot getbuttons</comment>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="752"/>
+ <location filename="mainwindow.cpp" line="784"/>
<source>writeFile</source>
<comment>pop-up title when file has been written</comment>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="752"/>
+ <location filename="mainwindow.cpp" line="784"/>
<source>File written : </source>
<translation type="unfinished"></translation>
</message>
+ <message>
+ <location filename="mainwindow.cpp" line="830"/>
+ <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="830"/>
+ <source>Enter URL</source>
+ <comment>Label of box where ask for button tmp's URL</comment>
+ <translation type="unfinished"></translation>
+ </message>
</context>
</TS>
<context>
<name>MainWindow</name>
<message>
- <location filename="mainwindow.cpp" line="69"/>
+ <location filename="mainwindow.cpp" line="68"/>
<source>first button file</source>
<translation>Premier fichier de bouton</translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="69"/>
+ <location filename="mainwindow.cpp" line="68"/>
<source>Enter the URL to download the first buttons file</source>
<translation>Entrez l'URL pour télécharger vos boutons</translation>
</message>
<translation type="obsolete">choisissez une action</translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="204"/>
+ <location filename="mainwindow.cpp" line="197"/>
<source>get file</source>
<comment>title to ask file</comment>
<translation>choisissez un fichier</translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="208"/>
+ <location filename="mainwindow.cpp" line="201"/>
<source>box</source>
<comment>box title to show a text</comment>
<translation>info</translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="223"/>
+ <location filename="mainwindow.cpp" line="216"/>
<source>set</source>
<translation>définir</translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="234"/>
+ <location filename="mainwindow.cpp" line="227"/>
<source>Enter ID of button to edit</source>
<translation>Entrez l'ID du bouton à éditer</translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="253"/>
+ <location filename="mainwindow.cpp" line="288"/>
<source>&File</source>
<translation>&Fichier</translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="254"/>
+ <location filename="mainwindow.cpp" line="289"/>
<source>&Start</source>
<translation>&Départ</translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="254"/>
+ <location filename="mainwindow.cpp" line="289"/>
<source>Ctrl+S</source>
<comment>File|Start</comment>
<translation>Ctrl+D</translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="255"/>
+ <location filename="mainwindow.cpp" line="290"/>
<source>&Back</source>
<translation>&Retour</translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="255"/>
+ <location filename="mainwindow.cpp" line="290"/>
<source>Ctrl+B</source>
<comment>File|Back</comment>
<translation>Ctrl+R</translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="262"/>
+ <location filename="mainwindow.cpp" line="297"/>
<source>Ctrl+W</source>
<comment>Buttons|Downlad</comment>
<translation>Ctrl+D</translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="257"/>
+ <location filename="mainwindow.cpp" line="292"/>
<source>sendRAW</source>
<translation>Envoyer les données</translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="257"/>
+ <location filename="mainwindow.cpp" line="292"/>
<source>Ctrl+L</source>
<comment>File|Upload</comment>
<translation>Ctrl+L</translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="258"/>
+ <location filename="mainwindow.cpp" line="293"/>
<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="259"/>
+ <location filename="mainwindow.cpp" line="294"/>
<source>&Quit</source>
<translation>&Quitter</translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="259"/>
+ <location filename="mainwindow.cpp" line="294"/>
<source>Ctrl+Q</source>
<comment>File|Quit</comment>
<translation>Ctrl+Q</translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="261"/>
+ <location filename="mainwindow.cpp" line="296"/>
<source>&Buttons</source>
<translation>Boutons</translation>
</message>
<translation type="obsolete">A&jouter un boutons</translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="263"/>
+ <location filename="mainwindow.cpp" line="298"/>
<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="264"/>
+ <location filename="mainwindow.cpp" line="299"/>
<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="266"/>
+ <location filename="mainwindow.cpp" line="301"/>
<source>Ctrl+E</source>
<comment>Buttons|&Edit</comment>
<translation>Ctrl+E</translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="256"/>
+ <location filename="mainwindow.cpp" line="291"/>
<source>&View/Hide menu</source>
<translation>Voir/Cacher le menu</translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="193"/>
+ <location filename="mainwindow.cpp" line="186"/>
<source>choice</source>
<comment>title of box who ask multiple choice</comment>
<translation>Choix</translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="193"/>
+ <location filename="mainwindow.cpp" line="186"/>
<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="242"/>
+ <source>URL</source>
+ <comment>title to download a custom file from URL</comment>
+ <translation>Source</translation>
+ </message>
+ <message>
+ <location filename="mainwindow.cpp" line="242"/>
+ <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"/>
+ <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"/>
+ <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"/>
<source>Ctrl+T</source>
<comment>File|View menu</comment>
<translation>Ctrl+C</translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="268"/>
+ <location filename="mainwindow.cpp" line="303"/>
<source>&Help</source>
<translation>Aide</translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="269"/>
- <location filename="mainwindow.cpp" line="411"/>
+ <location filename="mainwindow.cpp" line="304"/>
+ <location filename="mainwindow.cpp" line="448"/>
<source>New entry</source>
<translation>Nouvelle entré</translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="270"/>
+ <location filename="mainwindow.cpp" line="305"/>
<source>getButtons</source>
<translation>getButtons</translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="271"/>
+ <location filename="mainwindow.cpp" line="306"/>
<source>About Qt</source>
<translation>A propos de Qt</translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="271"/>
+ <location filename="mainwindow.cpp" line="306"/>
<source>ctrl+H</source>
<comment>Help|About Qt</comment>
<translation>Ctrl+A</translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="272"/>
+ <location filename="mainwindow.cpp" line="307"/>
<source>C&reate Database</source>
<translation>C&réer une base de donné</translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="272"/>
+ <location filename="mainwindow.cpp" line="307"/>
<source>Ctrl+R</source>
<comment>Help|CreateDB</comment>
<translation>Ctrl+R</translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="433"/>
+ <location filename="mainwindow.cpp" line="470"/>
<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="433"/>
+ <location filename="mainwindow.cpp" line="470"/>
<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="435"/>
+ <location filename="mainwindow.cpp" line="472"/>
<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="435"/>
+ <location filename="mainwindow.cpp" line="472"/>
<source>Enter they keyword (no limit !)</source>
<translation>Entrez les mots clé (no limit !)</translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="437"/>
+ <location filename="mainwindow.cpp" line="474"/>
<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="437"/>
+ <location filename="mainwindow.cpp" line="474"/>
<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="262"/>
+ <location filename="mainwindow.cpp" line="297"/>
<source>&Download</source>
<translation>&Téléchargement</translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="263"/>
+ <location filename="mainwindow.cpp" line="298"/>
<source>A&dd</source>
<translation>Nouveau</translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="264"/>
+ <location filename="mainwindow.cpp" line="299"/>
<source>Sa&v</source>
<translation>Sauvegardez</translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="265"/>
+ <location filename="mainwindow.cpp" line="300"/>
<source>Reset</source>
<translation>Remise à zéro</translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="265"/>
+ <location filename="mainwindow.cpp" line="300"/>
<source>Ctrl+Z</source>
<comment>Buttons|Reset</comment>
<translation>Ctrl+Z</translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="266"/>
+ <location filename="mainwindow.cpp" line="301"/>
<source>&Edit</source>
<translation>Editez</translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="474"/>
+ <location filename="mainwindow.cpp" line="308"/>
+ <source>Download sql</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="mainwindow.cpp" line="511"/>
<source>chooseButtonDB</source>
<translation>chooseButtonDB</translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="474"/>
+ <location filename="mainwindow.cpp" line="511"/>
<source>Enter the keyword : </source>
<translation>Entrez le mot-clé : </translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="495"/>
+ <location filename="mainwindow.cpp" line="532"/>
<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="495"/>
+ <location filename="mainwindow.cpp" line="532"/>
<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="497"/>
+ <location filename="mainwindow.cpp" line="534"/>
<source>label</source>
<comment>Title of box where ask for button's label</comment>
<translation>étiquette</translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="497"/>
+ <location filename="mainwindow.cpp" line="534"/>
<source>new label</source>
<comment>question to get new button's label</comment>
<translation>nouvel étiquette</translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="499"/>
+ <location filename="mainwindow.cpp" line="536"/>
<source>action</source>
<comment>Title of box where ask for button's action</comment>
<translation>action</translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="499"/>
+ <location filename="mainwindow.cpp" line="536"/>
<source>new action</source>
<comment>question to get new button's action</comment>
<translation>nouvelle action</translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="543"/>
+ <location filename="mainwindow.cpp" line="580"/>
<source>RAWsent</source>
<comment>message title when data has been send</comment>
<translation>RAWsent</translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="543"/>
+ <location filename="mainwindow.cpp" line="580"/>
<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="626"/>
+ <location filename="mainwindow.cpp" line="662"/>
<source>Upload finish : </source>
<comment>pop-up when data has been sent</comment>
<translation>Upload finit : </translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="630"/>
+ <location filename="mainwindow.cpp" line="666"/>
<source>uploadDB</source>
<comment>pop-up title when data has been sent</comment>
<translation>uploadDB</translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="685"/>
+ <location filename="mainwindow.cpp" line="721"/>
<source>Uisent</source>
<comment>pop-up title when buttons has been sent</comment>
<translation>Envoyé</translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="685"/>
+ <location filename="mainwindow.cpp" line="721"/>
<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="691"/>
+ <location filename="mainwindow.cpp" line="727"/>
<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="691"/>
+ <location filename="mainwindow.cpp" line="727"/>
<source>getButtons</source>
<comment>title to ask keyword fot getbuttons</comment>
<translation>getBoutons</translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="752"/>
+ <location filename="mainwindow.cpp" line="784"/>
<source>writeFile</source>
<comment>pop-up title when file has been written</comment>
<translation>fichier</translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="752"/>
+ <location filename="mainwindow.cpp" line="784"/>
<source>File written : </source>
<translation>Fichier écrit : </translation>
</message>
+ <message>
+ <location filename="mainwindow.cpp" line="830"/>
+ <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="830"/>
+ <source>Enter URL</source>
+ <comment>Label of box where ask for button tmp's URL</comment>
+ <translation>Entrez l'URL</translation>
+ </message>
</context>
</TS>
else if(b[0]==QString("vid")){
addMedia(c);
}
- else if(b[0]==QString("history")){
+ else if(b[0]==QString("hist")){
flush();
- QString wi, del;
+ QString wi;
+ lastprint=QString("hist");
for(int i=0; i<way.size(); i++){
wi=way[i];
addWidget(QString(wi), new CLabel(QString(wi), conf->value(QString("button")).toString()));
- del="rm "+QString("%1").arg(i);
- addWidget(del, new CLabel(QString("del"), conf->value(QString("button")).toString()));
+ addWidget(QString("rm %1").arg(i), new CLabel(QString("del"), conf->value(QString("button")).toString()));
}
}
HelpMenu->addAction(trUtf8("getButtons"), this, SLOT(getButtons()));
HelpMenu->addAction(trUtf8("About Qt"), qApp, SLOT(aboutQt()), QKeySequence(tr("ctrl+H", "Help|About Qt")));
HelpMenu->addAction(trUtf8("C&reate Database"), this, SLOT(createDB()), QKeySequence(trUtf8("Ctrl+R", "Help|CreateDB")));
+ HelpMenu->addAction(trUtf8("Download sql"), this, SLOT(tmpdown()));
+
menuBar()->addMenu(HelpMenu);
}
void MainWindow::toggleMenu(){
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("userftp"), QVariant("<user>"));
+ conf->setValue(QString("hostftp"), QVariant("<host>"));
+ conf->setValue(QString("passftp"), QVariant("<pass>"));
conf->setValue(QString("start"), QVariant("begin"));
conf->setValue(QString("restore"), QVariant("http://www.abc.de/db"));
conf->setValue(QString("db"), QVariant("/data/data/eu.nothing2do.diarymobile/files/db"));
b<<q->value(1).toString()<<"\n";
}
a.close();
-
qDebug()<<"a.open()="<<a.open(QIODevice::ReadOnly | QIODevice::Text);
-
- QUrl upload(conf->value(QString("uploadRAW")).toString());
+ //QUrl upload(conf->value(QString("uploadRAW")).toString());
+ QUrl upload(QString("ftp://")+conf->value(QString("userftp")).toString()+QString(":")+conf->value(QString("passftp")).toString()+QString("@")+conf->value(QString("hostftp")).toString()+QString("/")+conf->value(QString("file")).toString());
net=new QNetworkAccessManager(this);
//a.open(QIODevice::ReadOnly | QIODevice::Text);
rep=net->put(QNetworkRequest(upload), a.readAll());
b<<q->value(2).toString()<<"\n";
}
a.close();
- QUrl upload(conf->value(QString("uploadUi")).toString());
+ //QUrl upload(conf->value(QString("uploadUi")).toString());
+ QUrl upload(QString("ftp://")+conf->value(QString("userftp")).toString()+QString(":")+conf->value(QString("passftp")).toString()+QString("@")+conf->value(QString("hostftp")).toString()+QString("/")+conf->value(QString("buttonfile")).toString());
net=new QNetworkAccessManager(this);
a.open(QIODevice::ReadOnly | QIODevice::Text);
rep=net->put(QNetworkRequest(upload), a.readAll());
conf->setValue(QString("maxline"), a);
orientation=isLandscape;
flush();
- getButtons(lastprint);
+ action(lastprint);
}
}
+void MainWindow::tmpdown(){
+ bool ok;
+ QString url=QInputDialog::getText(this, trUtf8("tmp URL", "Title of box where ask for button tmp's URL"), trUtf8("Enter URL", "Label of box where ask for button tmp's URL"), QLineEdit::Normal, QString(""), &ok), tmp="tmp";
+ download(url);
+
+ connect(m, SIGNAL(downloaded()), this, SLOT(readData()));
+}
+void MainWindow::readData(){
+ readData(m->downloadedData());
+ m->disconnect(m, SIGNAL(downloaded()),this, SLOT(readData()));
+}
const CLabel* addWidget(const QString &, const CLabel *);
void resizeEvent(QResizeEvent *);
private slots:
+ void tmpdown();
+ void readData();
void play();
void datasent();
void back();