summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSvetoslav Ganov <svetoslavganov@google.com>2012-10-01 21:17:18 -0700
committerAndroid (Google) Code Review <android-gerrit@google.com>2012-10-01 21:17:19 -0700
commitf26263fdb7a639fe5de49e8f01576e8d4c6be7f6 (patch)
tree692fbadc63c9556c89496a2da9975baecc0d8f6b
parent7474bc3dc2461d33dcdcaf5595635ac33e6e3979 (diff)
parent26a6df0877a07524330fff3dc91b608aae58a9f6 (diff)
downloadpackages_apps_Settings-f26263fdb7a639fe5de49e8f01576e8d4c6be7f6.zip
packages_apps_Settings-f26263fdb7a639fe5de49e8f01576e8d4c6be7f6.tar.gz
packages_apps_Settings-f26263fdb7a639fe5de49e8f01576e8d4c6be7f6.tar.bz2
Merge "Upading the strings for accessibility multi-user." into jb-mr1-dev
-rw-r--r--res/values/strings.xml14
-rw-r--r--src/com/android/settings/AccessibilitySettings.java6
2 files changed, 11 insertions, 9 deletions
diff --git a/res/values/strings.xml b/res/values/strings.xml
index fe34891..0c5b4d6 100644
--- a/res/values/strings.xml
+++ b/res/values/strings.xml
@@ -3105,12 +3105,14 @@
Pan: Drag two or more fingers across the screen.\n
Adjust zoom level: Pinch or expand using two or more fingers.
</string>
- <!-- Title for the accessibility preference screen to enable the global geture to enable accessibility. [CHAR LIMIT=35] -->
- <string name="accessibility_global_gesture_preference_title">Global enable gesture</string>
- <!-- Summary for the accessibility preference screen to enable the global geture to enable accessibility. [CHAR LIMIT=none] -->
- <string name="accessibility_global_gesture_preference_summary">
- To enable accessibility long press the power button, after a vibration or a beep long press with two fingers.
- </string>
+ <!-- Title for the preference to enable the global geture that turns on accessibility. [CHAR LIMIT=35] -->
+ <string name="accessibility_global_gesture_preference_title">Accessibility shortcut</string>
+ <!-- Summary for the preference to enable the global geture that turns on accessibility (on state). [CHAR LIMIT=60] -->
+ <string name="accessibility_global_gesture_preference_summary_on">Press and hold power, then touch and hold two fingers</string>
+ <!-- Summary for the preference screen to enable the global geture that turns on accessibility (off state). [CHAR LIMIT=35] -->
+ <string name="accessibility_global_gesture_preference_summary_off">Off</string>
+ <!-- Description for the preference screen to enable the global geture taht turns on accessibility. [CHAR LIMIT=none] -->
+ <string name="accessibility_global_gesture_preference_description">When this feature is turned on, you can quickly enable accessibility features in two steps:\n\nStep 1: Press and hold the power button until you hear a sound or feel a vibration.\nStep 2: Touch and hold two fingers until you hear audio confirmation.\n\nIf the device has multiple users, using this shortcut on the lock screen temporarily enables accessibility until the device is unlocked or the user is changed.</string>
<!-- Title for the accessibility preference to enable large text. [CHAR LIMIT=35] -->
<string name="accessibility_toggle_large_text_preference_title">Large text</string>
<!-- Title for the accessibility preference to enable screen magnification. [CHAR LIMIT=35] -->
diff --git a/src/com/android/settings/AccessibilitySettings.java b/src/com/android/settings/AccessibilitySettings.java
index 1edff17..266621f 100644
--- a/src/com/android/settings/AccessibilitySettings.java
+++ b/src/com/android/settings/AccessibilitySettings.java
@@ -271,7 +271,7 @@ public class AccessibilitySettings extends SettingsPreferenceFragment implements
extras.putString(EXTRA_TITLE, getString(
R.string.accessibility_global_gesture_preference_title));
extras.putString(EXTRA_SUMMARY, getString(
- R.string.accessibility_global_gesture_preference_summary));
+ R.string.accessibility_global_gesture_preference_description));
extras.putBoolean(EXTRA_CHECKED, Settings.Global.getInt(getContentResolver(),
Settings.Global.ENABLE_ACCESSIBILITY_GLOBAL_GESTURE_ENABLED, 0) == 1);
super.onPreferenceTreeClick(mGlobalGesturePreferenceScreen,
@@ -509,10 +509,10 @@ public class AccessibilitySettings extends SettingsPreferenceFragment implements
Settings.Global.ENABLE_ACCESSIBILITY_GLOBAL_GESTURE_ENABLED, 0) == 1;
if (globalGestureEnabled) {
mGlobalGesturePreferenceScreen.setSummary(
- R.string.accessibility_feature_state_on);
+ R.string.accessibility_global_gesture_preference_summary_on);
} else {
mGlobalGesturePreferenceScreen.setSummary(
- R.string.accessibility_feature_state_off);
+ R.string.accessibility_global_gesture_preference_summary_off);
}
}