mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-23 23:31:02 +00:00
Use the key equivalent for 'default' if no one under the appropriate
user language is found git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12006 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
0ffc31191b
commit
9055efeae3
1 changed files with 4 additions and 0 deletions
|
@ -776,6 +776,10 @@ static NSString *disabledName = @".GNUstepDisabled";
|
|||
if ([t isEqual: title])
|
||||
{
|
||||
equiv = [equivs objectForKey: language];
|
||||
if (equiv == nil)
|
||||
{
|
||||
equiv = [equivs objectForKey: @"default"];
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue