Skip to content

Commit

Permalink
Uploaded v2.3.2
Browse files Browse the repository at this point in the history
  • Loading branch information
NyanMaths authored May 17, 2020
1 parent 7f9de01 commit 97a588c
Show file tree
Hide file tree
Showing 3 changed files with 64 additions and 76 deletions.
29 changes: 14 additions & 15 deletions Sources/MEncryptor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,9 @@ void MEncryptor::loadOptions ()
sortingSelecter->setCurrentText (QString::fromStdString (options.at (5)));


connect (languageSelecter, SIGNAL (currentIndexChanged (int)), this, SLOT (languageModified (int)));
connect (languageSelecter, SIGNAL (currentIndexChanged (int)), this, SLOT (languageModified ()));

connect (sortingSelecter, SIGNAL (currentIndexChanged (int)), this, SLOT (analyzeText ()));
}


Expand Down Expand Up @@ -237,8 +239,6 @@ void MEncryptor::initAnalyzer ()
sortingSelecter->addItem (tr("Frequency (croissant)"));
sortingSelecter->addItem (tr("Frequency (decroissant)"));
analyzerOutputBoxLayout->addWidget (sortingSelecter, 1, 1);

connect (sortingSelecter, SIGNAL (currentTextChanged ()), this, SLOT (analyzeText ()));
}


Expand Down Expand Up @@ -279,8 +279,6 @@ void MEncryptor::analyzeText ()

displayAnalysisReport (input, dict);
}
else
QMessageBox::warning (this, tr("Oooooooops..."), tr("You should enter something before analysis !"));
}

void MEncryptor::clearContents ()
Expand Down Expand Up @@ -353,15 +351,16 @@ void MEncryptor::initOthers ()
othersTabLayout = new QVBoxLayout (othersTab);


aboutMRecorderLabel = new QLabel (tr("This opensource software was developed by NY4N_M4THS (MemeTech INC)<br/>"
"under <a href = 'https://gnu.org/licenses/lgpl-3.0.en.html'>license LGPLv3</a> with the framework Qt in C++ language.<br/>"
"Follow <a href = 'https://qt.io'>this link</a> to learn more about Qt.<br/>"
"You can also visit <a href = 'https://memetech-inc.weebly.com'>our website</a> to check for updates,<br/>"
"try other of our applications or ask for new features !<br/>"
"Click <a href = 'https://github.com/NyanMaths/MEncryptor'>here</a> to visit the GitHub page of the project.<br/><br/>"));
QFile errorsStream (QString ("Error Codes ") + QString::fromStdString (options.at (0)) + ".pastouche");
if (errorsStream.open (QFile::ReadOnly))
aboutMRecorderLabel->setText (aboutMRecorderLabel->text () + errorsStream.readAll ());
aboutMRecorderLabel = new QLabel (
tr("This opensource software was developed by NY4N_M4THS (MemeTech INC)<br/>"
"under <a href = 'https://gnu.org/licenses/lgpl-3.0.en.html'>license LGPLv3</a> with the framework Qt in C++ language.<br/>"
"Follow <a href = 'https://qt.io'>this link</a> to learn more about Qt.<br/>"
"You can also visit <a href = 'https://memetech-inc.weebly.com'>our website</a> to check for updates,<br/>"
"try other of our applications or <a href = 'https://github.com/NyanMaths/MEncryptor/issues'>ask for new features</a> !<br/>"
"Click <a href = 'https://github.com/NyanMaths/MEncryptor'>here</a> to visit the GitHub page of the project.<br/><br/>"
"<b>Error codes :</b><br/>"
"&nbsp;&nbsp;#1&nbsp;&nbsp;Any files are missing in the app directory, reinstall it should fix the problem.<br/>"
"&nbsp;&nbsp;#2&nbsp;&nbsp;The message that you try to encrypt/decrypt is corrupted (Forbidden symbols, etc...).<br/>"));

aboutMRecorderLabel->setOpenExternalLinks (true);
aboutMRecorderLabel->setTextInteractionFlags(Qt::TextBrowserInteraction);
Expand All @@ -382,7 +381,7 @@ void MEncryptor::initOthers ()
////////////// Slots


