Commit cbe88748 authored by Ingo Klöcker's avatar Ingo Klöcker
Browse files

Use display name of application for the system tray menu entries

This change also replaces the hardcoded "Kleopatra" in the
"Shutdown [...]" menu entry with the application name.

GnuPG-bug-id: 5833
parent 1a326e18
......@@ -129,9 +129,12 @@ SysTrayIcon::Private::Private(SysTrayIcon *qq)
: q(qq),
menu(),
openCertificateManagerAction(i18n("&Open Certificate Manager..."), q),
configureAction(QIcon::fromTheme(QStringLiteral("configure")), i18n("&Configure %1...", KAboutData::applicationData().componentName()), q),
aboutAction(QIcon::fromTheme(QStringLiteral("kleopatra")), i18n("&About %1...", KAboutData::applicationData().componentName()), q),
quitAction(QIcon::fromTheme(QStringLiteral("application-exit")),i18n("&Shutdown Kleopatra"), q),
configureAction(QIcon::fromTheme(QStringLiteral("configure")),
xi18nc("@action:inmenu", "&Configure <application>%1</application>...", KAboutData::applicationData().displayName()), q),
aboutAction(QIcon::fromTheme(QStringLiteral("kleopatra")),
xi18nc("@action:inmenu", "&About <application>%1</application>...", KAboutData::applicationData().displayName()), q),
quitAction(QIcon::fromTheme(QStringLiteral("application-exit")),
xi18nc("@action:inmenu", "&Shutdown <application>%1</application>", KAboutData::applicationData().displayName()), q),
clipboardMenu(q),
cardMenu(i18n("SmartCard")),
updateCardStatusAction(i18n("Update Card Status"), q),
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment