Undo improvements.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20559 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
gcasa 2005-01-15 11:11:49 +00:00
parent d8e7174773
commit 0569bc7afb
2 changed files with 8 additions and 4 deletions

View file

@ -1,3 +1,7 @@
2005-01-15 06:13 Gregory John Casamento <greg_casamento@yahoo.com>
* Source/NSUndoManager.m: Localized undo/redo menu title.
2005-01-14 06:50 Gregory John Casamento <greg_casamento@yahoo.com> 2005-01-14 06:50 Gregory John Casamento <greg_casamento@yahoo.com>
* Source/NSUndoManager.m: Correction for redo. * Source/NSUndoManager.m: Correction for redo.

View file

@ -656,11 +656,11 @@
{ {
if ([actionName isEqual: @""]) if ([actionName isEqual: @""])
{ {
return @"Redo"; return _(@"Redo");
} }
else else
{ {
return [NSString stringWithFormat: @"Redo %@", actionName]; return [NSString stringWithFormat: @"%@ %@", _(@"Redo"), actionName];
} }
} }
return actionName; return actionName;
@ -933,11 +933,11 @@
{ {
if ([actionName isEqual: @""]) if ([actionName isEqual: @""])
{ {
return @"Undo"; return _(@"Undo");
} }
else else
{ {
return [NSString stringWithFormat: @"Undo %@", actionName]; return [NSString stringWithFormat: @"%@ %@", _(@"Undo"), actionName];
} }
} }
return actionName; return actionName;