vlc/vlc-3.0 | branch: master | David Fuhrmann <dfuhrm...@videolan.org> | Sat 
Feb  2 11:25:28 2019 +0100| [7d8be8d23c0256d3fb7e258aad3251881c9964a5] | 
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.

(cherry picked from commit 33c51004531a10f5daa895f74690376ac2deb67c)
Signed-off-by: David Fuhrmann <dfuhrm...@videolan.org>

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

 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.";

_______________________________________________
vlc-commits mailing list
vlc-commits@videolan.org
https://mailman.videolan.org/listinfo/vlc-commits

Reply via email to