@@ -377,6 +377,8 @@ private slots:
377377 inline static const QString & asciiArt ();
378378 inline static QString asciiArtWithVersion ();
379379 inline static QString desc ();
380+ inline static QString descHTML ();
381+
380382
381383 inline static QString quickJobName ();
382384 inline static QString folderMonitoringName ();
@@ -520,6 +522,22 @@ void NgPost::_enableAutoCompress()
520522
521523
522524QString NgPost::desc ()
525+ {
526+ return QString (" %1 %2\n %3\n\n %4\n - %5\n - %6\n - %7\n - %8\n - %9\n - %10\n - %11\n %12\n " ).arg (sAppName ).arg (
527+ tr (" is a CMD/GUI Usenet binary poster developped in C++11/Qt5:" )).arg (
528+ tr (" It is designed to be as fast as possible and offer all the main features to post data easily and safely." )).arg (
529+ tr (" Here are the main features and advantages of ngPost:" )).arg (
530+ tr (" compress (using your external rar binary) and generate the par2 before posting!" )).arg (
531+ tr (" scan folder(s) and post each file/folder individually after having them compressed" )).arg (
532+ tr (" monitor folder(s) to post each new file/folder individually after having them compressed" )).arg (
533+ tr (" auto delete files/folders once posted (only in command line with --auto or --monitor)" )).arg (
534+ tr (" generate the nzb" )).arg (
535+ tr (" invisible mode: full article obfuscation, unique feature making all Articles completely unrecognizable without the nzb" )).arg (
536+ " ..." ).arg (
537+ tr (" for more details, cf https://github.com/mbruel/ngPost" ));
538+ }
539+
540+ QString NgPost::descHTML ()
523541{
524542 return QString (" %1 %2<br/>%3<br/><br/>%4<ul><li>%5</li><li>%6</li><li>%7</li><li>%8</li><li>%9</li><li>%10</li><li>%11</li></ul>%12<br/><br/>" ).arg (sAppName ).arg (
525543 tr (" is a CMD/GUI Usenet binary poster developped in C++11/Qt5:" )).arg (
@@ -533,6 +551,7 @@ QString NgPost::desc()
533551 tr (" invisible mode: full article obfuscation, unique feature making all Articles completely unrecognizable without the nzb" )).arg (
534552 " ..." ).arg (
535553 tr (" for more details, cf <a href=\" https://github.com/mbruel/ngPost/\" >https://github.com/mbruel/ngPost</a>" ));
554+
536555}
537556
538557#endif // NGPOST_H
0 commit comments