From 727ea38d0bc494840a0a1d8eb464b7e0e6cb73ba Mon Sep 17 00:00:00 2001 From: Sascha Silbe Date: Mon, 11 Jan 2010 17:09:28 +0000 Subject: move ~/.i18n parsing from sugar-emulator to sugar (#1441) The control panel stores locale settings in ~/.i18n, but currently this file is only read by Fedora scripts and sugar-emulator. Parsing it in sugar will make language selection work in "native" sessions on all distros. Signed-off-by: Sascha Silbe --- (limited to 'bin') diff --git a/bin/sugar.in b/bin/sugar.in index fea79a9..55a085e 100644 --- a/bin/sugar.in +++ b/bin/sugar.in @@ -45,7 +45,10 @@ if ! test -f "$GTK2_RC_FILES"; then exit 1 fi -# Source debug definitions +# Source language settings and debug definitions +if [ -f ~/.i18n ]; then + . ~/.i18n +fi if [ -f ~/.sugar/debug ]; then . ~/.sugar/debug fi -- cgit v0.9.1