386386 MSG_INSTALL_JAVA=" Java doit être installé sur votre système.\nRendez-vous sur java.com et suivez les instructions d'installation..."
387387 MSG_LATER=" Plus tard"
388388 MSG_VISIT_JAVA_DOT_COM=" Java by Oracle"
389- MSG_VISIT_ADOPTOPENJDK =" Java by AdoptOpenJDK "
389+ MSG_VISIT_ADOPTIUM =" Java by Adoptium "
390390 ;;
391391
392392# German
402402 MSG_INSTALL_JAVA=" Auf Ihrem System muss die 'Java'-Software installiert sein.\nBesuchen Sie java.com für weitere Installationshinweise."
403403 MSG_LATER=" Später"
404404 MSG_VISIT_JAVA_DOT_COM=" Java von Oracle"
405- MSG_VISIT_ADOPTOPENJDK =" Java von AdoptOpenJDK "
405+ MSG_VISIT_ADOPTIUM =" Java von Adoptium "
406406 ;;
407407
408408# Simplified Chinese
418418 MSG_INSTALL_JAVA=" 你需要在Mac中安装Java运行环境!\n访问 java.com 了解如何安装。"
419419 MSG_LATER=" 稍后"
420420 MSG_VISIT_JAVA_DOT_COM=" Java by Oracle"
421- MSG_VISIT_ADOPTOPENJDK =" Java by AdoptOpenJDK "
421+ MSG_VISIT_ADOPTIUM =" Java by Adoptium "
422422 ;;
423423
424424# Spanish
434434 MSG_INSTALL_JAVA=" ¡Necesita tener JAVA instalado en su Mac!\nVisite java.com para consultar las instrucciones para su instalación..."
435435 MSG_LATER=" Más tarde"
436436 MSG_VISIT_JAVA_DOT_COM=" Java de Oracle"
437- MSG_VISIT_ADOPTOPENJDK =" Java de AdoptOpenJDK "
437+ MSG_VISIT_ADOPTIUM =" Java de Adoptium "
438438 ;;
439439
440440# Brazilian Portuguese
@@ -450,7 +450,7 @@ pt-BR)
450450 MSG_INSTALL_JAVA=" Você precisa instalar o JAVA no seu Mac!\nPor favor, visite java.com para instruções de instalação..."
451451 MSG_LATER=" Depois"
452452 MSG_VISIT_JAVA_DOT_COM=" Java por Oracle"
453- MSG_VISIT_ADOPTOPENJDK =" Java por AdoptOpenJDK "
453+ MSG_VISIT_ADOPTIUM =" Java por Adoptium "
454454 ;;
455455
456456# English | default
@@ -466,7 +466,7 @@ en|*)
466466 MSG_INSTALL_JAVA=" You need to have JAVA installed on your Mac!\nVisit java.com for installation instructions..."
467467 MSG_LATER=" Later"
468468 MSG_VISIT_JAVA_DOT_COM=" Java by Oracle"
469- MSG_VISIT_ADOPTOPENJDK =" Java by AdoptOpenJDK "
469+ MSG_VISIT_ADOPTIUM =" Java by Adoptium "
470470 ;;
471471esac
472472
@@ -832,21 +832,21 @@ if [ -z "${JAVACMD}" ] || [ ! -x "${JAVACMD}" ] ; then
832832 stub_logger " [EXIT 3] ${MSG_NO_SUITABLE_JAVA_EXPANDED} "
833833
834834 # display error message with AppleScript
835- osascript -e " tell application \" System Events\" to display dialog \" ${MSG_ERROR_LAUNCHING} \n\n${MSG_NO_SUITABLE_JAVA_EXPANDED} \n${MSG_NO_SUITABLE_JAVA_CHECK} \" with title \" ${CFBundleName} \" buttons {\" OK \" , \" ${MSG_VISIT_JAVA_DOT_COM} \" , \" ${MSG_VISIT_ADOPTOPENJDK } \" } default button 1${DialogWithIcon} " \
835+ osascript -e " tell application \" System Events\" to display dialog \" ${MSG_ERROR_LAUNCHING} \n\n${MSG_NO_SUITABLE_JAVA_EXPANDED} \n${MSG_NO_SUITABLE_JAVA_CHECK} \" with title \" ${CFBundleName} \" buttons {\" OK \" , \" ${MSG_VISIT_JAVA_DOT_COM} \" , \" ${MSG_VISIT_ADOPTIUM } \" } default button 1${DialogWithIcon} " \
836836 -e " set response to button returned of the result" \
837837 -e " if response is \" ${MSG_VISIT_JAVA_DOT_COM} \" then open location \" https://www.java.com/download/\" " \
838- -e " if response is \" ${MSG_VISIT_ADOPTOPENJDK } \" then open location \" https://adoptopenjdk .net/releases.html\" "
838+ -e " if response is \" ${MSG_VISIT_ADOPTIUM } \" then open location \" https://adoptium .net/releases.html\" "
839839 # exit with error
840840 exit 3
841841
842842 else
843843 # log exit cause
844844 stub_logger " [EXIT 1] ${MSG_ERROR_LAUNCHING} "
845845 # display error message with AppleScript
846- osascript -e " tell application \" System Events\" to display dialog \" ${MSG_ERROR_LAUNCHING} \n\n${MSG_INSTALL_JAVA} \" with title \" ${CFBundleName} \" buttons {\" ${MSG_LATER} \" , \" ${MSG_VISIT_JAVA_DOT_COM} \" , \" ${MSG_VISIT_ADOPTOPENJDK } \" } default button 1${DialogWithIcon} " \
846+ osascript -e " tell application \" System Events\" to display dialog \" ${MSG_ERROR_LAUNCHING} \n\n${MSG_INSTALL_JAVA} \" with title \" ${CFBundleName} \" buttons {\" ${MSG_LATER} \" , \" ${MSG_VISIT_JAVA_DOT_COM} \" , \" ${MSG_VISIT_ADOPTIUM } \" } default button 1${DialogWithIcon} " \
847847 -e " set response to button returned of the result" \
848848 -e " if response is \" ${MSG_VISIT_JAVA_DOT_COM} \" then open location \" https://www.java.com/download/\" " \
849- -e " if response is \" ${MSG_VISIT_ADOPTOPENJDK } \" then open location \" https://adoptopenjdk .net/releases.html\" "
849+ -e " if response is \" ${MSG_VISIT_ADOPTIUM } \" then open location \" https://adoptium .net/releases.html\" "
850850 # exit with error
851851 exit 1
852852 fi
0 commit comments