Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
PIM
Akonadi Calendar Tools
Commits
7b2f1afc
Commit
7b2f1afc
authored
Nov 14, 2021
by
Laurent Montel
😁
Browse files
Not neccessary to use I18N_NOOP here
parent
b5d74562
Pipeline
#97605
passed with stage
in 5 minutes and 9 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
calendarjanitor/main.cpp
View file @
7b2f1afc
...
...
@@ -27,12 +27,6 @@
#include <unistd.h>
#endif
static
const
QString
progName
=
QStringLiteral
(
"calendarjanitor"
);
static
const
char
progDisplay
[]
=
I18N_NOOP
(
"CalendarJanitor"
);
static
const
QString
progVersion
=
QStringLiteral
(
KDEPIM_VERSION
);
static
const
char
progDesc
[]
=
I18N_NOOP
(
"A command line interface to report and fix errors in your calendar data"
);
#ifndef COMPILE_WITH_UNITY_CMAKE_SUPPORT
static
void
printOut
(
const
QString
&
message
)
{
...
...
@@ -64,10 +58,10 @@ static void silenceStderr()
int
main
(
int
argv
,
char
*
argc
[])
{
KLocalizedString
::
setApplicationDomain
(
"calendarjanitor"
);
KAboutData
aboutData
(
progName
,
i18n
(
progDisplay
),
progVersion
);
KAboutData
aboutData
(
QStringLiteral
(
"calendarjanitor"
),
i18n
(
"CalendarJanitor"
),
QStringLiteral
(
KDEPIM_VERSION
)
);
aboutData
.
setLicense
(
KAboutLicense
::
GPL_V2
,
KAboutLicense
::
OrLaterVersions
);
aboutData
.
addAuthor
(
i18n
(
"Sérgio Martins"
),
i18n
(
"Maintainer"
),
QStringLiteral
(
"iamsergiogmail.com"
));
aboutData
.
setShortDescription
(
i18n
(
progDesc
));
aboutData
.
setShortDescription
(
i18n
(
"A command line interface to report and fix errors in your calendar data"
));
QCoreApplication
app
(
argv
,
argc
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment