]> git.sesse.net Git - vlc/blobdiff - Makefile.am
* OS X : create dummy fr.lproj etc. directories, so that the Apple menu and standard...
[vlc] / Makefile.am
index 9f83e0e560ef026f64954b589c8598fe77b1d0a2..3b6c6916919e6ea947b27ada368d727752c6c017 100644 (file)
@@ -469,8 +469,12 @@ VLC.app: vlc $(PLUGIN_FILES)
        $(INSTALL) -m 644 share/*.psf share/*.rle VLC.app/Contents/MacOS/share
        $(INSTALL) -d VLC.app/Contents/MacOS/locale
        for i in $(ALL_LINGUAS); do \
-               mkdir -p VLC.app/Contents/MacOS/locale/$${i%}/LC_MESSAGES ; \
+               mkdir -p VLC.app/Contents/MacOS/locale/$${i}/LC_MESSAGES ; \
                cp po/$${i}.gmo VLC.app/Contents/MacOS/locale/$${i}/LC_MESSAGES/vlc.mo || true ; \
+               mkdir -p VLC.app/Contents/Resources/$${i}.lproj ; \
+               ln -sf ../English.lproj/InfoPlist.strings VLC.app/Contents/Resources/$${i}.lproj ; \
+               ln -sf ../English.lproj/MainMenu.nib VLC.app/Contents/Resources/$${i}.lproj ; \
+               ln -sf ../English.lproj/vlc.scriptTerminology VLC.app/Contents/Resources/$${i}.lproj ; \
        done
        echo -n "APPLVLC#" >| VLC.app/Contents/PkgInfo
 endif