void MEncryptor::languageModified (int)
void MEncryptor::languageModified ()
{
QMessageBox::Button clickedButton = QMessageBox::question (this, tr("Language changed"), tr("Do you want to restart the app now ?"));

Expand Down
2 changes: 1 addition & 1 deletion Sources/MEncryptor.h
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ class MEncryptor : public QTabWidget
void analyzeText ();
void clearContents ();

void languageModified (int);
void languageModified ();


private:
Expand Down
109 changes: 49 additions & 60 deletions Sources/mencryptor_fr.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,212 +4,201 @@
<context>
<name>MEncryptor</name>
<message>
<location filename="MEncryptor.cpp" line="124"/>
<location filename="MEncryptor.cpp" line="178"/>
<location filename="MEncryptor.cpp" line="186"/>
<location filename="MEncryptor.cpp" line="126"/>
<location filename="MEncryptor.cpp" line="180"/>
<location filename="MEncryptor.cpp" line="188"/>
<source>Encrypt</source>
<translation>Crypter</translation>
</message>
<message>
<location filename="MEncryptor.cpp" line="181"/>
<location filename="MEncryptor.cpp" line="418"/>
<location filename="MEncryptor.cpp" line="183"/>
<location filename="MEncryptor.cpp" line="417"/>
<source>Decrypt</source>
<translation>Décrypter</translation>
</message>
<message>
<location filename="MEncryptor.cpp" line="103"/>
<location filename="MEncryptor.cpp" line="105"/>
<source>Encrypt / Decrypt messages</source>
<translation>Chiffrer / Déchiffrer</translation>
</message>
<message>
<location filename="MEncryptor.cpp" line="122"/>
<location filename="MEncryptor.cpp" line="124"/>
<source>Choose what to do :</source>
<translation>Que faire ?</translation>
</message>
<message>
<location filename="MEncryptor.cpp" line="160"/>
<location filename="MEncryptor.cpp" line="162"/>
<source>Please select protocol :</source>
<translation>Séléctionnez un protocole :</translation>
</message>
<message>
<location filename="MEncryptor.cpp" line="138"/>
<location filename="MEncryptor.cpp" line="140"/>
<source>Output</source>
<translation>Sortie</translation>
</message>
<message>
<location filename="MEncryptor.cpp" line="55"/>
<location filename="MEncryptor.cpp" line="238"/>
<location filename="MEncryptor.cpp" line="240"/>
<source>Frequency (decroissant)</source>
<oldsource>Frequency (decoissant)</oldsource>
<translation>Fréquence (décroissant)</translation>
</message>
<message>
<location filename="MEncryptor.cpp" line="141"/>
<location filename="MEncryptor.cpp" line="143"/>
<source>Translate now !</source>
<translation>Traduire !</translation>
</message>
<message>
<location filename="MEncryptor.cpp" line="144"/>
<location filename="MEncryptor.cpp" line="146"/>
<source>Save translated message as...</source>
<translation>Sauvegarder la traduction</translation>
</message>
<message>
<location filename="MEncryptor.cpp" line="197"/>
<location filename="MEncryptor.cpp" line="199"/>
<source>Frequency analyzer</source>
<translation>Analyse fréquentielle</translation>
</message>
<message>
<location filename="MEncryptor.cpp" line="200"/>
<location filename="MEncryptor.cpp" line="202"/>
<source>Message</source>
<translation>Message</translation>
</message>
<message>
<location filename="MEncryptor.cpp" line="209"/>
<location filename="MEncryptor.cpp" line="211"/>
<source>Also analyze symbols</source>
<translation>Aussi analyser les symboles</translation>
</message>
<message>
<location filename="MEncryptor.cpp" line="212"/>
<location filename="MEncryptor.cpp" line="214"/>
<source>Case sensitive</source>
<translation>Sensible à la casse</translation>
</message>
<message>
<location filename="MEncryptor.cpp" line="215"/>
<location filename="MEncryptor.cpp" line="217"/>
<source>Analyze</source>
<translation>Analyser</translation>
</message>
<message>
<location filename="MEncryptor.cpp" line="219"/>
<location filename="MEncryptor.cpp" line="221"/>
<source>Clear</source>
<translation>Nettoyer</translation>
</message>
<message>
<location filename="MEncryptor.cpp" line="352"/>
<location filename="MEncryptor.cpp" line="350"/>
<source>Help and settings</source>
<oldsource>About and settings</oldsource>
<translation>Aide et paramètres</translation>
</message>
<message>
<location filename="MEncryptor.cpp" line="387"/>
<location filename="MEncryptor.cpp" line="355"/>
<source>This opensource software was developed by NY4N_M4THS (MemeTech INC)&lt;br/&gt;under &lt;a href = &apos;https://gnu.org/licenses/lgpl-3.0.en.html&apos;&gt;license LGPLv3&lt;/a&gt; with the framework Qt in C++ language.&lt;br/&gt;Follow &lt;a href = &apos;https://qt.io&apos;&gt;this link&lt;/a&gt; to learn more about Qt.&lt;br/&gt;You can also visit &lt;a href = &apos;https://memetech-inc.weebly.com&apos;&gt;our website&lt;/a&gt; to check for updates,&lt;br/&gt;try other of our applications or &lt;a href = &apos;https://github.com/NyanMaths/MEncryptor/issues&apos;&gt;ask for new features&lt;/a&gt; !&lt;br/&gt;Click &lt;a href = &apos;https://github.com/NyanMaths/MEncryptor&apos;&gt;here&lt;/a&gt; to visit the GitHub page of the project.&lt;br/&gt;&lt;br/&gt;&lt;b&gt;Error codes :&lt;/b&gt;&lt;br/&gt;&amp;nbsp;&amp;nbsp;#1&amp;nbsp;&amp;nbsp;Any files are missing in the app directory, reinstall it should fix the problem.&lt;br/&gt;&amp;nbsp;&amp;nbsp;#2&amp;nbsp;&amp;nbsp;The message that you try to encrypt/decrypt is corrupted (Forbidden symbols, etc...).&lt;br/&gt;</source>
<translation>Ce logiciel opensource a été créé par NY4N_M4THS (MemeTech INC)&lt;br/&gt;sous &lt;a href = &apos;https://gnu.org/licenses/lgpl-3.0.en.html&apos;&gt;license LGPLv3&lt;/a&gt; à l&apos;aide de Qt en langage C++.&lt;br/&gt;Suivez &lt;a href = &apos;https://qt.io&apos;&gt;ce lien&lt;/a&gt; pour en savoir plus sur Qt.&lt;br/&gt;Vous pouvez également visiter &lt;a href = &apos;https://memetech-inc-fr.weebly.com&apos;&gt;notre site web&lt;/a&gt; pour télécharger les dernières mises à jour,&lt;br/&gt;découvrir d&apos;autres applications de MemeTech, ou encore &lt;a href = &apos;https://github.com/NyanMaths/MEncryptor/issues&apos;&gt;demander de nouvelles fonctionalités pour MEncryptor&lt;/a&gt; !&lt;br/&gt;Cliquez sur &lt;a href = &apos;https://github.com/NyanMaths/MEncryptor&apos;&gt;ce lien&lt;/a&gt; pour visiter la page GitHub du projet.&lt;br/&gt;&lt;br/&gt;&lt;b&gt;Codes d&apos;erreur :&lt;/b&gt;&lt;br/&gt;&amp;nbsp;&amp;nbsp;#1&amp;nbsp;&amp;nbsp;Il manque des fichiers importants, réinstaller l&apos;application résoudra le problème.&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;#2&amp;nbsp;&amp;nbsp;Le message à crypter/décrypter est corrompu (Symboles interdits, etc...).&lt;br/&gt;</translation>
</message>
<message>
<location filename="MEncryptor.cpp" line="386"/>
<source>Language changed</source>
<translation>Langue de l&apos;interface changée</translation>
</message>
<message>
<location filename="MEncryptor.cpp" line="387"/>
<location filename="MEncryptor.cpp" line="386"/>
<source>Do you want to restart the app now ?</source>
<translation>Voulez-vous redémarrer l&apos;application maintenant ?</translation>
</message>
<message>
<location filename="MEncryptor.cpp" line="432"/>
<location filename="MEncryptor.cpp" line="431"/>
<source>
Check in &quot;Help and settings&quot; tab to fix it !</source>
<translation>
Consultez l&apos;onglet &quot;Aide et paramètres&quot; pour réparer le problème !</translation>
</message>
<message>
<location filename="MEncryptor.cpp" line="637"/>
<location filename="MEncryptor.cpp" line="636"/>
<source>Shift cipher</source>
<translation>Chiffrement par décalage</translation>
</message>
<message>
<location filename="MEncryptor.cpp" line="637"/>
<location filename="MEncryptor.cpp" line="670"/>
<location filename="MEncryptor.cpp" line="636"/>
<location filename="MEncryptor.cpp" line="669"/>
<source>Please input the shift :</source>
<translation>Veuillez entrer le décalage :</translation>
</message>
<message>
<location filename="MEncryptor.cpp" line="670"/>
<location filename="MEncryptor.cpp" line="669"/>
<source>Shift decipher</source>
<translation>Déchiffrement par décalage</translation>
</message>
<message>
<location filename="MEncryptor.cpp" line="490"/>
<location filename="MEncryptor.cpp" line="489"/>
<source>Save translated file as...</source>
<translation>Sauvegarder le fichier traduit sous...</translation>
</message>
<message>
<location filename="MEncryptor.cpp" line="490"/>
<location filename="MEncryptor.cpp" line="489"/>
<source>Untitled.txt</source>
<translation>Sans titre.txt</translation>
</message>
<message>
<location filename="MEncryptor.cpp" line="497"/>
<location filename="MEncryptor.cpp" line="496"/>
<source>Operation successful, Houston !</source>
<translation>Opération réussie, Houston !</translation>
</message>
<message>
<location filename="MEncryptor.cpp" line="432"/>
<location filename="MEncryptor.cpp" line="431"/>
<source>Runtime error</source>
<translation>Erreur d&apos;éxécution</translation>
</message>
<message>
<location filename="MEncryptor.cpp" line="224"/>
<location filename="MEncryptor.cpp" line="226"/>
<source>Analysis report</source>
<translation>Rapport d&apos;analyse</translation>
</message>
<message>
<location filename="MEncryptor.cpp" line="232"/>
<location filename="MEncryptor.cpp" line="234"/>
<source>Sort by :</source>
<translation>Trier par :</translation>
</message>
<message>
<location filename="MEncryptor.cpp" line="236"/>
<location filename="MEncryptor.cpp" line="303"/>
<location filename="MEncryptor.cpp" line="238"/>
<location filename="MEncryptor.cpp" line="301"/>
<source>Alphabetical order</source>
<translation>Ordre alphabétique</translation>
</message>
<message>
<location filename="MEncryptor.cpp" line="237"/>
<location filename="MEncryptor.cpp" line="310"/>
<location filename="MEncryptor.cpp" line="325"/>
<location filename="MEncryptor.cpp" line="239"/>
<location filename="MEncryptor.cpp" line="308"/>
<location filename="MEncryptor.cpp" line="323"/>
<source>Frequency (croissant)</source>
<translation>Fréquence (croissant)</translation>
</message>
<message>
<location filename="MEncryptor.cpp" line="283"/>
<source>Oooooooops...</source>
<translation>Minute papillon !</translation>
</message>
<message>
<location filename="MEncryptor.cpp" line="283"/>
<source>You should enter something before analysis !</source>
<translation>Vous devez entrer quelque chose&lt;br&gt;avant de lancer l&apos;analyse !</translation>
</message>
<message>
<location filename="MEncryptor.cpp" line="306"/>
<location filename="MEncryptor.cpp" line="320"/>
<location filename="MEncryptor.cpp" line="304"/>
<location filename="MEncryptor.cpp" line="318"/>
<source> occurrence(s) of character </source>
<oldsource>%n occurrence(s) of character </oldsource>
<translation> occurence(s) du caractère </translation>
</message>
<message>
<location filename="MEncryptor.cpp" line="356"/>
<source>This opensource software was developed by NY4N_M4THS (MemeTech INC)&lt;br/&gt;under &lt;a href = &apos;https://gnu.org/licenses/lgpl-3.0.en.html&apos;&gt;license LGPLv3&lt;/a&gt; with the framework Qt in C++ language.&lt;br/&gt;Follow &lt;a href = &apos;https://qt.io&apos;&gt;this link&lt;/a&gt; to learn more about Qt.&lt;br/&gt;You can also visit &lt;a href = &apos;https://memetech-inc.weebly.com&apos;&gt;our website&lt;/a&gt; to check for updates,&lt;br/&gt;try other of our applications or ask for new features !&lt;br/&gt;Click &lt;a href = &apos;https://github.com/NyanMaths/MEncryptor&apos;&gt;here&lt;/a&gt; to visit the GitHub page of the project.&lt;br/&gt;&lt;br/&gt;</source>
<oldsource>This opensource software was developed by NY4N_M4THS (MemeTech INC)&lt;br/&gt;under &lt;a href = &apos;https://gnu.org/licenses/lgpl-3.0.en.html&apos;&gt;liscence LGPLv3&lt;/a&gt; with the framework Qt in C++ language.&lt;br/&gt;Follow &lt;a href = &apos;https://qt.io&apos;&gt;this link&lt;/a&gt; to learn more about Qt.&lt;br/&gt;You can also visit &lt;a href = &apos;https://memetech-inc.weebly.com&apos;&gt;our website&lt;/a&gt; to check for updates,&lt;br/&gt;try other of our applications or ask for new features !&lt;br/&gt;Click &lt;a href = &apos;https://github.com/NyanMaths/MEncryptor&apos;&gt;here&lt;/a&gt; to visit the GitHub page of the project.&lt;br/&gt;&lt;br/&gt;</oldsource>
<translation>Ce logiciel opensource a été créé par NY4N_M4THS (MemeTech INC)&lt;br/&gt;sous &lt;a href = &apos;https://gnu.org/licenses/lgpl-3.0.en.html&apos;&gt;license LGPLv3&lt;/a&gt; à l&apos;aide de Qt en langage C++.&lt;br/&gt;Suivez &lt;a href = &apos;https://qt.io&apos;&gt;ce lien&lt;/a&gt; pour en savoir plus sur Qt.&lt;br/&gt;Vous pouvez également visiter &lt;a href = &apos;https://memetech-inc-fr.weebly.com&apos;&gt;notre site web&lt;/a&gt; pour télécharger les dernières mises à jour,&lt;br/&gt;découvrir d&apos;autres applications de MemeTech, ou encore demander de nouvelles fonctionalités pour MEncryptor !&lt;br/&gt;Cliquez sur &lt;a href = &apos;https://github.com/NyanMaths/MEncryptor&apos;&gt;ce lien&lt;/a&gt; pour visiter la page GitHub du projet.&lt;br/&gt;&lt;br/&gt;</translation>
</message>
<message>
<location filename="MEncryptor.cpp" line="432"/>
<location filename="MEncryptor.cpp" line="431"/>
<source>Error #</source>
<translation>Erreur #</translation>
</message>
<message>
<location filename="MEncryptor.cpp" line="435"/>
<location filename="MEncryptor.cpp" line="434"/>
<source>You should enter something in the text area to translate !</source>
<translation>Vous devez entrer quelque chose dans la zone de texte !</translation>
</message>
<message>
<location filename="MEncryptor.cpp" line="435"/>
<location filename="MEncryptor.cpp" line="434"/>
<source>Little problem...</source>
<translation>Petit souci...</translation>
</message>
<message>
<location filename="MEncryptor.cpp" line="497"/>
<location filename="MEncryptor.cpp" line="496"/>
<source>File </source>
<translation>Le fichier </translation>
</message>
<message>
<location filename="MEncryptor.cpp" line="497"/>
<location filename="MEncryptor.cpp" line="496"/>
<source> saved !</source>
<translation> a été sauvegardé !</translation>
</message>
Expand Down

0 comments on commit 97a588c

Please sign in to comment.