Сценарий
#!/bin/bash
# Commands found in the hash table are checked for existence before being
# executed and non-existence forces a normal PATH search.
shopt -s checkhash
function exists() {
local mycomm=$1; shift || return 1
hash $mycomm 2>/dev/null || \
printf "\xe2\x9c\x98 [ABRT]: $mycomm: command does not exist\n"; return 1;
}
readonly -f exists
exists notacmd
exists bash
hash
bash -c 'printf "Fin.\n"'
Результат
✘ [ABRT]: notacmd: command does not exist
hits command
0 /usr/bin/bash
Fin.
К сожалению, в настоящее время нет возможности локализовать / перевести сам тест TestFlight. Только метаданные в приложении TestFlight для вашего собственного приложения будут показаны на языке пользователя.
Я предлагаю заполнить отчет об ошибке в https://bugreport.apple.com поскольку я согласен, что электронное письмо должно автоматически переводиться.