From b74def59bda8c9e2151c41efce4cb9eaf05a1cdd Mon Sep 17 00:00:00 2001 From: Duncan Cunningham Date: Sat, 16 Mar 2024 16:50:19 +0100 Subject: [PATCH] Use localized CFBundleName for NSSystemInfoPanel --- AppKit/NSSystemInfoPanel/NSSystemInfoPanel.m | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/AppKit/NSSystemInfoPanel/NSSystemInfoPanel.m b/AppKit/NSSystemInfoPanel/NSSystemInfoPanel.m index de65d234..d8ae145e 100644 --- a/AppKit/NSSystemInfoPanel/NSSystemInfoPanel.m +++ b/AppKit/NSSystemInfoPanel/NSSystemInfoPanel.m @@ -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"];