Set LastAlertMessageLocDisc to localized string of "WARNING: THE WHOLE CONTENT OF THE DISK (AND EVERY OTHER VOLUME OF THIS DISK) WILL BE ERASED! " Set LastAlertMessageLocVolume to localized string of "WARNING ! THE WHOLE CONTENTS OF THIS VOLUME WILL BE ERASED! " Set WhichKindOfDiskIsAnyOtherDiskLoc to localized string of "Another kind of disk (erase only partition) " Set WhichKindOfDiskIsUSB8GBLoc to localized string of "A 16 GB USB thumb drive (ERASE ALL DISK) " Set ProTipLoc to localized string of "PRO TIP: If you wish to build a multi-installations disk, use Another kind of disk each time, and choose a different partition for each OS you want to make a boot disk for! " Your other disks and volumes will be left untouched. If you choose another kind of disk, ONLY the chosen volume will be erased. Set WhichKindOfDiskExplainationLoc to localized string of "If you have a 16 GB USB thumb drive, it will be completely erased. Set WhichKindOfDiskYouUseLoc to localized string of "Which kind of disk will you use? " Set MyEraseAndCreateTheDisk to localized string of "Erase then create the disk " Set MyUseThisDisk to localized string of "Use this disk " Set MyAnErrorOccured to localized string of "An error occured: " Set MyDiskCouldNotBeCreatedError to localized string of "The disk could not be created because of an error: " Set StartupPrefLoc to localized string of "Open Startup Disk Preference " Set WannaMakeADonation to localized string of "If you enjoyed using DiskMaker X, your donations are also much appreciated. Set MyMakeADonationLoc to localized string of "Make a donation " Set MymacOSDiskIsReadyLoc to localized string of "Your macOS boot disk is ready! To use it, reboot your Mac and press the Option (Alt) key, or select it in the Startup Disk preference. Set M圜reateTheUSBDrive to localized string of "To create a boot disk, please connect a USB, FireWire disk or insert an SD-Card (16 GB minimum). Set M圜heckTheFaq to localized string of "Check the FAQ " Set ChoosemacOSFilePrompt1Loc to localized string of "Select the Installation app for " Set ChoosemacOSFileLoc to localized string of "Select a macOS Installation App… " Click on Select a macOS Installation App and choose the macOS Catalina Installer application. Set M圜ouldNotFoundInstallmacOSAppLoc to localized string of "No macOS Catalina Installer application could be found. Set LDMDiskDetectedLoc2 to localized string of "Do you want to use it to build your new install disk ? WARNING: the disk will be completely erased! " Set LDMDiskDetectedLoc1 to localized string of "I detected that the following disk was already built with DiskMaker X: " Set CancelButtonLoc to localized string of "Cancel " Set QuitButtonLoc to localized string of "Quit " Set MyUseThisCopyLoc to localized string of "Use this copy " Set MyUseAnotherCopy to localized string of "Use another copy… " Set DoyouwishtousethiscopyLoc to localized string of "Do you wish to use this copy? " Set AcopyofmacOSwasfoundinfolderLoc to localized string of "I found a copy of the installer software in this folder: " Set MyWhichmacOSVersion to localized string of "Which version of macOS do you wish to make a boot disk of? " Set WelcomeLoc to localized string of "Welcome to DiskMaker X! " Set GetNewVersionLoc to localized string of "Get new version " Set NotNowThanksLoc to localized string of "Not now, thanks " Set DialogUpdate1Loc to localized string of "A newer version of DiskMaker X is available. *** Strings declarations to allow localization ******** "ĭisplay dialog (NotNotificationCompatible1Loc & macOSName & " " & ShortOS & NotNotificationCompatible2Loc) buttons ContinueButtonLoc default button 1 with icon path to resource "diskmakerx.icns " in bundle ( path to me) DiskMaker X won't be able to display notifications of current progress, but your Install disk should be built correctly. Set NotNotificationCompatible2Loc to localized string of ". Set NotNotificationCompatible1Loc to localized string of "You are currently running " If ShortOS is "10.7 " or ShortOS is "10.8 " then Alert if running 10.7 or 10.8 : no notification will be displayed If button_pressed is MoreInfoButtonLoc then Set the button_pressed to the button returned of the result Set LanguageList to make new property list item with properties default button 2 with icon path to resource "diskmakerx.icns " in bundle ( path to me) Set lang to do shell script "defaults read NSGlobalDomain AppleLanguages " Tell me to do shell script "echo 'Home Path: ' " & HomeFolder & "> " & LogPath Tell me to do shell script "date > " & LogPath Tell me to do shell script "echo '-' > " & LogPath Tell me to do shell script "touch " & LogPath Set LogPath to HomeFolder & "/Library/Logs/DiskMakerX.log " Set HomeFolder to quoted form of ( do shell script "echo $HOME ")
0 Comments
Leave a Reply. |