mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-22 16:33:29 +00:00
Return a item title in NSUndoManger. Even if actionName is null.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@37356 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
9956ef64e1
commit
9530102d98
2 changed files with 9 additions and 2 deletions
|
@ -1,3 +1,10 @@
|
|||
2013-11-03 German Arias <germanandre@gmx.es>
|
||||
|
||||
* Source/NSUndoManager.m (-redoMenuTitleForUndoActionName:):
|
||||
* Source/NSUndoManager.m (-undoMenuTitleForUndoActionName:):
|
||||
Return "Redo" and "Undo", respectively, if actionName is null.
|
||||
If not, it removes the item title.
|
||||
|
||||
2013-11-01 Richard Frith-Macdonald <rfm@gnu.org>
|
||||
|
||||
* Source/GSAttributedString.m: Use exact equality test when removing
|
||||
|
|
|
@ -695,7 +695,7 @@
|
|||
return [NSString stringWithFormat: @"%@ %@", _(@"Redo"), actionName];
|
||||
}
|
||||
}
|
||||
return actionName;
|
||||
return _(@"Redo");
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -975,7 +975,7 @@
|
|||
return [NSString stringWithFormat: @"%@ %@", _(@"Undo"), actionName];
|
||||
}
|
||||
}
|
||||
return actionName;
|
||||
return _(@"Undo");
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue