[vlc-commits] macosx: InfoPlist: Add strings for ressource usages

David Fuhrmann git at videolan.org
Sat Feb 2 11:28:53 CET 2019


vlc | branch: master | David Fuhrmann <dfuhrmann at videolan.org> | Sat Feb  2 11:25:28 2019 +0100| [33c51004531a10f5daa895f74690376ac2deb67c] | committer: David Fuhrmann

macosx: InfoPlist: Add strings for ressource usages

Those strings must be provided once VLC is compiled with 10.14 sdk,
otherwise VLC crashes.

One todo is to translate those strings, see #21871.

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

 modules/gui/macosx/Resources/InfoPlist.strings.in | 14 +++++++++-----
 1 file changed, 9 insertions(+), 5 deletions(-)

diff --git a/modules/gui/macosx/Resources/InfoPlist.strings.in b/modules/gui/macosx/Resources/InfoPlist.strings.in
index 1bb41d7924..67121a26aa 100644
--- a/modules/gui/macosx/Resources/InfoPlist.strings.in
+++ b/modules/gui/macosx/Resources/InfoPlist.strings.in
@@ -1,7 +1,11 @@
 /* Localized versions of Info.plist keys */
 
-CFBundleName = "VLC";
-CFBundleDisplayName = "VLC";
-CFBundleShortVersionString = "@VERSION@";
-CFBundleGetInfoString = "@COPYRIGHT_MESSAGE@";
-NSHumanReadableCopyright = "Copyright (c) @COPYRIGHT_YEARS@ VLC authors and VideoLAN";
+"CFBundleName" = "VLC";
+"CFBundleDisplayName" = "VLC";
+"CFBundleShortVersionString" = "@VERSION@";
+"CFBundleGetInfoString" = "@COPYRIGHT_MESSAGE@";
+"NSHumanReadableCopyright" = "Copyright (c) @COPYRIGHT_YEARS@ VLC authors and VideoLAN";
+
+"NSCameraUsageDescription" = "VLC uses the camera to record some video.";
+"NSMicrophoneUsageDescription" = "VLC uses the microphone to record some audio.";
+"NSAppleEventsUsageDescription" = "VLC uses apple events to control external media players.";



More information about the vlc-commits mailing list