Language Transform: Switch to using utf-8 only, drop all convert scripts

This commit is contained in:
Ilia Rostovtsev
2020-02-28 01:17:50 +03:00
parent c2006d1dfa
commit adb4ad1797
10 changed files with 15 additions and 832 deletions

View File

@ -352,7 +352,6 @@ fi
cp -r -L ${TEMP}/${module} ${TARBALL}/
fi
done
cp "${WTEMP}/chinese-to-utf8.pl" "${TARBALL}/"
# insert perl path
config_dir=`grep env_WEBMIN_CONFIG= ${MINICONF}| sed 's/.*_WEBMIN_CONFIG=//'`
@ -378,15 +377,6 @@ fi
exit 6
fi
# postprocessing
# "compile" UTF-8 lang files
echo -en "\n${CYAN}Compile UTF-8 lang files${NC} ..."
if [[ `which iconv 2> /dev/null` != '' ]] ; then
perl "${TEMP}/chinese-to-utf8.pl" . 2>&1 | while read input; do echo -n "."; done
else
echo -e "${BLUE} iconv not found, skipping lang files!${NC}"
fi
# run authenric-thme update, possible unattended
if [[ -x authentic-theme/theme-update.sh ]] ; then
if [[ "${ASK}" == "YES" ]] ; then