[vlc-commits] macosx: Fix display of copyright message

David Fuhrmann git at videolan.org
Mon Dec 7 12:47:48 CET 2020


vlc/vlc-3.0 | branch: master | David Fuhrmann <dfuhrmann at videolan.org> | Thu Dec  3 06:28:36 2020 +0100| [b16d96ddd3680add14468412b7df9c3ca76da9fe] | committer: David Fuhrmann

macosx: Fix display of copyright message

This string is not in the localized info.plist anymore.

(manual bp of 9f81ba8e3ece290ffff3796886e3229202fafe86)

> http://git.videolan.org/gitweb.cgi/vlc/vlc-3.0.git/?a=commit;h=b16d96ddd3680add14468412b7df9c3ca76da9fe
---

 modules/gui/macosx/VLCAboutWindowController.m | 7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)

diff --git a/modules/gui/macosx/VLCAboutWindowController.m b/modules/gui/macosx/VLCAboutWindowController.m
index bd0f6783f6..f11e7fe191 100644
--- a/modules/gui/macosx/VLCAboutWindowController.m
+++ b/modules/gui/macosx/VLCAboutWindowController.m
@@ -87,11 +87,8 @@
 {
     [[self window] setCollectionBehavior: NSWindowCollectionBehaviorFullScreenAuxiliary];
 
-    /* Get the localized info dictionary (InfoPlist.strings) */
-    NSDictionary *localizedInfoDict = [[NSBundle mainBundle] localizedInfoDictionary];
-
-    /* Setup the copyright field */
-    [o_copyright_field setStringValue: [localizedInfoDict objectForKey:@"NSHumanReadableCopyright"]];
+    NSString *copyrightText = [[[NSBundle mainBundle] infoDictionary] objectForKey:@"NSHumanReadableCopyright"];
+    [o_copyright_field setStringValue: copyrightText];
 
     /* l10n */
     [[self window] setTitle: _NS("About VLC media player")];



More information about the vlc-commits mailing list