diff options
author | Sascha Silbe <sascha@silbe.org> | 2010-01-11 17:09:28 (GMT) |
---|---|---|
committer | Sascha Silbe <sascha@silbe.org> | 2010-01-11 17:09:28 (GMT) |
commit | 727ea38d0bc494840a0a1d8eb464b7e0e6cb73ba (patch) | |
tree | c863c3e6f34442481cc1d0060335aa9253423686 /bin | |
parent | b89e34b7b34c6038e21f3b10508d5a8cb9768d40 (diff) |
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 <sascha@silbe.org>
Diffstat (limited to 'bin')
-rw-r--r-- | bin/sugar.in | 5 |
1 files changed, 4 insertions, 1 deletions
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 |