[vlc-commits] macosx: Fix display of copyright message
David Fuhrmann
git at videolan.org
Wed Dec 2 00:16:44 CET 2020
vlc | branch: master | David Fuhrmann <dfuhrmann at videolan.org> | Wed Dec 2 00:15:33 2020 +0100| [9f81ba8e3ece290ffff3796886e3229202fafe86] | committer: David Fuhrmann
macosx: Fix display of copyright message
This string is not in the localized info.plist anymore.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=9f81ba8e3ece290ffff3796886e3229202fafe86
---
modules/gui/macosx/windows/VLCAboutWindowController.m | 7 ++-----
1 file changed, 2 insertions(+), 5 deletions(-)
diff --git a/modules/gui/macosx/windows/VLCAboutWindowController.m b/modules/gui/macosx/windows/VLCAboutWindowController.m
index 94daa7740e..411eac8f44 100644
--- a/modules/gui/macosx/windows/VLCAboutWindowController.m
+++ b/modules/gui/macosx/windows/VLCAboutWindowController.m
@@ -88,11 +88,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