Changed localization for Autotype matches

This commit is contained in:
Michael Starke
2018-06-29 11:02:44 +02:00
parent 10009c990e
commit 86c1cb8dd4

View File

@@ -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", "Notification: Autotype found a single match.");
notification.informativeText = NSLocalizedString(@"AUTOTYPE_OVERLAY_SINGLE_MATCH_FOR_%@", "Notification: Autotype found a single match for %@ (string placeholder).");
}
else {
notification.informativeText = [NSString stringWithFormat:NSLocalizedString(@"AUTOTYPE_OVERLAY_NO_MATCH_FOR_%@", "Noticiation: Autotype failed to find a match for %@ (string placeholder)"), self.targetWindowTitle];