Add setting of LC_* env-vars to SetupEnvironment.

* setting those environment variables in SetupEnvironment makes them
  available to applications started during system boot (like Deskbar
  and Tracker)
This commit is contained in:
Oliver Tappe 2012-02-23 23:09:44 +01:00
parent 98057dd02a
commit c4389ee8b2

View File

@ -49,6 +49,14 @@ else
export ADDON_PATH="%A/add-ons:/boot/common/add-ons:/boot/system/add-ons"
fi
# Locale
export LC_MESSAGES=`locale -m`
export LC_NUMERIC=`locale -f`
export LC_TIME=`locale -t`
export LC_COLLATE=$LC_MESSAGES
export LC_CTYPE=$LC_MESSAGES
export LC_MONETARY=$LC_NUMERIC
# media kit
if [ -f $HOME/config/settings/use_old_audio ]
then