mirror of
https://github.com/webmin/webmin.git
synced 2025-07-23 00:30:33 +00:00
Language Transform: Switch to using utf-8 only, drop all convert scripts
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user