Use localized CFBundleName for NSSystemInfoPanel

This commit is contained in:
Duncan Cunningham 2024-03-16 16:50:19 +01:00
parent ad281f226c
commit b74def59bd

View File

@ -53,8 +53,7 @@ static NSSystemInfoPanel *_sharedInfoPanel = nil;
if (icon != nil)
[appIconView setImage: icon];
[appNameField setStringValue: [[[NSBundle mainBundle] infoDictionary]
objectForKey: @"CFBundleName"]];
[appNameField setStringValue: [[NSBundle mainBundle] objectForInfoDictionaryKey: @"CFBundleName"]];
NSString *bundleVersion = [[[NSBundle mainBundle] infoDictionary]
objectForKey: @"CFBundleVersion"];