diff --git a/MacPass/Base.lproj/MainMenu.xib b/MacPass/Base.lproj/MainMenu.xib index 7d032e7b..4aa05e8f 100644 --- a/MacPass/Base.lproj/MainMenu.xib +++ b/MacPass/Base.lproj/MainMenu.xib @@ -1,8 +1,8 @@ - + - + @@ -144,6 +144,12 @@ + + + + + + diff --git a/MacPass/MPDocument.m b/MacPass/MPDocument.m index 24934f05..8b23da17 100644 --- a/MacPass/MPDocument.m +++ b/MacPass/MPDocument.m @@ -143,6 +143,7 @@ NSString *const MPDocumentGroupKey = @"MPDocumentGroupKey } - (void)saveDocumentAs:(id)sender { + /* take a look at NSEditor Protocoll commitEding, as NSDocument supports that */ [[NSNotificationCenter defaultCenter] postNotificationName:MPDocumentWillSaveNotification object:self]; [super saveDocumentAs:sender]; } @@ -152,6 +153,11 @@ NSString *const MPDocumentGroupKey = @"MPDocumentGroupKey [super saveDocument:sender]; } +- (void)saveDocumentTo:(id)sender { + [[NSNotificationCenter defaultCenter] postNotificationName:MPDocumentWillSaveNotification object:self]; + [super saveDocumentTo:sender]; +} + - (void)windowControllerDidLoadNib:(NSWindowController *)aController { [super windowControllerDidLoadNib:aController]; diff --git a/MacPass/de.lproj/MainMenu.strings b/MacPass/de.lproj/MainMenu.strings index 86f63d82..d75f24ef 100644 --- a/MacPass/de.lproj/MainMenu.strings +++ b/MacPass/de.lproj/MainMenu.strings @@ -132,10 +132,10 @@ "1181.title" = "Inspector ein/ausblenden"; /* Class = "NSMenuItem"; title = "Show Password Creator"; ObjectID = "1200"; */ -"1200.title" = "Passwortwerkzeug anzeigen"; +"1200.title" = "Passwortgenerator anzeigen"; /* Class = "NSMenuItem"; title = "Change Master Password…"; ObjectID = "1203"; */ -"1203.title" = "Hauptpassword ändern …"; +"1203.title" = "Datenbankpassword ändern …"; /* Class = "NSMenuItem"; title = "Database Settings…"; ObjectID = "1231"; */ "1231.title" = "Datenbankeinstellungen …"; diff --git a/MacPass/en.lproj/MainMenu.strings b/MacPass/en.lproj/MainMenu.strings index 850adee4..c61e7cb4 100644 --- a/MacPass/en.lproj/MainMenu.strings +++ b/MacPass/en.lproj/MainMenu.strings @@ -132,7 +132,7 @@ "1181.title" = "Toggle Inspector"; /* Class = "NSMenuItem"; title = "Show Password Creator"; ObjectID = "1200"; */ -"1200.title" = "Show Password Creator"; +"1200.title" = "Show Password Generator"; /* Class = "NSMenuItem"; title = "Change Master Password…"; ObjectID = "1203"; */ "1203.title" = "Change Master Password…";