Commit 7e40a291 authored by Mikhail Tergoev's avatar Mikhail Tergoev

Merge branch 'Htylol-update-lang' into devel

parents f2536fd4 36724067
......@@ -63,13 +63,11 @@ change_locale () {
)
out=$("${SET_LANG[@]}")
[ -n "$out" ] || fatal "Language is not set!"
SET_LANG=$(echo "$out" | cut -d'|' -f2)
echo "${SET_LANG}" > "${PORT_WINE_TMP_PATH}/PortProton_loc"
if [[ ! -z "${SET_LANG}" ]]
then LANGUAGE=${SET_LANG}
else exit 1
if [[ -z $out ]] ; then
fatal "Language is not set!"
else
LANGUAGE=$(echo "$out" | cut -d '|' -f2)
echo "${LANGUAGE}" > "${PORT_WINE_TMP_PATH}/PortProton_loc"
fi
fi
export LANGUAGE
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment