fix: set default language
This commit is contained in:
parent
b1b32d354d
commit
3e2b5360be
8
AppRun
8
AppRun
|
@ -3,4 +3,12 @@ APPDIR="$(dirname "$(readlink -f "${0}")")"
|
||||||
export LD_LIBRARY_PATH="${APPDIR}/usr/lib/:${LD_LIBRARY_PATH}"
|
export LD_LIBRARY_PATH="${APPDIR}/usr/lib/:${LD_LIBRARY_PATH}"
|
||||||
export QT_QPA_PLATFORM="xcb"
|
export QT_QPA_PLATFORM="xcb"
|
||||||
|
|
||||||
|
DEFAULT_LANG=en_US.UTF-8
|
||||||
|
if [[ "$LANG" == "C.UTF-8" ]]
|
||||||
|
then
|
||||||
|
export LANG=$DEFAULT_LANG
|
||||||
|
else
|
||||||
|
export LANG="${VARIABLE:=$DEFAULT_LANG}"
|
||||||
|
fi
|
||||||
|
|
||||||
exec "${APPDIR}/usr/bin/nim_status_client" "$@"
|
exec "${APPDIR}/usr/bin/nim_status_client" "$@"
|
||||||
|
|
Loading…
Reference in New Issue