Merge branch 'Htylol-update-lang' into devel
This commit is contained in:
commit
7e40a29106
@ -63,13 +63,11 @@ change_locale () {
|
|||||||
)
|
)
|
||||||
|
|
||||||
out=$("${SET_LANG[@]}")
|
out=$("${SET_LANG[@]}")
|
||||||
[ -n "$out" ] || fatal "Language is not set!"
|
if [[ -z $out ]] ; then
|
||||||
SET_LANG=$(echo "$out" | cut -d'|' -f2)
|
fatal "Language is not set!"
|
||||||
|
else
|
||||||
echo "${SET_LANG}" > "${PORT_WINE_TMP_PATH}/PortProton_loc"
|
LANGUAGE=$(echo "$out" | cut -d '|' -f2)
|
||||||
if [[ ! -z "${SET_LANG}" ]]
|
echo "${LANGUAGE}" > "${PORT_WINE_TMP_PATH}/PortProton_loc"
|
||||||
then LANGUAGE=${SET_LANG}
|
|
||||||
else exit 1
|
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
export LANGUAGE
|
export LANGUAGE
|
||||||
|
Loading…
Reference in New Issue
Block a user