From b8dd193cbeb5602710ea3c0df53d24ec1d70b373 Mon Sep 17 00:00:00 2001 From: Michael Starke Date: Wed, 11 Jul 2018 10:12:21 +0200 Subject: [PATCH] Fixed missing window title for Autotype match notification --- MacPass/MPAutotypeDaemon.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MacPass/MPAutotypeDaemon.m b/MacPass/MPAutotypeDaemon.m index 48afa1fb..a82545bb 100644 --- a/MacPass/MPAutotypeDaemon.m +++ b/MacPass/MPAutotypeDaemon.m @@ -195,7 +195,7 @@ static MPAutotypeDaemon *_sharedInstance; NSUserNotification *notification = [[NSUserNotification alloc] init]; notification.title = NSApp.applicationName; if(context) { - notification.informativeText = NSLocalizedString(@"AUTOTYPE_OVERLAY_SINGLE_MATCH_FOR_%@", "Notification: Autotype found a single match for %@ (string placeholder)."); + notification.informativeText = [NSString stringWithFormat:NSLocalizedString(@"AUTOTYPE_OVERLAY_SINGLE_MATCH_FOR_%@", "Notification: Autotype found a single match for %@ (string placeholder)."), self.targetWindowTitle]; } else { notification.informativeText = [NSString stringWithFormat:NSLocalizedString(@"AUTOTYPE_OVERLAY_NO_MATCH_FOR_%@", "Noticiation: Autotype failed to find a match for %@ (string placeholder)"), self.targetWindowTitle];