Software: Apache/2.4.53 (Unix) OpenSSL/1.1.1o PHP/7.4.29 mod_perl/2.0.12 Perl/v5.34.1. PHP/7.4.29 uname -a: Linux vps-2738122-x 4.15.0-213-generic #224-Ubuntu SMP Mon Jun 19 13:30:12 UTC 2023 x86_64 uid=1(daemon) gid=1(daemon) grupos=1(daemon) Safe-mode: OFF (not secure) /lib/recovery-mode/ drwxr-xr-x | |
| Viewing file: Select action/file-type: # default eval_gettext() to ensure that we do not fail
# if gettext-base is not installed
eval_gettext() {
echo "$1"
}
# Deal with systems where /usr isn't mounted
if [ ! -d /usr/share/locale ]; then
return
fi
# blacklist some languages that we don't have a good console fonts for
# see bug #573502
in_lang_blacklist() {
LANG_BLACKLIST="ar_ he_IL ja_JP ko_KR ru_RU sl_SI vi_VN zh_"
LANG=$1
for b in $LANG_BLACKLIST; do
# equal to lang.startswith(b)
if expr match "$LANG" ^"$b" >/dev/null ; then
export LANG=C.UTF-8
export LANGUAGE=en
return 0
fi
done
return 1
}
# There is no environment set, as these steps are skipped,
# so we need to source the variables needed for localization ourselves
if [ -r /etc/default/locale ]; then
. /etc/default/locale
if ! in_lang_blacklist "$LANG"; then
export LANG LANGUAGE
fi
elif [ -r /etc/environment ]; then
. /etc/environment
if ! in_lang_blacklist "$LANG"; then
export LANG LANGUAGE
fi
fi
. gettext.sh
export TEXTDOMAIN=friendly-recovery
export TEXTDOMAINDIR=/usr/share/locale
|
:: Command execute :: | |
--[ c99shell v. 2.1 [PHP 8 Update] [02.02.2022] maintained byC99Shell Github | Generation time: 0.2873 ]-- |