Upading the strings for accessibility multi-user.

bug:7255486

Change-Id: I775165896124a6fde3684d0f302a90396ce19d2e
This commit is contained in:
Svetoslav Ganov
2012-10-01 18:41:25 -07:00
parent fd94d51e94
commit 26a6df0877
2 changed files with 11 additions and 9 deletions

View File

@@ -3105,12 +3105,14 @@
Pan: Drag two or more fingers across the screen.\n Pan: Drag two or more fingers across the screen.\n
Adjust zoom level: Pinch or expand using two or more fingers. Adjust zoom level: Pinch or expand using two or more fingers.
</string> </string>
<!-- Title for the accessibility preference screen to enable the global geture to enable accessibility. [CHAR LIMIT=35] --> <!-- Title for the preference to enable the global geture that turns on accessibility. [CHAR LIMIT=35] -->
<string name="accessibility_global_gesture_preference_title">Global enable gesture</string> <string name="accessibility_global_gesture_preference_title">Accessibility shortcut</string>
<!-- Summary for the accessibility preference screen to enable the global geture to enable accessibility. [CHAR LIMIT=none] --> <!-- 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"> <string name="accessibility_global_gesture_preference_summary_on">Press and hold power, then touch and hold two fingers</string>
To enable accessibility long press the power button, after a vibration or a beep long press with two fingers. <!-- Summary for the preference screen to enable the global geture that turns on accessibility (off state). [CHAR LIMIT=35] -->
</string> <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] --> <!-- Title for the accessibility preference to enable large text. [CHAR LIMIT=35] -->
<string name="accessibility_toggle_large_text_preference_title">Large text</string> <string name="accessibility_toggle_large_text_preference_title">Large text</string>
<!-- Title for the accessibility preference to enable screen magnification. [CHAR LIMIT=35] --> <!-- Title for the accessibility preference to enable screen magnification. [CHAR LIMIT=35] -->

View File

@@ -271,7 +271,7 @@ public class AccessibilitySettings extends SettingsPreferenceFragment implements
extras.putString(EXTRA_TITLE, getString( extras.putString(EXTRA_TITLE, getString(
R.string.accessibility_global_gesture_preference_title)); R.string.accessibility_global_gesture_preference_title));
extras.putString(EXTRA_SUMMARY, getString( 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(), extras.putBoolean(EXTRA_CHECKED, Settings.Global.getInt(getContentResolver(),
Settings.Global.ENABLE_ACCESSIBILITY_GLOBAL_GESTURE_ENABLED, 0) == 1); Settings.Global.ENABLE_ACCESSIBILITY_GLOBAL_GESTURE_ENABLED, 0) == 1);
super.onPreferenceTreeClick(mGlobalGesturePreferenceScreen, super.onPreferenceTreeClick(mGlobalGesturePreferenceScreen,
@@ -509,10 +509,10 @@ public class AccessibilitySettings extends SettingsPreferenceFragment implements
Settings.Global.ENABLE_ACCESSIBILITY_GLOBAL_GESTURE_ENABLED, 0) == 1; Settings.Global.ENABLE_ACCESSIBILITY_GLOBAL_GESTURE_ENABLED, 0) == 1;
if (globalGestureEnabled) { if (globalGestureEnabled) {
mGlobalGesturePreferenceScreen.setSummary( mGlobalGesturePreferenceScreen.setSummary(
R.string.accessibility_feature_state_on); R.string.accessibility_global_gesture_preference_summary_on);
} else { } else {
mGlobalGesturePreferenceScreen.setSummary( mGlobalGesturePreferenceScreen.setSummary(
R.string.accessibility_feature_state_off); R.string.accessibility_global_gesture_preference_summary_off);
} }
} }