aboutsummaryrefslogtreecommitdiffstats
path: root/src/cmd.cpp
diff options
context:
space:
mode:
authorsaturneric <[email protected]>2024-01-23 10:14:21 +0000
committersaturneric <[email protected]>2024-01-23 10:14:21 +0000
commit3ec6373fc40ca5120e0417ffb41a6341272fd952 (patch)
tree74e6b9722e6a9217a90715c9fd6d564cf82596c1 /src/cmd.cpp
parentfix: main windows is too small (diff)
downloadGpgFrontend-3ec6373fc40ca5120e0417ffb41a6341272fd952.tar.gz
GpgFrontend-3ec6373fc40ca5120e0417ffb41a6341272fd952.zip
fix: solve issues at i18n support
Diffstat (limited to 'src/cmd.cpp')
-rw-r--r--src/cmd.cpp9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/cmd.cpp b/src/cmd.cpp
index f060a16b..cef0a984 100644
--- a/src/cmd.cpp
+++ b/src/cmd.cpp
@@ -46,14 +46,15 @@ auto PrintVersion() -> int {
<< "v" << VERSION_MAJOR << "." << VERSION_MINOR << "." << VERSION_PATCH
<< '\n';
stream << "Copyright (©) 2021 Saturneric <[email protected]>" << '\n'
- << QObject::tr(
+ << QCoreApplication::tr(
"This is free software; see the source for copying conditions.")
<< '\n'
<< '\n';
- stream << QObject::tr("Build DateTime: ") << BUILD_TIMESTAMP << '\n'
- << QObject::tr("Build Version: ") << BUILD_VERSION << '\n'
- << QObject::tr("Source Code Version: ") << GIT_VERSION << '\n';
+ stream << QCoreApplication::tr("Build DateTime: ") << BUILD_TIMESTAMP << '\n'
+ << QCoreApplication::tr("Build Version: ") << BUILD_VERSION << '\n'
+ << QCoreApplication::tr("Source Code Version: ") << GIT_VERSION
+ << '\n';
stream << Qt::endl;
return 0;