diff options
author | Mavridis Philippe <mavridisf@gmail.com> | 2021-01-14 18:44:41 +0200 |
---|---|---|
committer | Mavridis Philippe <mavridisf@gmail.com> | 2021-01-14 18:44:41 +0200 |
commit | aac398599f21a276f15475c0dc33e6b204bfa08a (patch) | |
tree | 3b78f0ce151c2b9bffec742eb2c25662a86090e3 /src/main.cpp | |
parent | 831757bf1013fbd4db10c6c33ec611079e058be3 (diff) | |
download | klamav-aac398599f21a276f15475c0dc33e6b204bfa08a.tar.gz klamav-aac398599f21a276f15475c0dc33e6b204bfa08a.zip |
Replaced About tab with Welcome tab.
The needed data is already provided through TDEAboutData, while
translation credits are redundant since the old i18n files have
been deleted.
Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
Diffstat (limited to 'src/main.cpp')
-rw-r--r-- | src/main.cpp | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/src/main.cpp b/src/main.cpp index f7f0191..e4c0acd 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -24,9 +24,18 @@ static TDECmdLineOptions options[] = int main(int argc, char **argv) { - TDEAboutData about("klamav", I18N_NOOP(""), version, description, - TDEAboutData::License_GPL, "(C) 2004 Robert Hogan", 0, 0, "robert at roberthogan dot net"); - about.addAuthor( "Robert Hogan", 0, "robert at roberthogan dot net" ); + TDEAboutData about( + "klamav", "KlamAV", KLAMAV_VERSION, + I18N_NOOP( "KlamAV - Virus Protection for TDE" ), + TDEAboutData::License_GPL_V2, + "Copyright (c) 2020, The Trinity Desktop project\nCopyright (c) 2004-2006, Robert Hogan", + "KlamAV is a front-end for ClamAV." + ); + + about.addAuthor( "Robert Hogan", 0, "robert@roberthogan.net", "Original Author" ); + + about.setTranslator(I18N_NOOP2("NAME OF TRANSLATORS","Your names"), I18N_NOOP2("EMAIL OF TRANSLATORS","Your emails")); + TDECmdLineArgs::init(argc, argv, &about); TDECmdLineArgs::addCmdLineOptions(options); KUniqueApplication app; |