vlc | branch: master | Marvin Scholz <[email protected]> | Tue May  9 09:44:24 
2017 +0200| [148107c369afa7fd6ff3bcd630c3ce3d96cb1181] | committer: Marvin 
Scholz

macOS: Add CFBundleDisplayName to Info.plist

According to the documentation:

> Because Siri uses the value of this key, always provide a value,
> whether or not you localize your app.

Note that this will have no effect when running the vlc-osx-static,
due to the following:

> In macOS, before displaying a localized name for your bundle, the
> Finder compares the value of this key against the actual name of your
> bundle in the file system. If the two names match, the Finder proceeds
> to display the localized name from the appropriate InfoPlist.strings
> file of your bundle. If the names do not match, the Finder displays
> the file-system name.

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

 modules/gui/macosx/Resources/InfoPlist.strings.in | 1 +
 share/Info.plist.in                               | 2 ++
 2 files changed, 3 insertions(+)

diff --git a/modules/gui/macosx/Resources/InfoPlist.strings.in 
b/modules/gui/macosx/Resources/InfoPlist.strings.in
index 41fa3f15f8..1bb41d7924 100644
--- a/modules/gui/macosx/Resources/InfoPlist.strings.in
+++ b/modules/gui/macosx/Resources/InfoPlist.strings.in
@@ -1,6 +1,7 @@
 /* Localized versions of Info.plist keys */
 
 CFBundleName = "VLC";
+CFBundleDisplayName = "VLC";
 CFBundleShortVersionString = "@VERSION@";
 CFBundleGetInfoString = "@COPYRIGHT_MESSAGE@";
 NSHumanReadableCopyright = "Copyright (c) @COPYRIGHT_YEARS@ VLC authors and 
VideoLAN";
diff --git a/share/Info.plist.in b/share/Info.plist.in
index 95b097f788..7ff0766841 100644
--- a/share/Info.plist.in
+++ b/share/Info.plist.in
@@ -1380,6 +1380,8 @@
        <string>6.0</string>
        <key>CFBundleName</key>
        <string>VLC media player</string>
+       <key>CFBundleDisplayName</key>
+       <string>VLC</string>
        <key>CFBundlePackageType</key>
        <string>APPL</string>
        <key>CFBundleShortVersionString</key>

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

Reply via email to