vlc/vlc-3.0 | branch: master | David Fuhrmann <[email protected]> | 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")];

_______________________________________________
vlc-commits mailing list
[email protected]
https://mailman.videolan.org/listinfo/vlc-commits

Reply via email to