From f466f1a484a620ab604d75b67564f63d6ba18b0c Mon Sep 17 00:00:00 2001 From: Kenny Root Date: Sat, 30 May 2009 07:00:12 +0000 Subject: Do not let locales seep into the preferences NOTICE: If you're a foreign language user, you may have to reset your general preferences for Rotation Mode, Key Shortcut Side, Camera Button Action, and Update Check Frequency git-svn-id: https://connectbot.googlecode.com/svn/trunk/connectbot@246 df292f66-193f-0410-a5fc-6d59da041ff2 --- res/values/arrays.xml | 33 ++++++++++++++++++++++++++ res/xml/host_prefs.xml | 2 +- res/xml/preferences.xml | 24 +++++++++---------- src/org/connectbot/ConsoleActivity.java | 10 ++++---- src/org/connectbot/service/TerminalBridge.java | 9 +++---- src/org/connectbot/util/UpdateHelper.java | 7 +++--- 6 files changed, 57 insertions(+), 28 deletions(-) diff --git a/res/values/arrays.xml b/res/values/arrays.xml index 5893a0e..1cf14fa 100644 --- a/res/values/arrays.xml +++ b/res/values/arrays.xml @@ -17,6 +17,13 @@ @string/list_rotation_auto + + default + landscape + portrait + automatic + + @string/list_camera_ctrlaspace @string/list_camera_ctrla @@ -24,6 +31,13 @@ @string/list_camera_none + + ctrl+a space + ctrl+a + esc + none + + @string/color_red @string/color_green @@ -31,18 +45,37 @@ @string/color_gray + + red + green + blue + gray + + @string/list_update_daily @string/list_update_weekly @string/list_update_never + + daily + weekly + never + + @string/list_keymode_right @string/list_keymode_left @string/list_keymode_none + + Use right-side keys + Use left-side keys + none + + @string/list_pubkeyids_none @string/list_pubkeyids_any diff --git a/res/xml/host_prefs.xml b/res/xml/host_prefs.xml index 8060e8a..d57f2ef 100644 --- a/res/xml/host_prefs.xml +++ b/res/xml/host_prefs.xml @@ -28,7 +28,7 @@ android:key="color" android:title="@string/hostpref_color_title" android:entries="@array/list_colors" - android:entryValues="@array/list_colors" + android:entryValues="@array/list_color_values" />