Try to add de_DE translation of initial READ ME to the .dmg.
[dcpomatic.git] / platform / osx / make_dmg.sh
index bb3d6c1aef0a7e58218659fbddbfd94ac1e19656..736f4f89399ba53fda5094c4da9b64d8e40d5e3f 100644 (file)
@@ -187,6 +187,12 @@ function make_dmg {
 Welcome to DCP-o-matic!  The first time you run the program there may be
 a long (several-minute) delay while OS X checks the code for viruses and
 other malware.  Please be patient!
+EOF
+    cat<<EOF > "$vol_name/READ ME.de_DE.txt"
+Beim erstmaligen Start der DCP-o-matic Anwendungen kann ein längerer Verifikationsvorgang auftreten.
+Dies ist von der OS X Sicherheitsumgebung 'Gatekeeper' verursacht.
+Dieser je nach Rechner teils minutenlange Verifikationsvorgang ist gegenwärtig normal und nicht zu umgehen, es ist kein Programmfehler.
+Warten sie die Verifikation für jede der DCP-o-matic Anwendungen ab, bei weiteren Programmstarts wird sie nicht mehr auftreten.
 EOF
 
     rm -f $tmp_dmg "$dmg"
@@ -197,18 +203,19 @@ EOF
 
     echo '
   tell application "Finder"
-    tell disk "'$vol_name'"
+    tell disk "$vol_name"
            open
            set current view of container window to icon view
            set toolbar visible of container window to false
            set statusbar visible of container window to false
-           set the bounds of container window to {400, 200, 740, 370}
+           set the bounds of container window to {400, 200, 940, 300}
            set theViewOptions to the icon view options of container window
            set arrangement of theViewOptions to not arranged
            set icon size of theViewOptions to 64
-           set position of item "'$appdir'" of container window to {90, 80}
-           set position of item "Applications" of container window to {220, 80}
-           set position of item "READ ME.txt" of container window to {310, 80}
+           set position of item "$appdir" of container window to {90, 80}
+           set position of item "Applications" of container window to {265, 80}
+           set position of item "READ ME.txt" of container window to {430, 80}
+           set position of item "READ ME.de_DE.txt" of container window to {595, 80}
            close
            open
            update without registering applications